Ability to disable roboport equipment

ILLISIS
Inserter
Inserter
Posts: 42
Joined: Wed Feb 09, 2022 10:49 am
Contact:

Ability to disable roboport equipment

Post by ILLISIS »

I am seeking the ability to disable roboport equipment - particularly of a spidertron. Reason being is that I want to have greater control over the robots, if the spidertron is in combat and it happens to not be moving, the robots deploy and are targeted by biters.

I have attempted to swap out the equipment with equipment with a construction range of zero and the robot is still able to repair the spidertron (I want to prevent it until a time of my choosing). I can currently only delay it by moving the spidertron around and having 'enable logistics while moving' unchecked.

If this or anything that could achieve the same result, is added to the API that would be very helpful.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16761
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Ability to disable roboport equipment

Post by Rseding91 »

I changed LuaEntity::allow_dispatching_robots to work for everything that supports roboport equipment for 2.1.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”