BACKUP ~ShapechangerKit/backup~
AUTHOR ~ced2168@columbia.edu~

VERSION ~1.0~

//MODDER

AUTO_TRA ~ShapechangerKit/tra/%s~

/*
 * This mod does not use any chapter checks
 *
ALWAYS
  ACTION_IF GAME_IS ~eet~ BEGIN
    OUTER_SET bg2_chapter = 12
  END ELSE BEGIN
    OUTER_SET bg2_chapter = 0
  END
  OUTER_FOR (i=1; i<=10; i=i+1) BEGIN
    OUTER_SET bg2_chapter = bg2_chapter + 1
    OUTER_SPRINT name_source ~bg2_chapter_%i%~
    OUTER_SET EVAL ~%name_source%~ = bg2_chapter
  END
END
*/

LANGUAGE   ~English~
           ~English~
           ~ShapechangerKit/tra/English/ShapechangerKit.tra~

BEGIN "Shapechanger Kit" //
INCLUDE "ShapechangerKit/lib/fl#add_kit_ee.tpa"


ADD_KIT ~USSC00~
	~USSC00 1 1 1 1 1 1 1 1~
      ~USSC00 0 1 0 0 1 0 0 1 0 1 1 0 0 1 1 1 0 1 0 0 0 0 1 1 0 1 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~
	~USSC00 0 0 9 0 0 0~
	~USSC00 0 0 0 0 0 1~
	~USSC00 0 0 17 0 0 0~
        ~USSC00 0 0 17 0 0 0~
	~USSC00 1 1 1 1 1 1 1 1 1~
	~USSC00 1 1 1 0 0 0~
	~ShapechangerKit/CLABUSSC.2da~
	~K_T_H	K_T_D   K_T_G   K_T_E   K_T_HE   K_T_HL   K_T_HO~
	~0x10000000 4~
	~SC7~
	~LEAT14 * * BAG28 RING06 RING05 * BOOT02 AMUL19 BRAC16 BELT06 AROW11,40 BULL03,40 BOLT06,40 POTN52,5 POTN04,2 POTN14,5 DAGG12 SW1H28 STAF08~

	SAY ~shapechanger~
	SAY ~Shapechanger~
	SAY ~Little is known about the source of a Shapechanger's powers. Alternately theorized to be the descendants of doppelgangers, lycanthropes, or some type of extraplanar being, Shapechangers have the power to radically transform their bodies--not just into humanoid forms, but also alien forms foreign to the Material plane. Shapechangers are adept at disguising themselves, but their true power lies in the ability to take on the forms of more powerful creatures.

CLASS FEATURES:

Advantages:

- 30% bonus to pickpocketing, hide in shadows, and move silently
- Learns new shapeshifting abilities as the Shapechanger gains levels:

Level 1: Cat
Level 3: Werebadger
Level 4: Grizzly Bear
Level 6: Phase Spider
Level 8: Bombardier Beetle
Level 9: Orog Shaman
Level 11: Red Half-Dragon
Level 13: Umber Hulk
Level 14: Clay Golem
Level 16: Beholder
Level 18: Glabrezu
Level 19: Young Green Dragon
Level 21: Frost Giant
Level 23: Demilich

Disadvantages:

- Cannot wear armor
- Only gets 10 skill points per level (20 at level 1)
- Cannot set traps
- Backstab multiplier is 1 point lower than a normal thief's (starts at no multiplier at level 1)

High-Level Abilities:
- Whirlwind Attack
- Hardiness
- Resist Magic
- Evasion
- Stoneskin
- Simulacrum
- Polymorph Other

- Hit Die: d6
~

LAF fl#add_kit_ee
	INT_VAR
		biography = RESOLVE_STR_REF (~~)
		briefdesc = RESOLVE_STR_REF (~Little is known about the source of a Shapechanger's powers. Alternately theorized to be the descendants of doppelgangers, lycanthropes, or some type of extraplanar being, Shapechangers have the power to radically transform their bodies--not just into humanoid forms, but also alien forms foreign to the Material plane. Shapechangers are adept at disguising themselves, but their true power lies in the ability to take on the forms of more powerful creatures.~)
	STR_VAR
		kit_name = ~USSC00~
		backstab = ~1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4~
		clswpbon = ~0 0 3~
		numwslot = ~2~
		thiefskl = ~20 10~
		clascolr = ~35 67 67 25 80~
		clasiskl = ~25 0 0 25 25 0 0~
		thiefscl = ~100 100 100 100 100 100 0 0~
		hpclass = ~HPROG~
		clsrcreq = ~1 1 1 1 1 1 1~
		clasthac = ~0~
END

////////////////////////////////////////
/////////CREATURES//////////////////////
////////////////////////////////////////


COPY ~ShapechangerKit/cre/USSC01.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC02.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC03.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC04.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC05.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC06.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC07.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC08.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC09.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC10.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC11.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC12.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC13.cre~ ~override~
COPY ~ShapechangerKit/cre/USSC14.cre~ ~override~


////////////////////////////////////////
/////////ITEMS//////////////////////////
////////////////////////////////////////

COPY ~ShapechangerKit/itm/USSC00.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC01.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC02.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC03.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC04.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC05.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC06.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC07.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC08.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC09.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC10.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC11.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC12.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC13.itm~ ~override~
COPY ~ShapechangerKit/itm/USSC14.itm~ ~override~

////////////////////////////////////////
/////////SPELLS/////////////////////////
////////////////////////////////////////


////Applies Kit////
COPY ~ShapechangerKit/spl/USSC00.spl~ ~override~
  SAY NAME1 @0
  SAY NAME2 @0
  SAY UNIDENTIFIED_DESC @1
  SAY IDENTIFIED_DESC @1
COPY ~ShapechangerKit/spl/USSC01.spl~ ~override~
  SAY NAME1 @2
  SAY NAME2 @2
  SAY UNIDENTIFIED_DESC @3
  SAY IDENTIFIED_DESC @3
COPY ~ShapechangerKit/spl/USSC02.spl~ ~override~
  SAY NAME1 @4
  SAY NAME2 @4
  SAY UNIDENTIFIED_DESC @5
  SAY IDENTIFIED_DESC @5
COPY ~ShapechangerKit/spl/USSC03.spl~ ~override~
  SAY NAME1 @6
  SAY NAME2 @6
  SAY UNIDENTIFIED_DESC @7
  SAY IDENTIFIED_DESC @7
COPY ~ShapechangerKit/spl/USSC04.spl~ ~override~
  SAY NAME1 @8
  SAY NAME2 @8
  SAY UNIDENTIFIED_DESC @9
  SAY IDENTIFIED_DESC @9
COPY ~ShapechangerKit/spl/USSC05.spl~ ~override~
  SAY NAME1 @10
  SAY NAME2 @10
  SAY UNIDENTIFIED_DESC @11
  SAY IDENTIFIED_DESC @11
COPY ~ShapechangerKit/spl/USSC06.spl~ ~override~
  SAY NAME1 @12
  SAY NAME2 @12
  SAY UNIDENTIFIED_DESC @13
  SAY IDENTIFIED_DESC @13
COPY ~ShapechangerKit/spl/USSC07.spl~ ~override~
  SAY NAME1 @14
  SAY NAME2 @14
  SAY UNIDENTIFIED_DESC @15
  SAY IDENTIFIED_DESC @15
COPY ~ShapechangerKit/spl/USSC08.spl~ ~override~
  SAY NAME1 @16
  SAY NAME2 @16
  SAY UNIDENTIFIED_DESC @17
  SAY IDENTIFIED_DESC @17
COPY ~ShapechangerKit/spl/USSC09.spl~ ~override~
  SAY NAME1 @18
  SAY NAME2 @18
  SAY UNIDENTIFIED_DESC @19
  SAY IDENTIFIED_DESC @19
COPY ~ShapechangerKit/spl/USSC10.spl~ ~override~
  SAY NAME1 @20
  SAY NAME2 @20
  SAY UNIDENTIFIED_DESC @21
  SAY IDENTIFIED_DESC @21
COPY ~ShapechangerKit/spl/USSC11.spl~ ~override~
  SAY NAME1 @22
  SAY NAME2 @22
  SAY UNIDENTIFIED_DESC @23
  SAY IDENTIFIED_DESC @23
COPY ~ShapechangerKit/spl/USSC12.spl~ ~override~
  SAY NAME1 @24
  SAY NAME2 @24
  SAY UNIDENTIFIED_DESC @25
  SAY IDENTIFIED_DESC @25
COPY ~ShapechangerKit/spl/USSC13.spl~ ~override~
  SAY NAME1 @26
  SAY NAME2 @26
  SAY UNIDENTIFIED_DESC @27
  SAY IDENTIFIED_DESC @27
COPY ~ShapechangerKit/spl/USSC14.spl~ ~override~
  SAY NAME1 @28
  SAY NAME2 @28
  SAY UNIDENTIFIED_DESC @29
  SAY IDENTIFIED_DESC @29

COPY ~ShapechangerKit/spl/USSC03A.spl~ ~override~
  SAY NAME1 @30
  SAY NAME2 @30
  SAY UNIDENTIFIED_DESC @31
  SAY IDENTIFIED_DESC @31
COPY ~ShapechangerKit/spl/USSC04A.spl~ ~override~
  SAY NAME1 @32
  SAY NAME2 @32
  SAY UNIDENTIFIED_DESC @33
  SAY IDENTIFIED_DESC @33
COPY ~ShapechangerKit/spl/USSC05A.spl~ ~override~
  SAY NAME1 @34
  SAY NAME2 @34
  SAY UNIDENTIFIED_DESC @35
  SAY IDENTIFIED_DESC @35
COPY ~ShapechangerKit/spl/USSC06A.spl~ ~override~
  SAY NAME1 @36
  SAY NAME2 @36
  SAY UNIDENTIFIED_DESC @37
  SAY IDENTIFIED_DESC @37
COPY ~ShapechangerKit/spl/USSC06B.spl~ ~override~
  SAY NAME1 @38
  SAY NAME2 @38
  SAY UNIDENTIFIED_DESC @39
  SAY IDENTIFIED_DESC @39
COPY ~ShapechangerKit/spl/USSC06C.spl~ ~override~
  SAY NAME1 @40
  SAY NAME2 @40
  SAY UNIDENTIFIED_DESC @41
  SAY IDENTIFIED_DESC @41
COPY ~ShapechangerKit/spl/USSC06D.spl~ ~override~
  SAY NAME1 @42
  SAY NAME2 @42
  SAY UNIDENTIFIED_DESC @43
  SAY IDENTIFIED_DESC @43
COPY ~ShapechangerKit/spl/USSC06E.spl~ ~override~
  SAY NAME1 @44
  SAY NAME2 @44
  SAY UNIDENTIFIED_DESC @45
  SAY IDENTIFIED_DESC @45
COPY ~ShapechangerKit/spl/USSC07A.spl~ ~override~
  SAY NAME1 @46
  SAY NAME2 @46
  SAY UNIDENTIFIED_DESC @47
  SAY IDENTIFIED_DESC @47
COPY ~ShapechangerKit/spl/USSC08A.spl~ ~override~
  SAY NAME1 @48
  SAY NAME2 @48
  SAY UNIDENTIFIED_DESC @49
  SAY IDENTIFIED_DESC @49
COPY ~ShapechangerKit/spl/USSC10A.spl~ ~override~
COPY ~ShapechangerKit/spl/USSC11A.spl~ ~override~
  SAY NAME1 @50
  SAY NAME2 @50
  SAY UNIDENTIFIED_DESC @51
  SAY IDENTIFIED_DESC @51
COPY ~ShapechangerKit/spl/USSC12A.spl~ ~override~
  SAY NAME1 @52
  SAY NAME2 @52
  SAY UNIDENTIFIED_DESC @53
  SAY IDENTIFIED_DESC @53
COPY ~ShapechangerKit/spl/USSC12B.spl~ ~override~
COPY ~ShapechangerKit/spl/USSC12C.spl~ ~override~


/*
COPY ~AlchemistKit/spl/(AL)040.spl~ ~override~
  SAY NAME1 @18
  SAY NAME2 @18
  SAY UNIDENTIFIED_DESC @19
  SAY IDENTIFIED_DESC @19
*/


////HLAS////

COPY ~ShapechangerKit/spl/USSCHLA1.spl~ ~override~
  SAY NAME1 @54
  SAY NAME2 @54
  SAY UNIDENTIFIED_DESC @55
  SAY IDENTIFIED_DESC @55
COPY ~ShapechangerKit/spl/USSCHLA2.spl~ ~override~
  SAY NAME1 @56
  SAY NAME2 @56
  SAY UNIDENTIFIED_DESC @57
  SAY IDENTIFIED_DESC @57
COPY ~ShapechangerKit/spl/USSCHLA3.spl~ ~override~
  SAY NAME1 @58
  SAY NAME2 @58
  SAY UNIDENTIFIED_DESC @59
  SAY IDENTIFIED_DESC @59
COPY ~ShapechangerKit/spl/USSCHLA4.spl~ ~override~
  SAY NAME1 @60
  SAY NAME2 @60
  SAY UNIDENTIFIED_DESC @61
  SAY IDENTIFIED_DESC @61
COPY ~ShapechangerKit/spl/USSCHLA5.spl~ ~override~
  SAY NAME1 @62
  SAY NAME2 @62
  SAY UNIDENTIFIED_DESC @63
  SAY IDENTIFIED_DESC @63
COPY ~ShapechangerKit/spl/USSCHLA6.spl~ ~override~
  SAY NAME1 @64
  SAY NAME2 @64
  SAY UNIDENTIFIED_DESC @65
  SAY IDENTIFIED_DESC @65
COPY ~ShapechangerKit/spl/USSCHLA7.spl~ ~override~
  SAY NAME1 @66
  SAY NAME2 @66
  SAY UNIDENTIFIED_DESC @67
  SAY IDENTIFIED_DESC @67
COPY ~ShapechangerKit/spl/USSCHLA8.spl~ ~override~
  SAY NAME1 @68
  SAY NAME2 @68
  SAY UNIDENTIFIED_DESC @69
  SAY IDENTIFIED_DESC @69

////////////////////////////////////////
/////////DIALOGUES//////////////////////
////////////////////////////////////////

//////////////////////////////////////////////////////////
////////////////////////ICONS/////////////////////////////
//////////////////////////////////////////////////////////


//COPY ~ShapechangerKit/bam/XXXX.bam~ ~override~


//COPY ~ShapechangerKit/bam/bulk_copy~ ~override~
COPY ~ShapechangerKit/bam~ ~override~


/*
ADD_PROJECTILE      ~AlchemistKit/pro/USALG02.PRO~
        COPY ~AlchemistKit/itm/(AL)010.ITM~ ~override/(AL)010.ITM~ 
            WRITE_SHORT   0x09c ~%USALG02%~
            SAY NAME1 @6
            SAY NAME2 @6
            SAY DESC @12

ADD_PROJECTILE ~AlchemistKit/pro/USALPG1.PRO~
COPY ~AlchemistKit/spl/(AL)064B.spl~ ~override~
READ_LONG 0x64 "abil_off"
READ_SHORT 0x68 "abil_num"
SET "delta" = 0
FOR (index = 0; index < abil_num; index = index + 1) BEGIN
WRITE_SHORT (%abil_off% + (0x28 * %index%) + 0x26) ~%USALPG1%~
END
*/
