[Zone] Zone State Improvements (Continued) (#4768)

* [Zone] Zone State Improvements (Continued)

* Ignore a few events when we resume from suspend

* Add is_zone field

* Update database_update_manifest.cpp

* Update database_update_manifest.cpp

* Update database_update_manifest.cpp

* Update zone_save_state.cpp

* Update zone_save_state.cpp

* Add Zone Variables

* Update methods

* Update zone_save_state.cpp

* Update zone_save_state.cpp

---------

Co-authored-by: Kinglykrab <kinglykrab@gmail.com>
This commit is contained in:
Chris Miles
2025-03-11 01:14:09 -05:00
committed by GitHub
parent 051ce3736f
commit 30c39194a3
10 changed files with 377 additions and 103 deletions
+13 -1
View File
@@ -6941,7 +6941,7 @@ CREATE TABLE `character_pet_name` (
ManifestEntry{
.version = 9310,
.description = "2025_03_7_expand_horse_def.sql",
.check = "SHOW COLUMNS FROM `horses` LIKE `helmtexture",
.check = "SHOW COLUMNS FROM `horses` LIKE 'helmtexture'",
.condition = "missing",
.match = "TINYINT(2)",
.sql = R"(
@@ -6950,6 +6950,18 @@ ALTER TABLE `horses`
)",
.content_schema_update = true
},
ManifestEntry{
.version = 9311,
.description = "2025_03_09_add_zone_state_is_zone_field.sql",
.check = "SHOW COLUMNS FROM `zone_state_spawns` LIKE 'is_zone'",
.condition = "empty",
.match = "",
.sql = R"(
ALTER TABLE `zone_state_spawns`
ADD COLUMN `is_zone` tinyint(11) NULL DEFAULT 0 AFTER `is_corpse`;
)",
.content_schema_update = false
},
// -- template; copy/paste this when you need to create a new entry
// ManifestEntry{
// .version = 9228,