Add surface_conditions on items - desintegrate if not met on surface change
Posted: Fri Aug 15, 2025 11:36 am
Hi,
Feature
My suggestion is to add surface_conditions on items, structured the same as recipes or entities, but the effect would be that the item gets destroyed when changing surface.
Another possibility, maybe more optimized, would be to add "forbidden_items" in the planet properties. That way, the check doesn't even happen if the new surface doesn't have that property. This would even be easier for modders, who don't have to change vanilla items properties (potentially breaking compatibility)
Use case examples
- ice melting over a given temperature
- organic material being poisoned
- electric stuff being fried...
Why?
This would allow modders to put restrictions on imports, and thus allow for more restrictive challenges. It solves the fact that at a certain point, every additional planet becomes somewhat trivial when you can import everything.
Feature
My suggestion is to add surface_conditions on items, structured the same as recipes or entities, but the effect would be that the item gets destroyed when changing surface.
Another possibility, maybe more optimized, would be to add "forbidden_items" in the planet properties. That way, the check doesn't even happen if the new surface doesn't have that property. This would even be easier for modders, who don't have to change vanilla items properties (potentially breaking compatibility)
Use case examples
- ice melting over a given temperature
- organic material being poisoned
- electric stuff being fried...
Why?
This would allow modders to put restrictions on imports, and thus allow for more restrictive challenges. It solves the fact that at a certain point, every additional planet becomes somewhat trivial when you can import everything.