Page 1 of 1

Clear chart for a specific area

Posted: Mon Jun 13, 2016 3:13 am
by Afforess
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

Posted: Mon Jun 13, 2016 8:26 am
by Rseding91
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

Posted: Mon Jun 13, 2016 2:28 pm
by Afforess
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 :)
Sweet, thanks. :)

Re: Clear chart for a specific area

Posted: Sat Mar 12, 2022 2:17 am
by curiosity
This has indeed been implemented as LuaForce::unchart_chunk in 0.14. The thread can be moved to implemented requests.