Page 1 of 1

[0.14.1] LuaItemStack doesn't contain key has_grid

Posted: Tue Aug 30, 2016 2:21 am
by mknejp
But according to http://lua-api.factorio.com/latest/LuaI ... k.has_grid it should.

Got this when running

Code: Select all

/c game.player.print(game.player.get_inventory(defines.inventory.player_main)[1].has_grid)
on a new game with the default iron plate.

Re: [0.14.1] LuaItemStack doesn't contain key has_grid

Posted: Tue Aug 30, 2016 2:26 am
by Rseding91
"latest" is pointing at the 0.13.20 docs - you can see it on the top right where it says "0.13.20".

http://lua-api.factorio.com/0.14.1/ points at the 0.14.1 docs which doesn't have that property.