Skip to content

Commit

Permalink
BG1NPC.tp2 Updates
Browse files Browse the repository at this point in the history
Add area script assign macro for BGEE.
Add X#AJSHLD and P#BOW to ITEM_USE.2DA.
  • Loading branch information
Bryan Dunne committed Jun 3, 2014
1 parent 01261b5 commit af0f485
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions bg1npc.tp2
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ AUTHOR ~The BG1 NPC Project Team: forums.gibberlings3.net/index.php?showforum=45
/* MODDER */

/* WeiDU versions newer than v203 allow tp2 level version listing in the .log for troubleshooting */
VERSION ~v21_PRERELEASE_3_AstroBryGuy_20140521~
VERSION ~v21_PRERELEASE_20140602~
/* Launch the readme file immediately. */
/* Isaya : display in native selected language if available, otherwise english */
README ~bg1npc/readme-bg1npc-%LANGUAGE%.html~ ~bg1npc/readme-bg1npc.html~
Expand Down Expand Up @@ -2053,9 +2053,13 @@ END
COMPILE_BAF_TO_BCS
BUT_ONLY_IF_IT_CHANGES

/* Tutu Area Script Assignment Patching: All Areas Script ID'd */
/* Area Script Assignment Patching: All Areas Script ID'd */
/* Tutu */
ACTION_IF GAME_IS ~tutu tutu_totsc~ THEN BEGIN
INCLUDE ~BG1NPC\LIB\tutu_area_script_assign.tph~
END ELSE ACTION_IF GAME_IS ~bgee~ THEN BEGIN
/* BGEE */
INCLUDE ~BG1NPC\LIB\bgee_area_script_assign.tph~
END

/* Area Type Flagging */
Expand Down Expand Up @@ -2213,6 +2217,14 @@ BEGIN @1007
WRITE_ASCII 0x44 ~GSHLD03~ #8 // ground icon8
END

/* BGEE: Add Ajantis' shield to item_use.2da */
ACTION_IF GAME_IS ~bgee~ THEN BEGIN
APPEND ~item_use.2da~ ~x#ajshld AJANTIS 9382 2~
UNLESS ~x#ajshld~
COPY_EXISTING ~item_use.2da~ ~override~
PRETTY_PRINT_2DA
END

/* Give Ajantis his shield and a bastard sword (no proficiency) */
COPY_EXISTING ~%tutu_var%ajanti.cre~ ~override~
~%tutu_var%ajanti4.cre~ ~override~
Expand Down Expand Up @@ -3681,6 +3693,14 @@ BEGIN @1007
SAY NAME1 @249
SAY NAME2 @249
SAY DESC @250

/* BGEE: Add Kivan's bow to item_use.2da */
ACTION_IF GAME_IS ~bgee~ THEN BEGIN
APPEND ~item_use.2da~ ~P#BOW KIVAN 9382 2~
UNLESS ~P#BOW~
COPY_EXISTING ~item_use.2da~ ~override~
PRETTY_PRINT_2DA
END

/* creatures */
COPY ~BG1NPC/Phase2/cre/p#imanel.cre~ ~override~
Expand Down

0 comments on commit af0f485

Please sign in to comment.