However, if I attempt to spawn this entity, it gets snapped to the middle of a tile:
Code: Select all
local entity = game.surfaces[1].create_entity{
name = "even-sized-resource",
position = {0,0},
amount = 60
}
game.print(serpent.line(entity.position)) -- {0.5,0.5}