Knot Thimblejack: talk flag and gossip menu, so his window opens
Right-clicking Knot opened nothing even with his text in place: he only had the quest giver flag (as in vanilla), and this client opens his script's gossip window only for a creature with the talk flag, which the server shows only when the creature has a gossip menu with an existing text (Player::CanSeeGossipOn). He gets npcflag GOSSIP | QUESTGIVER and menu 91014338 with his own text. Checked the other scripted Classic NPCs with an OnGossipHello: Zap, Jhordy and Omarion already have the talk flag; Knot was the only one without it.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
-- Knot Thimblejack (14338, Dire Maul North): right-clicking him opened nothing (chris 2026-11-16, quest 5518 complete). He only had
|
||||
-- the quest giver flag, as in vanilla, but his script answers with a gossip window (his shackles text, the trap question and, once
|
||||
-- 5518 is turned in, "Please teach me how to make a Gordok Ogre Suit!"). This client opens a gossip window only for a creature
|
||||
-- with the talk flag, and the server shows that flag only when the creature has a gossip menu whose text exists
|
||||
-- (Player::CanSeeGossipOn), so he gets both: npcflag GOSSIP | QUESTGIVER and menu 91014338 with his own text (2026_11_16_04),
|
||||
-- numbered like the other scripted Classic NPCs (2026_11_12_22). The script still builds the whole window. Safe to run again.
|
||||
UPDATE `creature_template` SET `npcflag` = `npcflag` | 1 WHERE `entry` = 14338;
|
||||
|
||||
DELETE FROM `gossip_menu` WHERE `MenuID` = 91014338;
|
||||
INSERT INTO `gossip_menu` (`MenuID`,`TextID`,`VerifiedBuild`) VALUES
|
||||
(91014338,91014338,0);
|
||||
|
||||
DELETE FROM `creature_template_gossip` WHERE `CreatureID` = 14338;
|
||||
INSERT INTO `creature_template_gossip` (`CreatureID`,`MenuID`,`VerifiedBuild`) VALUES
|
||||
(14338,91014338,0);
|
||||
Reference in New Issue
Block a user