[Genhis][2.0.52] LuaEntityPrototype.get_inventory_size not working as expected
Posted: Sat May 24, 2025 9:02 pm
I'm trying to get the number of stacks I'm able to put into a (modded) rocket silo
however, returns nil and on the returns nil for every argument I have tried, so I'm out of options here
I expect to return the value given in
however,
Code: Select all
LuaEntityPrototype.get_inventory_size(defines.inventory.rocket_silo_rocket)
Code: Select all
get_inventory_size
Code: Select all
rocket_entity_prototype
I expect
Code: Select all
LuaEntityPrototype.get_inventory_size(defines.inventory.rocket_silo_rocket)
Code: Select all
RocketSiloPrototype.to_be_inserted_to_rocket_inventory_size