Suggestion: Allow mods to define custom conditions for trains and platforms.
Reason: Allows mods to create niche stops that aren't in the base game, like "no filtered cargo slot is empty"
Possible API:
Adding conditions:
script.add_train_stop(handler)
Where handler is a mod-defined function that ...
Search found 2 matches
- Mon Aug 18, 2025 4:17 pm
- Forum: Modding interface requests
- Topic: Mod-Defined Train/Platform Conditions
- Replies: 0
- Views: 61
- Mon Aug 18, 2025 3:56 pm
- Forum: Modding interface requests
- Topic: Add surface_conditions on items - desintegrate if not met on surface change
- Replies: 3
- Views: 254
Re: Add surface_conditions on items - desintegrate if not met on surface change
For items produced on planets, you could also set the item's weight so high that it cannot be sent into space, which would for at least some cases (esp. where the item can only be produced on one planet).