TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
zone_sholazar_basin.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "ScriptedEscortAI.h"
#include "SpellScript.h"
#include "SpellAuras.h"
#include "Vehicle.h"
#include "CombatAI.h"
#include "Player.h"
+ Include dependency graph for zone_sholazar_basin.cpp:

Classes

class  npc_vekjik
 
class  npc_avatar_of_freya
 
class  npc_bushwhacker
 
struct  npc_bushwhacker::npc_bushwhackerAI
 
class  npc_engineer_helice
 
struct  npc_engineer_helice::npc_engineer_heliceAI
 
class  npc_jungle_punch_target
 
struct  npc_jungle_punch_target::npc_jungle_punch_targetAI
 
class  npc_adventurous_dwarf
 
struct  npc_adventurous_dwarf::npc_adventurous_dwarfAI
 
class  spell_q12620_the_lifewarden_wrath
 
class  spell_q12620_the_lifewarden_wrath::spell_q12620_the_lifewarden_wrath_SpellScript
 
class  spell_q12589_shoot_rjr
 
class  spell_q12589_shoot_rjr::spell_q12589_shoot_rjr_SpellScript
 
class  npc_haiphoon
 
struct  npc_haiphoon::npc_haiphoonAI
 
class  npc_vics_flying_machine
 
struct  npc_vics_flying_machine::npc_vics_flying_machineAI
 
class  spell_shango_tracks
 
class  spell_shango_tracks::spell_shango_tracks_SpellScript
 

Macros

#define GOSSIP_VEKJIK_ITEM1   "Shaman Vekjik, I have spoken with the big-tongues and they desire peace. I have brought this offering on their behalf."
 
#define GOSSIP_VEKJIK_ITEM2   "No no... I had no intentions of betraying your people. I was only defending myself. it was all a misunderstanding."
 
#define GOSSIP_ITEM_AOF1   "I want to stop the Scourge as much as you do. How can I help?"
 
#define GOSSIP_ITEM_AOF2   "You can trust me. I am no friend of the Lich King."
 
#define GOSSIP_ITEM_AOF3   "I will not fail."
 
#define SAY_OFFER   "Care to try Grimbooze Thunderbrew's new jungle punch?"
 
#define GOSSIP_OPTION_ORANGE   "Can you spare an orange?"
 
#define GOSSIP_OPTION_BANANAS   "Have a spare bunch of bananas?"
 
#define GOSSIP_OPTION_PAPAYA   "I could really use a papaya."
 

Enumerations

enum  Vekjik {
  GOSSIP_TEXTID_VEKJIK1 = 13137, GOSSIP_TEXTID_VEKJIK2 = 13138, SAY_TEXTID_VEKJIK1 = 0, SPELL_FREANZYHEARTS_FURY = 51469,
  QUEST_MAKING_PEACE = 12573
}
 
enum  Freya {
  QUEST_FREYA_PACT = 12621, SPELL_FREYA_CONVERSATION = 52045, GOSSIP_TEXTID_AVATAR1 = 13303, GOSSIP_TEXTID_AVATAR2 = 13304,
  GOSSIP_TEXTID_AVATAR3 = 13305
}
 
enum  EngineerHelice {
  SPELL_EXPLODE_CRYSTAL = 62487, SPELL_FLAMES = 64561, SAY_WP_1 = 0, SAY_WP_2 = 1,
  SAY_WP_3 = 2, SAY_WP_4 = 3, SAY_WP_5 = 4, SAY_WP_6 = 5,
  SAY_WP_7 = 6, QUEST_DISASTER = 12688
}
 
enum  JunglePunch {
  SPELL_OFFER = 51962, QUEST_TASTE_TEST = 12645, SAY_HEMET_HADRIUS_TAMARA_1 = 0, SAY_HEMET_HADRIUS_TAMARA_2 = 1,
  SAY_HEMET_HADRIUS_TAMARA_3 = 2, SAY_HEMET_4 = 3, SAY_HEMET_5 = 4
}
 
enum  NesingwaryChildrensWeek {
  SPELL_ORPHAN_OUT = 58818, QUEST_THE_MIGHTY_HEMET_NESINGWARY = 13957, ORPHAN_WOLVAR = 33532, TEXT_NESINGWARY_1 = 5,
  TEXT_WOLVAR_ORPHAN_6 = 6, TEXT_WOLVAR_ORPHAN_7 = 7, TEXT_WOLVAR_ORPHAN_8 = 8, TEXT_WOLVAR_ORPHAN_9 = 9
}
 
enum  AdventurousDwarf {
  QUEST_12634 = 12634, ITEM_BANANAS = 38653, ITEM_PAPAYA = 38655, ITEM_ORANGE = 38656,
  SPELL_ADD_ORANGE = 52073, SPELL_ADD_BANANAS = 52074, SPELL_ADD_PAPAYA = 52076, GOSSIP_MENU_DWARF = 13307,
  SAY_DWARF_OUCH = 0, SAY_DWARF_HELP = 1
}
 
enum  MiscLifewarden {
  NPC_PRESENCE = 28563, NPC_SABOTEUR = 28538, NPC_SERVANT = 28320, WHISPER_ACTIVATE = 0,
  SPELL_FREYA_DUMMY = 51318, SPELL_LIFEFORCE = 51395, SPELL_FREYA_DUMMY_TRIGGER = 51335, SPELL_LASHER_EMERGE = 48195,
  SPELL_WILD_GROWTH = 52948
}
 
enum  KickWhatKick {
  NPC_LUCKY_WILHELM = 28054, NPC_APPLE = 28053, NPC_DROSTAN = 28328, NPC_CRUNCHY = 28346,
  NPC_THICKBIRD = 28093, SPELL_HIT_APPLE = 51331, SPELL_MISS_APPLE = 51332, SPELL_MISS_BIRD_APPLE = 51366,
  SPELL_APPLE_FALL = 51371, SPELL_BIRD_FALL = 51369, EVENT_MISS = 0, EVENT_HIT = 1,
  EVENT_MISS_BIRD = 2, SAY_WILHELM_MISS = 0, SAY_WILHELM_HIT = 1, SAY_DROSTAN_REPLY_MISS = 0
}
 
enum  SongOfWindAndWater { SPELL_DEVOUR_WIND = 52862, SPELL_DEVOUR_WATER = 52864, NPC_HAIPHOON_WATER = 28999, NPC_HAIPHOON_AIR = 28985 }
 
enum  ReconnaissanceFlight {
  NPC_PLANE = 28710, NPC_PILOT = 28646, VIC_SAY_0 = 0, VIC_SAY_1 = 1,
  VIC_SAY_2 = 2, VIC_SAY_3 = 3, VIC_SAY_4 = 4, VIC_SAY_5 = 5,
  VIC_SAY_6 = 6, PLANE_EMOTE = 0, SPELL_ENGINE = 52255, SPELL_LAND = 52226,
  SPELL_CREDIT = 53328
}
 
enum  ShangoTracks { SPELL_CORRECT_TRACKS = 52160, SPELL_INCORRECT_TRACKS = 52163, SAY_CORRECT_TRACKS = 28634, SAY_INCORRECT_TRACKS = 28635 }
 

Functions

void AddSC_sholazar_basin ()
 

Macro Definition Documentation

#define GOSSIP_ITEM_AOF1   "I want to stop the Scourge as much as you do. How can I help?"
#define GOSSIP_ITEM_AOF2   "You can trust me. I am no friend of the Lich King."
#define GOSSIP_ITEM_AOF3   "I will not fail."
#define GOSSIP_OPTION_BANANAS   "Have a spare bunch of bananas?"
#define GOSSIP_OPTION_ORANGE   "Can you spare an orange?"
#define GOSSIP_OPTION_PAPAYA   "I could really use a papaya."
#define GOSSIP_VEKJIK_ITEM1   "Shaman Vekjik, I have spoken with the big-tongues and they desire peace. I have brought this offering on their behalf."
#define GOSSIP_VEKJIK_ITEM2   "No no... I had no intentions of betraying your people. I was only defending myself. it was all a misunderstanding."
#define SAY_OFFER   "Care to try Grimbooze Thunderbrew's new jungle punch?"

Enumeration Type Documentation

Enumerator
QUEST_12634 
ITEM_BANANAS 
ITEM_PAPAYA 
ITEM_ORANGE 
SPELL_ADD_ORANGE 
SPELL_ADD_BANANAS 
SPELL_ADD_PAPAYA 
GOSSIP_MENU_DWARF 
SAY_DWARF_OUCH 
SAY_DWARF_HELP 
538 {
539  QUEST_12634 = 12634,
540 
541  ITEM_BANANAS = 38653,
542  ITEM_PAPAYA = 38655,
543  ITEM_ORANGE = 38656,
544 
545  SPELL_ADD_ORANGE = 52073,
546  SPELL_ADD_BANANAS = 52074,
547  SPELL_ADD_PAPAYA = 52076,
548 
549  GOSSIP_MENU_DWARF = 13307,
550 
551  SAY_DWARF_OUCH = 0,
552  SAY_DWARF_HELP = 1
553 };
Definition: zone_sholazar_basin.cpp:552
Definition: zone_sholazar_basin.cpp:551
Definition: zone_sholazar_basin.cpp:539
Definition: zone_sholazar_basin.cpp:541
Definition: zone_sholazar_basin.cpp:547
Definition: zone_sholazar_basin.cpp:546
Definition: zone_sholazar_basin.cpp:549
Definition: zone_sholazar_basin.cpp:545
Definition: zone_sholazar_basin.cpp:543
Definition: zone_sholazar_basin.cpp:542
Enumerator
SPELL_EXPLODE_CRYSTAL 
SPELL_FLAMES 
SAY_WP_1 
SAY_WP_2 
SAY_WP_3 
SAY_WP_4 
SAY_WP_5 
SAY_WP_6 
SAY_WP_7 
QUEST_DISASTER 
207 {
208  // Spells
209  SPELL_EXPLODE_CRYSTAL = 62487,
210  SPELL_FLAMES = 64561,
211 
212  // Yells
213  SAY_WP_1 = 0,
214  SAY_WP_2 = 1,
215  SAY_WP_3 = 2,
216  SAY_WP_4 = 3,
217  SAY_WP_5 = 4,
218  SAY_WP_6 = 5,
219  SAY_WP_7 = 6,
220 
221  // Quests
222  QUEST_DISASTER = 12688
223 };
Definition: zone_sholazar_basin.cpp:218
Definition: zone_sholazar_basin.cpp:214
Definition: zone_sholazar_basin.cpp:216
Definition: zone_sholazar_basin.cpp:215
Definition: zone_sholazar_basin.cpp:222
Definition: zone_sholazar_basin.cpp:213
Definition: zone_sholazar_basin.cpp:217
Definition: zone_sholazar_basin.cpp:210
Definition: zone_sholazar_basin.cpp:219
Definition: zone_sholazar_basin.cpp:209
enum Freya
Enumerator
QUEST_FREYA_PACT 
SPELL_FREYA_CONVERSATION 
GOSSIP_TEXTID_AVATAR1 
GOSSIP_TEXTID_AVATAR2 
GOSSIP_TEXTID_AVATAR3 
111 {
112  QUEST_FREYA_PACT = 12621,
113 
114  SPELL_FREYA_CONVERSATION = 52045,
115 
116  GOSSIP_TEXTID_AVATAR1 = 13303,
117  GOSSIP_TEXTID_AVATAR2 = 13304,
118  GOSSIP_TEXTID_AVATAR3 = 13305
119 };
Definition: zone_sholazar_basin.cpp:117
Definition: zone_sholazar_basin.cpp:118
Definition: zone_sholazar_basin.cpp:114
Definition: zone_sholazar_basin.cpp:112
Definition: zone_sholazar_basin.cpp:116
Enumerator
SPELL_OFFER 
QUEST_TASTE_TEST 
SAY_HEMET_HADRIUS_TAMARA_1 
SAY_HEMET_HADRIUS_TAMARA_2 
SAY_HEMET_HADRIUS_TAMARA_3 
SAY_HEMET_4 
SAY_HEMET_5 
342 {
343  SPELL_OFFER = 51962,
344  QUEST_TASTE_TEST = 12645,
345 
349 
350  SAY_HEMET_4 = 3, // unused
351  SAY_HEMET_5 = 4 // unused
352 };
Definition: zone_sholazar_basin.cpp:348
Definition: zone_sholazar_basin.cpp:343
Definition: zone_sholazar_basin.cpp:346
Definition: zone_sholazar_basin.cpp:344
Definition: zone_sholazar_basin.cpp:351
Definition: zone_sholazar_basin.cpp:350
Definition: zone_sholazar_basin.cpp:347
Enumerator
NPC_LUCKY_WILHELM 
NPC_APPLE 
NPC_DROSTAN 
NPC_CRUNCHY 
NPC_THICKBIRD 
SPELL_HIT_APPLE 
SPELL_MISS_APPLE 
SPELL_MISS_BIRD_APPLE 
SPELL_APPLE_FALL 
SPELL_BIRD_FALL 
EVENT_MISS 
EVENT_HIT 
EVENT_MISS_BIRD 
SAY_WILHELM_MISS 
SAY_WILHELM_HIT 
SAY_DROSTAN_REPLY_MISS 
703 {
704  NPC_LUCKY_WILHELM = 28054,
705  NPC_APPLE = 28053,
706  NPC_DROSTAN = 28328,
707  NPC_CRUNCHY = 28346,
708  NPC_THICKBIRD = 28093,
709 
710  SPELL_HIT_APPLE = 51331,
711  SPELL_MISS_APPLE = 51332,
712  SPELL_MISS_BIRD_APPLE = 51366,
713  SPELL_APPLE_FALL = 51371,
714  SPELL_BIRD_FALL = 51369,
715 
716  EVENT_MISS = 0,
717  EVENT_HIT = 1,
718  EVENT_MISS_BIRD = 2,
719 
720  SAY_WILHELM_MISS = 0,
721  SAY_WILHELM_HIT = 1,
723 };
Definition: zone_sholazar_basin.cpp:710
Definition: zone_sholazar_basin.cpp:707
Definition: zone_sholazar_basin.cpp:713
Definition: zone_sholazar_basin.cpp:704
Definition: zone_sholazar_basin.cpp:714
Definition: zone_sholazar_basin.cpp:711
Definition: zone_sholazar_basin.cpp:706
Definition: zone_sholazar_basin.cpp:708
Definition: zone_sholazar_basin.cpp:712
Definition: zone_sholazar_basin.cpp:717
Definition: zone_sholazar_basin.cpp:705
Definition: zone_sholazar_basin.cpp:721
Definition: zone_sholazar_basin.cpp:716
Definition: zone_sholazar_basin.cpp:720
Definition: zone_sholazar_basin.cpp:718
Definition: zone_sholazar_basin.cpp:722
Enumerator
NPC_PRESENCE 
NPC_SABOTEUR 
NPC_SERVANT 
WHISPER_ACTIVATE 
SPELL_FREYA_DUMMY 
SPELL_LIFEFORCE 
SPELL_FREYA_DUMMY_TRIGGER 
SPELL_LASHER_EMERGE 
SPELL_WILD_GROWTH 
623 {
624  NPC_PRESENCE = 28563, // Freya's Presence
625  NPC_SABOTEUR = 28538, // Cultist Saboteur
626  NPC_SERVANT = 28320, // Servant of Freya
627 
628  WHISPER_ACTIVATE = 0,
629 
630  SPELL_FREYA_DUMMY = 51318,
631  SPELL_LIFEFORCE = 51395,
633  SPELL_LASHER_EMERGE = 48195,
634  SPELL_WILD_GROWTH = 52948,
635 };
Definition: zone_sholazar_basin.cpp:630
Definition: zone_sholazar_basin.cpp:628
Definition: zone_sholazar_basin.cpp:634
Definition: zone_sholazar_basin.cpp:625
Definition: zone_sholazar_basin.cpp:633
Definition: zone_sholazar_basin.cpp:626
Definition: zone_sholazar_basin.cpp:631
Definition: zone_sholazar_basin.cpp:632
Definition: zone_sholazar_basin.cpp:624
Enumerator
SPELL_ORPHAN_OUT 
QUEST_THE_MIGHTY_HEMET_NESINGWARY 
ORPHAN_WOLVAR 
TEXT_NESINGWARY_1 
TEXT_WOLVAR_ORPHAN_6 
TEXT_WOLVAR_ORPHAN_7 
TEXT_WOLVAR_ORPHAN_8 
TEXT_WOLVAR_ORPHAN_9 
355 {
356  SPELL_ORPHAN_OUT = 58818,
357 
359 
360  ORPHAN_WOLVAR = 33532,
361 
362  TEXT_NESINGWARY_1 = 5,
363 
368 };
Definition: zone_sholazar_basin.cpp:360
Definition: zone_sholazar_basin.cpp:367
Definition: zone_sholazar_basin.cpp:358
Definition: zone_sholazar_basin.cpp:366
Definition: zone_sholazar_basin.cpp:356
Definition: zone_sholazar_basin.cpp:362
Definition: zone_sholazar_basin.cpp:365
Definition: zone_sholazar_basin.cpp:364
Enumerator
NPC_PLANE 
NPC_PILOT 
VIC_SAY_0 
VIC_SAY_1 
VIC_SAY_2 
VIC_SAY_3 
VIC_SAY_4 
VIC_SAY_5 
VIC_SAY_6 
PLANE_EMOTE 
SPELL_ENGINE 
SPELL_LAND 
SPELL_CREDIT 
870 {
871  NPC_PLANE = 28710, // Vic's Flying Machine
872  NPC_PILOT = 28646,
873 
874  VIC_SAY_0 = 0,
875  VIC_SAY_1 = 1,
876  VIC_SAY_2 = 2,
877  VIC_SAY_3 = 3,
878  VIC_SAY_4 = 4,
879  VIC_SAY_5 = 5,
880  VIC_SAY_6 = 6,
881  PLANE_EMOTE = 0,
882 
883  SPELL_ENGINE = 52255, // Engine on Fire
884 
885  SPELL_LAND = 52226, // Land Flying Machine
886  SPELL_CREDIT = 53328 // Land Flying Machine Credit
887 };
Definition: zone_sholazar_basin.cpp:880
Definition: zone_sholazar_basin.cpp:886
Definition: zone_sholazar_basin.cpp:872
Definition: zone_sholazar_basin.cpp:877
Definition: zone_sholazar_basin.cpp:874
Definition: zone_sholazar_basin.cpp:878
Definition: zone_sholazar_basin.cpp:871
Definition: zone_sholazar_basin.cpp:876
Definition: zone_sholazar_basin.cpp:875
Definition: zone_sholazar_basin.cpp:881
Definition: zone_sholazar_basin.cpp:879
Definition: zone_sholazar_basin.cpp:885
Definition: zone_sholazar_basin.cpp:883
Enumerator
SPELL_CORRECT_TRACKS 
SPELL_INCORRECT_TRACKS 
SAY_CORRECT_TRACKS 
SAY_INCORRECT_TRACKS 
975 {
976  SPELL_CORRECT_TRACKS = 52160,
977  SPELL_INCORRECT_TRACKS = 52163,
978  SAY_CORRECT_TRACKS = 28634,
979  SAY_INCORRECT_TRACKS = 28635
980 };
Definition: zone_sholazar_basin.cpp:979
Definition: zone_sholazar_basin.cpp:978
Definition: zone_sholazar_basin.cpp:976
Definition: zone_sholazar_basin.cpp:977
Enumerator
SPELL_DEVOUR_WIND 
SPELL_DEVOUR_WATER 
NPC_HAIPHOON_WATER 
NPC_HAIPHOON_AIR 
826 {
827  // Spells
828  SPELL_DEVOUR_WIND = 52862,
829  SPELL_DEVOUR_WATER = 52864,
830  // NPCs
831  NPC_HAIPHOON_WATER = 28999,
832  NPC_HAIPHOON_AIR = 28985
833 };
Definition: zone_sholazar_basin.cpp:832
Definition: zone_sholazar_basin.cpp:828
Definition: zone_sholazar_basin.cpp:829
Definition: zone_sholazar_basin.cpp:831
enum Vekjik
Enumerator
GOSSIP_TEXTID_VEKJIK1 
GOSSIP_TEXTID_VEKJIK2 
SAY_TEXTID_VEKJIK1 
SPELL_FREANZYHEARTS_FURY 
QUEST_MAKING_PEACE 
49 {
50  GOSSIP_TEXTID_VEKJIK1 = 13137,
51  GOSSIP_TEXTID_VEKJIK2 = 13138,
52 
54 
56 
57  QUEST_MAKING_PEACE = 12573
58 };
Definition: zone_sholazar_basin.cpp:50
Definition: zone_sholazar_basin.cpp:53
Definition: zone_sholazar_basin.cpp:55
Definition: zone_sholazar_basin.cpp:57
Definition: zone_sholazar_basin.cpp:51

Function Documentation

void AddSC_sholazar_basin ( )
1022 {
1023  new npc_vekjik();
1024  new npc_avatar_of_freya();
1025  new npc_bushwhacker();
1026  new npc_engineer_helice();
1027  new npc_adventurous_dwarf();
1030  new spell_q12589_shoot_rjr();
1031  new npc_haiphoon();
1033  new spell_shango_tracks();
1034 }
Definition: zone_sholazar_basin.cpp:60
Definition: zone_sholazar_basin.cpp:555
Definition: zone_sholazar_basin.cpp:370
Definition: zone_sholazar_basin.cpp:225
Definition: zone_sholazar_basin.cpp:121
Definition: zone_sholazar_basin.cpp:637
Definition: zone_sholazar_basin.cpp:725
Definition: zone_sholazar_basin.cpp:164
Definition: zone_sholazar_basin.cpp:835
Definition: zone_sholazar_basin.cpp:982
Definition: zone_sholazar_basin.cpp:889

+ Here is the caller graph for this function: