Not sure if bug or oversight but get_fuel_inventory does not work when type = "car"
Create a car or tank hover over it and run this command,
/c inv = game.player.selected.get_fuel_inventory(); game.player.print(tostring(#inv))
inv is nil error
This DOES work on other things that I tested with a fuel inventory though
train, stone-furnace, burner-miner, steel-furnace
Any chance we can get this added in the next version?
[Edit]
/c inv = game.player.selected.get_inventory(defines.inventory.fuel); game.player.print(tostring(#inv))
does work to get the fuel inventory but one would think get_fuel_inventory would do the same.
[.14.5] get_fuel_inventory doesn't work when type=car
Re: [.14.5] get_fuel_inventory doesn't work when type=car
Fixed for 0.14.6
If you want to get ahold of me I'm almost always on Discord.