Limiting logistics robots
Posted: Wed Apr 06, 2016 3:36 am
I'm looking into the possibility of creating a way to have a type of logistics robot that would be limited to moving across water, and would conceptually function as automated boats, but otherwise act in the normal logistics robot way. However, none of my attempts seem to be feasible. There are two ways I looked into doing this: the first was by just making the robots collide with the land, and possibly do some stuff with the roboports to help out the pathfinding if that caused trouble. I was able to make a car that only drove on water and not land, and by making the same changes I was able to make it so the robots could only be placed in water, but once they activate they fly over land back to the roboport. Is it not possible to make the robots collide with the world, or is there just some flag somewhere I'm missing (is there some sort of inheritance thing going on)? I just copied the entity entry for the regular logistics robots and added a collision box and mask. The alternative would be to somehow restrict access of the new robots to a certain kind of roboport which could only be built on water, but I can't find any way that you would restrict such a thing. Is there any way to get this idea to work in the game's current state?