void GossipHello(ObjectPointer pObject, PlayerPointer plr, bool AutoSend) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1793, plr); Menu->AddItem( 0, GOSSIP_CAPTAIN_GARRAN_VIMES, 1); if(AutoSend) Menu->SendTo(plr); }
void GossipHello(Object* pObject, Player * plr, bool AutoSend) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 60048, plr); Menu->AddItem(0, "Tell me how to use the Blastenheimer 5000 Ultra Cannon.", 1); if(AutoSend) Menu->SendTo(plr); }
void GossipHello(Object* pObject, Player * Plr, bool AutoSend) { if (Plr->GetQuestLogForEntry(10814)) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 10613, Plr); Menu->AddItem( 0, "I am listening, dragon", 1); Menu->SendTo(Plr); } }
void GossipHello(Object* pObject, Player* plr, bool AutoSend) { GossipMenu *Menu; if(plr->GetQuestLogForEntry(10279) || plr->HasFinishedQuest(10279)) { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 9978, plr); Menu->AddItem( 0, "Please take me to the master's lair", 1); Menu->SendTo(plr); } }
void GossipHello(Object * pObject, Player* Plr, bool AutoSend) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr); Menu->AddItem(0, "Power of the Horde", 1); Menu->AddItem(5, "Brewfest Songs", 2); Menu->AddItem(0, "Menu Music", 3); Menu->AddItem(0, "Lament of the Highborne", 4); Menu->AddItem(0, "Darkmoon Faire", 5); Menu->AddItem(0, "Darnassus Day", 6); Menu->AddItem(0, "Exodar City", 7); Menu->AddItem(0, "IronForge", 8); Menu->AddItem(0, "Tavern Dwarf", 18); Menu->AddItem(5, "Page 2", 9); if(AutoSend) Menu->SendTo(Plr); }
void GossipHello(Object* pObject, Player* plr) { GossipMenu* Menu; if(!plr->GetItemInterface()->GetItemCount(24573, true)) { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 9226, plr); Menu->AddItem(ICON_CHAT, plr->GetSession()->LocalizedGossipOption(502), 1); // Offer treat Menu->SendTo(plr); } }
void GossipHello(ObjectPointer pObject, PlayerPointer plr, bool AutoSend) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 11224, plr); if(plr->GetQuestLogForEntry(11142) != NULL){ Menu->AddItem( 0, GOSSIP_CASSA_CRIMSONWING, 1); }; if(AutoSend) Menu->SendTo(plr); }
void GossipHello(Object* pObject, Player* plr) { GossipMenu* Menu; if(plr->GetQuestLogForEntry(10652)) { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, plr); Menu->AddItem(0, "I'm ready", 1); Menu->SendTo(plr); } }
void GossipHello(Object* pObject, Player* plr) { GossipMenu* Menu; if(!plr->GetItemInterface()->GetItemCount(24573, true)) { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 9226, plr); Menu->AddItem(0, "Offer treat", 1); Menu->SendTo(plr); } }
void GossipHello(Object* pObject, Player* plr) { GossipMenu* Menu; if(plr->GetQuestLogForEntry(558)) { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 7012, plr); Menu->AddItem(0, "Lady Jaina, this may sound like an odd request... but I have a young ward who is quite shy. You are a hero to him, and he asked me to get your autograph.", 1); Menu->SendTo(plr); } }
void GossipHello(Object* pObject, Player* plr) { GossipMenu* Menu; if(plr->GetQuestLogForEntry(925)) { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 7013, plr); Menu->AddItem(0, "Give me hoofprint.", 1); Menu->SendTo(plr); } }
void GossipHello(Object* pObject, Player * plr, bool AutoSend) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 60013, plr); Menu->AddItem(0, "Silas, why is most everything at the fair free? How do you make a profit?", 1); if(AutoSend) Menu->SendTo(plr); }
void GossipHello(ObjectPointer pObject, PlayerPointer plr, bool AutoSend) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2153, plr); Menu->AddItem( 0, GOSSIP_ERELAS_AMBERSKY, 1); if(AutoSend) Menu->SendTo(plr); }
void GossipHello(Object* pObject, Player* plr) { GossipMenu* Menu; if(plr->HasQuest(10279) || plr->HasFinishedQuest(10279)) { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 9978, plr); Menu->AddItem(ICON_CHAT, plr->GetSession()->LocalizedGossipOption(496), 1); // Please take me to the Master's Lair Menu->SendTo(plr); } }
void GossipHello(Object * pObject, Player * plr, bool AutoSend) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 3557, plr); if(plr->GetQuestLogForEntry(4921) != NULL) Menu->AddItem(0, "I inspect the body further.", 1); if(AutoSend) Menu->SendTo(plr); }
void GossipHello(Object* pObject, Player* plr) { if(plr->HasQuest(12645)) { GossipMenu* Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 40002, plr); Menu->AddItem(GOSSIP_ICON_CHAT, plr->GetSession()->LocalizedGossipOption(476), 1); // Care to try Grimbooze Thunderbrew's Jungle punch? Menu->SendTo(plr); } }
void send_MainPage(Object * pObject, Player* Plr) { if( Plr == false ) return; GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr); Menu->SetTextID( 20050 ); Menu->AddItem( 0, "Queue for Maze Event",2); Menu->SendTo(Plr); }
void GossipHello(Object* pObject, Player* plr) { if(plr->HasQuest(12645)) { GossipMenu* Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 40002, plr); Menu->AddItem(0, GOSSIP_TASTETEST, 1); Menu->SendTo(plr); } }
void GossipHello(Object* pObject, Player* plr) { if(plr->_GetSkillLineCurrent(202, false) >= 415) { GossipMenu* Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 14785, plr); Menu->AddItem(GOSSIP_ICON_CHAT, plr->GetSession()->LocalizedGossipOption(447), 1); // Borean Tundra Menu->AddItem(GOSSIP_ICON_CHAT, plr->GetSession()->LocalizedGossipOption(448), 2); // Howling Fjord Menu->AddItem(GOSSIP_ICON_CHAT, plr->GetSession()->LocalizedGossipOption(449), 3); // Sholazar Basin Menu->AddItem(GOSSIP_ICON_CHAT, plr->GetSession()->LocalizedGossipOption(450), 4); // Icecrown Menu->AddItem(GOSSIP_ICON_CHAT, plr->GetSession()->LocalizedGossipOption(451), 5); // Storm Peaks uint8 chance = RandomUInt(1); if (chance == 1) Menu->AddItem(GOSSIP_ICON_CHAT, plr->GetSession()->LocalizedGossipOption(452), 6); // Underground... Menu->SendTo(plr); } }
void GossipHello(Object* pObject, Player* pPlayer, bool AutoSend) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, pPlayer); if( GetQuest( pPlayer, QUEST_THE_MECHAGNOMES ) ) Menu->AddItem( 0, GOSSIP_ITEM_TELL_ME, 1 ); if(AutoSend) Menu->SendTo(pPlayer); }
void GossipHello(Object* pObject, Player* plr) { if(plr->HasQuest(10814)) { GossipMenu* Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 10613, plr); Menu->AddItem(GOSSIP_ICON_CHAT, plr->GetSession()->LocalizedGossipOption(471), 1); // I am listening, Dragon Menu->SendTo(plr); } }
void GossipHello(ObjectPointer pObject, PlayerPointer plr, bool AutoSend) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 11469, plr); if(plr->GetQuestLogForEntry(11223)) Menu->AddItem( 0, GOSSIP_ARCHMAGE_MALIN, 1); if(AutoSend) Menu->SendTo(plr); }
void GossipHello(Object* pObject, Player* Plr) { GossipMenu* Menu; if (!pObject->IsCreature()) return; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), THRALL_ON_HELLO, Plr); Menu->AddItem(ICON_CHAT, Plr->GetSession()->LocalizedGossipOption(THRALL_START_ESCORT), 1); Menu->SendTo(Plr); }
void GossipSelectOption(Object* pObject, Player* pPlayer, uint32 Id, uint32 IntId, const char * Code) { GossipMenu *Menu; switch (IntId) { case 1: objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), GOSSIP_TEXTID_FIZZCRANK1, pPlayer); Menu->AddItem( 0, GOSSIP_ITEM_GO_ON, 2 ); Menu->SendTo(pPlayer); break; case 2: objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), GOSSIP_TEXTID_FIZZCRANK2, pPlayer); Menu->AddItem( 0, GOSSIP_ITEM_GO_ON, 3 ); Menu->SendTo(pPlayer); break; case 3: objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), GOSSIP_TEXTID_FIZZCRANK3, pPlayer); Menu->AddItem( 0, GOSSIP_ITEM_GO_ON, 4 ); Menu->SendTo(pPlayer); break; case 4: objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), GOSSIP_TEXTID_FIZZCRANK4, pPlayer); Menu->AddItem( 0, GOSSIP_ITEM_GO_ON, 5 ); Menu->SendTo(pPlayer); break; case 5: objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), GOSSIP_TEXTID_FIZZCRANK5, pPlayer); Menu->AddItem( 0, GOSSIP_ITEM_GO_ON, 6 ); Menu->SendTo(pPlayer); break; case 6: objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), GOSSIP_TEXTID_FIZZCRANK6, pPlayer); Menu->AddItem( 0, GOSSIP_ITEM_GO_ON, 7 ); Menu->SendTo(pPlayer); break; case 7: objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), GOSSIP_TEXTID_FIZZCRANK7, pPlayer); Menu->AddItem( 0, GOSSIP_ITEM_GO_ON, 8 ); Menu->SendTo(pPlayer); break; case 8: objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), GOSSIP_TEXTID_FIZZCRANK8, pPlayer); Menu->AddItem( 0, GOSSIP_ITEM_GO_ON, 9 ); Menu->SendTo(pPlayer); break; case 9: objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), GOSSIP_TEXTID_FIZZCRANK9, pPlayer); Menu->SendTo(pPlayer); break; } }
void GossipHello(Object* pObject, Player* Plr, bool AutoSend) { GossipMenu *Menu; switch(pObject->GetEntry()) { case TAXI_BRACK: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 40002, Plr); if (Plr->GetQuestLogForEntry(10162) || Plr->GetQuestLogForEntry(10347)) { Menu->AddItem(0, GOSSIP_MISSIONA, 1); } if (Plr->GetQuestLogForEntry(10129)) { Menu->AddItem(0, GOSSIP_MISSIONB,2); } Menu->AddItem(0, GOSSIP_SPINERIDGE, 3); }break; case TAXI_DABIREE: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 40002, Plr); if ( Plr->GetQuestLogForEntry(10146) ) { Menu->AddItem(0, GOSSIP_MISSIONB,2); } Menu->AddItem(0, GOSSIP_SHATTPOINT,4); }break; case TAXI_WINDBELLOW: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 40002, Plr); if ( Plr->GetQuestLogForEntry(10163) || Plr->GetQuestLogForEntry(10346) ) { Menu->AddItem( 0, GOSSIP_MISSIONA, 1); } Menu->AddItem( 0, GOSSIP_HONORPOINT, 5); }break; case TAXI_LEAFBEARD: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 40002, Plr); Menu->AddItem( 0, GOSSIP_SHATTPOINT, 4); }break; } if(AutoSend) Menu->SendTo(Plr); }
void GossipSelectOption(Object* pObject, Player* Plr, uint32 Id, uint32 IntId, const char * EnteredCode) { GossipMenu* Menu; switch(IntId) { case 1: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2236, Plr); Menu->AddItem(2, RHA_GOSSIP_ITEM_2, 2); Menu->SendTo(Plr); } break; case 2: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2237, Plr); Menu->AddItem(2, RHA_GOSSIP_ITEM_3, 3); Menu->SendTo(Plr); } break; case 3: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2238, Plr); Menu->AddItem(2, RHA_GOSSIP_ITEM_4, 4); Menu->SendTo(Plr); } break; case 4: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2239, Plr); Menu->AddItem(2, RHA_GOSSIP_ITEM_5, 5); Menu->SendTo(Plr); } break; case 5: { Plr->Gossip_Complete(); sQuestMgr.OnPlayerExploreArea(Plr, 3702); } break; } }
void GossipHello(Object* pObject, Player* Plr) { GossipMenu* Menu; QuestLogEntry* en = Plr->GetQuestLogForEntry(8304); objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 7736, Plr); if(en && en->GetMobCount(1) < en->GetQuest()->required_mobcount[1]) Menu->AddItem(0, "Hello, Rutgar. The Commander has sent me here to gather some information about his missing wife.", 3); Menu->SendTo(Plr); }
void GossipSelectOption(ObjectPointer pObject, PlayerPointer plr, uint32 Id, uint32 IntId, const char * Code) { if(pObject->GetTypeId()!=TYPEID_UNIT) return; switch(IntId) { case 1: { GossipMenu * Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 10614, plr); Menu->AddItem( 0, "But you are dragons! How could orcs do this to you?", 2); Menu->SendTo(plr); }break; case 2: { GossipMenu * Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 10615, plr); Menu->AddItem( 0, "Your mate?", 3); Menu->SendTo(plr); }break; case 3: { GossipMenu * Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 10616, plr); Menu->AddItem( 0, "I have battled many beasts, dragon. I will help you.", 4); Menu->SendTo(plr); }break; case 4: { QuestLogEntry *pQuest = plr->GetQuestLogForEntry(10814); if ( pQuest && pQuest->GetMobCount(0) < pQuest->GetQuest()->required_mobcount[0] ) { pQuest->SetMobCount(0, 1); pQuest->SendUpdateAddKill(0); pQuest->UpdatePlayerFields(); } }break; } }
// IceCrown Teleporter void ICCTeleporter::GossipHello(Object* pObject, Player* Plr, bool AutoSend) { GossipMenu *Menu; objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 0, Plr); Menu->AddItem(0, "Teleport to Light's Hammer", 0); Menu->AddItem(0, "Teleport to Oratory of The Damned", 1); Menu->AddItem(0, "Teleport to Rampart of Skulls", 2); Menu->AddItem(0, "Teleport to Deathbringer's Rise", 3); Menu->AddItem(0, "Teleport to The Plagueworks", 4); Menu->AddItem(0, "Teleport to The Crimson Halls", 5); Menu->AddItem(0, "Teleport to The Frostwing Halls", 6); Menu->AddItem(0, "Teleport to The Frost Queen's Lair", 7); Menu->AddItem(0, "Teleport to The Frozen Throne", 8); if(AutoSend) Menu->SendTo(Plr); };
void GossipSelectOption(Object* pObject, Player* plr, uint32 Id, uint32 IntId, const char* Code) { Creature* pCreature = (pObject->IsCreature()) ? (static_cast<Creature*>(pObject)) : NULL; if(pCreature == NULL) return; GossipMenu* Menu; switch(IntId) { case 1: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 13612, plr); Menu->AddItem(ICON_CHAT, plr->GetSession()->LocalizedGossipOption(500), 2); // I'm sorry that I didn't get here sooner. What happened? Menu->SendTo(plr); } break; case 2: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 13613, plr); Menu->AddItem(ICON_CHAT, plr->GetSession()->LocalizedGossipOption(501), 3); // I'll go get some help. Hang in there. Menu->SendTo(plr); } break; case 3: { objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 13614, plr); Menu->SendTo(plr); QuestLogEntry* qle = plr->GetQuestLogForEntry(12864); if(qle == NULL || qle->GetMobCount(0) != 0) return; qle->SetMobCount(0, 1); qle->SendUpdateAddKill(0); qle->UpdatePlayerFields(); } break; } }