From 5e6538999658f8adf87d3a567ef83fe0f94a4e0c Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Sun, 8 Jun 2025 04:06:01 +0200 Subject: [PATCH] Update zone_shattrath.sql moved code here from tbc_vendors --- sql/world/base/zone_shattrath.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sql/world/base/zone_shattrath.sql b/sql/world/base/zone_shattrath.sql index d5d8365..d469b5b 100644 --- a/sql/world/base/zone_shattrath.sql +++ b/sql/world/base/zone_shattrath.sql @@ -2,3 +2,13 @@ DELETE FROM `npc_vendor` WHERE `entry`=18756 AND `item`=38089 AND `ExtendedCost`=0; INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES (18756, 0, 38089, 1, 1800, 0, 0); + + +/* Hide certain vendor items until the player has reached the progression tier for them */ +DELETE FROM `conditions` WHERE `SourceEntry` IN (34200, 34201); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, +`ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +-- +(23, 21655, 34200, 0, 0, 8, 0, 66011, 0, 0, 0, 0, 0, '', 'Nakodu will not sell Pattern: Quiver of a Thousand Feathers until the player has completed PROGRESSION_TBC_TIER_3'), +(23, 17585, 34201, 0, 0, 8, 0, 66011, 0, 0, 0, 0, 0, '', 'Urgronn will not sell Pattern: Netherscale Ammo Pouch until the player has completed PROGRESSION_TBC_TIER_3'), +(23, 17657, 34201, 0, 0, 8, 0, 66011, 0, 0, 0, 0, 0, '', 'Ulrike will not sell Pattern: Netherscale Ammo Pouch until the player has completed PROGRESSION_TBC_TIER_3');