Page 1 of 1

Inferring agricultural tower planting bounds at runtime

Posted: Sat May 10, 2025 1:03 pm
by HermanyAI
There is no way to infer the bounds of an agricultural tower at runtime.
Exposing AgriculturalTowerPrototype#radius and AgriculturalTowerPrototype#growth_grid_tile_size (EDIT: already is, didn't notice) to LuaEntityPrototype is enough.

There is LuaEntityPrototype#radius already but it's related to something else.

Re: Inferring agricultural tower planting bounds at runtime

Posted: Sun May 11, 2025 9:05 pm
by Genhis
I have added several missing agricultural tower properties for 2.0.48.