BACKUP ~Ooze\backup~
AUTHOR ~Lava Del'Vortel~

README ~Ooze\ReadMe.txt~

VERSION ~v3.1~


// Translations
AUTO_TRA ~Ooze/translations/%s~

ALWAYS
  // No exception, everything needs to be converted
  ACTION_DEFINE_ARRAY Oozenoconvert BEGIN INSTALL END

  // any tra files used in LANGUAGE need to be reloaded after UTF-8 conversion
  ACTION_DEFINE_ARRAY Oozereload BEGIN ooze items items_ee END

  LAF HANDLE_CHARSETS
    INT_VAR
      infer_charsets = 1
    STR_VAR
      tra_path = EVAL ~%MOD_FOLDER%/translations~
      noconvert_array = Oozenoconvert
      reload_array = Oozereload
  END
END


LANGUAGE ~English~
         ~English~
         ~Ooze/translations/english/ooze.tra~

LANGUAGE ~Chinese by merzbau, updated by Yoshimo0417~
         ~schinese~
         ~Ooze/translations/schinese/INSTALL.tra~

LANGUAGE ~Polish by memory~
         ~polish~
         ~Ooze/translations/polish/ooze.tra~

LANGUAGE ~Russian by tipun~
         ~russian~
         ~Ooze/translations/russian/ooze.tra~

LANGUAGE ~French by deratiseur and Mornagest~
         ~French~
         ~Ooze/translations/french/ooze.tra~

LANGUAGE ~Korean by Pinkpanther~
         ~korean~
         ~Ooze/translations/korean/ooze.tra~

LANGUAGE ~Italian by improbabile~
         ~Italian~
         ~Ooze/translations/italian/ooze.tra~

LANGUAGE ~Spanish by Quasart~
         ~Spanish~
         ~Ooze/translations/spanish/ooze.tra~

BEGIN @1 /* Ooze's Lounge: a new area under Athkatlan Slums */
LABEL L#-OOZESLOUNGE



// ADD stan CD_STATE_NOTVALID

APPEND ~STATE.IDS~ ~0x80101FEF CD_STATE_NOTVALID~
UNLESS ~CD_STATE_NOTVALID~ 




// AREAS

COPY ~ooze/areas~ ~override~

ACTION_IF (GAME_IS ~bg2ee eet~) BEGIN
 COPY ~Ooze/tis+pvrz~ ~override~
END ELSE BEGIN
 COPY ~Ooze/tis~ ~override~
 COPY_EXISTING ~am2100.wav~ ~override~
END

INCLUDE ~Ooze/lib/GW_Are_fonctions_macros.tpa~	// Load Library (area functions & macros).
INCLUDE ~Ooze/lib/GW_Wed_fonctions_macros.tpa~	// Load Library (wed functions & macros).
INCLUDE ~Ooze/lib/GW_vertices_table.tpa~		// Load Arrays of new doors vertex.

LAM ~GW_DEF_AREA_OFFSETS~						// LOADS the main offsets used to patch ARE files.
LAM ~GW_DEF_WED_OFFSETS~				 		// LOADS the main offsets used to patch WED files.

INCLUDE ~Ooze/lib/AddBG2_AR0400Door.tph~




// BAMS

COPY ~Ooze/bams-animations~ ~override~

ACTION_IF (GAME_IS ~bg2ee eet~) BEGIN
 COPY ~Ooze/bams-iconsEE~ ~override~
 COPY ~Ooze/ini~ ~override~
END ELSE BEGIN
 COPY ~Ooze/bams-iconsOld~ ~override~
END




// AUDIO

COPY ~Ooze/wav~ ~override~

ACTION_IF ("%LANGUAGE%" STR_EQ "polish") THEN BEGIN
  COPY ~Ooze/NymAudio/polish~ ~override~ END
ACTION_IF ("%LANGUAGE%" STR_EQ "french") THEN BEGIN
  COPY ~Ooze/NymAudio/french~ ~override~
 END ELSE BEGIN
  COPY ~Ooze/NymAudio/english~ ~override~
END


// PORTRAITS

COPY ~Ooze/portraits~ ~override~




// STORE

COPY ~Ooze/stores/l#NSJUIB.sto~  ~override/l#NSJUIB.sto~
  SAY 0xc @2 /* Temple of Juiblex */

COPY ~Ooze/stores/l#NSLUN.sto~  ~override/l#NSLUN.sto~
  SAY 0xc @3 /* Luna's Wares */

COPY ~Ooze/stores/l#NSLU2.sto~  ~override/l#NSLU2.sto~
  SAY 0xc @4 /* Luna's Special Wares */

COPY ~Ooze/stores/l#NSCHIL.sto~  ~override/l#NSCHIL.sto~
  SAY 0xc @5 /* Ooze's Beds and Bedrolls */

COPY ~Ooze/stores/l#NSBEH.sto~  ~override/l#NSBEH.sto~
  SAY 0xc @6 /* Eyeblinker's Wares */

COPY ~Ooze/stores/l#NSNYM.sto~  ~override/l#NSNYM.sto~
  SAY 0xc @7 /* Nym's Unique Wares */




// SPELLS

COPY ~Ooze/spl/l#nsri2a.spl~ ~override~
SAY NAME1 @8 /* Fracture */
SAY NAME2 @8 /* Fracture */
 
 
 
 
// CREATURES

COPY ~Ooze/creatures/l#nsbas1.cre~ ~override~
SAY NAME1 @9 /* Greater Basilisk */
SAY NAME2 @9 /* Greater Basilisk */

COPY ~Ooze/creatures/l#nsbas2.cre~ ~override~
SAY NAME1 @10 /* Basilisk */
SAY NAME2 @10 /* Basilisk */

COPY ~Ooze/creatures/L#NSSULJ.cre~ ~override~
SAY NAME1 @11 /* Suljak */
SAY NAME2 @11 /* Suljak */

COPY ~Ooze/creatures/l#nsbeh.cre~ ~override~
SAY NAME1 @12 /* Eyeblinker */
SAY NAME2 @12 /* Eyeblinker */

COPY ~Ooze/creatures/l#nssee.cre~ ~override~
SAY NAME1 @13 /* Cute Floating Eye */
SAY NAME2 @13 /* Cute Floating Eye */

COPY ~Ooze/creatures/l#nschil.cre~ ~override~
SAY NAME1 @14 /* Biya */
SAY NAME2 @14 /* Biya */

COPY ~Ooze/creatures/l#nslun.cre~ ~override~
SAY NAME1 @15 /* Luna */
SAY NAME2 @15 /* Luna */

COPY ~Ooze/creatures/l#nscle.cre~ ~override~
SAY NAME1 @16 /* Vulab */
SAY NAME2 @16 /* Vulab */

COPY ~Ooze/creatures/l#nsnym.cre~ ~override~
SAY NAME1 @17 /* Nym */
SAY NAME2 @17 /* Nym */
SAY SELECT_COMMON1 @18 /* Honored customer? */




// DIALOGUES

COMPILE ~Ooze/dialogues/L#NSCHIL.d~
COMPILE ~Ooze/dialogues/L#NSCLE.d~
COMPILE ~Ooze/dialogues/L#NSLUN.d~
COMPILE ~Ooze/dialogues/L#NSBEH.d~
COMPILE ~Ooze/dialogues/L#NSNYM.d~
COMPILE ~Ooze/dialogues/CROMWELL.d~
COMPILE ~Ooze/dialogues/L#NSSEE.d~



// SCRIPTS

COMPILE ~Ooze/scripts/L#NSALT.baf~
COMPILE ~Ooze/scripts/L#NSCHIL.baf~
COMPILE ~Ooze/scripts/L#NSBEH.baf~
COMPILE ~Ooze/scripts/L#NSLUN.baf~

COMPILE ~Ooze/scripts/L#NS01.baf~
COMPILE ~Ooze/scripts/L#NS02.baf~
COMPILE ~Ooze/scripts/L#NS03.baf~

EXTEND_BOTTOM ~AR0502.bcs~   ~Ooze/scripts/AR0502.baf~
EXTEND_BOTTOM ~AR2100.bcs~   ~Ooze/scripts/AR2100.baf~
EXTEND_BOTTOM ~AR0334.bcs~   ~Ooze/scripts/AR0334.baf~
EXTEND_BOTTOM ~botsmith.bcs~ ~Ooze/scripts/botsmith.baf~



// JOURNAL

ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
  ADD_JOURNAL  @0 @1  USING ~Ooze/translations/%LANGUAGE%/L#NS01.TRA~
  ADD_JOURNAL  @0 @1 @2 @3 @4 @5 @6 @7 @8  USING ~Ooze/translations/%LANGUAGE%/L#NS02.TRA~
  ADD_JOURNAL  @0 @1 @2 @3 USING ~Ooze/translations/%LANGUAGE%/L#NS03.TRA~
END



// ITEMS

ACTION_IF GAME_IS ~bg2 tob bgt~ THEN BEGIN
LOAD_TRA ~Ooze/translations/%LANGUAGE%/items.tra~
INCLUDE ~%MOD_FOLDER%/lib/items.tpa~
END

ACTION_IF GAME_IS ~bg2ee eet~ THEN BEGIN
LOAD_TRA ~Ooze/translations/%LANGUAGE%/items_ee.tra~
INCLUDE ~%MOD_FOLDER%/lib/items_ee.tpa~
END

