I'm trying to solve this problem by making a list of tiles i need to re create landfill ghost at, but i can't find a correct way to create a landfill ghost.
Code: Select all
for tgk,tgv in pairs(tileghosts) do
evtsurface.create_entity( { name = "entity-ghost", inner_name = "landfill", position = tgv } )
end
What is the correct way to create landfill ghost at given tile, or perhaps is it possible to preserve the original landfill ghost when using set_tiles ?