BACKUP ~PhaseSpiderDruidKit/backup~ // so WeiDU can uninstall
AUTHOR ~ced2168@columbia.edu~ // contact address displayed if installation fails

VERSION ~V1.0 - PhaseSpiderDruidKit~
// future readme...
//README

LANGUAGE	~American English~
			~american~
			~PhaseSpiderDruidKit/lang/american/setup.tra~
LANGUAGE	~Francais~
			~french~
			~PhaseSpiderDruidKit/lang/american/setup.tra~ // backup reference if some of the translations are not available.
			~PhaseSpiderDruidKit/lang/french/setup.tra~

////////////////////////////////////////////////////////////////////////
// can be used if you have already loaded a tra file using LANGUAGE
// or in a ALWAYS block:
// BEGIN @1
BEGIN ~PhaseSpiderDruidKit~ // name of this component
// That's 0 by default, you can comment the DESIGNATED component flag.
DESIGNATED 0

// 1- You need to define a string for @8996
// See the setup.tra file I added.
// Unfortunately you cannot use an @ reference if
// you haven't loaded the translation file yet.
// 2- Are you really sure you want to install your kit
// on a game that is still running the old SoA engine
// - unpatched by the ToB add-on ?
//REQUIRE_PREDICATE (ENGINE_IS ~soa tob bgee bg2ee~) @8996 // ~This mod is designed for the Baldur's Gate II engine and will not function on other games.~
REQUIRE_PREDICATE (ENGINE_IS ~soa tob bgee bg2ee~) ~This mod is designed for the Baldur's Gate II engine and will not function on other games.~

// Just for the @ references to come.
// Remove that command if you use the LANGUAGE section above.
LOAD_TRA "PhaseSpiderDruidKit/lang/american/setup.tra"
// Will be required for EE kits.
INCLUDE ~PhaseSpiderDruidKit/lib/fl#add_kit_ee.tpa~


// internal name of the kit
ADD_KIT ~CLABPHDR~

  // appended to CLASWEAP.2da
  ~CLABPHDR                1           0           1           1           0           0           0           1~

  // appended column-wise to WEAPPROF.2da
  ~CLABPHDR 0 0 0 0 1 1 0 1 0 0 0 0 0 0 1 1 0 1 1 0 0 0 1 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
     
  // appended to ABCLASRQ.2da
  ~CLABPHDR                0       0       0       0       0       0~

  // appended to ABCLSMOD.2da
  ~CLABPHDR                0       0       0       0       0       0~

  // appended to ABDCDSRQ.2da
  ~CLABPHDR                0       0       0       0       0       0~

  // appended to ABDCSCRQ.2da
  ~CLABPHDR                0       0       0       0       0       0~

  // appended to ALIGNMNT.2da
  ~CLABPHDR                1       1       1       1       1       1       1       1       1~

  // appended to DUALCLAS.2da
  ~CLABPHDR                0       1       1       1       1       0~

  // path to your CLAB-style 2da file 
  ~PhaseSpiderDruidKit/srcfiles/CLABPHDR.2da~

  // PC races and classes allowed to use this kit, from KITTABLE.2da
  ~K_F_D K_F_E K_F_G K_F_H K_F_HE K_F_HL K_F_HO~

  // usability flags, added to the end of the KITLIST.2da entry
  ~0x20000000     11~

  // HLA table to use; see LUABBR.2da
  ~Dr0~

  // list of starting equipment for PCs starting in ToB. Appended column-wise to 25STWEAP.2da
  ~LEAT20 * HELM19 BAG27 RING06 RING31 CLCK02 BOOT01 AMUL19 BRAC14 BELT06 AROW11,40 BULL03,40 BOLT06,40 POTN52,5 POTN4,2 POTN14,5 HAM07 SW1H27 STAF08~

  // Lower, mixed, and help kit names and descriptions, added to KITLIST.2da 
  SAY @11
  SAY @12
  SAY @13

// Time to add the extra step for the EE kits.
/*
ACTION_IF (GAME_IS ~bgee bg2ee eet~) THEN BEGIN
	LAF fl#add_kit_ee
		INT_VAR		// remove if none of the following vars are set.
			biography = 		// optional, remove if unused
			fallen = 			// optional, remove if unused
			briefdesc = 		// optional, remove if unused
			fallen_notice = 	// optional, remove if unused
		STR_VAR
			kit_name = ~CLABPHDR~	//required
			backstab = ~~		// optional, remove if unused
			clsrcreq = ~~		// optional, remove if unused
			clswpbon = ~~		// optional, remove if unused
			hpclass = ~HPWAR~	// optional, remove if unused
			numwslot = ~~		// optional, remove if unused
			thiefskl = ~~		// optional, remove if unused
			traplimt = ~~		// optional, remove if unused
			clascolr = ~~		// optional, remove if unused
			clasiskl = ~~		// optional, remove if unused
			clasthac = ~~		// optional, remove if unused
			thiefscl = ~~		// optional, remove if unused
			sneakatt = ~~		// optional, remove if unused
			crippstr = ~~		// optional, remove if unused
	END // end of LAF
END // end of ACTION_IF
*/

  COPY ~PhaseSpiderDruidKit/srcfiles~ ~override~
