wl_core.module
README.md
wl_core
The one piece of shared runtime state. Components run in separate VMs, so anything they must agree on lives here: inventory, hotbar, survival meters, quest progress, captured companions, placed structures and the save file.
The state table comes from modules.state(), so a hot reload of this module
keeps everything. The save is written to /source/local/wildlands_save.json
and read back by the scene entrypoint on load.
Callers: WildlandsPlayer, WildlandsHUD, WildlandsWorld, wl_creatures
(loot and companion records) and the scene entrypoint.