Add AdventureBot self-care, supply restocking and secondary professions

This commit is contained in:
Nico committed 2026-10-27 23:56:43 +01:00
1 parent c0c799c4b6
commit 39a515dbd1
18 files changed
+889 -3

No files matched your search

@@ -0,0 +1,6 @@
-- Last completed daily top-up survives logout and server restart.
CREATE TABLE IF NOT EXISTS vcore_adventure_supply_state (
character_guid INT UNSIGNED NOT NULL,
last_day INT UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY(character_guid)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@@ -0,0 +1,26 @@
-- Explicit roles and level tiers; actual native requirements, stack limits and
-- item-use checks remain authoritative. Secondary ranks follow native trainers.
CREATE TABLE IF NOT EXISTS vcore_adventure_supply (
role VARCHAR(24) NOT NULL,
item_id INT UNSIGNED NOT NULL,
min_level TINYINT UNSIGNED NOT NULL DEFAULT 1,
enabled TINYINT UNSIGNED NOT NULL DEFAULT 1,
PRIMARY KEY(role,item_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT IGNORE INTO vcore_adventure_supply(role,item_id,min_level) VALUES
('bandage',1251,1),('bandage',2581,5),('bandage',3530,10),('bandage',3531,15),
('bandage',6450,20),('bandage',6451,25),('bandage',8544,30),('bandage',8545,35),
('bandage',14529,40),('bandage',14530,45),('bandage',21990,55),('bandage',21991,60),
('bandage',34721,70),('bandage',34722,75),('bandage',53049,80),('bandage',53051,85),
('healing_potion',118,1),('healing_potion',858,3),('healing_potion',929,12),
('healing_potion',1710,21),('healing_potion',3928,35),('healing_potion',13446,45),
('healing_potion',22829,55),('healing_potion',33447,70),('healing_potion',57191,80),
('mana_potion',2455,5),('mana_potion',3385,14),('mana_potion',3827,22),
('mana_potion',6149,31),('mana_potion',13443,41),('mana_potion',13444,49),
('mana_potion',22832,55),('mana_potion',33448,70),('mana_potion',57192,80),
('food',117,1),('food',2287,5),('food',3770,15),('food',3771,25),
('food',4599,35),('food',8952,45),('food',27854,55),('food',33454,65),
('food',35953,75),('food',58260,80),
('drink',159,1),('drink',1179,5),('drink',1205,15),('drink',1708,25),
('drink',1645,35),('drink',8766,45),('drink',28399,60),('drink',33444,65),
('drink',33445,75),('drink',58256,80);