kyranf / robotarmyfactorio

A mod to add robot troop units and perhaps associated support buildings and items to produce and control them.
MIT License
35 stars 12 forks source link

modding API request #2 option for making units immune to belts #112

Closed kyranf closed 6 years ago

kyranf commented 7 years ago

I have put in a request for ability to allow units to ignore/be immune to transport belts trying to move them.

https://forums.factorio.com/viewtopic.php?f=28&t=47034

kyranf commented 6 years ago

Wow guys! It looks like we get one of our most annoying issues fixed with robot behaviour around belts in the upcoming 0.16 mod API changes!

Rseding91's changelog for API changes in 0.16 shows " Added optional "has_belt_immunity" property to the unit prototype"

This is perfect, I can simply add this property to all the droid units and the annoying "getting stuck in spaghetti" issue goes away :)

kyranf commented 6 years ago

0.3.4 release with factorio 0.16 new API has added the has_belt_immunity parameter to every unit, and it works!