AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
zone_elwynn_forest.cpp File Reference
#include "Common.h"
#include "CreatureGroups.h"
#include "CreatureScript.h"
#include "GameEventMgr.h"
#include "ObjectAccessor.h"
#include "ScriptedCreature.h"

Go to the source code of this file.

Classes

struct  npc_cameron
 
struct  npc_supervisor_raelen
 
struct  npc_eastvale_peasent
 

Enumerations

enum  COG_Paths {
  STORMWIND_PATH = 80500 ,
  GOLDSHIRE_PATH = 80501 ,
  WOODS_PATH = 80502 ,
  HOUSE_PATH = 80503 ,
  LISA_PATH = 80700
}
 
enum  COG_Sounds {
  BANSHEE_DEATH = 1171 ,
  BANSHEEPREAGGRO = 1172 ,
  CTHUN_YOU_WILL_DIE = 8585 ,
  CTHUN_DEATH_IS_CLOSE = 8580 ,
  HUMAN_FEMALE_EMOTE_CRY = 6916 ,
  GHOSTDEATH = 3416
}
 
enum  COG_Creatures {
  NPC_DANA = 804 ,
  NPC_CAMERON = 805 ,
  NPC_JOHN = 806 ,
  NPC_LISA = 807 ,
  NPC_AARON = 810 ,
  NPC_JOSE = 811
}
 
enum  COG_Events {
  EVENT_WP_START_GOLDSHIRE = 1 ,
  EVENT_WP_START_WOODS = 2 ,
  EVENT_WP_START_HOUSE = 3 ,
  EVENT_WP_START_LISA = 4 ,
  EVENT_PLAY_SOUNDS = 5 ,
  EVENT_BEGIN_EVENT = 6 ,
  EVENT_RANDOM_MOVEMENT = 7
}
 
enum  COG_GameEvent { GAME_EVENT_CHILDREN_OF_GOLDSHIRE = 74 }
 
enum  SupervisorRaelen {
  EVENT_FIND_PEASENTS = 8 ,
  EVENT_NEXT_PEASENT = 9 ,
  NPC_EASTVALE_PEASENT = 11328
}
 
enum  EastvalePeasent {
  EVENT_MOVETORAELEN = 10 ,
  EVENT_TALKTORAELEN1 = 11 ,
  EVENT_TALKTORAELEN2 = 12 ,
  EVENT_RAELENTALK = 13 ,
  EVENT_TALKTORAELEN3 = 14 ,
  EVENT_TALKTORAELEN4 = 15 ,
  EVENT_PATHBACK = 16 ,
  NPC_SUPERVISOR_RAELEN = 10616 ,
  PATH_PEASENT_0 = 813490 ,
  PATH_PEASENT_1 = 813480 ,
  PATH_PEASENT_2 = 812520 ,
  PATH_PEASENT_3 = 812490 ,
  PATH_PEASENT_4 = 812500 ,
  SAY_RAELEN = 0 ,
  SOUND_PEASENT_GREETING_1 = 6289 ,
  SOUND_PEASENT_GREETING_2 = 6288 ,
  SOUND_PEASENT_GREETING_3 = 6290 ,
  SOUND_PEASENT_LEAVING_1 = 6242 ,
  SOUND_PEASENT_LEAVING_2 = 6282 ,
  SOUND_PEASENT_LEAVING_3 = 6284 ,
  SOUND_PEASENT_LEAVING_4 = 6285 ,
  SOUND_PEASENT_LEAVING_5 = 6286 ,
  SPELL_TRANSFORM_PEASENT_WITH_WOOD = 9127
}
 

Functions

void AddSC_elwynn_forest ()
 

Enumeration Type Documentation

◆ COG_Creatures

Enumerator
NPC_DANA 
NPC_CAMERON 
NPC_JOHN 
NPC_LISA 
NPC_AARON 
NPC_JOSE 
45{
46 NPC_DANA = 804,
47 NPC_CAMERON = 805,
48 NPC_JOHN = 806,
49 NPC_LISA = 807,
50 NPC_AARON = 810,
51 NPC_JOSE = 811
52};
@ NPC_AARON
Definition: zone_elwynn_forest.cpp:50
@ NPC_CAMERON
Definition: zone_elwynn_forest.cpp:47
@ NPC_LISA
Definition: zone_elwynn_forest.cpp:49
@ NPC_JOHN
Definition: zone_elwynn_forest.cpp:48
@ NPC_DANA
Definition: zone_elwynn_forest.cpp:46
@ NPC_JOSE
Definition: zone_elwynn_forest.cpp:51

◆ COG_Events

enum COG_Events
Enumerator
EVENT_WP_START_GOLDSHIRE 
EVENT_WP_START_WOODS 
EVENT_WP_START_HOUSE 
EVENT_WP_START_LISA 
EVENT_PLAY_SOUNDS 
EVENT_BEGIN_EVENT 
EVENT_RANDOM_MOVEMENT 
55{
63};
@ EVENT_WP_START_WOODS
Definition: zone_elwynn_forest.cpp:57
@ EVENT_WP_START_GOLDSHIRE
Definition: zone_elwynn_forest.cpp:56
@ EVENT_BEGIN_EVENT
Definition: zone_elwynn_forest.cpp:61
@ EVENT_PLAY_SOUNDS
Definition: zone_elwynn_forest.cpp:60
@ EVENT_RANDOM_MOVEMENT
Definition: zone_elwynn_forest.cpp:62
@ EVENT_WP_START_LISA
Definition: zone_elwynn_forest.cpp:59
@ EVENT_WP_START_HOUSE
Definition: zone_elwynn_forest.cpp:58

◆ COG_GameEvent

Enumerator
GAME_EVENT_CHILDREN_OF_GOLDSHIRE 
66{
68};
@ GAME_EVENT_CHILDREN_OF_GOLDSHIRE
Definition: zone_elwynn_forest.cpp:67

◆ COG_Paths

enum COG_Paths
Enumerator
STORMWIND_PATH 
GOLDSHIRE_PATH 
WOODS_PATH 
HOUSE_PATH 
LISA_PATH 
26{
27 STORMWIND_PATH = 80500,
28 GOLDSHIRE_PATH = 80501,
29 WOODS_PATH = 80502,
30 HOUSE_PATH = 80503,
31 LISA_PATH = 80700
32};
@ LISA_PATH
Definition: zone_elwynn_forest.cpp:31
@ WOODS_PATH
Definition: zone_elwynn_forest.cpp:29
@ HOUSE_PATH
Definition: zone_elwynn_forest.cpp:30
@ STORMWIND_PATH
Definition: zone_elwynn_forest.cpp:27
@ GOLDSHIRE_PATH
Definition: zone_elwynn_forest.cpp:28

◆ COG_Sounds

enum COG_Sounds
Enumerator
BANSHEE_DEATH 
BANSHEEPREAGGRO 
CTHUN_YOU_WILL_DIE 
CTHUN_DEATH_IS_CLOSE 
HUMAN_FEMALE_EMOTE_CRY 
GHOSTDEATH 
35{
36 BANSHEE_DEATH = 1171,
37 BANSHEEPREAGGRO = 1172,
38 CTHUN_YOU_WILL_DIE = 8585,
41 GHOSTDEATH = 3416
42};
@ HUMAN_FEMALE_EMOTE_CRY
Definition: zone_elwynn_forest.cpp:40
@ GHOSTDEATH
Definition: zone_elwynn_forest.cpp:41
@ CTHUN_DEATH_IS_CLOSE
Definition: zone_elwynn_forest.cpp:39
@ BANSHEE_DEATH
Definition: zone_elwynn_forest.cpp:36
@ CTHUN_YOU_WILL_DIE
Definition: zone_elwynn_forest.cpp:38
@ BANSHEEPREAGGRO
Definition: zone_elwynn_forest.cpp:37

◆ EastvalePeasent

Enumerator
EVENT_MOVETORAELEN 
EVENT_TALKTORAELEN1 
EVENT_TALKTORAELEN2 
EVENT_RAELENTALK 
EVENT_TALKTORAELEN3 
EVENT_TALKTORAELEN4 
EVENT_PATHBACK 
NPC_SUPERVISOR_RAELEN 
PATH_PEASENT_0 
PATH_PEASENT_1 
PATH_PEASENT_2 
PATH_PEASENT_3 
PATH_PEASENT_4 
SAY_RAELEN 
SOUND_PEASENT_GREETING_1 
SOUND_PEASENT_GREETING_2 
SOUND_PEASENT_GREETING_3 
SOUND_PEASENT_LEAVING_1 
SOUND_PEASENT_LEAVING_2 
SOUND_PEASENT_LEAVING_3 
SOUND_PEASENT_LEAVING_4 
SOUND_PEASENT_LEAVING_5 
SPELL_TRANSFORM_PEASENT_WITH_WOOD 
342{
346 EVENT_RAELENTALK = 13,
349 EVENT_PATHBACK = 16,
350 NPC_SUPERVISOR_RAELEN = 10616,
351 PATH_PEASENT_0 = 813490,
352 PATH_PEASENT_1 = 813480,
353 PATH_PEASENT_2 = 812520,
354 PATH_PEASENT_3 = 812490,
355 PATH_PEASENT_4 = 812500,
356 SAY_RAELEN = 0,
366};
@ SOUND_PEASENT_LEAVING_4
Definition: zone_elwynn_forest.cpp:363
@ EVENT_RAELENTALK
Definition: zone_elwynn_forest.cpp:346
@ SOUND_PEASENT_LEAVING_3
Definition: zone_elwynn_forest.cpp:362
@ EVENT_PATHBACK
Definition: zone_elwynn_forest.cpp:349
@ EVENT_TALKTORAELEN3
Definition: zone_elwynn_forest.cpp:347
@ SOUND_PEASENT_LEAVING_5
Definition: zone_elwynn_forest.cpp:364
@ NPC_SUPERVISOR_RAELEN
Definition: zone_elwynn_forest.cpp:350
@ PATH_PEASENT_2
Definition: zone_elwynn_forest.cpp:353
@ SOUND_PEASENT_LEAVING_1
Definition: zone_elwynn_forest.cpp:360
@ EVENT_MOVETORAELEN
Definition: zone_elwynn_forest.cpp:343
@ SPELL_TRANSFORM_PEASENT_WITH_WOOD
Definition: zone_elwynn_forest.cpp:365
@ SOUND_PEASENT_GREETING_1
Definition: zone_elwynn_forest.cpp:357
@ SOUND_PEASENT_GREETING_2
Definition: zone_elwynn_forest.cpp:358
@ PATH_PEASENT_1
Definition: zone_elwynn_forest.cpp:352
@ SOUND_PEASENT_LEAVING_2
Definition: zone_elwynn_forest.cpp:361
@ PATH_PEASENT_3
Definition: zone_elwynn_forest.cpp:354
@ EVENT_TALKTORAELEN4
Definition: zone_elwynn_forest.cpp:348
@ PATH_PEASENT_4
Definition: zone_elwynn_forest.cpp:355
@ EVENT_TALKTORAELEN2
Definition: zone_elwynn_forest.cpp:345
@ EVENT_TALKTORAELEN1
Definition: zone_elwynn_forest.cpp:344
@ PATH_PEASENT_0
Definition: zone_elwynn_forest.cpp:351
@ SOUND_PEASENT_GREETING_3
Definition: zone_elwynn_forest.cpp:359
@ SAY_RAELEN
Definition: zone_elwynn_forest.cpp:356

◆ SupervisorRaelen

Enumerator
EVENT_FIND_PEASENTS 
EVENT_NEXT_PEASENT 
NPC_EASTVALE_PEASENT 
262{
266};
@ EVENT_FIND_PEASENTS
Definition: zone_elwynn_forest.cpp:263
@ EVENT_NEXT_PEASENT
Definition: zone_elwynn_forest.cpp:264
@ NPC_EASTVALE_PEASENT
Definition: zone_elwynn_forest.cpp:265

Function Documentation

◆ AddSC_elwynn_forest()

void AddSC_elwynn_forest ( )
513{
517}
#define RegisterCreatureAI(ai_name)
Definition: CreatureScript.h:71
Definition: zone_elwynn_forest.cpp:71
Definition: zone_elwynn_forest.cpp:269
Definition: zone_elwynn_forest.cpp:369

References RegisterCreatureAI.

Referenced by AddEasternKingdomsScripts().