[0.14.1] LuaItemStack doesn't contain key has_grid

Bugs that are actually features.
mknejp
Fast Inserter
Fast Inserter
Posts: 154
Joined: Wed Apr 27, 2016 8:29 pm
Contact:

[0.14.1] LuaItemStack doesn't contain key has_grid

Post 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15663
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post 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.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”