[0.10.6][kovarex] game.canplaceentity+item-on-ground fails
Posted: Thu Aug 07, 2014 4:40 pm
I'm not sure if this is expected or not but game.canplaceentity() always returns false when trying to check "item-on-ground".
Running this from the in-game console will always return false:
It's simply checking if it can place an "item-on-ground" entity 1 tile to the right of the player.
Running this from the in-game console will always return false:
Code: Select all
game.player.print(tostring(game.canplaceentity({name = "item-on-ground", position = {game.player.position.x + 1, game.player.position.y}})))