Page 1 of 1

ContainerPrototype.inventory_type combining "with_filters_and_bar" and "with_weight_limit"

Posted: Fri Jan 02, 2026 8:48 pm
by calebgomer
I'm trying to create a custom version of a payload launcher, like the rocket-silo, where the inventory is weight-limited. I see there's been discussion about supporting customization on the silo itself, and this has been ruled out viewtopic.php?t=120129, so I'm trying to implement this based on another entity instead.

I see

Code: Select all

ContainerPrototype.inventory_type="with_weight_limit"
enables the silo-like weight-limit behavior on a container! This is great, and works as expected. However, I also want to reserve a slot in inventory for a specific item, which is required to launch the payload.

By using

Code: Select all

ContainerPrototype.inventory_type="with_filters_and_bar"
I think I can achieve that behavior, however I don't see a way to specify both behaviors on the same container.

Would it be possible to support this?