TrinityCore
culling_of_stratholme.cpp File Reference
#include "culling_of_stratholme.h"
#include "AreaBoundary.h"
#include "DB2Structure.h"
#include "GameObject.h"
#include "GameTime.h"
#include "InstanceScript.h"
#include "Map.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "PassiveAI.h"
#include "Player.h"
#include "QuestDef.h"
#include "ScriptedEscortAI.h"
#include "ScriptedGossip.h"
#include "SmartAI.h"
#include "SpellInfo.h"
#include "ScriptMgr.h"
#include "SplineChainMovementGenerator.h"
#include "StringFormat.h"
#include "TemporarySummon.h"
#include <unordered_map>
+ Include dependency graph for culling_of_stratholme.cpp:

Classes

class  npc_hearthsinger_forresten_cot
 
struct  npc_hearthsinger_forresten_cot::npc_hearthsinger_forresten_cotAI
 
class  at_stratholme_inn_stairs_cot
 
class  npc_chromie_start
 
struct  npc_chromie_start::npc_chromie_startAI
 
class  npc_chromie_middle
 
struct  npc_chromie_middle::npc_chromie_middleAI
 
struct  npc_martha_goslin
 
struct  npc_martha_goslin::npc_martha_goslinAI
 
struct  npc_jena_anderson
 
struct  npc_jena_anderson::npc_jena_andersonAI
 
struct  npc_bartleby_battson
 
struct  npc_bartleby_battson::npc_bartleby_battsonAI
 
struct  npc_malcolm_moore
 
struct  npc_malcolm_moore::npc_malcolm_mooreAI
 
struct  npc_sergeant_morigan
 
struct  npc_sergeant_morigan::npc_sergeant_moriganAI
 
struct  npc_roger_owens
 
struct  npc_roger_owens::npc_roger_owensAI
 
class  npc_crate_helper
 
struct  npc_crate_helper::npc_crate_helperAI
 

Enumerations

enum  InnEventEntries {
  NPC_FORREST = 30551, NPC_BELFAST = 30571, NPC_JAMES = 30553, NPC_FRAS = 30552,
  NPC_MAL = 31017, NPC_GRYAN = 30561
}
 
enum  InnEventEvents {
  EVENT_FORREST_1 = 1, EVENT_JAMES_1, EVENT_FRAS_1, EVENT_BELFAST_MOVE = 100,
  EVENT_BELFAST_1, EVENT_MAL_1, EVENT_GRYAN_1, EVENT_MAL_2,
  EVENT_MAL_3, EVENT_JAMES_2, EVENT_FORREST_2, EVENT_FRAS_2
}
 
enum  InnEventLines {
  LINE_JAMES_1 = 0, LINE_JAMES_2 = 1, LINE_FRAS_1 = 0, LINE_FRAS_2 = 1,
  LINE_MAL_1 = 0, LINE_MAL_2 = 1, LINE_MAL_3 = 2, LINE_FORREST_1 = 0,
  LINE_FORREST_2 = 1, LINE_BELFAST_0 = 0, LINE_BELFAST_1 = 1, LINE_GRYAN_1 = 0
}
 
enum  InnEventMisc { DATA_REQUEST_FACING = 0, DATA_REACHED_WP = 1 }
 
enum  Chromie1Gossip {
  GOSSIP_OFFSET_EXPLAIN = 0, GOSSIP_OFFSET_SKIP, GOSSIP_OFFSET_TELEPORT, GOSSIP_OFFSET_EXPLAIN_1,
  GOSSIP_OFFSET_EXPLAIN_2, GOSSIP_OFFSET_SKIP_1, GOSSIP_OFFSET_OPEN_GM_MENU, GOSSIP_OFFSET_GM_INITIAL,
  GOSSIP_MENU_INITIAL = 9586, GOSSIP_TEXT_INITIAL = 12939, GOSSIP_OPTION_EXPLAIN = 0, GOSSIP_OPTION_SKIP = 2,
  GOSSIP_TEXT_TELEPORT = 13470, GOSSIP_OPTION_TELEPORT = 1, GOSSIP_MENU_EXPLAIN_1 = 9594, GOSSIP_TEXT_EXPLAIN_1 = 12949,
  GOSSIP_OPTION_EXPLAIN_1 = 0, GOSSIP_MENU_EXPLAIN_2 = 9595, GOSSIP_TEXT_EXPLAIN_2 = 12950, GOSSIP_OPTION_EXPLAIN_2 = 0,
  GOSSIP_MENU_EXPLAIN_3 = 9596, GOSSIP_TEXT_EXPLAIN_3 = 12952, GOSSIP_MENU_SKIP_1 = 11277, GOSSIP_TEXT_SKIP_1 = 15704,
  GOSSIP_OPTION_SKIP_1 = 0
}
 
enum  Chromie1Misc {
  ITEM_ARCANE_DISRUPTOR = 37888, QUEST_DISPELLING_ILLUSIONS = 13149, SPELL_TELEPORT_PLAYER = 53435, ACHIEVEMENT_NORMAL = 479,
  ACHIEVEMENT_HEROIC = 500
}
 
enum  Chromie2Gossip {
  GOSSIP_OFFSET_STEP1 = 0, GOSSIP_OFFSET_STEP2, GOSSIP_OFFSET_STEP3, GOSSIP_MENU_STEP1 = 9610,
  GOSSIP_TEXT_STEP1 = 12992, GOSSIP_OPTION_STEP1 = 0, GOSSIP_MENU_STEP2 = 9611, GOSSIP_TEXT_STEP2 = 12993,
  GOSSIP_OPTION_STEP2 = 0, GOSSIP_MENU_STEP3 = 9612, GOSSIP_TEXT_STEP3 = 12994, GOSSIP_OPTION_STEP3 = 0,
  GOSSIP_MENU_STEP4 = 9613, GOSSIP_TEXT_STEP4 = 12995
}
 
enum  Chromie2Misc { WHISPER_CRATES_DONE = 0, WHISPER_COME_TALK = 1 }
 
enum  CrateGenericMisc {
  MOVEID_EVENT1 = 4200, MOVEID_EVENT2, MOVEID_EVENT3, MOVEID_EVENT4,
  MOVEID_EVENT5, ACTION_START_FLUFF = 9001
}
 
enum  CrateEvent1Misc {
  NPC_MARTHA = 27884, NPC_JENA = 27885, EVENT_MARTHA_IDLE1 = 1, EVENT_MARTHA_IDLE2,
  EVENT_JENA_IDLE1, EVENT_JENA_IDLE2, EVENT_JENA_START, EVENT_MARTHA1,
  EVENT_JENA7, EVENT_JENA_MOVE2, EVENT_JENA8, EVENT_JENA_LEAVE,
  LINE_JENA1 = 0, LINE_JENA2 = 1, LINE_JENA3 = 2, LINE_JENA4 = 3,
  LINE_JENA5 = 4, LINE_JENA6 = 5, LINE_JENA7 = 6, LINE_JENA8 = 7,
  LINE_JENA9 = 8, LINE_MARTHA1 = 0, LINE_MARTHA2 = 1, CHAIN_MARTHA_IDLE1 = 1,
  CHAIN_MARTHA_IDLE2 = 2, CHAIN_JENA_INITIAL = 1, CHAIN_JENA_IDLE1 = 3, CHAIN_JENA_IDLE2 = 2,
  CHAIN_JENA_MOVE1 = 70, CHAIN_JENA_MOVE2 = 71, CHAIN_JENA_LEAVE = 72
}
 
enum  CrateEvent2Misc {
  NPC_BARTLEBY = 27907, EVENT_BARTLEBY_IDLE = 1, EVENT_BARTLEBY1, EVENT_BARTLEBY2,
  EVENT_BARTLEBY2_2, EVENT_BARTLEBY3, LINE_BARTLEBY_IDLE = 0, LINE_BARTLEBY1 = 1,
  LINE_BARTLEBY2 = 2, LINE_BARTLEBY3 = 3, CHAIN_BARTLEBY1 = 1, CHAIN_BARTLEBY2 = 2
}
 
enum  CrateEvent3Misc {
  NPC_MALCOLM = 27891, NPC_SCRUFFY = 27892, EVENT_SCRUFFY1 = 1, EVENT_MALCOLM2,
  EVENT_SCRUFFY_MOVE, EVENT_MALCOLM_MOVE, EVENT_MALCOLM_FACE3, EVENT_SCRUFFY_EMOTE,
  EVENT_MALCOLM3, EVENT_MALCOLM4, EVENT_MALCOLM_MOVE2, LINE_MALCOLM1 = 0,
  LINE_SCRUFFY1 = 0, LINE_MALCOLM2 = 1, LINE_MALCOLM3 = 2, LINE_MALCOLM4 = 3,
  CHAIN_MALCOLM1 = 1, CHAIN_MALCOLM2 = 2, CHAIN_MALCOLM3 = 3, CHAIN_MALCOLM4 = 4,
  CHAIN_SCRUFFY1 = 1, CHAIN_SCRUFFY2 = 2
}
 
enum  CrateEvent4Misc {
  NPC_SERGEANT = 27877, NPC_PERELLI = 27876, EVENT_SERGEANT_IDLE1, EVENT_SERGEANT_IDLE2,
  EVENT_SERGEANT_CHAIN1, EVENT_SERGEANT1, EVENT_SERGEANT_STAND, EVENT_PERELLI1,
  EVENT_SERGEANT2, EVENT_PERELLI2, EVENT_SERGEANT3, EVENT_SERGEANT_LEAVE,
  LINE_SERGEANT_ASK_NO = 0, LINE_SERGEANT_ASK_YES = 1, LINE_SERGEANT_START = 2, LINE_SERGEANT1 = 3,
  LINE_SERGEANT2 = 4, LINE_SERGEANT3 = 5, LINE_PERELLI_NO = 0, LINE_PERELLI_YES = 1,
  LINE_PERELLI1 = 2, LINE_PERELLI2 = 3, CHAIN_SERGEANT1 = 1, CHAIN_SERGEANT2 = 2
}
 
enum  CrateEvent5Misc {
  NPC_ROGER = 27903, EVENT_ROGER_START = 1, EVENT_ROGER_MOVE1, EVENT_ROGER_FACE3,
  EVENT_ROGER3, EVENT_ROGER_FACE4, EVENT_ROGER4, EVENT_ROGER_MOVE2,
  EVENT_ROGER5_2, EVENT_ROGER_LEAVE, LINE_ROGER1 = 0, LINE_ROGER2 = 1,
  LINE_ROGER3 = 2, LINE_ROGER4 = 3, LINE_ROGER5 = 4, CHAIN_ROGER1 = 1,
  CHAIN_ROGER2 = 2, CHAIN_ROGER3 = 3
}
 
enum  CrateMisc {
  GO_SUSPICIOUS_CRATE = 190094, GO_CRATE_HIGHLIGHT = 190117, GO_PLAGUED_CRATE = 190095, SPELL_ARCANE_DISRUPTION = 49590,
  SPELL_CRATES_CREDIT = 58109
}
 

Functions

void AddSC_culling_of_stratholme ()
 

Variables

static float const marthaIdleOrientation1 = 3.159046f
 
static float const marthaIdleOrientation2 = 4.764749f
 
static Position const malcolmSpawn = { 1605.2420f, 805.4160f, 122.9956f, 5.284148f }
 
static Position const scruffySpawn = { 1601.1030f, 805.3391f, 123.7677f, 5.471561f }
 
static float const scruffyFacing2 = 5.734883f
 
static float const malcolmFacing3 = 2.303835f
 
static Position const scruffyPos3 = { 1629.004f, 810.138f, 120.4927f }
 
static float const scruffyFacing4 = 5.445427f
 

Enumeration Type Documentation

◆ Chromie1Gossip

Enumerator
GOSSIP_OFFSET_EXPLAIN 
GOSSIP_OFFSET_SKIP 
GOSSIP_OFFSET_TELEPORT 
GOSSIP_OFFSET_EXPLAIN_1 
GOSSIP_OFFSET_EXPLAIN_2 
GOSSIP_OFFSET_SKIP_1 
GOSSIP_OFFSET_OPEN_GM_MENU 
GOSSIP_OFFSET_GM_INITIAL 
GOSSIP_MENU_INITIAL 
GOSSIP_TEXT_INITIAL 
GOSSIP_OPTION_EXPLAIN 
GOSSIP_OPTION_SKIP 
GOSSIP_TEXT_TELEPORT 
GOSSIP_OPTION_TELEPORT 
GOSSIP_MENU_EXPLAIN_1 
GOSSIP_TEXT_EXPLAIN_1 
GOSSIP_OPTION_EXPLAIN_1 
GOSSIP_MENU_EXPLAIN_2 
GOSSIP_TEXT_EXPLAIN_2 
GOSSIP_OPTION_EXPLAIN_2 
GOSSIP_MENU_EXPLAIN_3 
GOSSIP_TEXT_EXPLAIN_3 
GOSSIP_MENU_SKIP_1 
GOSSIP_TEXT_SKIP_1 
GOSSIP_OPTION_SKIP_1 
237 {
238  // offsets from GOSSIP_ACTION_INFO_DEF
247 
248  GOSSIP_MENU_INITIAL = 9586,
249  GOSSIP_TEXT_INITIAL = 12939,
251  GOSSIP_OPTION_SKIP = 2,
252 
253  GOSSIP_TEXT_TELEPORT = 13470,
255 
256  GOSSIP_MENU_EXPLAIN_1 = 9594,
257  GOSSIP_TEXT_EXPLAIN_1 = 12949,
259 
260  GOSSIP_MENU_EXPLAIN_2 = 9595,
261  GOSSIP_TEXT_EXPLAIN_2 = 12950,
263 
264  GOSSIP_MENU_EXPLAIN_3 = 9596,
265  GOSSIP_TEXT_EXPLAIN_3 = 12952,
266 
267  GOSSIP_MENU_SKIP_1 = 11277,
268  GOSSIP_TEXT_SKIP_1 = 15704,
270 };
Definition: culling_of_stratholme.cpp:268
Definition: culling_of_stratholme.cpp:258
Definition: culling_of_stratholme.cpp:250
Definition: culling_of_stratholme.cpp:239
Definition: culling_of_stratholme.cpp:269
Definition: culling_of_stratholme.cpp:248
Definition: culling_of_stratholme.cpp:256
Definition: culling_of_stratholme.cpp:262
Definition: culling_of_stratholme.cpp:240
Definition: culling_of_stratholme.cpp:265
Definition: culling_of_stratholme.cpp:245
Definition: culling_of_stratholme.cpp:254
Definition: culling_of_stratholme.cpp:243
Definition: culling_of_stratholme.cpp:249
Definition: culling_of_stratholme.cpp:246
Definition: culling_of_stratholme.cpp:244
Definition: culling_of_stratholme.cpp:242
Definition: culling_of_stratholme.cpp:241
Definition: culling_of_stratholme.cpp:253
Definition: culling_of_stratholme.cpp:260
Definition: culling_of_stratholme.cpp:261
Definition: culling_of_stratholme.cpp:267
Definition: culling_of_stratholme.cpp:264
Definition: culling_of_stratholme.cpp:257
Definition: culling_of_stratholme.cpp:251

◆ Chromie1Misc

Enumerator
ITEM_ARCANE_DISRUPTOR 
QUEST_DISPELLING_ILLUSIONS 
SPELL_TELEPORT_PLAYER 
ACHIEVEMENT_NORMAL 
ACHIEVEMENT_HEROIC 
273 {
274  ITEM_ARCANE_DISRUPTOR = 37888,
276  SPELL_TELEPORT_PLAYER = 53435,
277  ACHIEVEMENT_NORMAL = 479,
278  ACHIEVEMENT_HEROIC = 500
279 };
Definition: culling_of_stratholme.cpp:275
Definition: culling_of_stratholme.cpp:278
Definition: culling_of_stratholme.cpp:274
Definition: culling_of_stratholme.cpp:276
Definition: culling_of_stratholme.cpp:277

◆ Chromie2Gossip

Enumerator
GOSSIP_OFFSET_STEP1 
GOSSIP_OFFSET_STEP2 
GOSSIP_OFFSET_STEP3 
GOSSIP_MENU_STEP1 
GOSSIP_TEXT_STEP1 
GOSSIP_OPTION_STEP1 
GOSSIP_MENU_STEP2 
GOSSIP_TEXT_STEP2 
GOSSIP_OPTION_STEP2 
GOSSIP_MENU_STEP3 
GOSSIP_TEXT_STEP3 
GOSSIP_OPTION_STEP3 
GOSSIP_MENU_STEP4 
GOSSIP_TEXT_STEP4 
428 {
429  // offsets from GOSSIP_ACTION_INFO_DEF
433 
434  GOSSIP_MENU_STEP1 = 9610,
435  GOSSIP_TEXT_STEP1 = 12992,
437 
438  GOSSIP_MENU_STEP2 = 9611,
439  GOSSIP_TEXT_STEP2 = 12993,
441 
442  GOSSIP_MENU_STEP3 = 9612,
443  GOSSIP_TEXT_STEP3 = 12994,
445 
446  GOSSIP_MENU_STEP4 = 9613,
447  GOSSIP_TEXT_STEP4 = 12995
448 };
Definition: culling_of_stratholme.cpp:439
Definition: culling_of_stratholme.cpp:440
Definition: culling_of_stratholme.cpp:442
Definition: culling_of_stratholme.cpp:446
Definition: culling_of_stratholme.cpp:432
Definition: culling_of_stratholme.cpp:435
Definition: culling_of_stratholme.cpp:430
Definition: culling_of_stratholme.cpp:443
Definition: culling_of_stratholme.cpp:438
Definition: culling_of_stratholme.cpp:444
Definition: culling_of_stratholme.cpp:434
Definition: culling_of_stratholme.cpp:431
Definition: culling_of_stratholme.cpp:436
Definition: culling_of_stratholme.cpp:447

◆ Chromie2Misc

Enumerator
WHISPER_CRATES_DONE 
WHISPER_COME_TALK 
451 {
454 };
Definition: culling_of_stratholme.cpp:453
Definition: culling_of_stratholme.cpp:452

◆ CrateEvent1Misc

Enumerator
NPC_MARTHA 
NPC_JENA 
EVENT_MARTHA_IDLE1 
EVENT_MARTHA_IDLE2 
EVENT_JENA_IDLE1 
EVENT_JENA_IDLE2 
EVENT_JENA_START 
EVENT_MARTHA1 
EVENT_JENA7 
EVENT_JENA_MOVE2 
EVENT_JENA8 
EVENT_JENA_LEAVE 
LINE_JENA1 
LINE_JENA2 
LINE_JENA3 
LINE_JENA4 
LINE_JENA5 
LINE_JENA6 
LINE_JENA7 
LINE_JENA8 
LINE_JENA9 
LINE_MARTHA1 
LINE_MARTHA2 
CHAIN_MARTHA_IDLE1 
CHAIN_MARTHA_IDLE2 
CHAIN_JENA_INITIAL 
CHAIN_JENA_IDLE1 
CHAIN_JENA_IDLE2 
CHAIN_JENA_MOVE1 
CHAIN_JENA_MOVE2 
CHAIN_JENA_LEAVE 
568 {
569  NPC_MARTHA = 27884,
570  NPC_JENA = 27885,
571 
572  EVENT_MARTHA_IDLE1 = 1,
578  EVENT_JENA7,
580  EVENT_JENA8,
582 
583  LINE_JENA1 = 0, // Let's see, we had chicken last night.
584  LINE_JENA2 = 1, // I've got plenty of cured bacon, but he had some for breakfast.
585  LINE_JENA3 = 2, // I need to make something healthy for him, he's still not recovered from that illness from last week.
586  LINE_JENA4 = 3, // Strawberries! Oh wait, they're not in season.
587  LINE_JENA5 = 4, // Ah, I'll make him some fresh bread! I need to get some flour from Martha!
588  LINE_JENA6 = 5, // Martha, I'm out of flour for bread. You wouldn't happen to have any grain from that recent shipment, would you?
589  LINE_JENA7 = 6, // Thanks, Martha! I owe you one.
590  LINE_JENA8 = 7, // Oh, dear.
591  LINE_JENA9 = 8, // Martha, something's wrong with this grain! Some of the Prince's soldiers were looking for this. I'm going to go look for one.
592  LINE_MARTHA1= 0, // Oh hello, Jena. Of course you can borrow some grain. Help yourself.
593  LINE_MARTHA2= 1, // Oh, my.
594 
595  CHAIN_MARTHA_IDLE1 = 1,
596  CHAIN_MARTHA_IDLE2 = 2,
597  CHAIN_JENA_INITIAL = 1,
598  CHAIN_JENA_IDLE1 = 3,
599  CHAIN_JENA_IDLE2 = 2,
600  CHAIN_JENA_MOVE1 = 70,
601  CHAIN_JENA_MOVE2 = 71,
602  CHAIN_JENA_LEAVE = 72
603 };
Definition: culling_of_stratholme.cpp:597
Definition: culling_of_stratholme.cpp:592
Definition: culling_of_stratholme.cpp:581
Definition: culling_of_stratholme.cpp:591
Definition: culling_of_stratholme.cpp:569
Definition: culling_of_stratholme.cpp:585
Definition: culling_of_stratholme.cpp:590
Definition: culling_of_stratholme.cpp:579
Definition: culling_of_stratholme.cpp:575
Definition: culling_of_stratholme.cpp:600
Definition: culling_of_stratholme.cpp:602
Definition: culling_of_stratholme.cpp:598
Definition: culling_of_stratholme.cpp:595
Definition: culling_of_stratholme.cpp:578
Definition: culling_of_stratholme.cpp:570
Definition: culling_of_stratholme.cpp:589
Definition: culling_of_stratholme.cpp:580
Definition: culling_of_stratholme.cpp:584
Definition: culling_of_stratholme.cpp:587
Definition: culling_of_stratholme.cpp:574
Definition: culling_of_stratholme.cpp:599
Definition: culling_of_stratholme.cpp:577
Definition: culling_of_stratholme.cpp:576
Definition: culling_of_stratholme.cpp:572
Definition: culling_of_stratholme.cpp:583
Definition: culling_of_stratholme.cpp:586
Definition: culling_of_stratholme.cpp:596
Definition: culling_of_stratholme.cpp:573
Definition: culling_of_stratholme.cpp:601
Definition: culling_of_stratholme.cpp:588
Definition: culling_of_stratholme.cpp:593

◆ CrateEvent2Misc

Enumerator
NPC_BARTLEBY 
EVENT_BARTLEBY_IDLE 
EVENT_BARTLEBY1 
EVENT_BARTLEBY2 
EVENT_BARTLEBY2_2 
EVENT_BARTLEBY3 
LINE_BARTLEBY_IDLE 
LINE_BARTLEBY1 
LINE_BARTLEBY2 
LINE_BARTLEBY3 
CHAIN_BARTLEBY1 
CHAIN_BARTLEBY2 
835 {
836  NPC_BARTLEBY = 27907,
837 
843 
844  LINE_BARTLEBY_IDLE = 0,
845  LINE_BARTLEBY1 = 1, // Well, guess I should load everything back into the cart.
846  LINE_BARTLEBY2 = 2, // Oh, come on! My cart broke, my horse lost a shoe, and now the cargo goes bad!
847  LINE_BARTLEBY3 = 3, // I guess I'll go find the authorities. If I'm lucky they'll tell me it's the plague and that we're all going to die.
848 
849  CHAIN_BARTLEBY1 = 1,
850  CHAIN_BARTLEBY2 = 2
851 };
Definition: culling_of_stratholme.cpp:847
Definition: culling_of_stratholme.cpp:839
Definition: culling_of_stratholme.cpp:844
Definition: culling_of_stratholme.cpp:840
Definition: culling_of_stratholme.cpp:846
Definition: culling_of_stratholme.cpp:845
Definition: culling_of_stratholme.cpp:836
Definition: culling_of_stratholme.cpp:850
Definition: culling_of_stratholme.cpp:842
Definition: culling_of_stratholme.cpp:838
Definition: culling_of_stratholme.cpp:849
Definition: culling_of_stratholme.cpp:841

◆ CrateEvent3Misc

Enumerator
NPC_MALCOLM 
NPC_SCRUFFY 
EVENT_SCRUFFY1 
EVENT_MALCOLM2 
EVENT_SCRUFFY_MOVE 
EVENT_MALCOLM_MOVE 
EVENT_MALCOLM_FACE3 
EVENT_SCRUFFY_EMOTE 
EVENT_MALCOLM3 
EVENT_MALCOLM4 
EVENT_MALCOLM_MOVE2 
LINE_MALCOLM1 
LINE_SCRUFFY1 
LINE_MALCOLM2 
LINE_MALCOLM3 
LINE_MALCOLM4 
CHAIN_MALCOLM1 
CHAIN_MALCOLM2 
CHAIN_MALCOLM3 
CHAIN_MALCOLM4 
CHAIN_SCRUFFY1 
CHAIN_SCRUFFY2 
945 {
946  NPC_MALCOLM = 27891,
947  NPC_SCRUFFY = 27892,
948 
949  EVENT_SCRUFFY1 = 1,
958 
959  LINE_MALCOLM1 = 0, // Looks like a storm's coming in, Scruffy...
960  LINE_SCRUFFY1 = 0, // %s begins to growl...
961  LINE_MALCOLM2 = 1, // What's wrong, pal?
962  LINE_MALCOLM3 = 2, // What did you find, boy?
963  LINE_MALCOLM4 = 3, // This is no good, Scruffy. Stay here and guard the house, I need to go find a soldier.
964 
965  CHAIN_MALCOLM1 = 1,
966  CHAIN_MALCOLM2 = 2,
967  CHAIN_MALCOLM3 = 3,
968  CHAIN_MALCOLM4 = 4,
969  CHAIN_SCRUFFY1 = 1,
970  CHAIN_SCRUFFY2 = 2
971 
972 };
Definition: culling_of_stratholme.cpp:960
Definition: culling_of_stratholme.cpp:966
Definition: culling_of_stratholme.cpp:970
Definition: culling_of_stratholme.cpp:951
Definition: culling_of_stratholme.cpp:956
Definition: culling_of_stratholme.cpp:965
Definition: culling_of_stratholme.cpp:968
Definition: culling_of_stratholme.cpp:947
Definition: culling_of_stratholme.cpp:946
Definition: culling_of_stratholme.cpp:952
Definition: culling_of_stratholme.cpp:955
Definition: culling_of_stratholme.cpp:961
Definition: culling_of_stratholme.cpp:959
Definition: culling_of_stratholme.cpp:962
Definition: culling_of_stratholme.cpp:963
Definition: culling_of_stratholme.cpp:969
Definition: culling_of_stratholme.cpp:950
Definition: culling_of_stratholme.cpp:957
Definition: culling_of_stratholme.cpp:953
Definition: culling_of_stratholme.cpp:949
Definition: culling_of_stratholme.cpp:954
Definition: culling_of_stratholme.cpp:967

◆ CrateEvent4Misc

Enumerator
NPC_SERGEANT 
NPC_PERELLI 
EVENT_SERGEANT_IDLE1 
EVENT_SERGEANT_IDLE2 
EVENT_SERGEANT_CHAIN1 
EVENT_SERGEANT1 
EVENT_SERGEANT_STAND 
EVENT_PERELLI1 
EVENT_SERGEANT2 
EVENT_PERELLI2 
EVENT_SERGEANT3 
EVENT_SERGEANT_LEAVE 
LINE_SERGEANT_ASK_NO 
LINE_SERGEANT_ASK_YES 
LINE_SERGEANT_START 
LINE_SERGEANT1 
LINE_SERGEANT2 
LINE_SERGEANT3 
LINE_PERELLI_NO 
LINE_PERELLI_YES 
LINE_PERELLI1 
LINE_PERELLI2 
CHAIN_SERGEANT1 
CHAIN_SERGEANT2 
1102 {
1103  NPC_SERGEANT = 27877,
1104  NPC_PERELLI = 27876,
1105 
1106  EVENT_SERGEANT_IDLE1, // questioning
1107  EVENT_SERGEANT_IDLE2, // response
1116 
1119  LINE_SERGEANT_START = 2, // You don't mind me checking out your merchandise for signs of tampering, do you?
1120  LINE_SERGEANT1 = 3, // Wait, what is this? You've been holding out on me, Perelli!
1121  LINE_SERGEANT2 = 4, // I'm confiscating this suspicious grain, Perelli. We were looking for signs of tampered food, and it would be in your best interest to stay put while Prince Arthas checks this out.
1122  LINE_SERGEANT3 = 5, // We'll see about that, Perelli. We'll see about that.
1123  LINE_PERELLI_NO = 0,
1124  LINE_PERELLI_YES = 1,
1125  LINE_PERELLI1 = 2, // What are you talking about, Sergeant!
1126  LINE_PERELLI2 = 3, // You have to believe me, I'm innocent!
1127 
1128  CHAIN_SERGEANT1 = 1,
1129  CHAIN_SERGEANT2 = 2
1130 };
Definition: culling_of_stratholme.cpp:1103
Definition: culling_of_stratholme.cpp:1112
Definition: culling_of_stratholme.cpp:1119
Definition: culling_of_stratholme.cpp:1128
Definition: culling_of_stratholme.cpp:1115
Definition: culling_of_stratholme.cpp:1123
Definition: culling_of_stratholme.cpp:1125
Definition: culling_of_stratholme.cpp:1121
Definition: culling_of_stratholme.cpp:1126
Definition: culling_of_stratholme.cpp:1109
Definition: culling_of_stratholme.cpp:1110
Definition: culling_of_stratholme.cpp:1107
Definition: culling_of_stratholme.cpp:1122
Definition: culling_of_stratholme.cpp:1118
Definition: culling_of_stratholme.cpp:1114
Definition: culling_of_stratholme.cpp:1104
Definition: culling_of_stratholme.cpp:1117
Definition: culling_of_stratholme.cpp:1108
Definition: culling_of_stratholme.cpp:1106
Definition: culling_of_stratholme.cpp:1113
Definition: culling_of_stratholme.cpp:1111
Definition: culling_of_stratholme.cpp:1129
Definition: culling_of_stratholme.cpp:1124
Definition: culling_of_stratholme.cpp:1120

◆ CrateEvent5Misc

Enumerator
NPC_ROGER 
EVENT_ROGER_START 
EVENT_ROGER_MOVE1 
EVENT_ROGER_FACE3 
EVENT_ROGER3 
EVENT_ROGER_FACE4 
EVENT_ROGER4 
EVENT_ROGER_MOVE2 
EVENT_ROGER5_2 
EVENT_ROGER_LEAVE 
LINE_ROGER1 
LINE_ROGER2 
LINE_ROGER3 
LINE_ROGER4 
LINE_ROGER5 
CHAIN_ROGER1 
CHAIN_ROGER2 
CHAIN_ROGER3 
1258 {
1259  NPC_ROGER = 27903,
1260 
1261  EVENT_ROGER_START = 1,
1264  EVENT_ROGER3,
1266  EVENT_ROGER4,
1270 
1271  LINE_ROGER1 = 0, // Ok, enough work for now. Time for refreshments and a little conversation in the inn.
1272  LINE_ROGER2 = 1, // Wait, what's that smell?
1273  LINE_ROGER3 = 2, // Can't be me, I took a bath 3 days ago!
1274  LINE_ROGER4 = 3, // Oh, close call. It's just the grain here.
1275  LINE_ROGER5 = 4, // Wait a second. Grain isn't supposed to smell like THAT! I better go find a guard.
1276 
1277  CHAIN_ROGER1 = 1,
1278  CHAIN_ROGER2 = 2,
1279  CHAIN_ROGER3 = 3
1280 };
Definition: culling_of_stratholme.cpp:1262
Definition: culling_of_stratholme.cpp:1279
Definition: culling_of_stratholme.cpp:1264
Definition: culling_of_stratholme.cpp:1259
Definition: culling_of_stratholme.cpp:1274
Definition: culling_of_stratholme.cpp:1263
Definition: culling_of_stratholme.cpp:1271
Definition: culling_of_stratholme.cpp:1268
Definition: culling_of_stratholme.cpp:1273
Definition: culling_of_stratholme.cpp:1265
Definition: culling_of_stratholme.cpp:1269
Definition: culling_of_stratholme.cpp:1278
Definition: culling_of_stratholme.cpp:1266
Definition: culling_of_stratholme.cpp:1261
Definition: culling_of_stratholme.cpp:1277
Definition: culling_of_stratholme.cpp:1267
Definition: culling_of_stratholme.cpp:1272
Definition: culling_of_stratholme.cpp:1275

◆ CrateGenericMisc

Enumerator
MOVEID_EVENT1 
MOVEID_EVENT2 
MOVEID_EVENT3 
MOVEID_EVENT4 
MOVEID_EVENT5 
ACTION_START_FLUFF 
556 {
557  MOVEID_EVENT1 = 4200,
562 
563  ACTION_START_FLUFF = 9001
564 };
Definition: culling_of_stratholme.cpp:560
Definition: culling_of_stratholme.cpp:557
Definition: culling_of_stratholme.cpp:561
Definition: culling_of_stratholme.cpp:563
Definition: culling_of_stratholme.cpp:558
Definition: culling_of_stratholme.cpp:559

◆ CrateMisc

enum CrateMisc
Enumerator
GO_SUSPICIOUS_CRATE 
GO_CRATE_HIGHLIGHT 
GO_PLAGUED_CRATE 
SPELL_ARCANE_DISRUPTION 
SPELL_CRATES_CREDIT 
1383 {
1384  GO_SUSPICIOUS_CRATE = 190094,
1385  GO_CRATE_HIGHLIGHT = 190117,
1386  GO_PLAGUED_CRATE = 190095,
1387  SPELL_ARCANE_DISRUPTION = 49590,
1388  SPELL_CRATES_CREDIT = 58109
1389 };
Definition: culling_of_stratholme.cpp:1387
Definition: culling_of_stratholme.cpp:1386
Definition: culling_of_stratholme.cpp:1388
Definition: culling_of_stratholme.cpp:1385
Definition: culling_of_stratholme.cpp:1384

◆ InnEventEntries

Enumerator
NPC_FORREST 
NPC_BELFAST 
NPC_JAMES 
NPC_FRAS 
NPC_MAL 
NPC_GRYAN 
41 {
42  NPC_FORREST = 30551,
43  NPC_BELFAST = 30571,
44  NPC_JAMES = 30553,
45  NPC_FRAS = 30552,
46  NPC_MAL = 31017,
47  NPC_GRYAN = 30561
48 };
Definition: culling_of_stratholme.cpp:47
Definition: culling_of_stratholme.cpp:45
Definition: culling_of_stratholme.cpp:46
Definition: culling_of_stratholme.cpp:42
Definition: culling_of_stratholme.cpp:43
Definition: culling_of_stratholme.cpp:44

◆ InnEventEvents

Enumerator
EVENT_FORREST_1 
EVENT_JAMES_1 
EVENT_FRAS_1 
EVENT_BELFAST_MOVE 
EVENT_BELFAST_1 
EVENT_MAL_1 
EVENT_GRYAN_1 
EVENT_MAL_2 
EVENT_MAL_3 
EVENT_JAMES_2 
EVENT_FORREST_2 
EVENT_FRAS_2 
51 {
52  EVENT_FORREST_1 = 1, // This whole situation seems a bit paranoid, don't you think?
53  EVENT_JAMES_1, // Orders are orders. If the Prince says jump...
54  EVENT_FRAS_1, // It's a strange order, you can't deny. Suspicious food? Under that definition, you should arrest Belfast!
55  EVENT_BELFAST_MOVE = 100,
56  EVENT_BELFAST_1, // I HEARD THAT! No more ale for you! Not a drop!
57  EVENT_MAL_1, // Enough, Michael. Business is hurting enough with this scare as it is. We can use every copper.
58  EVENT_GRYAN_1, // The soldiers are doing important work. The safety of the people is more important, Mal, if you're interested in your customers living to spend another day.
59  EVENT_MAL_2, // Mal Corricks grudgingly nods.
60  EVENT_MAL_3, // I can't argue with that.
61  EVENT_JAMES_2, // Don't worry too much. By the time I went off duty, we hadn't found a scrap of befouled grain here.
62  EVENT_FORREST_2, // Thank the Light for that.
63  EVENT_FRAS_2 // Fras Siabi nods.
64 };
Definition: culling_of_stratholme.cpp:58
Definition: culling_of_stratholme.cpp:57
Definition: culling_of_stratholme.cpp:54
Definition: culling_of_stratholme.cpp:53
Definition: culling_of_stratholme.cpp:56
Definition: culling_of_stratholme.cpp:61
Definition: culling_of_stratholme.cpp:52
Definition: culling_of_stratholme.cpp:55
Definition: culling_of_stratholme.cpp:62
Definition: culling_of_stratholme.cpp:60
Definition: culling_of_stratholme.cpp:59
Definition: culling_of_stratholme.cpp:63

◆ InnEventLines

Enumerator
LINE_JAMES_1 
LINE_JAMES_2 
LINE_FRAS_1 
LINE_FRAS_2 
LINE_MAL_1 
LINE_MAL_2 
LINE_MAL_3 
LINE_FORREST_1 
LINE_FORREST_2 
LINE_BELFAST_0 
LINE_BELFAST_1 
LINE_GRYAN_1 
67 {
68  LINE_JAMES_1 = 0,
69  LINE_JAMES_2 = 1,
70 
71  LINE_FRAS_1 = 0,
72  LINE_FRAS_2 = 1,
73 
74  LINE_MAL_1 = 0,
75  LINE_MAL_2 = 1,
76  LINE_MAL_3 = 2,
77 
78  LINE_FORREST_1 = 0,
79  LINE_FORREST_2 = 1,
80 
81  LINE_BELFAST_0 = 0,
82  LINE_BELFAST_1 = 1,
83  LINE_GRYAN_1 = 0,
84 };
Definition: culling_of_stratholme.cpp:72
Definition: culling_of_stratholme.cpp:71
Definition: culling_of_stratholme.cpp:81
Definition: culling_of_stratholme.cpp:79
Definition: culling_of_stratholme.cpp:68
Definition: culling_of_stratholme.cpp:76
Definition: culling_of_stratholme.cpp:69
Definition: culling_of_stratholme.cpp:78
Definition: culling_of_stratholme.cpp:83
Definition: culling_of_stratholme.cpp:75
Definition: culling_of_stratholme.cpp:82
Definition: culling_of_stratholme.cpp:74

◆ InnEventMisc

Enumerator
DATA_REQUEST_FACING 
DATA_REACHED_WP 
87 {
89  DATA_REACHED_WP = 1
90 };
Definition: culling_of_stratholme.cpp:88
Definition: culling_of_stratholme.cpp:89

Function Documentation

◆ AddSC_culling_of_stratholme()

void AddSC_culling_of_stratholme ( )
1464 {
1467 
1468  new npc_chromie_start();
1469  new npc_chromie_middle();
1470 
1471  new npc_jena_anderson();
1472  new npc_martha_goslin();
1473  new npc_bartleby_battson();
1474  new npc_malcolm_moore();
1475  new npc_sergeant_morigan();
1476  new npc_roger_owens();
1477  new npc_crate_helper();
1478 }
Definition: culling_of_stratholme.cpp:456
Definition: culling_of_stratholme.cpp:281
Definition: culling_of_stratholme.cpp:92
Definition: culling_of_stratholme.cpp:1391
Definition: culling_of_stratholme.cpp:1282
Definition: culling_of_stratholme.cpp:608
Definition: culling_of_stratholme.cpp:220
Definition: culling_of_stratholme.cpp:853
Definition: culling_of_stratholme.cpp:981
Definition: culling_of_stratholme.cpp:703
Definition: culling_of_stratholme.cpp:1132
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ malcolmFacing3

float const malcolmFacing3 = 2.303835f
static

◆ malcolmSpawn

Position const malcolmSpawn = { 1605.2420f, 805.4160f, 122.9956f, 5.284148f }
static

◆ marthaIdleOrientation1

float const marthaIdleOrientation1 = 3.159046f
static

◆ marthaIdleOrientation2

float const marthaIdleOrientation2 = 4.764749f
static

◆ scruffyFacing2

float const scruffyFacing2 = 5.734883f
static

◆ scruffyFacing4

float const scruffyFacing4 = 5.445427f
static

◆ scruffyPos3

Position const scruffyPos3 = { 1629.004f, 810.138f, 120.4927f }
static

◆ scruffySpawn

Position const scruffySpawn = { 1601.1030f, 805.3391f, 123.7677f, 5.471561f }
static