Skip to content

Commit

Permalink
sc2: Adding unlock triggers for warp prism warp refraction
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMarinets committed Aug 14, 2024
1 parent facc03f commit 3808af2
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,7 @@ void libABFE498B_gf_AP_Triggers_unlockProtossWarCouncil (int lp_player, int lp_b
libABFE498B_gf_AP_Triggers_Protoss_unlockWrathwalkerAerialTracking, //25
libABFE498B_gf_AP_Triggers_Protoss_unlockReaverKhalaiReplicators, //26
libABFE498B_gf_AP_Triggers_Protoss_unlockDisruptorRestructuredThrusters, //27
ap_triggers_PlayerConsumer_sig, //28
libABFE498B_gf_AP_Triggers_Protoss_unlockWarpPrismWarpRefraction, //28
ap_triggers_PlayerConsumer_sig //29
);
}
Expand Down Expand Up @@ -7261,6 +7261,12 @@ void libABFE498B_gf_AP_Triggers_Protoss_unlockWarpPrismWarConfiguration (int lp_
libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_WarpPrismWarConfiguration", 1);
}

void libABFE498B_gf_AP_Triggers_Protoss_unlockWarpPrismWarpRefraction (int lp_player) {
// Automatic Variable Declarations
// Implementation
libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_WarpPrismWarpRefraction", 1);
}

void libABFE498B_gf_AP_Triggers_Protoss_unlockObserverGraviticBoosters (int lp_player) {
// Automatic Variable Declarations
// Implementation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,7 @@ void libABFE498B_gf_AP_Triggers_Protoss_unlockDestroyerResourceEfficiency (int l
void libABFE498B_gf_AP_Triggers_Protoss_unlockWarpPrismGraviticDrive (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockWarpPrismPhaseBlaster (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockWarpPrismWarConfiguration (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockWarpPrismWarpRefraction (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockObserverGraviticBoosters (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockObserverSensorArray (int lp_player);
void libABFE498B_gf_AP_Triggers_Protoss_unlockReaverScarabDamage (int lp_player);
Expand Down
40 changes: 39 additions & 1 deletion Mods/ArchipelagoTriggers.SC2Mod/Triggers
Original file line number Diff line number Diff line change
Expand Up @@ -4577,7 +4577,7 @@
libABFE498B_gf_AP_Triggers_Protoss_unlockWrathwalkerAerialTracking, //25
libABFE498B_gf_AP_Triggers_Protoss_unlockReaverKhalaiReplicators, //26
libABFE498B_gf_AP_Triggers_Protoss_unlockDisruptorRestructuredThrusters, //27
ap_triggers_PlayerConsumer_sig, //28
libABFE498B_gf_AP_Triggers_Protoss_unlockWarpPrismWarpRefraction, //28
ap_triggers_PlayerConsumer_sig //29
);
</ScriptCode>
Expand Down Expand Up @@ -59371,6 +59371,7 @@
<Item Type="FunctionDef" Library="ABFE498B" Id="DD51D531"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="D97A7F35"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="B3FFF76C"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="40AC7B9E"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="5ECF64F0"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="24E434DB"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="D9445E73"/>
Expand Down Expand Up @@ -61431,6 +61432,43 @@
<ValueType Type="gamelink"/>
<ValueGameType Type="Upgrade"/>
</Element>
<Element Type="FunctionDef" Id="40AC7B9E">
<Identifier>AP_Triggers_Protoss_unlockWarpPrismWarpRefraction</Identifier>
<FlagAction/>
<Parameter Type="ParamDef" Library="ABFE498B" Id="99018E61"/>
<FunctionCall Type="FunctionCall" Library="ABFE498B" Id="FB531E82"/>
</Element>
<Element Type="ParamDef" Id="99018E61">
<ParameterType>
<Type Value="int"/>
</ParameterType>
<Default Type="Param" Library="ABFE498B" Id="ACF0CE82"/>
</Element>
<Element Type="Param" Id="ACF0CE82">
<Value>0</Value>
<ValueType Type="int"/>
</Element>
<Element Type="FunctionCall" Id="FB531E82">
<FunctionDef Type="FunctionDef" Library="Ntve" Id="9F8EF8FB"/>
<Parameter Type="Param" Library="ABFE498B" Id="C4558039"/>
<Parameter Type="Param" Library="ABFE498B" Id="5C1CDA3D"/>
<Parameter Type="Param" Library="ABFE498B" Id="BDFF927B"/>
</Element>
<Element Type="Param" Id="C4558039">
<ParameterDef Type="ParamDef" Library="Ntve" Id="C7188352"/>
<Parameter Type="ParamDef" Library="ABFE498B" Id="99018E61"/>
</Element>
<Element Type="Param" Id="5C1CDA3D">
<ParameterDef Type="ParamDef" Library="Ntve" Id="7E5035EE"/>
<Value>AP_WarpPrismWarpRefraction</Value>
<ValueType Type="gamelink"/>
<ValueGameType Type="Upgrade"/>
</Element>
<Element Type="Param" Id="BDFF927B">
<ParameterDef Type="ParamDef" Library="Ntve" Id="3BFEECBB"/>
<Value>1</Value>
<ValueType Type="int"/>
</Element>
<Element Type="FunctionDef" Id="5ECF64F0">
<FlagAction/>
<Parameter Type="ParamDef" Library="ABFE498B" Id="285F3328"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ FunctionDef/Name/lib_ABFE498B_3F28D2CD=AP_Triggers_Zerg_unlockMissileAttacks
FunctionDef/Name/lib_ABFE498B_3F5DBF15=AP_Triggers_Terran_unlockInfantryWeapon
FunctionDef/Name/lib_ABFE498B_402B9D80=AP_Triggers_Terran_unlockGoliathResourceEfficiency
FunctionDef/Name/lib_ABFE498B_40A6FF53=AP_Triggers_Protoss_unlockDisruptor
FunctionDef/Name/lib_ABFE498B_40AC7B9E=AP_Triggers_Protoss_unlockWarpPrismWarpRefraction
FunctionDef/Name/lib_ABFE498B_418B0A62=AP_Triggers_Zerg_unlockGuardian
FunctionDef/Name/lib_ABFE498B_41E0100A=AP_Triggers_Terran_unlockVultureAutoLaunchers
FunctionDef/Name/lib_ABFE498B_4245BB6A=AP_Triggers_Terran_unlockWarhoundReinforcedPlating
Expand Down Expand Up @@ -1369,6 +1370,7 @@ ParamDef/Name/lib_ABFE498B_9850DAE7=player
ParamDef/Name/lib_ABFE498B_987142D7=player
ParamDef/Name/lib_ABFE498B_98B03A56=player
ParamDef/Name/lib_ABFE498B_98D91428=player
ParamDef/Name/lib_ABFE498B_99018E61=player
ParamDef/Name/lib_ABFE498B_99C5AFE4=player
ParamDef/Name/lib_ABFE498B_9A210C36=bitArrayValue
ParamDef/Name/lib_ABFE498B_9A8FE258=player
Expand Down

0 comments on commit 3808af2

Please sign in to comment.