Max Rate Calculator


Calculates maximum consumption/prodution rates of assemblers, plants, etc.

Utilities
3 years ago
0.15 - 1.1
113K

b Incorrect selection_box calculation

1 year, 9 months ago

I encountered a bug where a rectangular 2x3 entity was affected by a beacon that was out of range of it. I looked at the source code and discovered that you're using prototype.selection_box to calculate the bounding box of each entity. This won't work if the entity is rotated. Instead, you should use the entity's selection_box, which automatically takes care of the entity's position, dimensions, and rotation.

1 year, 1 month ago

hmm, maybe i'll still be sticking to pen and paper then.

New response