Skip to content

Commit

Permalink
Collated v33.5 content
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMWWallace committed Oct 11, 2020
1 parent a240cad commit 431b3d1
Show file tree
Hide file tree
Showing 376 changed files with 7,432 additions and 11,821 deletions.
30 changes: 15 additions & 15 deletions stratagems/abazigal/abazigal_enclave.tpa
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
LAF include STR_VAR file=dragon_shared.tph locbase=dragon END
LAF include STR_VAR file=caster_shared.tph locbase=caster_shared END
INCLUDE ~%scsroot%/lib/ai_wrap.tph~
INCLUDE ~%MOD_FOLDER%/lib/ai_wrap.tph~

DEFINE_ACTION_FUNCTION abazigal_enclave BEGIN

Expand Down Expand Up @@ -35,9 +35,9 @@ DEFINE_ACTION_FUNCTION abazigal_misc BEGIN
ACTION_IF !enhanced_edition BEGIN
LAF check_ini STR_VAR ini=No_Lizard_Biff RET value END
ACTION_IF value BEGIN
LAF install STR_VAR overwrite=0 location=animations postfix=bam file=all END
LAF install INT_VAR overwrite=0 STR_VAR location=animations postfix=bam file=all END
END ELSE BEGIN
MAKE_BIFF dw#liza BEGIN ~%scsroot%/%component_loc%/animations~ ~.*\.bam~ END
MAKE_BIFF dw#liza BEGIN ~%MOD_FOLDER%/%component_loc%/animations~ ~.*\.bam~ END
END
END

Expand Down Expand Up @@ -145,7 +145,7 @@ DEFINE_ACTION_FUNCTION abazigal_beholder BEGIN

// tyrant golems

LAF color STR_VAR blue=20 RET tygol_color=color END
LAF color INT_VAR blue=20 RET tygol_color=color END
MAKE_PATCH
say_both_names=>2201
resist_acid=>100
Expand Down Expand Up @@ -258,7 +258,7 @@ DEFINE_ACTION_FUNCTION abazigal_fourdragons BEGIN
LAF define_difficulty STR_VAR type=dragon RET difficulty_variable END
LAF abazigal_ar6000 END
LAF abazigal_rope END
COPY "%scsroot%/%component_loc%/resource/dragon12.wav" override
COPY "%MOD_FOLDER%/%component_loc%/resource/dragon12.wav" override

// cutspy

Expand All @@ -268,7 +268,7 @@ DEFINE_ACTION_FUNCTION abazigal_fourdragons BEGIN

// black dragons are clones of an unaltered Nizi

COPY ~%scsroot%/%component_loc%/unaltered/dragblac.cre~ ~override/dw#abbl1.cre~
COPY ~%MOD_FOLDER%/%component_loc%/unaltered/dragblac.cre~ ~override/dw#abbl1.cre~

MAKE_PATCH
script_override=>~~
Expand All @@ -294,7 +294,7 @@ DEFINE_ACTION_FUNCTION abazigal_fourdragons BEGIN
// green dragon is a clone of the WK dragon with minor variations


COPY ~%scsroot%/%component_loc%/unaltered/fsdragon.cre~ ~override/dw#abgre.cre~
COPY ~%MOD_FOLDER%/%component_loc%/unaltered/fsdragon.cre~ ~override/dw#abgre.cre~

MAKE_PATCH
script_override=>~~
Expand All @@ -319,7 +319,7 @@ DEFINE_ACTION_FUNCTION abazigal_fourdragons BEGIN

// red dragon is basically a Saladrex clone

COPY ~%scsroot%/%component_loc%/unaltered/gorsal.cre~ ~override/dw#abred.cre~
COPY ~%MOD_FOLDER%/%component_loc%/unaltered/gorsal.cre~ ~override/dw#abred.cre~

MAKE_PATCH
say_both_names=>3024
Expand Down Expand Up @@ -362,7 +362,7 @@ DEFINE_ACTION_FUNCTION abazigal_yellowdragon BEGIN
// Create the yellow dragon Anadramatis
// Start with an unmodified version of the Yellow Dragon - we'll hot-modify

// COPY ~%scsroot%/%component_loc%/unaltered/dragyell.cre~ ~override/dw#abdgy.cre~
// COPY ~%MOD_FOLDER%/%component_loc%/unaltered/dragyell.cre~ ~override/dw#abdgy.cre~
MAKE_PATCH
say_both_names=>16050
allegiance=>neutral
Expand Down Expand Up @@ -399,7 +399,7 @@ DEFINE_ACTION_FUNCTION abazigal_yellowdragon BEGIN

LAF install STR_VAR files=~yellow.d dw#abyda.itm dw#abamu.itm~ location=resource END

//COMPILE "%scsroot%/abazigal/resource/inter_haerdalis.d" EVALUATE_BUFFER
//COMPILE "%MOD_FOLDER%/abazigal/resource/inter_haerdalis.d" EVALUATE_BUFFER
LAF install STR_VAR files=inter_haerdalis.d location=resource END // these have to be after yellow.d - weidu seems to get upset if you do multiple I_C_T into the same block in one .d
// dragon armour

Expand Down Expand Up @@ -459,12 +459,12 @@ DEFINE_ACTION_FUNCTION abazigal_new_ar6008 BEGIN

// copy over the new TIS / PVRZ files
ACTION_IF enhanced_edition BEGIN
COPY "%scsroot%/%component_loc%/ar6008/ar6008.tis" override
ACTION_BASH_FOR "%scsroot%/%component_loc%/ar6008" ".*\.pvrz" BEGIN
COPY "%MOD_FOLDER%/%component_loc%/ar6008/ar6008.tis" override
ACTION_BASH_FOR "%MOD_FOLDER%/%component_loc%/ar6008" ".*\.pvrz" BEGIN
COPY "%BASH_FOR_FILESPEC%" override
END
END ELSE BEGIN
COPY "%scsroot%/%component_loc%/ar6008/ar6008v.tis" "override/ar6008.tis"
COPY "%MOD_FOLDER%/%component_loc%/ar6008/ar6008v.tis" "override/ar6008.tis"
END

ACTION_FOR_EACH suffix IN sr lm ht BEGIN
Expand Down Expand Up @@ -891,7 +891,7 @@ DEFINE_ACTION_FUNCTION abazigal_new_ar6012 BEGIN

// invert! adding recolored tis/pvrz and height maps in the process

LAF flip_area STR_VAR area=ar6012 file_loc="%scsroot%/%component_loc%/ar6012" END
LAF flip_area STR_VAR area=ar6012 file_loc="%MOD_FOLDER%/%component_loc%/ar6012" END

// convert LHS exit to AR6008 exit; redo blocked entrance

Expand Down Expand Up @@ -1138,4 +1138,4 @@ BEGIN
SET blue=green/4
SET red=red/6
SET green=(2*green)/3
END
END
12 changes: 6 additions & 6 deletions stratagems/abazigal/ssl/dw#abdgy.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ END
///////////////////////////////////////////////////////////////////////


INCLUDE FILE(%scsroot%/dragon/ssl/dragondef.ssl)
INCLUDE FILE(%scsroot%/dragon/ssl/dragonsetup.ssl)
INCLUDE FILE(%MOD_FOLDER%/dragon/ssl/dragondef.ssl)
INCLUDE FILE(%MOD_FOLDER%/dragon/ssl/dragonsetup.ssl)


VARIABLE(/*slowspell*/=)
Expand Down Expand Up @@ -141,7 +141,7 @@ END
///////////////////////////////////////////////////////////////////


INCLUDE FILE(%scsroot%/genai/ssl/chase.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/chase.ssl)

////////////////////////////////////////////////////////////////////////////
//// Contingency
Expand All @@ -164,7 +164,7 @@ END
//// Wish enemy defences down
/////////////////////////////////////////////////////////////////////////////

INCLUDE FILE(%scsroot%/mage/ssl/combatblocks/wish.ssl)
INCLUDE FILE(%MOD_FOLDER%/mage/ssl/combatblocks/wish.ssl)

//////////////////////////////////////////////////////////////////////////
/// Use breath weapon as often as possible
Expand Down Expand Up @@ -196,7 +196,7 @@ END
/// Use wing buffet to drive away anything at all dangerous
//////////////////////////////////////////////////////////////////////////

INCLUDE FILE (%scsroot%/dragon/ssl/wingbuffet.ssl)
INCLUDE FILE (%MOD_FOLDER%/dragon/ssl/wingbuffet.ssl)


/////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -506,7 +506,7 @@ END
///// Melee phase
//////////////////////////////////////////////////////////////////////////////////

INCLUDE FILE(%scsroot%/dragon/ssl/melee.ssl)
INCLUDE FILE(%MOD_FOLDER%/dragon/ssl/melee.ssl)

////////////////////////////////////////////////////////
/// Closedown: avoid interaction with other scripts
Expand Down
2 changes: 1 addition & 1 deletion stratagems/abazigal/ssl/dw#abgre.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
VARIABLE(FastDragonBreath=DragonBreath)
VARIABLE(AbazigalEnclave=True)

INCLUDE FILE(%scsroot%/dragon/ssl/draggree.ssl)
INCLUDE FILE(%MOD_FOLDER%/dragon/ssl/draggree.ssl)
10 changes: 5 additions & 5 deletions stratagems/abazigal/ssl/dw#abred.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// Usual pre-battle stuff
///////////////////////////////////////////////////////////////////////

INCLUDE FILE(%scsroot%/dragon/ssl/dragondef.ssl)
INCLUDE FILE(%MOD_FOLDER%/dragon/ssl/dragondef.ssl)

IF
!GlobalTimerNotExpired("initialstoneskin","LOCALS")
Expand All @@ -20,7 +20,7 @@ THEN
END


INCLUDE FILE(%scsroot%/dragon/ssl/dragonsetup.ssl)
INCLUDE FILE(%MOD_FOLDER%/dragon/ssl/dragonsetup.ssl)

///////////////////////////////////////////////////////////////////////
///Initial defensive trigger
Expand Down Expand Up @@ -142,13 +142,13 @@ END
///////////////////////////////////////////////////////////////////


INCLUDE FILE(%scsroot%/genai/ssl/chase.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/chase.ssl)

//////////////////////////////////////////////////////////////////////////
/// Use wing buffet to drive away anything at all dangerous
//////////////////////////////////////////////////////////////////////////

INCLUDE FILE (%scsroot%/dragon/ssl/wingbuffet.ssl)
INCLUDE FILE (%MOD_FOLDER%/dragon/ssl/wingbuffet.ssl)

/////////////////////////////////////////////////////////////////////////
/// try a dispel magic
Expand Down Expand Up @@ -351,7 +351,7 @@ END
///// Melee phase
//////////////////////////////////////////////////////////////////////////////////

INCLUDE FILE(%scsroot%/dragon/ssl/melee.ssl)
INCLUDE FILE(%MOD_FOLDER%/dragon/ssl/melee.ssl)

////////////////////////////////////////////////////////
/// Closedown: avoid interaction with other scripts
Expand Down
2 changes: 1 addition & 1 deletion stratagems/abazigal/ssl/eyesek01.ssl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
INCLUDE FILE (%scsroot%\lib\ssl\shared_definitions.ssl)
INCLUDE FILE (%MOD_FOLDER%\lib\ssl\shared_definitions.ssl)



Expand Down
4 changes: 2 additions & 2 deletions stratagems/ai/spider.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ DEFINE_ACTION_FUNCTION spider BEGIN
ACTION_IF is_bg1 BEGIN
LAF edit_creature STR_VAR creature= ~%tutu_scripts%pidland %tutu_var%spidhu %tutu_var%spidsw~ editstring=~strip_script=>"%tutu_var%wtasight" strip_scs_scripts=>null strip_script=>dw#spids insert_script_low=>dw#spids~ END
LAF edit_creature STR_VAR creature=~%tutu_scripts%pidphas %tutu_var%spidph~ editstring=~strip_script=>"%tutu_var%wtasight" strip_scs_scripts=>null add_spells=>INNATE_PHASE_SPIDER_TELEPORT~ END
LAF edit_creature STR_VAR tv=1 creature=~spidgi spidwr~ editstring=~strip_script=>"%tutu_var%wtasight" strip_scs_scripts=>null strip_script=>dw#spidg insert_script_low=>dw#spidg add_spells=>INNATE_SPIDER_WEB~ END
LAF edit_creature INT_VAR tv=1 STR_VAR creature=~spidgi spidwr~ editstring=~strip_script=>"%tutu_var%wtasight" strip_scs_scripts=>null strip_script=>dw#spidg insert_script_low=>dw#spidg add_spells=>INNATE_SPIDER_WEB~ END
END
ACTION_IF is_bg2 BEGIN
LAF edit_creature STR_VAR creature=~sensmsp spidhu01 spidsm01 spidsm02 spidsw01 spspid07 spspider~ editstring=~strip_scs_scripts=>null insert_script_low=>dw#spids~ END
Expand All @@ -88,7 +88,7 @@ DEFINE_ACTION_FUNCTION spider BEGIN

ACTION_IF is_bg1 BEGIN

LAF edit_creature STR_VAR creature=centeo tv=1 editstring=~remove_items=>antiweb add_items=>antiweb~ END
LAF edit_creature INT_VAR tv=1 STR_VAR creature=centeo editstring=~remove_items=>antiweb add_items=>antiweb~ END



Expand Down
2 changes: 1 addition & 1 deletion stratagems/ai/ssl/ccrawler.ssl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
INCLUDE FILE(%scsroot%/lib/ssl/shared_definitions.ssl)
INCLUDE FILE(%MOD_FOLDER%/lib/ssl/shared_definitions.ssl)

IF TRIGGER
TargetBlock(EnemiesInOrder)
Expand Down
14 changes: 7 additions & 7 deletions stratagems/ai/ssl/golem.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ VARIABLE(IgnoreCloud=True)
VARIABLE(MyWeaponStrength=4)
VARIABLE(MyWeaponDamageType=Crushing)

INCLUDE FILE(%scsroot%/lib/ssl/shared_definitions.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/initial.ssl)
INCLUDE FILE(%MOD_FOLDER%/lib/ssl/shared_definitions.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/initial.ssl)

BEGIN_ACTION_DEFINITION
Name(GolemSpell)
Expand Down Expand Up @@ -84,9 +84,9 @@ THEN DO
Action(GolemSpell,GOLEM_CONE_OF_COLD,18|100|100)
END

INCLUDE FILE(%scsroot%/genai/ssl/chase.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/dw#wtacor.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/move.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/chase.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/random.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/chase.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/dw#wtacor.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/move.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/chase.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/random.ssl)

2 changes: 1 addition & 1 deletion stratagems/ai/ssl/hama.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
////////////////// Starts hostile, so no need to handle that
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

INCLUDE FILE(%scsroot%/lib/ssl/shared_definitions.ssl)
INCLUDE FILE(%MOD_FOLDER%/lib/ssl/shared_definitions.ssl)


////// easy version
Expand Down
2 changes: 1 addition & 1 deletion stratagems/ai/ssl/sirspell.ssl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VARIABLE(scsspellsubstitute1=!StateCheck(scstarget,STATE_NOT_TARGETABLE))
VARIABLE(scsspellsubstitute2=!StateCheck(scstarget,STATE_INVISIBLE))

INCLUDE FILE(%scsroot%/lib/ssl/shared_definitions.ssl)
INCLUDE FILE(%MOD_FOLDER%/lib/ssl/shared_definitions.ssl)


IF
Expand Down
12 changes: 6 additions & 6 deletions stratagems/ai/ssl/spider.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//// Definitions
//////////////////////////////////////////////////////////////////////

INCLUDE FILE(%scsroot%/lib/ssl/shared_definitions.ssl)
INCLUDE FILE(%MOD_FOLDER%/lib/ssl/shared_definitions.ssl)


BEGIN_ACTION_DEFINITION
Expand Down Expand Up @@ -145,12 +145,12 @@ END
//////////////////////////////////////////////////////////////////////

VARIABLE(scscloudmelee=!Range([PC],8))
INCLUDE FILE(%scsroot%/genai/ssl/initial.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/initial.ssl)
VARIABLE(scscloudmelee=See([PC])!Range([PC],8))
VARIABLE(scscloudresponse=MoveToObject([PC]))
INCLUDE FILE(%scsroot%/genai/ssl/fleecloud.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/cloud_stop.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/chase.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/fleecloud.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/cloud_stop.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/chase.ssl)

//////////////////////////////////////////////////////////////////////
//// Phase-spider part
Expand Down Expand Up @@ -471,4 +471,4 @@ END
//////////////////////////////////////////////////////////////////////


INCLUDE FILE(%scsroot%/genai/ssl/chase.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/chase.ssl)
4 changes: 2 additions & 2 deletions stratagems/archive/ii0.ssl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ VARIABLE(HasNoContingency=True)

BEGIN LOOP(scsspellsubstitute1|| )
BEGIN LOOP(scsspellsubstitute2|| )
INCLUDE FILE(%scsroot%/mage/ssl/mage_definitions.ssl)
INCLUDE FILE(%MOD_FOLDER%/mage/ssl/mage_definitions.ssl)
END LOOP
END LOOP

Expand Down Expand Up @@ -167,4 +167,4 @@ END
////////////////////////////////////////////////////////////////////////////////////////


INCLUDE FILE(%scsroot%/mage/ssl/bg2/main/dw#mage.ssl)
INCLUDE FILE(%MOD_FOLDER%/mage/ssl/bg2/main/dw#mage.ssl)
2 changes: 1 addition & 1 deletion stratagems/ascension/gromnir.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ DEFINE_ACTION_FUNCTION gromnir_cre BEGIN
enforce_class=>null
genai=>~hla prof~
END
LAF edit_creature STR_VAR creature=~gromnir fingrom~ allow_missing=1 edits=patch_data END
LAF edit_creature INT_VAR allow_missing=1 STR_VAR creature=~gromnir fingrom~ edits=patch_data END

END
DEFINE_ACTION_FUNCTION gromnir_tougher BEGIN
Expand Down
20 changes: 10 additions & 10 deletions stratagems/ascension/ssl/abaz2.ssl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
VARIABLE(IsKensai=True)
VARIABLE(IsHighLevel=True)

INCLUDE FILE(%scsroot%/lib/ssl/shared_definitions.ssl)
INCLUDE FILE(%MOD_FOLDER%/lib/ssl/shared_definitions.ssl)

BEGIN LOOP(!StateCheck\(scstarget,STATE_NOT_TARGETABLE\)|| )
BEGIN LOOP(!StateCheck\(scstarget,STATE_INVISIBLE\) || )
INCLUDE FILE(%scsroot%/caster_shared/caster_definitions.ssl)
INCLUDE FILE(%MOD_FOLDER%/caster_shared/caster_definitions.ssl)
END LOOP
END LOOP

Expand All @@ -19,7 +19,7 @@ END


BEGIN LOOP(scscloudmelee||!Range([PC],8))
INCLUDE FILE(%scsroot%/genai/ssl/initial.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/initial.ssl)
END LOOP

BEGIN_ACTION_DEFINITION
Expand Down Expand Up @@ -62,20 +62,20 @@ END

BEGIN LOOP(MyWeaponStrength||5)
BEGIN LOOP(MyWeaponDamageType||Slashing)
INCLUDE FILE(%scsroot%/genai/ssl/hla.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/potionuse.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/hla.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/potionuse.ssl)

BEGIN LOOP(scscloudmelee||See([PC]) !Range([PC],8))
BEGIN LOOP(scscloudresponse||MoveToObject([PC]))
INCLUDE FILE(%scsroot%/genai/ssl/fleecloud.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/fleecloud.ssl)
END LOOP
END LOOP



INCLUDE FILE(%scsroot%/genai/ssl/chase.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/dw#wtacor.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/move.ssl)
INCLUDE FILE(%scsroot%/genai/ssl/chase.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/chase.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/dw#wtacor.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/move.ssl)
INCLUDE FILE(%MOD_FOLDER%/genai/ssl/chase.ssl)
END LOOP
END LOOP
Loading

0 comments on commit 431b3d1

Please sign in to comment.