[Scaling] Add support for pipe-separated zone IDs and versions (#3015)

* [Scaling] Add support for pipe-separated zone IDs and versions

# Notes
- Allows `|` separated zone IDs and instance versions within the scaling data.
- Loads scaling data on zone bootup as well, without needing to repop for it to initialize.

* Cleanup
This commit is contained in:
Alex King authored and GitHub committed 2023-03-04 17:24:16 -06:00
1 parent 83ea9816b8
commit c21d47f450
6 files changed
+230 -146

No files matched your search

+2
View File
@@ -1218,6 +1218,8 @@ bool Zone::Init(bool is_static) {
LoadGrids();
LoadTickItems();
npc_scale_manager->LoadScaleData();
// logging origination information
LogSys.origination_info.zone_short_name = zone->short_name;
LogSys.origination_info.zone_long_name = zone->long_name;