|
17 | 17 | /* ScriptData |
18 | 18 | SDName: The_Barrens |
19 | 19 | SD%Complete: 90 |
20 | | -SDComment: Quest support: 863, 898, 1719, 2458, 4921, 6981 |
| 20 | +SDComment: Quest support: 863, 898, 1719, 2458, 4921. |
21 | 21 | SDCategory: Barrens |
22 | 22 | EndScriptData */ |
23 | 23 |
|
24 | 24 | /* ContentData |
25 | 25 | npc_beaten_corpse |
26 | 26 | npc_gilthares |
27 | | -npc_sputtervalve |
28 | 27 | npc_taskmaster_fizzule |
29 | 28 | npc_twiggy_flathead |
30 | 29 | at_twiggy_flathead |
@@ -163,32 +162,6 @@ bool QuestAccept_npc_gilthares(Player* pPlayer, Creature* pCreature, const Quest |
163 | 162 | return true; |
164 | 163 | } |
165 | 164 |
|
166 | | -/*###### |
167 | | -## npc_sputtervalve |
168 | | -######*/ |
169 | | - |
170 | | -bool GossipHello_npc_sputtervalve(Player* pPlayer, Creature* pCreature) |
171 | | -{ |
172 | | - if (pCreature->isQuestGiver()) |
173 | | - pPlayer->PrepareQuestMenu(pCreature->GetObjectGuid()); |
174 | | - |
175 | | - if (pPlayer->GetQuestStatus(6981) == QUEST_STATUS_INCOMPLETE) |
176 | | - pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT,"Can you tell me about this shard?",GOSSIP_SENDER_MAIN,GOSSIP_ACTION_INFO_DEF); |
177 | | - |
178 | | - pPlayer->SEND_GOSSIP_MENU(pPlayer->GetGossipTextId(pCreature), pCreature->GetObjectGuid()); |
179 | | - return true; |
180 | | -} |
181 | | - |
182 | | -bool GossipSelect_npc_sputtervalve(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction) |
183 | | -{ |
184 | | - if (uiAction == GOSSIP_ACTION_INFO_DEF) |
185 | | - { |
186 | | - pPlayer->SEND_GOSSIP_MENU(2013, pCreature->GetObjectGuid()); |
187 | | - pPlayer->AreaExploredOrEventHappens(6981); |
188 | | - } |
189 | | - return true; |
190 | | -} |
191 | | - |
192 | 165 | /*###### |
193 | 166 | ## npc_taskmaster_fizzule |
194 | 167 | ######*/ |
@@ -664,12 +637,6 @@ void AddSC_the_barrens() |
664 | 637 | pNewScript->pQuestAcceptNPC = &QuestAccept_npc_gilthares; |
665 | 638 | pNewScript->RegisterSelf(); |
666 | 639 |
|
667 | | - pNewScript = new Script; |
668 | | - pNewScript->Name = "npc_sputtervalve"; |
669 | | - pNewScript->pGossipHello = &GossipHello_npc_sputtervalve; |
670 | | - pNewScript->pGossipSelect = &GossipSelect_npc_sputtervalve; |
671 | | - pNewScript->RegisterSelf(); |
672 | | - |
673 | 640 | pNewScript = new Script; |
674 | 641 | pNewScript->Name = "npc_taskmaster_fizzule"; |
675 | 642 | pNewScript->GetAI = &GetAI_npc_taskmaster_fizzule; |
|
0 commit comments