Modded robots don't respect surface conditions fully

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
User avatar
Templarfreak
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Oct 05, 2017 2:21 pm
Contact:

Modded robots don't respect surface conditions fully

Post by Templarfreak »

Modded Logi / Construction bots properly can't be hand-placed on a surface if their surface conditions are not fulfilled by the surface's properties, but they can still be kept in inventory or put into roboports and then get assigned jobs and execute them on the same surface despite their conditions still not being met.

Example code:

Code: Select all

data.raw["logistic-robot"]["logistic-robot"].surface_conditions = {{property = "pressure", min = 350}}
this example would prevent them from being placed on Aquilo, but if put into a Roboport they can still get assigned jobs and will fulfill them even though their surface condition is not met.
Post Reply

Return to “Gameplay Help”