Page 1 of 1

Personal Roboport deconstruction logic requre improvement

Posted: Sat Jun 01, 2024 10:33 pm
by Erfar
initial situation
The player (me) has 3 escort spidertrons, each of them has its own specialization, one carries walls, the second carries rails, the third landfil.

Player is also on the Spidertron, which has an inventory of other components for the wall, Turret, pipes, pumps, power poles.

In the process of building a new wall, the player also removes trees, stones, and the old wall.

Now in 9 out of 10 situations during deconstruction, all robots will try to put things into the host's inventory. And even if the owner has, for example, a logistics request “Tree 0”, but there is no empty space, the robot will fly around and will not put it in the garbage slot.

Please improve the logic for placing items in inventory by allowing bots to do any of the following:
1. Put things directly into trash slots
2. DO NOT pick up items if, all slots in the inventory are filtered or filled (for example, if a spidertron has 75 inventory cells marked with the “wall” filter and 5 “construction robots”, then the robots of this spidertron should only lift walls and builder robots)
3. Put things in the inventory of another entity (for example, if I don’t have space for a wall in my inventory, put it in a spidertron with walls)
4. Make switch like "allow to deconstruct enteties" so with it turned off bots would not even attempt to deconstruct something (So i Could just bring one more "deconstructor" spidertron)

I undertand this could slowdown bots logic calculation this why I think 1 or 3rd solution wouldbe easier to implement, as 3rd one is work with exceptions and not "precalculated" as 2 or 4

Re: Personal Roboport deconstruction logic requre improvement

Posted: Sat Jun 01, 2024 11:11 pm
by Illiander42
I really like that "toggle deconstruction" idea.