//Setup for the Amaunator's Regret module for SoA:SoA
//Author & Coder: K'aeloree (liam.esler@gmail.com)

BACKUP ~AR\backup~
AUTHOR ~liam.esler@gmail.com~
BEGIN ~Amaunator's Regret module for BG2:SoA~

// The following moves the images to the override folder
COPY ~AR\Images\amuanaS.bmp~ ~override\amuanaS.bmp~
COPY ~AR\Images\arktoS.bmp~ ~override\arktoS.bmp~
COPY ~AR\Images\neriaS.bmp~ ~override\neriaS.bmp~
COPY ~AR\Images\irosS.bmp~ ~override\irosS.bmp~


// The following compiles the script files

COMPILE ~AR\Scripts\LK#ARK.BAF~
COMPILE ~AR\Scripts\lk#ava.BAF~
COMPILE ~AR\Scripts\LK#AMA.BAF~
COMPILE ~AR\Scripts\LK#IROS.BAF~
COMPILE ~AR\Scripts\LK#ROTH.BAF~

EXTEND_TOP ~baldur.bcs~ ~AR\Scripts\start.BAF~
EXTEND_TOP ~AR1100.bcs~ ~AR\Scripts\AR1100.BAF~
EXTEND_TOP ~AR1105.bcs~ ~AR\Scripts\AR1105.BAF~


//The following is copying the creatures to the override folder
COPY ~AR\Creatures\lk#may.cre~ ~override\lk#may.cre~
SAY NAME1 ~Minister Lloyd~
SAY NAME2 ~Minister Lloyd~
//WRITE_ASCII 0x248 ~LK#ARK~// override script
//WRITE_ASCII 0x2CC ~LK#MAY~// dialog
//WRITE_ASCII 0x280 ~LK#MAY~// death variable

COPY ~AR\Creatures\lk#isra.cre~ ~override\lk#isra.cre~
SAY NAME1 ~Isra~
SAY NAME2 ~Isra~
//WRITE_ASCII 0x248 ~LK#ISRA~// override script
//WRITE_ASCII 0x2CC ~LK#ISRA~// dialog
//WRITE_ASCII 0x280 ~LK#ISRA~// death variable

COPY ~AR\Creatures\avatar.cre~ ~override\lk#ava.cre~
SAY NAME1 ~Avatar of Amaunator~
SAY NAME2 ~Avatar of Amaunator~
//WRITE_ASCII 0x248 ~LK#AVA~// override script
//WRITE_ASCII 0x2CC ~LK#AVA~// dialog
//WRITE_ASCII 0x280 ~LK#AVA~// death variable

COPY ~AR\Creatures\LK#AMAU.cre~ ~override\LK#AMAU.cre~
SAY NAME1 ~Amuana~
SAY NAME2 ~Amuana~
//WRITE_ASCII 0x248 ~LK#AMA~// override script
//WRITE_ASCII 0x2CC ~LK#AMA~// dialog
//WRITE_ASCII 0x280 ~LK#AMA~// death variable

COPY ~AR\Creatures\LK#ROTH.cre~ ~override\LK#ROTH.cre~
SAY NAME1 ~Rothlin~
SAY NAME2 ~Rothlin~
//WRITE_ASCII 0x248 ~LK#ROTH~// override script
//WRITE_ASCII 0x2CC ~LK#ROTH~// dialog
//WRITE_ASCII 0x280 ~LK#ROTH~// death variable

// The following is telling WeiDU to compile the following .d files

COMPILE ~AR\Dialogue\LK#AR.d~
USING ~~

COMPILE ~AR\Dialogue\LK#AVA.d~
USING ~~

COMPILE ~AR\Dialogue\LK#MAY.d~
USING ~~

COMPILE ~AR\Dialogue\LK#ISRA.d
USING ~~

COMPILE ~AR\Dialogue\LK#ROTH.d
USING ~~

COMPILE ~AR\Dialogue\LK#AMA.d