diff options
author | Malcrom <malcromdev@gmail.com> | 2013-07-15 13:51:51 -0230 |
---|---|---|
committer | Malcrom <malcromdev@gmail.com> | 2013-07-15 13:51:51 -0230 |
commit | 9e91219cd3b7b9bd02d75a247053abd90d17de11 (patch) | |
tree | d56268f665e9387ddedbcd48db61408101743b91 /src | |
parent | 779a59e7e218e340ac5cefd3297ea970d804239d (diff) |
DB/Gossip: Add missing gossip for Sputtervalve. Moved all scripting to SAI.
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Kalimdor/zone_the_barrens.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/server/scripts/Kalimdor/zone_the_barrens.cpp b/src/server/scripts/Kalimdor/zone_the_barrens.cpp index b1f6114d33f..62867c46f78 100644 --- a/src/server/scripts/Kalimdor/zone_the_barrens.cpp +++ b/src/server/scripts/Kalimdor/zone_the_barrens.cpp @@ -176,42 +176,6 @@ public: }; /*###### -## npc_sputtervalve -######*/ - -#define GOSSIP_SPUTTERVALVE "Can you tell me about this shard?" - -class npc_sputtervalve : public CreatureScript -{ -public: - npc_sputtervalve() : CreatureScript("npc_sputtervalve") { } - - bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) OVERRIDE - { - player->PlayerTalkClass->ClearMenus(); - if (action == GOSSIP_ACTION_INFO_DEF) - { - player->SEND_GOSSIP_MENU(2013, creature->GetGUID()); - player->AreaExploredOrEventHappens(6981); - } - return true; - } - - bool OnGossipHello(Player* player, Creature* creature) OVERRIDE - { - if (creature->IsQuestGiver()) - player->PrepareQuestMenu(creature->GetGUID()); - - if (player->GetQuestStatus(6981) == QUEST_STATUS_INCOMPLETE) - player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_SPUTTERVALVE, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF); - - player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID()); - return true; - } - -}; - -/*###### ## npc_taskmaster_fizzule ######*/ @@ -691,7 +655,6 @@ void AddSC_the_barrens() { new npc_beaten_corpse(); new npc_gilthares(); - new npc_sputtervalve(); new npc_taskmaster_fizzule(); new npc_twiggy_flathead(); new npc_wizzlecrank_shredder(); |