* fix names (still use original string for title cards, just not internals and files)
 * link manually created icons (holidays, classes, races) to icon db
 * use newly linked icons instead of hardcoded values for classes/races
 * implement used-by-classes filter on icons listing
 * fix internal name of race 5 (undead) which fucked up icons
 * version bump to invalidate cache
This commit is contained in:
Sarjuuk 2025-12-04 14:44:45 +01:00
parent d6d589caba
commit 1e1ce29438
19 changed files with 180 additions and 27 deletions

View file

@ -404,6 +404,7 @@ DROP TABLE IF EXISTS `aowow_classes`;
CREATE TABLE `aowow_classes` (
`id` int(11) NOT NULL,
`fileString` varchar(128) DEFAULT NULL,
`iconId` smallint(5) unsigned NOT NULL DEFAULT 0,
`name_loc0` varchar(128) DEFAULT NULL,
`name_loc2` varchar(128) DEFAULT NULL,
`name_loc3` varchar(128) DEFAULT NULL,
@ -994,7 +995,7 @@ CREATE TABLE `aowow_holidays` (
`looping` tinyint(4) NOT NULL,
`scheduleType` tinyint(4) NOT NULL,
`textureString` varchar(30) NOT NULL DEFAULT '',
`iconString` varchar(51) NOT NULL DEFAULT '0',
`iconId` smallint(5) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@ -2269,6 +2270,8 @@ CREATE TABLE `aowow_races` (
`baseLanguage` tinyint(3) unsigned NOT NULL,
`side` tinyint(3) unsigned NOT NULL,
`fileString` varchar(64) DEFAULT NULL,
`iconId0` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'male icon',
`iconId1` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'female icon',
`name_loc0` varchar(64) DEFAULT NULL,
`name_loc2` varchar(64) DEFAULT NULL,
`name_loc3` varchar(64) DEFAULT NULL,