Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
go_scripts.cpp File Reference
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "GameObjectAI.h"
#include "Spell.h"
#include "Player.h"
#include "WorldSession.h"
Include dependency graph for go_scripts.cpp:

Go to the source code of this file.

Classes

class  go_amberpine_outhouse
class  go_arcane_prison
class  go_barov_journal
class  go_bashir_crystalforge
class  go_blood_filled_orb
class  go_cat_figurine
class  go_dragonflayer_cage
class  go_ethereal_teleport_pad
class  go_ethereum_prison
class  go_ethereum_stasis
class  go_fel_crystalforge
class  go_field_repair_bot_74A
class  go_frostblade_shrine
class  go_gilded_brazier
class  go_gjalerbron_cage
class  go_hive_pod
class  go_inconspicuous_landmark
class  go_jotunheim_cage
class  go_jump_a_tron
class  go_large_gjalerbron_cage
class  go_massive_seaforium_charge
class  go_matrix_punchograph
class  go_midsummer_bonfire
class  go_orb_of_command
class  go_resonite_cask
class  go_sacred_fire_of_life
class  go_scourge_cage
class  go_shrine_of_the_birds
class  go_southfury_moonstone
class  go_table_theka
class  go_tablet_of_madness
class  go_tablet_of_the_seven
class  go_tadpole_cage
class  go_tele_to_dalaran_crystal
class  go_tele_to_violet_stand
class  go_veil_skith_cage

Macros

#define GO_ANDERHOLS_SLIDER_CIDER_NOT_FOUND   "Quest item Anderhol's Slider Cider not found."
#define GO_TELE_TO_DALARAN_CRYSTAL_FAILED   "This teleport crystal cannot be used until the teleport crystal in Dalaran has been used at least once."
#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_1   "Purchase 1 Unstable Flask of the Sorcerer for the cost of 10 Apexis Shards"
#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_5   "Purchase 5 Unstable Flask of the Sorcerer for the cost of 50 Apexis Shards"
#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_RETURN   "Use the bashir crystalforge to make another purchase."
#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_TEXT_RETURN   31101
#define GOSSIP_BASHIR_CRYSTALFORGE_TEXT   31100
#define GOSSIP_FEL_CRYSTALFORGE_ITEM_1   "Purchase 1 Unstable Flask of the Beast for the cost of 10 Apexis Shards"
#define GOSSIP_FEL_CRYSTALFORGE_ITEM_5   "Purchase 5 Unstable Flask of the Beast for the cost of 50 Apexis Shards"
#define GOSSIP_FEL_CRYSTALFORGE_ITEM_RETURN   "Use the fel crystalforge to make another purchase."
#define GOSSIP_FEL_CRYSTALFORGE_ITEM_TEXT_RETURN   31001
#define GOSSIP_FEL_CRYSTALFORGE_TEXT   31000
#define GOSSIP_USE_OUTHOUSE   "Use the outhouse."

Enumerations

enum  AmberpineOuthouse {
  ITEM_ANDERHOLS_SLIDER_CIDER = 37247 , NPC_OUTHOUSE_BUNNY = 27326 , QUEST_DOING_YOUR_DUTY = 12227 , SPELL_INDISPOSED = 53017 ,
  SPELL_INDISPOSED_III = 48341 , SPELL_CREATE_AMBERSEEDS = 48330 , GOSSIP_OUTHOUSE_INUSE = 12775 , GOSSIP_OUTHOUSE_VACANT = 12779
}
enum  ArcanePrison { QUEST_PRISON_BREAK = 11587 , SPELL_ARCANE_PRISONER_KILL_CREDIT = 45456 }
enum  BashirCrystalforge { SPELL_CREATE_1_FLASK_OF_SORCERER = 40968 , SPELL_CREATE_5_FLASK_OF_SORCERER = 40970 }
enum  BloodFilledOrb { NPC_ZELEMAR = 17830 }
enum  CatFigurine { SPELL_SUMMON_GHOST_SABER = 5968 }
enum  DalaranCrystal { QUEST_LEARN_LEAVE_RETURN = 12790 , QUEST_TELE_CRYSTAL_FLAG = 12845 }
enum  EtherealTeleportPad { NPC_IMAGE_WIND_TRADER = 20518 , ITEM_TELEPORTER_POWER_PACK = 28969 }
enum  EthereumPrison {
  SPELL_REP_LC = 39456 , SPELL_REP_SHAT = 39457 , SPELL_REP_CE = 39460 , SPELL_REP_CON = 39474 ,
  SPELL_REP_KT = 39475 , SPELL_REP_SPOR = 39476
}
enum  FelCrystalforge { SPELL_CREATE_1_FLASK_OF_BEAST = 40964 , SPELL_CREATE_5_FLASK_OF_BEAST = 40965 }
enum  GildedBrazier { NPC_STILLBLADE = 17716 }
enum  Hives { QUEST_HIVE_IN_THE_TOWER = 9544 , NPC_HIVE_AMBUSHER = 13301 }
enum  InconspicuousLandmark { SPELL_SUMMON_PIRATES_TREASURE_AND_TRIGGER_MOB = 11462 , ITEM_CUERGOS_KEY = 9275 }
enum  JotunheimCage {
  NPC_EBON_BLADE_PRISONER_HUMAN = 30186 , NPC_EBON_BLADE_PRISONER_NE = 30194 , NPC_EBON_BLADE_PRISONER_TROLL = 30196 , NPC_EBON_BLADE_PRISONER_ORC = 30195 ,
  SPELL_SUMMON_BLADE_KNIGHT_H = 56207 , SPELL_SUMMON_BLADE_KNIGHT_NE = 56209 , SPELL_SUMMON_BLADE_KNIGHT_ORC = 56212 , SPELL_SUMMON_BLADE_KNIGHT_TROLL = 56214
}
enum  MatrixPunchograph {
  ITEM_WHITE_PUNCH_CARD = 9279 , ITEM_YELLOW_PUNCH_CARD = 9280 , ITEM_BLUE_PUNCH_CARD = 9282 , ITEM_RED_PUNCH_CARD = 9281 ,
  ITEM_PRISMATIC_PUNCH_CARD = 9316 , SPELL_YELLOW_PUNCH_CARD = 11512 , SPELL_BLUE_PUNCH_CARD = 11525 , SPELL_RED_PUNCH_CARD = 11528 ,
  SPELL_PRISMATIC_PUNCH_CARD = 11545 , MATRIX_PUNCHOGRAPH_3005_A = 142345 , MATRIX_PUNCHOGRAPH_3005_B = 142475 , MATRIX_PUNCHOGRAPH_3005_C = 142476 ,
  MATRIX_PUNCHOGRAPH_3005_D = 142696
}
enum  MidsummerBonfire { STAMP_OUT_BONFIRE_QUEST_COMPLETE = 45458 }
enum  MissingFriends { QUEST_MISSING_FRIENDS = 10852 , NPC_CAPTIVE_CHILD = 22314 , SAY_FREE_0 = 0 }
enum  OfKeysAndCages { QUEST_ALLIANCE_OF_KEYS_AND_CAGES = 11231 , QUEST_HORDE_OF_KEYS_AND_CAGES = 11265 , NPC_GJALERBRON_PRISONER = 24035 , SAY_FREE = 0 }
enum  PrisonersOfWyrmskull {
  QUEST_PRISONERS_OF_WYRMSKULL = 11255 , NPC_PRISONER_PRIEST = 24086 , NPC_PRISONER_MAGE = 24088 , NPC_PRISONER_WARRIOR = 24089 ,
  NPC_PRISONER_PALADIN = 24090
}
enum  ResoniteCask { NPC_GOGGEROC = 11920 }
enum  SacredFireOfLife { NPC_ARIKARA = 10882 }
enum  ScourgeCage { NPC_SCOURGE_PRISONER = 25610 }
enum  ShrineOfTheBirds {
  NPC_HAWK_GUARD = 22992 , NPC_EAGLE_GUARD = 22993 , NPC_FALCON_GUARD = 22994 , GO_SHRINE_HAWK = 185551 ,
  GO_SHRINE_EAGLE = 185547 , GO_SHRINE_FALCON = 185553
}
enum  Southfury { NPC_RIZZLE = 23002 , SPELL_BLACKJACK = 39865 , SPELL_SUMMON_RIZZLE = 39866 }
enum  TableTheka { GOSSIP_TABLE_THEKA = 1653 , QUEST_SPIDER_GOLD = 2936 }
enum  Tadpoles { QUEST_OH_NOES_THE_TADPOLES = 11560 , NPC_WINTERFIN_TADPOLE = 25201 }
enum  TheCleansing { QUEST_THE_CLEANSING_HORDE = 11317 , QUEST_THE_CLEANSING_ALLIANCE = 11322 , SPELL_CLEANSING_SOUL = 43351 , SPELL_RECENT_MEDITATION = 61720 }

Functions

void AddSC_go_scripts ()

Variables

const uint32 NpcPrisonEntry []
const uint32 NpcStasisEntry []

Macro Definition Documentation

◆ GO_ANDERHOLS_SLIDER_CIDER_NOT_FOUND

#define GO_ANDERHOLS_SLIDER_CIDER_NOT_FOUND   "Quest item Anderhol's Slider Cider not found."

Definition at line 941 of file go_scripts.cpp.

Referenced by go_amberpine_outhouse::OnGossipSelect().

◆ GO_TELE_TO_DALARAN_CRYSTAL_FAILED

#define GO_TELE_TO_DALARAN_CRYSTAL_FAILED   "This teleport crystal cannot be used until the teleport crystal in Dalaran has been used at least once."

Definition at line 421 of file go_scripts.cpp.

Referenced by go_tele_to_dalaran_crystal::OnGossipHello().

◆ GOSSIP_BASHIR_CRYSTALFORGE_ITEM_1

#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_1   "Purchase 1 Unstable Flask of the Sorcerer for the cost of 10 Apexis Shards"

◆ GOSSIP_BASHIR_CRYSTALFORGE_ITEM_5

#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_5   "Purchase 5 Unstable Flask of the Sorcerer for the cost of 50 Apexis Shards"

◆ GOSSIP_BASHIR_CRYSTALFORGE_ITEM_RETURN

#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_RETURN   "Use the bashir crystalforge to make another purchase."

Definition at line 524 of file go_scripts.cpp.

Referenced by go_bashir_crystalforge::OnGossipSelect().

◆ GOSSIP_BASHIR_CRYSTALFORGE_ITEM_TEXT_RETURN

#define GOSSIP_BASHIR_CRYSTALFORGE_ITEM_TEXT_RETURN   31101

Definition at line 521 of file go_scripts.cpp.

Referenced by go_bashir_crystalforge::OnGossipSelect().

◆ GOSSIP_BASHIR_CRYSTALFORGE_TEXT

#define GOSSIP_BASHIR_CRYSTALFORGE_TEXT   31100

◆ GOSSIP_FEL_CRYSTALFORGE_ITEM_1

#define GOSSIP_FEL_CRYSTALFORGE_ITEM_1   "Purchase 1 Unstable Flask of the Beast for the cost of 10 Apexis Shards"

◆ GOSSIP_FEL_CRYSTALFORGE_ITEM_5

#define GOSSIP_FEL_CRYSTALFORGE_ITEM_5   "Purchase 5 Unstable Flask of the Beast for the cost of 50 Apexis Shards"

◆ GOSSIP_FEL_CRYSTALFORGE_ITEM_RETURN

#define GOSSIP_FEL_CRYSTALFORGE_ITEM_RETURN   "Use the fel crystalforge to make another purchase."

Definition at line 465 of file go_scripts.cpp.

Referenced by go_fel_crystalforge::OnGossipSelect().

◆ GOSSIP_FEL_CRYSTALFORGE_ITEM_TEXT_RETURN

#define GOSSIP_FEL_CRYSTALFORGE_ITEM_TEXT_RETURN   31001

Definition at line 462 of file go_scripts.cpp.

Referenced by go_fel_crystalforge::OnGossipSelect().

◆ GOSSIP_FEL_CRYSTALFORGE_TEXT

#define GOSSIP_FEL_CRYSTALFORGE_TEXT   31000

◆ GOSSIP_USE_OUTHOUSE

#define GOSSIP_USE_OUTHOUSE   "Use the outhouse."

Definition at line 940 of file go_scripts.cpp.

Referenced by go_amberpine_outhouse::OnGossipHello().

Enumeration Type Documentation

◆ AmberpineOuthouse

Enumerator
ITEM_ANDERHOLS_SLIDER_CIDER 
NPC_OUTHOUSE_BUNNY 
QUEST_DOING_YOUR_DUTY 
SPELL_INDISPOSED 
SPELL_INDISPOSED_III 
SPELL_CREATE_AMBERSEEDS 
GOSSIP_OUTHOUSE_INUSE 
GOSSIP_OUTHOUSE_VACANT 

Definition at line 943 of file go_scripts.cpp.

◆ ArcanePrison

Enumerator
QUEST_PRISON_BREAK 
SPELL_ARCANE_PRISONER_KILL_CREDIT 

Definition at line 671 of file go_scripts.cpp.

◆ BashirCrystalforge

Enumerator
SPELL_CREATE_1_FLASK_OF_SORCERER 
SPELL_CREATE_5_FLASK_OF_SORCERER 

Definition at line 526 of file go_scripts.cpp.

◆ BloodFilledOrb

Enumerator
NPC_ZELEMAR 

Definition at line 698 of file go_scripts.cpp.

◆ CatFigurine

Enumerator
SPELL_SUMMON_GHOST_SABER 

Definition at line 47 of file go_scripts.cpp.

◆ DalaranCrystal

Enumerator
QUEST_LEARN_LEAVE_RETURN 
QUEST_TELE_CRYSTAL_FLAG 

Definition at line 415 of file go_scripts.cpp.

◆ EtherealTeleportPad

Enumerator
NPC_IMAGE_WIND_TRADER 
ITEM_TELEPORTER_POWER_PACK 

Definition at line 830 of file go_scripts.cpp.

◆ EthereumPrison

Enumerator
SPELL_REP_LC 
SPELL_REP_SHAT 
SPELL_REP_CE 
SPELL_REP_CON 
SPELL_REP_KT 
SPELL_REP_SPOR 

Definition at line 208 of file go_scripts.cpp.

◆ FelCrystalforge

Enumerator
SPELL_CREATE_1_FLASK_OF_BEAST 
SPELL_CREATE_5_FLASK_OF_BEAST 

Definition at line 467 of file go_scripts.cpp.

◆ GildedBrazier

Enumerator
NPC_STILLBLADE 

Definition at line 104 of file go_scripts.cpp.

◆ Hives

enum Hives
Enumerator
QUEST_HIVE_IN_THE_TOWER 
NPC_HIVE_AMBUSHER 

Definition at line 1005 of file go_scripts.cpp.

◆ InconspicuousLandmark

Enumerator
SPELL_SUMMON_PIRATES_TREASURE_AND_TRIGGER_MOB 
ITEM_CUERGOS_KEY 

Definition at line 804 of file go_scripts.cpp.

◆ JotunheimCage

Enumerator
NPC_EBON_BLADE_PRISONER_HUMAN 
NPC_EBON_BLADE_PRISONER_NE 
NPC_EBON_BLADE_PRISONER_TROLL 
NPC_EBON_BLADE_PRISONER_ORC 
SPELL_SUMMON_BLADE_KNIGHT_H 
SPELL_SUMMON_BLADE_KNIGHT_NE 
SPELL_SUMMON_BLADE_KNIGHT_ORC 
SPELL_SUMMON_BLADE_KNIGHT_TROLL 

Definition at line 721 of file go_scripts.cpp.

◆ MatrixPunchograph

Enumerator
ITEM_WHITE_PUNCH_CARD 
ITEM_YELLOW_PUNCH_CARD 
ITEM_BLUE_PUNCH_CARD 
ITEM_RED_PUNCH_CARD 
ITEM_PRISMATIC_PUNCH_CARD 
SPELL_YELLOW_PUNCH_CARD 
SPELL_BLUE_PUNCH_CARD 
SPELL_RED_PUNCH_CARD 
SPELL_PRISMATIC_PUNCH_CARD 
MATRIX_PUNCHOGRAPH_3005_A 
MATRIX_PUNCHOGRAPH_3005_B 
MATRIX_PUNCHOGRAPH_3005_C 
MATRIX_PUNCHOGRAPH_3005_D 

Definition at line 579 of file go_scripts.cpp.

◆ MidsummerBonfire

Enumerator
STAMP_OUT_BONFIRE_QUEST_COMPLETE 

Definition at line 1172 of file go_scripts.cpp.

◆ MissingFriends

Enumerator
QUEST_MISSING_FRIENDS 
NPC_CAPTIVE_CHILD 
SAY_FREE_0 

Definition at line 1104 of file go_scripts.cpp.

◆ OfKeysAndCages

Enumerator
QUEST_ALLIANCE_OF_KEYS_AND_CAGES 
QUEST_HORDE_OF_KEYS_AND_CAGES 
NPC_GJALERBRON_PRISONER 
SAY_FREE 

Definition at line 1041 of file go_scripts.cpp.

◆ PrisonersOfWyrmskull

Enumerator
QUEST_PRISONERS_OF_WYRMSKULL 
NPC_PRISONER_PRIEST 
NPC_PRISONER_MAGE 
NPC_PRISONER_WARRIOR 
NPC_PRISONER_PALADIN 

Definition at line 857 of file go_scripts.cpp.

◆ ResoniteCask

Enumerator
NPC_GOGGEROC 

Definition at line 295 of file go_scripts.cpp.

◆ SacredFireOfLife

Enumerator
NPC_ARIKARA 

Definition at line 318 of file go_scripts.cpp.

◆ ScourgeCage

Enumerator
NPC_SCOURGE_PRISONER 

Definition at line 644 of file go_scripts.cpp.

◆ ShrineOfTheBirds

Enumerator
NPC_HAWK_GUARD 
NPC_EAGLE_GUARD 
NPC_FALCON_GUARD 
GO_SHRINE_HAWK 
GO_SHRINE_EAGLE 
GO_SHRINE_FALCON 

Definition at line 341 of file go_scripts.cpp.

◆ Southfury

enum Southfury
Enumerator
NPC_RIZZLE 
SPELL_BLACKJACK 
SPELL_SUMMON_RIZZLE 

Definition at line 387 of file go_scripts.cpp.

◆ TableTheka

enum TableTheka
Enumerator
GOSSIP_TABLE_THEKA 
QUEST_SPIDER_GOLD 

Definition at line 777 of file go_scripts.cpp.

◆ Tadpoles

enum Tadpoles
Enumerator
QUEST_OH_NOES_THE_TADPOLES 
NPC_WINTERFIN_TADPOLE 

Definition at line 908 of file go_scripts.cpp.

◆ TheCleansing

Enumerator
QUEST_THE_CLEANSING_HORDE 
QUEST_THE_CLEANSING_ALLIANCE 
SPELL_CLEANSING_SOUL 
SPELL_RECENT_MEDITATION 

Definition at line 1140 of file go_scripts.cpp.

Function Documentation

◆ AddSC_go_scripts()

void AddSC_go_scripts ( )

Definition at line 1190 of file go_scripts.cpp.

Referenced by AddWorldScripts().

Variable Documentation

◆ NpcPrisonEntry

const uint32 NpcPrisonEntry[]
Initial value:
=
{
22810, 22811, 22812, 22813, 22814, 22815,
20783, 20784, 20785, 20786, 20788, 20789, 20790
}

Definition at line 218 of file go_scripts.cpp.

Referenced by go_ethereum_prison::OnGossipHello().

◆ NpcStasisEntry

const uint32 NpcStasisEntry[]
Initial value:
=
{
22825, 20888, 22827, 22826, 22828
}

Definition at line 269 of file go_scripts.cpp.

Referenced by go_ethereum_stasis::OnGossipHello().