I tried to delete chunks of the map. (game.player.surface.delete_chunk) These chunks got deleted = removed from the map, market as unexplored world.
But if I visit (re-explore) deleted area, the area looks exactly the same. The same lakes, the same resources, the same trees.
So deleting chunks wont delete chunks? It just hides them from the map? What's the point then?
Deleted chunks won't get deleted (removed from world)?
Re: Deleted chunks won't get deleted (removed from world)?
Im guessing the chunk was just generated again, so not a bugandyfth wrote:I tried to delete chunks of the map. (game.player.surface.delete_chunk) These chunks got deleted = removed from the map, market as unexplored world.
But if I visit (re-explore) deleted area, the area looks exactly the same. The same lakes, the same resources, the same trees.
So deleting chunks wont delete chunks? It just hides them from the map? What's the point then?
If you want a chunk to be deleted and never generate again, set its chunk_generated_status to entities:
http://lua-api.factorio.com/latest/LuaS ... ted_status
http://lua-api.factorio.com/latest/defi ... ted_status
Re: Deleted chunks won't get deleted (removed from world)?
But it was re-generated exactly as I left it!
If I removed some trees, they weren't placed there again. If I left some trees, they would be there. If there was lake, that lake was there again in the same shape - but if I landfilled part of the the lake, that part would be landfiled.
Deleting chunks doesn't delete them - it just hide them from the map. So what's the point of deleting chunks? If they are still kept somewhere in game-save-file for later re-exploring. In a same state as before deleting?
Deleting chunks = hidding them from map. Nothing else.
If I removed some trees, they weren't placed there again. If I left some trees, they would be there. If there was lake, that lake was there again in the same shape - but if I landfilled part of the the lake, that part would be landfiled.
Deleting chunks doesn't delete them - it just hide them from the map. So what's the point of deleting chunks? If they are still kept somewhere in game-save-file for later re-exploring. In a same state as before deleting?
Deleting chunks = hidding them from map. Nothing else.
Re: Deleted chunks won't get deleted (removed from world)?
I can't reproduce the issue,andyfth wrote:But it was re-generated exactly as I left it!
If I removed some trees, they weren't placed there again. If I left some trees, they would be there. If there was lake, that lake was there again in the same shape - but if I landfilled part of the the lake, that part would be landfiled.
Deleting chunks doesn't delete them - it just hide them from the map. So what's the point of deleting chunks? If they are still kept somewhere in game-save-file for later re-exploring. In a same state as before deleting?
Deleting chunks = hidding them from map. Nothing else.
A deleted chunk is regenerated comepletely as it was before:
Re: Deleted chunks won't get deleted (removed from world)?
Are you using the wrong coordinate system when passing chunk positions to be deleted?
It's world position / 32 that you want to pass.
It's world position / 32 that you want to pass.
If you want to get ahold of me I'm almost always on Discord.
Re: Deleted chunks won't get deleted (removed from world)?
Klonan wrote:I can't reproduce the issue,andyfth wrote:But it was re-generated exactly as I left it!
If I removed some trees, they weren't placed there again. If I left some trees, they would be there. If there was lake, that lake was there again in the same shape - but if I landfilled part of the the lake, that part would be landfiled.
Deleting chunks doesn't delete them - it just hide them from the map. So what's the point of deleting chunks? If they are still kept somewhere in game-save-file for later re-exploring. In a same state as before deleting?
Deleting chunks = hidding them from map. Nothing else.
A deleted chunk is regenerated comepletely as it was before:
OK, That is weird! Because if I place that landfill, delete chunks, revisit area, landfill is again there. But in your case it is not. So it is only my problem. Maybe because on of MODs I'm using? I don't know.
-----------------------------------
Anyway - because it's behaving this waz only at my computer, it is not a BUG. And you an close this thread.