Thank you,
it was LuaEntityPrototype::agricultural_tower_radius this was the fix.
I was confused why it changes names from prototype definition to LuaEntityPrototype
Search found 2 matches
- Mon Apr 20, 2026 5:55 pm
- Forum: Modding help
- Topic: agricultural-tower radius is not reflected ingame
- Replies: 3
- Views: 289
- Sun Apr 19, 2026 10:46 pm
- Forum: Modding help
- Topic: agricultural-tower radius is not reflected ingame
- Replies: 3
- Views: 289
agricultural-tower radius is not reflected ingame
Hi,
i have a problem. When calling the prototype.radius of any type = "agricultural-tower", i get a converted radius number back during control.lua!
for example i define in the prototype
growth_grid_tile_size = 2,
radius = 4,
when i call prototye.radius i get an api return like this
r = 2 ...
i have a problem. When calling the prototype.radius of any type = "agricultural-tower", i get a converted radius number back during control.lua!
for example i define in the prototype
growth_grid_tile_size = 2,
radius = 4,
when i call prototye.radius i get an api return like this
r = 2 ...