Clear chart for a specific area
Clear chart for a specific area
LuaForce has an API call to chart specific chunks, and clear_chart clears all chunks, but lacks anything to clear a specific area/chunk. This would be useful for a mod where the map would disappear and regen if the player hasn't visited in a while (shape shifting wilderness)
Re: Clear chart for a specific area
I like it. Probably not for 0.13 but I'll put it in 0.14 so it doesn't get forgotten about.
The current chart system doesn't support deleting just a portion of the chart so it would take some new logic and at this stage of 0.13 I don't want to risk that
The current chart system doesn't support deleting just a portion of the chart so it would take some new logic and at this stage of 0.13 I don't want to risk that
If you want to get ahold of me I'm almost always on Discord.
Re: Clear chart for a specific area
Sweet, thanks.Rseding91 wrote:I like it. Probably not for 0.13 but I'll put it in 0.14 so it doesn't get forgotten about.
The current chart system doesn't support deleting just a portion of the chart so it would take some new logic and at this stage of 0.13 I don't want to risk that
Re: Clear chart for a specific area
This has indeed been implemented as LuaForce::unchart_chunk in 0.14. The thread can be moved to implemented requests.