ty, that was driving me nuts!FactorioBot wrote:
- Changed the personal roboport so it reacts faster to jobs in range.
hehehe, you'll shoot your eye out!FactorioBot wrote:
- Fixed that the car could shoot itself. (30782)
ty, that was driving me nuts!FactorioBot wrote:
- Changed the personal roboport so it reacts faster to jobs in range.
hehehe, you'll shoot your eye out!FactorioBot wrote:
- Fixed that the car could shoot itself. (30782)
Code: Select all
LuaEntity::get_fuel_inventory()
Code: Select all
LuaEntity::get_inventory(1)
I prefer using defines.inventory.fuel instead of 1. But I don't know the difference between the functions either.Optera wrote:Is there any advantage in usingoverCode: Select all
LuaEntity::get_fuel_inventory()
other than not having to know which inventory index fuel is?Code: Select all
LuaEntity::get_inventory(1)