I'm assuming it's pretty simple but I can't identify the code in either FA's or SwapMap's Map Instancing libs to add a new z level to the world.
Therefore I need an example of how it's done :
For the curious I plan to release some work I did on a map instancing lib- so far it fixes the problem of turfs not showing up properly when generating maps. Thus far the only things I need to add/fix are:
- objects being set to dense turfs and *for some reason not all objects will repop* and
- creating a new Z level for the map to be copied upon.
Any pointers in the correct direction would be a great help.
As for problem #1, repop() only works to restore the map to the initial state. BYOND simply can't do this for objects added at runtime. My advice would be to avoid repop() in general. It's an implementation that works well for static content, but if you choose to go down the route you are going, you are going to need to handroll your own solution.