/////////////////////////////////////////////////////////////////////
// DEMO.S - Demo control scripts
/////////////////////////////////////////////////////////////////////
//
// NOTE ABOUT RUNNING THESE DEMOS
//
// All these demos can be run from the console by typing >demo <name>
// eg
//		> demo ferry
//		> demo talkbart
//
// However, since these demos clear all the flags which have been set
// I can make no guarantees about the state of the rest of the game.
//
/////////////////////////////////////////////////////////////////////

VIG DemoSword FALSE

	Message "Do not report bugs after running demo commands" 30
	AwardOb P mess4 "Galdobah"

END

/////////////////////////////////////////////////////////////////////

VIG DemoFerry FALSE

	// **** THAT BLOODY BOAT AGAIN!!! ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet eriv ER1
	Add gd_RUN_STARTUP
	PostMsg	msg_PLAY_INTRO
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkMel FALSE

	// *** TALK TO MELISSA ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet southsq SS1
	PostMsg t_SS_MEL_HOUSE_IN
    IDoorOpen   dmel
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkChant FALSE

	// *** TALK TO LAEN CHANT ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
    Add mj_SLEPT_AT_ANDRUS
	SetCharSet southsq SS1
    IDoorOpen   dchant
	PostMsg t_SS_LAEN_HOUSE_IN
END

/////////////////////////////////////////////////////////////////////

VIG DemoInn FALSE
	
	// *** PUB INTRO VIGNETTE ***
	
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet market1 PB1
	PostMsg t_PB_FRONT
    Add gd_DEMOING_INN
END

/////////////////////////////////////////////////////////////////////

VIG DemoRaal FALSE

	// *** MEET THE NORTH FOREST RAAL ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet nforest NF1
    Add     gd_DEMO_RAAL
	PostMsg t_NF_ANDRUS_SHACK_OUT
END

/////////////////////////////////////////////////////////////////////

VIG DemoAndrus FALSE

	// *** MEET ANDRUS ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet nforest NF1
	Add f_PLAYED_INTRO_PUB_VIG
	PostMsg t_NF_ANDRUS_SHACK_IN
	IDoorOpen dandrus
    Message "Meet Andrus for the first time"    20
END

/////////////////////////////////////////////////////////////////////

VIG DemoSSBrig FALSE

	// *** MEET SOUTH SQUARE BRIGANDS ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	setcharset southsq SS1
	PostMsg t_SS_WEST_ARCH
END

/////////////////////////////////////////////////////////////////////

VIG DemoBartIntro FALSE

	// *** MEET BART - INTRO PART 2 ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	setcharset faith FS1
	PostMsg t_FS_EAST_ARCH
END

/////////////////////////////////////////////////////////////////////

VIG DemoObelisk FALSE

	// *** SEE THE OBELISK ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet obelisk HS1
	Add f_DOVE
	Add f_REMOVED_DOVE
	PostMsg t_HS_EAST_PATH
END

/////////////////////////////////////////////////////////////////////

VIG DemoNFBrig FALSE

	// *** FIND BRIGANDS IN THE NORTH FOREST ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet nforest NF1
	PostMsg t_NF_SOUTH_ARCH
END

/////////////////////////////////////////////////////////////////////

VIG DemoJake FALSE

	// *** MEET JAKE ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet jake JF1
	IF !POS-P-casket
		AwardOb P casket "casket"
	ENDIF
	PostMsg t_JF_SOUTH_ARCH

END

/////////////////////////////////////////////////////////////////////

VIG DemoAlice FALSE

	// *** FIND LITTLE ALICE ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet emoors WM1
	PostMsg t_WM_NORTH_PATH

END
/////////////////////////////////////////////////////////////////////

VIG DemoTraders FALSE

	// *** WATCH BRIGANDS TRADING DIAMOND IRON ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet emoors WM1
	Add mj_HEX_COMPASS
	Add gt_PLACED_ALICE
	Add ce_ALICE
	PostMsg t_WM_NORTH_PATH

END

/////////////////////////////////////////////////////////////////////

VIG DemoDove FALSE

	// *** CHASE MELISSAS DOVE ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet emoors WM1
	Add f_DOVE
	PostMsg t_WM_NORTH_PATH

END

/////////////////////////////////////////////////////////////////////

VIG DemoDiamondMine FALSE

	// *** GO INTO THE DIAMOND ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet diamond DI1
	PostMsg t_DI_ENTRANCE
END

/////////////////////////////////////////////////////////////////////

VIG DemoDoTheCarts FALSE

	// *** GO INTO THE DIAMOND ***
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet diamond DI1
	PostMsg t_DI_ENTRANCE
	MoveCart 1 s
	MoveCart 3 w
	MoveCart 4 w
	MoveCart 6 w

END

/////////////////////////////////////////////////////////////////////

VIG DemoElsbeth FALSE

	// *** MEET ELSBETHS SHADE ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet ravint1 RI1
	PostMsg t_RI_MANOR_IN
END

/////////////////////////////////////////////////////////////////////

VIG DemoKeep FALSE

	// *** ENTER RAVENSCAR EXTERIOR AT THE KEEP - MEET MONSTERS ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet ravcar RV1
	PostMsg t_RV_KEEP_OUT
END

/////////////////////////////////////////////////////////////////////

VIG DemoRavenscar FALSE

	// *** ENTER RAVENSCAR EXTERIOR - MEET BAD GUYS ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet ravcar RV1
	PostMsg t_RV_WEST_ARCH

END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkAlph FALSE

	// *** TALK TO ALPHONSE ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet faith1 FI1
	PostMsg t_FI_ALPH
    IDoorOpen   dalph
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkBart FALSE

	// *** TALK TO BART ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet faith1 FI1
	PostMsg t_FI_BART
    IDoorOpen   dbart
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkElric FALSE

	// *** TALK TO ELRIC ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet faith1 FI1
	PostMsg t_FI_ELRIC_1
    IDoorOpen   delric1
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkElric2 FALSE

	// *** TALK TO ELRIC ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
    Add         mj_BEEN_TO_HEX
	SetCharSet faith1 FI1
	PostMsg t_FI_ELRIC_1
    IDoorOpen   delric1
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkElric3 FALSE

	// *** TALK TO ELRIC ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
    Add         mj_BEEN_TO_HEX
    Add         f_USED_FERRY
	SetCharSet faith1 FI1
	PostMsg t_FI_ELRIC_1
    IDoorOpen   delric1
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkAndrus FALSE

	// *** TALK TO ANDRUS ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet nforest NF1
	Add f_PLAYED_INTRO_PUB_VIG
    Add mj_SLEPT_AT_ANDRUS
	Add gt_JUST_MET_ANDRUS
	Add ce_ANDRUS 
	PostMsg t_NF_ANDRUS_SHACK_IN
	IDoorOpen dandrus
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkHammer FALSE

	// *** TALK TO HAMMER after SLEEPING AT ANDRUS***
    IF gd_PLACED_ER_BRIGAND_2
        RemoveC ER_BRIG_2
    ENDIF
	IF gd_PLACED_ER_SPIDER
		RemoveC ER_SPIDER_2
	ENDIF
	Message "Do not report bugs after running demo commands" 30
	ClearFlags

    Add         mj_SLEPT_AT_ANDRUS
	Add         gd_PLACED_ALLIS_AND_PLAYER
	Add         gd_RUN_STARTUP
    Add         gd_PLAYED_INTRO

	SetCharSet  eriv ER1
	PostMsg     t_ER_HAMMER_HUT_IN
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkHammer2 FALSE

	// *** TALK TO HAMMER after SLEEPING AT ANDRUS***
    IF gd_PLACED_ER_BRIGAND_2
        RemoveC ER_BRIG_2
    ENDIF
	IF gd_PLACED_ER_SPIDER
		RemoveC ER_SPIDER_2
	ENDIF
	Message "Do not report bugs after running demo commands" 30
	ClearFlags

    Add         mj_SLEPT_AT_ANDRUS
    Add         mj_BEEN_TO_HEX
	Add         gd_PLACED_ALLIS_AND_PLAYER
	Add         gd_RUN_STARTUP
    Add         gd_PLAYED_INTRO

	SetCharSet  eriv ER1
	PostMsg     t_ER_HAMMER_HUT_IN
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkHammer3 FALSE

	// *** TALK TO HAMMER after SLEEPING AT ANDRUS***
    IF gd_PLACED_ER_BRIGAND_2
        RemoveC ER_BRIG_2
    ENDIF
	IF gd_PLACED_ER_SPIDER
		RemoveC ER_SPIDER_2
	ENDIF
	Message "Do not report bugs after running demo commands" 30
	ClearFlags

    Add         mj_SLEPT_AT_ANDRUS
    Add         mj_BEEN_TO_HEX
    Add         f_USED_FERRY
	Add         gd_PLACED_ALLIS_AND_PLAYER
	Add         gd_RUN_STARTUP
    Add         gd_PLAYED_INTRO
    Add         co_LORDCRUX
    Add         co_LIGHTSTEALER
    Add         co_BLOODMASTER
    AwardOb     P   powders_mtl "Powder's metal"

	SetCharSet  eriv ER1
	PostMsg     t_ER_HAMMER_HUT_IN
END
/////////////////////////////////////////////////////////////////////

VIG DemoTalkAllis FALSE

	// *** CONVERSE WITH ALLIS HAM after SLEEPING AT ANDRUS ***
    IF gd_PLACED_ER_BRIGAND_2
        RemoveC ER_BRIG_2
    ENDIF
	IF gd_PLACED_ER_SPIDER
		RemoveC ER_SPIDER_2
	ENDIF
	IF gd_PLACED_HAMMER
		RemoveC HAMMER
	ENDIF

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
    Add         mj_SLEPT_AT_ANDRUS
    Add         gd_ALLIS_LOCKED_DOOR
	SetCharSet  eriv ER1
	Add         gd_PLACED_ALLIS_AND_PLAYER
	Add         gd_RUN_STARTUP
    Add         gd_PLAYED_INTRO
	PostMsg     t_ER_NORTH_ARCH

END

/////////////////////////////////////////////////////////////////////

VIG DemoADeath FALSE

	// *** DEATH OF ANDRUS ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet nforest NF1
	Add mj_BEEN_TO_HEX
	PostMsg t_NF_ANDRUS_SHACK_OUT
END

/////////////////////////////////////////////////////////////////////

VIG DemoFestival FALSE

	// *** FESTIVAL OF LIGHTS ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet faith FS2
	Add gt_FESTIVAL_PREP
	PostMsg t_FS_NORTH_ARCH
END

/////////////////////////////////////////////////////////////////////

VIG DemoFaithHex FALSE

	// *** AFTER FESTIVAL ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet faith FS1
	Add mj_BEEN_TO_HEX
	Add ce_MALKUTH
	PostMsg t_FS_NORTH_ARCH
END

/////////////////////////////////////////////////////////////////////

VIG DemoKing1 FALSE

	// *** BARROW KING 1 ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet barrowin BI1
	PostMsg t_BI_1
END

/////////////////////////////////////////////////////////////////////

VIG DemoKing2 FALSE

	// *** BARROW KING 2 ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet barrowin BI1
	PostMsg t_BI_2
END

/////////////////////////////////////////////////////////////////////

VIG DemoKing3 FALSE

	// *** BARROW KING 3 ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet barrowin BI1
	PostMsg t_BI_3
END

/////////////////////////////////////////////////////////////////////

VIG DemoKing4 FALSE

	// *** BARROW KING 4 ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet barrowin BI1
	PostMsg t_BI_4
END

/////////////////////////////////////////////////////////////////////

VIG DemoKing5 FALSE

	// *** BARROW KING 5 ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet barrowin BI1
	PostMsg t_BI_5
END

/////////////////////////////////////////////////////////////////////

VIG DemoKing6 FALSE

	// *** BARROW KING 6 ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet barrowin BI1
	PostMsg t_BI_6
END

/////////////////////////////////////////////////////////////////////

VIG DemoBarrow FALSE

	// *** ACTIVATES ALL THE LOGIC AT THE BARROW ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet barrowin BI1
	PostMsg t_BI_MAIN_IN
END

/////////////////////////////////////////////////////////////////////

VIG DemoBishop FALSE

	// *** MEET BISHOP MORTAN ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet stemple SB1
	PostMsg t_SB_BOTTOM_IN
END

/////////////////////////////////////////////////////////////////////

VIG DemoTempleUpper FALSE

	// *** Demo the upper layer of the temple ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet stemptop St1
	PostMsg t_ST_EAST_PATH
END

/////////////////////////////////////////////////////////////////////

VIG DemoHighRockPass FALSE
	
	// *** DEMO HIGH ROCK PASS ***

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
    Add         mj_HEX_COMPASS
	SetCharSet  rockpass HR1
	PostMsg     t_HR_WEST_PATH

END

/////////////////////////////////////////////////////////////////////

VIG DemoAnvil FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet barrowin BI1
	PostMsg t_BI_TELEPORT
END

/////////////////////////////////////////////////////////////////////

VIG DemoGargos FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet barrowin BI1
	PostMsg t_BI_LEVEL_2_WEST
    AwardOb P   anvilhorath "anvil_test"
END

/////////////////////////////////////////////////////////////////////

VIG DemoPOS FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet misc1 EC1
	PostMsg t_EC_RAVCAR
END

/////////////////////////////////////////////////////////////////////

VIG DemoGoHome FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet diamond DI1
	PostMsg t_DI_ENTRANCE
    Add gd_FREEDOM_TEST

END

/////////////////////////////////////////////////////////////////////

VIG DemoFreedFarmers    FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
    Add mj_FREED_FARMERS
    Add gd_TEST_FARMERS
    Add gt_PLACED_ALICE
    Add mj_HEX_COMPASS
	SetCharSet emoors WM1
	PostMsg t_WM_MINE_OUT
END

/////////////////////////////////////////////////////////////////////

VIG DemoMinesPostFarmers    FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
    Add mj_FREED_FARMERS
    Add f_RETURNED_AFTER_FREED_FARMERS
    Add gt_PLACED_DI_DENIZENS
	SetCharSet diamond DI1
	PostMsg t_DI_ENTRANCE
END

/////////////////////////////////////////////////////////////////////

VIG DemoRavSewers    FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet ravint1 RI1
	PostMsg t_RI_KEEP_SEWER_IN
END

/////////////////////////////////////////////////////////////////////

VIG DemoVoc1        FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet	Voc1		V11
	PostMsg t_V1_NF
END

/////////////////////////////////////////////////////////////////////

VIG DemoBarrowExterior      FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	SetCharSet	BarrowEx	BX1
	PostMsg     t_BX_SOUTH
END

/////////////////////////////////////////////////////////////////////

VIG DemoFerryToStage2 FALSE

    IF gd_PLACED_ER_BRIGAND_2
        RemoveC ER_BRIG_2
    ENDIF
	IF gd_PLACED_ER_SPIDER
		RemoveC ER_SPIDER_2
	ENDIF
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
    Set gd_WEATHER_TYPE 2
    Add         mj_SLEPT_AT_ANDRUS
    Add         mj_BEEN_TO_HEX
    Add         mj_DEFEAT_GARGOS_1
	SetCharSet  eriv ER1
	Add         gd_PLACED_ALLIS_AND_PLAYER
	Add         gd_RUN_STARTUP
    Add         gd_PLAYED_INTRO
	Add         gd_PLACED_HAMMER
    Add         gd_ALLIS_LOCKED_DOOR
	Add gt_ALLIS_GIVEN_RUNE_OF_KNIVES
	PostMsg     t_ER_JETTY

	Message "Get Allis to ferry you away" 20
END

/////////////////////////////////////////////////////////////////////

VIG DemoArriveAtConstep FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add         gd_PLACED_ALLIS_AND_PLAYER
	Add         gd_RUN_STARTUP
    Add         gd_PLAYED_INTRO
    Add         mj_BEEN_TO_HEX
    Add         mj_DEFEAT_GARGOS_1
    Set         gd_WEATHER_TYPE 2
	SetCharSet	constep		CT1
	PostMsg     t_CT_JETTY
END

/////////////////////////////////////////////////////////////////////

VIG DemoArriveAtRainbowRock FALSE
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
    Set         gd_WEATHER_TYPE 2
	SetCharSet	Rainbow		RA1
	PostMsg     t_RA_DOCK
END

/////////////////////////////////////////////////////////////////////

VIG DemoPlayerMeetsSkorn   FALSE
	Message "Do not report bugs after running demo commands" 30
    ClearFlags
    Set         gd_WEATHER_TYPE 2
	SetCharSet	Monex		MX1
    PostMsg     t_MX_WEST
END

/////////////////////////////////////////////////////////////////////

VIG DemoTalendrah   FALSE
	Message "Do not report bugs after running demo commands" 30
    ClearFlags
    Set         gd_WEATHER_TYPE 2
	SetCharSet	Talen		TA1
    PostMsg     t_TA_ARRIVE_1
END

/////////////////////////////////////////////////////////////////////

VIG DemoWhiteMoonCeremony   FALSE
	Message "Do not report bugs after running demo commands" 30
    ClearFlags
    Set     gd_WEATHER_TYPE 2
    Add     mj_RESCUE_BANE
    Add     mj_DEFEAT_LIGHTSTEALER
    Add     gt_PLACED_BANE_RETINUE
  	SetCharSet	moon		MN1
    PostMsg     t_MN_LEAVE
END

/////////////////////////////////////////////////////////////////////

VIG DemoDiamondMineStage3   FALSE
	Message "Do not report bugs after running demo commands" 30
    ClearFlags
    Set         gd_WEATHER_TYPE 2
    Add         mj_DEFEAT_GARGOS_2
	SetCharSet	Diamond		DI1
	PostMsg t_DI_ENTRANCE
END

/////////////////////////////////////////////////////////////////////

VIG DemoUptoStage3      FALSE
    ClearFlags
    Set         gd_WEATHER_TYPE 2
    Add         gd_RUN_STARTUP
    Add         gd_PLACED_ALLIS_AND_PLAYER
    Add         gd_PLACED_ER_SPIDER
    Add         ce_ANDRUS
    Add         gt_PLACED_ANDRUS_DYING
    Add         mj_SLEPT_AT_ANDRUS
    Add         ce_JAKE
    Add         f_JAKE_DEAD
    Add         f_ANDRUS_DEAD
    Add         gt_PLACED_ALICE
    Add         f_DOVE
    Add         mj_HEX_COMPASS
    Add         mj_BEEN_TO_HEX
    Add         mj_FREED_FARMERS
    Add         mj_DEFEAT_GARGOS_2
	RunS        SetUpDoors-MetAndrus
    RunS        SetUpDoors-AwardedHexCompass
END

/////////////////////////////////////////////////////////////////////

VIG DemoMadrigalStage3   FALSE
	Message "Do not report bugs after running demo commands" 30
    RunS        DemoUptoStage3
	setcharset  faith FS1
	PostMsg     t_FS_EAST_ARCH
END

/////////////////////////////////////////////////////////////////////

VIG DemoAlkadathStage3   FALSE
	Message "Do not report bugs after running demo commands" 30
    RunS        DemoUptoStage3
    Add         mj_RECOVER_CROWN
	SetCharSet	Jake		JF1
	PostMsg     t_JF_SOUTH_ARCH
END

/////////////////////////////////////////////////////////////////////

VIG DemoMuster	FALSE
	// *** shadow pass - Lord Bane's muster ***
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add mj_BLOODMASTER_BANE
	PalFade BLACK
	PostMsg t_SP_SOUTH
END

/////////////////////////////////////////////////////////////////////

VIG DemoBloodlands FALSE
	// *** bloodlands - bloodkin battling undead ***
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	PostMSG t_BL_SOUTH
END

/////////////////////////////////////////////////////////////////////

VIG DemoBloodlands2 FALSE
	// *** bloodlands - second battle vs undead ***
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add gt_BLOODLAND_PROGRESS
	Add DEMO_BLANDS_2
	PostMSG t_BL_SOUTH
END

/////////////////////////////////////////////////////////////////////

VIG DemoBloodlands3 FALSE
	// *** bloodlands - third battle vs undead ***
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add gt_BLOODLAND_PROGRESS
	Add DEMO_BLANDS_3
	PostMSG t_BL_SOUTH
END

/////////////////////////////////////////////////////////////////////

VIG DemoBloodlands4 FALSE
	// *** bloodlands - enter tower of blood ***
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add gt_BLOODLAND_PROGRESS
	Add DEMO_BLANDS_4
	PostMSG t_BL_SOUTH
END

/////////////////////////////////////////////////////////////////////

VIG DemoChantGrief FALSE
	// *** Chant learns of Renya's death ***
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add gd_RUN_STARTUP
	Add gd_PLACED_ALLIS_AND_PLAYER
	Add mj_DEFEAT_BART

	PostMsg t_ER_ALLIS_HUT_OUT
END

/////////////////////////////////////////////////////////////////////

VIG DemoInn4POstInvasion    FALSE
	
	Message "Do not report bugs after running demo commands" 30
	ClearFlags
    Add         ce_ANDRUS
    Add         f_PLAYED_INTRO_PUB_VIG
    Add         gt_PLACED_WILL_EMMA_STAGE1
    Add         mj_SLEPT_AT_ANDRUS
    Add         mj_BEEN_TO_HEX
    Add         mj_DEFEAT_GARGOS_2
    Add         mj_DEFEAT_AL
    Add         mj_BARTS_ASSAULT
	SetCharSet market1 PB1
	PostMsg t_PB_FRONT
    Add gd_DEMOING_INN
END

/////////////////////////////////////////////////////////////////////

VIG DemoBloodMaster FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	AwardOb P alvaris_key "disable-traps-key"

	PostMsg t_A4_ALVARIS

END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkAsh FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	AwardOb P contract "assassins-contract"

	PostMsg t_AS_ASH_IN

END

/////////////////////////////////////////////////////////////////////

VIG DemoEnterCity FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	PostMsg t_BD_SOUTH

END

/////////////////////////////////////////////////////////////////////

VIG DemoAttackLS FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add DEMO_BLOOD_A
	PostMsg t_BD_SOUTH

END

/////////////////////////////////////////////////////////////////////

VIG DemoDeathOfBane FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add DEMO_BLOOD_B
	PostMsg t_BD_SOUTH

END

/////////////////////////////////////////////////////////////////////

VIG DemoFayCity FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	PostMsg t_CS_HEXSTONE

END

/////////////////////////////////////////////////////////////////////

VIG DemoFayCity2 FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add gt_FAY_CAPTURED

	AwardOb P pretty_orb "orb1"
	AwardOb P smelly_orb "orb2"

	PostMsg t_CS_HEXSTONE

END

/////////////////////////////////////////////////////////////////////

VIG DemoDarkHex2 FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add DEMO_DHEX2

	PostMsg t_D2_HEXSTONE

END

/////////////////////////////////////////////////////////////////////

VIG DemoKaldarath FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	PostMsg t_DU_WELL

END

/////////////////////////////////////////////////////////////////////

VIG DemoThardWitch FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add mj_DEFEAT_GARGOS_2
	Add gt_PLACED_EFENS_CHARS
	Add mj_RESCUE_BANE
	PostMsg t_EF_NORTH

END

/////////////////////////////////////////////////////////////////////

VIG DemoRandomFaithEntry FALSE

	SWITCH RAND-6
		CASE 0
			PostMsg t_FS_EAST_ARCH
		CASE 1
			PostMsg t_FS_NORTH_ARCH
		CASE 2
			PostMsg t_FS_WEST_ARCH
		CASE 3
			PostMsg t_FS_SOUTH1_ARCH
		CASE 4
			PostMsg t_FS_SOUTH2_ARCH
		CASE 5
			PostMsg t_FS_HEXSTONE
	ENDSWITCH

END

/////////////////////////////////////////////////////////////////////

VIG DemoBartScroll FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add mj_SLEPT_AT_ANDRUS
	Add mj_BEEN_TO_HEX
	Add f_ANDRUS_DEAD
	Add f_PLAYED_BART

	Add DEMO_FAITH_1

	RunS DemoRandomFaithEntry

END

/////////////////////////////////////////////////////////////////////

VIG DemoDefeatBart FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add mj_SLEPT_AT_ANDRUS
	Add mj_BEEN_TO_HEX
	Add f_ANDRUS_DEAD
	Add f_PLAYED_BART
	Add mj_RECOVER_CROWN
	Add mj_BARTS_ASSAULT
	Add gt_P_V_BART

	RunS DemoRandomFaithEntry

END

/////////////////////////////////////////////////////////////////////

VIG DemoRatAssault FALSE

	//ClearFlags

	Message "Do not report bugs after running demo commands" 30
	SetCharSet faith FS4
    Add         mj_SLEPT_AT_ANDRUS
	Add         gd_PLACED_ALLIS_AND_PLAYER
	Add         gd_RUN_STARTUP
    Add         gd_PLAYED_INTRO
	Add mj_SLEPT_AT_ANDRUS
	Add mj_BEEN_TO_HEX
	Add f_ANDRUS_DEAD
	Add f_PLAYED_BART
	Add mj_DEFEAT_AL
	Add mj_RECOVER_CROWN
	Add gt_PLACED_MG_CAPT

	RunS DemoRandomFaithEntry

END

/////////////////////////////////////////////////////////////////////

VIG DemoRescueBane FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	PostMsg t_EF_NORTH

END

/////////////////////////////////////////////////////////////////////

VIG DemoAshatar FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add DEMO_GTHOR

	PostMsg t_GT_MP

END

/////////////////////////////////////////////////////////////////////

VIG DemoGargomon FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	PostMsg t_GT_MP

END

/////////////////////////////////////////////////////////////////////

VIG DemoCruxTalksLS FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	PostMsg t_GU_TEMPLE_OUT

END

/////////////////////////////////////////////////////////////////////

VIG DemoCirceAttacks FALSE

	ClearFlags

	Message "Do not report bugs after running demo commands" 30

	Add f_CRUX_DEAD

	PostMsg t_GU_TEMPLE_OUT

END

/////////////////////////////////////////////////////////////////////

VIG DemoLilith FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add DEMO_LILITH

	PostMsg t_LI_GT

END

/////////////////////////////////////////////////////////////////////

VIG DemoLaenAppears FALSE

	ClearFlags

	Message "Do not report bugs after running demo commands" 30

	PostMsg t_ME_EAST

END

/////////////////////////////////////////////////////////////////////

VIG DemoAttackCrux FALSE

	ClearFlags

	Message "Do not report bugs after running demo commands" 30

	PostMsg t_MA_MANOR_OUT

END

/////////////////////////////////////////////////////////////////////

VIG DemoFarangis FALSE

	ClearFlags

	AwardOb P asm_key "key"

	Message "Do not report bugs after running demo commands" 30

	PostMsg t_MI_HEXSTONE

END

/////////////////////////////////////////////////////////////////////

VIG DemoMiresPit FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	PostMsg t_MP_GT

END

/////////////////////////////////////////////////////////////////////

VIG DemoBloodMasterBane FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add mj_RESCUE_BANE
	Add mj_FOUND_BLOODMASTER
	AwardOb P bloodmaster "hammer"

	PostMsg t_MN_LEAVE

END

/////////////////////////////////////////////////////////////////////

VIG DemoBartSewer FALSE

	ClearFlags

	Add mj_BARTS_ASSAULT

	Message "Do not report bugs after running demo commands" 30

	PostMsg t_MS_BART

END

/////////////////////////////////////////////////////////////////////

VIG DemoLoseGame FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add mj_DEFEAT_SKORN
	Add mj_BEEN_TO_HEX
	Add ce_MALKUTH

	PostMsg t_NX_HEXSTONE

END

/////////////////////////////////////////////////////////////////////

VIG DemoWinGame FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add mj_DEFEAT_SKORN

	PostMsg t_WS_A_RW

END

/////////////////////////////////////////////////////////////////////

VIG DemoRevCamp FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	PostMsg t_RE_POS

END

/////////////////////////////////////////////////////////////////////

VIG DemoBombPalace FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add ce_PINAEOS
	ChangeProfileToIdentified Tcitizen_Pinaeos
	Set gt_PIN_BUSINESS 3

	PostMsg t_TD_BOAT1_IN

END

/////////////////////////////////////////////////////////////////////

VIG DemoTalkToAdmiral FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	PostMsg t_TD_BOAT1_IN

END

/////////////////////////////////////////////////////////////////////

VIG DemoIncubah FALSE

	ClearFlags
	Message "Do not report bugs after running demo commands" 30

	PostMsg t_TP_MAIN_IN

END

/////////////////////////////////////////////////////////////////////

VIG DemoAssassins FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	PostMsg t_SG_INN_IN

END

/////////////////////////////////////////////////////////////////////

VIG DemoGuild FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags
	Add gt_PLAYED_CRUX_VAMP

	PostMsg t_GU_TEMPLE_OUT

END

/////////////////////////////////////////////////////////////////////

VIG DemoGoToHex FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	SetInsideLightRadius 512 0
	SetOutsideLightRadius 1024 0

	PostMsg t_NX_HEXSTONE

END

/////////////////////////////////////////////////////////////////////

VIG DemoJaardBooks FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add ce_MALKUTH
	AwardOb P hades_tome "BOOK"

	AwardOb P TRINKETS_BOOK "BOOK"
	AwardOb P STORMS_BOOK "BOOK"
	AwardOb P STONES_BOOK "BOOK"
	AwardOb P FEARS_BOOK "BOOK"
	AwardOb P MEDICINES_BOOK "BOOK"
	AwardOb P MANIPULATIONS_BOOK "BOOK"
	AwardOb P KNIVES_BOOK "BOOK"
	AwardOb P GLYPHS_BOOK "BOOK"
	AwardOb P DREAMS_BOOK "BOOK"
	AwardOb P CORPSES_BOOK "BOOK"
	AwardOb P CLOAKS_BOOK "BOOK"
	AwardOb P BREATHS_BOOK "BOOK"
	AwardOb P ARROWS_BOOK "BOOK"

	PostMsg t_NX_HEXSTONE

END

/////////////////////////////////////////////////////////////////////

VIG DemoSkiffSoldier FALSE

	ClearFlags

	Add gt_SKIFF_CHART_TRADED
	Add ce_SKIFF

	Message "Do not report bugs after running demo commands" 30

	PostMsg t_SD_WEST

END

/////////////////////////////////////////////////////////////////////

VIG DemoTempleScroll FALSE

	ClearFlags

	AwardOb P mortan_scroll "tele-scroll"

	Message "Do not report bugs after running demo commands" 30

	PostMsg t_ST_BOTTOM_OUT

END

/////////////////////////////////////////////////////////////////////

VIG DemoChaseSkorn2 FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add gt_PURSUE_SKORN_TO_WSOUL

	PostMsg t_WS_A_RW

END

/////////////////////////////////////////////////////////////////////

VIG DemoChaseSkorn FALSE

	Message "Do not report bugs after running demo commands" 30
	ClearFlags

	Add gt_PURSUE_SKORN_TO_UPPERWELL

	PostMsg t_RW_D2

END

/////////////////////////////////////////////////////////////////////

VIG DemoHadesQuests FALSE

	ClearFlags

	Add gt_PURSUE_SKORN_TO_UPPERWELL
	Add gt_PLACED_WSOUL1_SKORN
	Add gt_PURSUE_SKORN_TO_WSOUL
	Add gt_MAHORAZ_KILLED_IN_WSOUL1

	AwardOb P hades_key_gold_1 "ka-ching!"
	AwardOb P hades_key_gold_3 "ka-ching!"
	AwardOb P hades_key_gold_4 "ka-ching!"

	Message "Do not report bugs after running demo commands" 30

	PostMsg t_RW_D2

END

/////////////////////////////////////////////////////////////////////

VIG DemoFlute FALSE

	ClearFlags

	AwardOb P flute "flute"

	Message "Do not report bugs after running demo commands" 30

	PostMsg t_WL_SECRET

END

/////////////////////////////////////////////////////////////////////

VIG DemoPlayStage2 FALSE

MessagesOff
	//don't clear flags, the game must be up and running by now...

	// *** Set flags for Stage 1 completion ***
	//------------------------------------------
	Add ce_ALICE
	Add ce_ALPH
	Add ce_ANDRUS
	Add ce_BARTH
	Add ce_ELRIC
	Add ce_HAMMER
	Add ce_JAKE
	Add ce_LAEN
	Add ce_MALKUTH
	Add ce_RAAL
	Add ce_WILL
	Add co_ANVIL_OF_HORATH
	Add co_DEMONPAPERS
	Add co_JAKE
	Add co_RAAL
	Add co_SHADOWGUARD
	Add co_SKULL_OF_ALCHEMY
	Add co_TEMPLE_OF_SHADOWS
	Add co_THEGUILD
	Add co_THEHEX
	Add co_TOME_OF_HADES
	Add f_ANDRUS_DEAD
	Add f_BISHOP_DEAD
	Add f_COMORRO_DEAD
	Add f_CRUCIBUS_WORK_READY
	Add f_ELSBETH_FREED
	Add f_JAKE_DEAD
	Add f_PLAYED_BART
	Add f_PLAYED_INTRO_PUB_VIG
	Add f_RETURNED_AFTER_FREED_FARMERS
	Add f_SECULORUM
	Add gd_ANGRY_BEASTS
	Add gd_APPROACHED_OBELISK
	Add gd_BARROW_BOYS_UNITE
	Add gd_DI_BRIG_06_ATTACK
	Add gd_DI_BRIG_07_ATTACK
	Add gd_DI_BRIG_15_ATTACK
	Add gd_DONE_PUB
	Add gd_EMMA_INITIAL_GREETING
	Add gd_HR_BRIG_01
	Add gd_HR_BRIG_03
	Add gd_HR_BRIG_04
	Add gd_MOVED_SPIDER
	Add gd_OPENED_SECRET
	Add gd_PICKED_UP_ANVIL
	Add gd_PLACED_ALLIS_AND_PLAYER
	Add gd_PLACED_BARROW_BOYS
	Add gd_PLACED_BART_INTRO
	Add gd_PLACED_BARTH
	Add gd_PLACED_BRIGAND_MINERS
	Add gd_PLACED_BX_MONSTERS
	Add gd_PLACED_GARGOS_TALOS_TRAP
	Add gd_PLACED_HAMMER
	Add gd_PLACED_HR_PASS_BRIG
	Add gd_PLACED_RC_MONSTERS
	Add gd_PLACED_VOC1_MONSTERS
	Add gd_PLAYED_GARGOS_TRAP
	Add gd_PLAYED_INTRO
	Add gd_RC_ZOMBIE_1
	Add gd_RC_ZOMBIE_1N2_RUMBLE
	Add gd_RC_ZOMBIE_2
	Add gd_RC_ZOMBIE_6
	Add gd_REMOVED_SPIDER
	Add gd_RKI_SKEL_12_ATTACK
	Add gd_RKI_SKEL_12_RUMBLE
	Add gd_SHADOWS_ARRIVED
	Add gd_SKEL_10_LIFE
	Add gd_SKEL_1_LIFE
	Add gd_SKEL_2_LIFE
	Add gd_SKEL_3_LIFE
	Add gd_SKEL_4_LIFE
	Add gd_SKEL_5_LIFE
	Add gd_SKEL_6_LIFE
	Add gd_SKEL_7_LIFE
	Add gd_SKEL_8_LIFE
	Add gd_SKEL_9_LIFE
	Add gd_SPIDER_RUN
	Add gd_TALKED_HAM_DIAMOND_IRON
	Add gd_V1_SKEL_ATTACK
	Add gd_V1_SKEL_ATTACKING
	Add gd_ZOMBIE_10_LIFE
	Add gd_ZOMBIE_1_LIFE
	Add gd_ZOMBIE_2_LIFE
	Add gd_ZOMBIE_3_LIFE
	Add gd_ZOMBIE_4_LIFE
	Add gd_ZOMBIE_5_LIFE
	Add gd_ZOMBIE_6_LIFE
	Add gd_ZOMBIE_7_LIFE
	Add gd_ZOMBIE_8_LIFE
	Add gd_ZOMBIE_9_LIFE
	Add gg_BEEN_TO_TEMPLE_LOWER
	Add gg_CAN_FLIRT_WITH_EMMA
	Add gg_PLACED_DEAD_CAVE_BRIG
	Add gg_SMASHED_STONE
	Add gt_ALLIS_GIVEN_RUNE_OF_KNIVES
	Add gt_ANDRUS_GIVEN_RUNE
	Add gt_ANDRUS_NAMED_BOOK
	Add gt_ANDRUS_NAMED_RAAL
	Add gt_CRUCIBUS_TIMER
	Add gt_DR_BISHOP
	Add gt_DR_EL_BODY
	Add gt_DR_HORATH
	Add gt_DR_JALASTOR
	Add gt_ELRIC_GIVEN_QUESTS
	Add gt_ELRIC_PAID_BOUNTY
	Add gt_ELRIC_WORK_EXPAND
	Add gt_FESTIVAL_PREP
	Add gt_GRAB_TOME
	Add gt_HAMMER_MADE_1
	Add gt_HAMMER_MADE_2
	Add gt_HAMMER_MADE_3
	Add gt_HAMMER_MADE_4
	Add gt_HEX_TREE_ROOM
	Add gt_JAKE_GONE
	Add gt_MAD_GUARD_DONE
	Add gt_MAD_GUARD_STARTED
	Add gt_MEET_EL_SHADE
	Add gt_MEL_GIVEN_DEMON_PAPERS
	Add gt_MEL_GOT_EGGSHELL
	Add gt_MORTAN_ATTACKS
	Add gt_MORTAN_TEL_ENABLED
	Add gt_NASTY_KING_ATTACKS
	Add gt_NEED_HAMMER
	Add gt_NFB_ATTACK
	Add gt_NFB_RUN_FOR_HELP
	Add gt_PLACED_ALICE
	Add gt_PLACED_ALPH
	Add gt_PLACED_ANDRUS
	Add gt_PLACED_ANDRUS_DYING
	Add gt_PLACED_BART
	Add gt_PLACED_BISHOP
	Add gt_PLACED_BRIG_HUNTERS
	Add gt_PLACED_CALDOR_IN_HEX
	Add gt_PLACED_CARAVANS
	Add gt_PLACED_CHANT
	Add gt_PLACED_CRUCIBUS_IN_HEX
	Add gt_PLACED_ELRIC
	Add gt_PLACED_FARMER_WITH_KEY_LEGACY_FLAG
	Add gt_PLACED_FESTIVAL_CHARACTERS
	Add gt_PLACED_JAARD_IN_HEX
	Add gt_PLACED_MAD_FARMER_1
	Add gt_PLACED_MAD_FARMER_2
	Add gt_PLACED_MAD_FARMER_3
	Add gt_PLACED_MAD_FARMER_5
	Add gt_PLACED_MAD_FARMER_7
	Add gt_PLACED_MAD_FARMER_8
	Add gt_PLACED_MALKUTH_IN_HEX
	Add gt_PLACED_MEL
	Add gt_PLACED_MG_CAPT
	Add gt_PLACED_MG_PATB
	Add gt_PLACED_NF_BRIG
	Add gt_PLACED_PUB_INTRO_CHARS
	Add gt_PLACED_RAAL
	Add gt_PLACED_RAV_SEWER_DENIZENS
	Add gt_PLACED_REV_CAMP_DENIZENS
	Add gt_PLACED_SEWER_SPIDER
	Add gt_PLACED_SS_BRIG
	Add gt_PLACED_TEMPLE_UPPER_MONSTERS
	Add gt_PLACED_WILL_EMMA_STAGE1
	Add gt_PLAYED_DR_ANDRUS
	Add gt_PLAYED_DR_NF_HEX_SEEKER
	Add gt_PLAYED_ER_BRIGAND_2
	Add gt_PLAYED_FKEY
	Add gt_RAV_GARG_ATTACK_123
	Add gt_RAV_GARG_ATTACK_4
	Add gt_SEEN_GARGOS_CAMP
	Add gt_TAKEN_CASKET
	Add mj_BEEN_TO_HEX
	Add mj_DEFEAT_GARGOS_1
	Add mj_FOUND_TOME
	Add mj_FREED_FARMERS
	Add mj_HEX_COMPASS
	Add mj_SLEPT_AT_ANDRUS
	//attuning spell books
	Add f_ATTUNED_ARROWS
	Add f_ATTUNED_DREAMS
	Add f_ATTUNED_KNIVES
	Add f_ATTUNED_MEDICINES
	Add f_ATTUNED_TRINKETS
	Add gt_PLACED_ARROWS_BOOK
	Add gt_PLACED_DREAMS_BOOK
	Add gt_PLACED_KNIVES_BOOK
	Add gt_PLACED_MEDICINES_BOOK
	Add gt_PLACED_TRINKETS_BOOK

	DelStock ELRI_SHOP	cloaks_book
	DelStock ELRI_SHOP	knives_book

	// *** Award XP for Stage 1 completion ***
	//-----------------------------------------
	AwardEP xp_ALLIS_BRIGAND
	AwardEP xp_ANDRUS_FAREWELL
	AwardEP xp_BEEN_TO_HEX
	AwardEP xp_BRIGAND_CLOAK
	AwardEP xp_CALDOR_IN_HEX
	AwardEP xp_COMORRO_DEAD
	AwardEP xp_CRUCIBUS_IN_HEX
	AwardEP xp_DEFEAT_GARGOS_1
	AwardEP xp_DELIVER_CASKET
	AwardEP xp_ELSBETH_FREED
	AwardEP xp_FIND_ANDRUS
	AwardEP xp_FOUND_TOME
	AwardEP xp_FREED_FARMERS
	AwardEP xp_HEX_COMPASS
	AwardEP xp_HEXSTONE_FAITH
	AwardEP xp_HEXSTONE_OBELISK
	AwardEP xp_HEXSTONE_RAVENS
	AwardEP xp_JAARD_IN_HEX
	AwardEP xp_MINE_SECRET
	AwardEP xp_MORTAN_TELEPORT
	AwardEP xp_MORTAN_THANKS
	AwardEP xp_OBELISK
	AwardEP xp_SCARED_BART
	AwardEP xp_SLEPT_AT_ANDRUS
	AwardEP xp_SQUAD_A_DEAD
	AwardEP xp_SQUAD_B_DEAD
	//attuning spell books
	AwardEP xp_ARROWS
	AwardEP xp_DREAMS
	AwardEP xp_KNIVES
	AwardEP xp_MEDICINES
	AwardEP xp_TRINKETS
	//estimated kills total
	AwardEP xp_Stage_1_

	// *** Trigger Hex personalities ***
	//-----------------------------------
	Add gt_DEMO_HEX_GUYS_GO_GO_GO

	// *** Set up ERIV & Hammer ***
	//-----------------------------------
	RunS SetUpDoors-MetAndrus
	IDoorOpen dAllis

	Stock	HEXK_SHOP corpses_rune 1
	Stock	HEXK_SHOP breaths_rune 1
	Stock	HEXK_SHOP fears_rune 1

	Stock	HAMM_SHOP ar_plt_hd_str 1

    PlaceC      HAMMER pANVIL
	SetObjInLeftHand HAMMER hammer
	IDoorOpen   dhammer
	RunS		HammerActions

	// *** Award objects ***
	//-----------------------

	DeleteObjectsInBackpackWithID P cpass
	DeleteObjectsInBackpackWithID P allis_key
	DeleteObjectsInBackpackWithID P apple
	DeleteObjectsInBackpackWithID P bread
	DeleteObjectsInBackpackWithID P knife

	AwardOb P ar_plt_hd_merc "freebie"
	AwardOb P ar_chn_hd_coif "freebie"
	AwardOb P ar_chn_am_slev "freebie"
	AwardOb P ar_ltr_hn_stud "freebie"
	AwardOb P ar_plt_ft_thar "freebie"
	AwardOb P ar_chn_ft_boot "freebie"
	AwardOb P ar_ltr_ft_run  "freebie"
	//Identify ar_ltr_ft_run
	AwardOb P ar_chn_lg_pant "freebie"
	AwardOb P ar_chn_bd_vest "freebie"
	AwardOb P ar_ltr_bd_sala "freebie"
	//Identify ar_ltr_bd_sala
	AwardOb P ar_chn_cl_kngt "freebie"
	AwardOb P ar_ltr_cl_qult "freebie"

	AwardOb P sack "freebag"
	AwardObjToContainerInBackpack ptn_mana_g "freebie" 1 P sack "freebag"
	//Identify ptn_mana_g
	AwardObjToContainerInBackpack ptn_mana_m "freebie" 4 P sack "freebag"
	//Identify ptn_mana_m
	AwardObjToContainerInBackpack ptn_mana_l "freebie" 8 P sack "freebag"
	//Identify ptn_mana_l
	AwardObjToContainerInBackpack ptn_heal_g "freebie" 1 P sack "freebag"
	//Identify ptn_heal_g
	AwardObjToContainerInBackpack ptn_heal_m "freebie" 4 P sack "freebag"
	//Identify ptn_heal_m
	AwardObjToContainerInBackpack ptn_heal_l "freebie" 8 P sack "freebag"
	//Identify ptn_heal_l

	AwardOb P ring_hlth "freebie"

	AwardObjToContainerInBackpack cpassexcel "freebie" 1 P sack "freebag"
	AwardObjToContainerInBackpack hcpass "freebie" 1 P sack "freebag"
	AwardOb P rapier "freebie"
	AwardOb P longsword "freebie"
	AwardOb P mace "freebie"
	AwardOb P spear "freebie"
	AwardOb P firesword "freebie"
	//Identify firesword
	AwardOb P hexseekstaff "freebie"
	//Identify hexseekstaff

	AwardOb P xbow "freebie"
	AwardOb P bolt "freebie" 20

	AwardOb P bow "freebie"
	AwardOb P sl_arrow "freebie" 20
	AwardOb P ap_arrow "freebie" 15
	AwardOb P ex_arrow "freebie" 5

	Gold+ P 1500

MessagesOn

	Message "Let's go to work..." 10
	
END

