[Feature] Allow assigning Helm Texture independently of Body Texture for Horses (#4759)

This commit is contained in:
catapultam-habeo
2025-03-07 20:59:12 -08:00
committed by GitHub
parent a2ed6be1f5
commit a0634adb3c
4 changed files with 56 additions and 32 deletions
@@ -6938,6 +6938,18 @@ CREATE TABLE `character_pet_name` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
)",
},
ManifestEntry{
.version = 9310,
.description = "2025_03_7_expand_horse_def.sql",
.check = "SHOW COLUMNS FROM `horses` LIKE `helmtexture",
.condition = "missing",
.match = "TINYINT(2)",
.sql = R"(
ALTER TABLE `horses`
ADD COLUMN `helmtexture` TINYINT(2) NOT NULL DEFAULT -1 AFTER `texture`;
)",
.content_schema_update = true
},
// -- template; copy/paste this when you need to create a new entry
// ManifestEntry{
// .version = 9228,