Is there a global value that will allow mods to determine which wasteland the player is currently in? If not, can this be implemented as a read-only value please?
I've been working on a method to determine which worldspace the player is currently. It's doable, but not without either lots of BuildRef to avoid mod dependency, or just making a mod dependency to get all the worldspaces I need. Either way sucks.
Having this included in TTW would make making compatible mods much easier. I can think of two methods to do it, one requiring NVSE, the other not. The not way is a bit hacky, but worked in my short testing. It's designed to run in a quest with a delay of 5 seconds, and will retain the last worldspace the player was in (going into an interior from DC will remember DC, etc). The world data is held in global values, since globals can be built using NVSE BuildRef and the value retrieved using GetGlobalValue. My example uses separate global for each worldspace, but it might be better to combine them all into one global, and use a different value for each world. That way a mod only has to build one ref instead of a half dozen+.
A relatively simple edit to the travel scripts would allow the travel script to immediately update the global value when traveling from DC to NV and vice versa.