Skip to content

Commit

Permalink
sc2: Added Creep Stomach unlock functions to gui triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMarinets committed Jun 17, 2024
1 parent 27e673d commit b552fa8
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 9 deletions.
12 changes: 6 additions & 6 deletions Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B.galaxy
Original file line number Diff line number Diff line change
Expand Up @@ -4941,12 +4941,6 @@ void libABFE498B_gf_AP_Triggers_Zerg_OverlordPneumatizedCarapace (int lp_player)
libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_OverlordSpeed", 1);
}

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

void libABFE498B_gf_AP_Triggers_Zerg_CorruptorCausticSpray (int lp_player) {
// Automatic Variable Declarations
// Implementation
Expand Down Expand Up @@ -5689,6 +5683,12 @@ void libABFE498B_gf_AP_Triggers_Zerg_MalignantCreep (int lp_player) {

}

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

void libABFE498B_gf_AP_Triggers_Zerg_KerriganKinteticBlast (int lp_player) {
// Automatic Variable Declarations
// Implementation
Expand Down
43 changes: 40 additions & 3 deletions Mods/ArchipelagoTriggers.SC2Mod/Triggers
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
0 - Not Present
1 - LotV main campaign only
2 - Any Protoss mission
3 - Any mission
3 - Any mission
</Comment>
</Element>
<Element Type="Variable" Id="BD0EB0FB">
Expand Down Expand Up @@ -327,7 +327,7 @@
0 - Not Present
1 - LotV main campaign only
2 - Any Protoss mission
3 - Any mission
3 - Any mission
</Comment>
</Element>
<Element Type="Variable" Id="50E9FC36">
Expand Down Expand Up @@ -3567,7 +3567,7 @@
libABFE498B_gf_AP_Triggers_Zerg_OverlordGenerateCreep, // 7
libABFE498B_gf_AP_Triggers_Zerg_OverlordAntennae, // 8
libABFE498B_gf_AP_Triggers_Zerg_OverlordPneumatizedCarapace, // 9
ap_triggers_PlayerConsumer_sig, // 10
libABFE498B_gf_AP_Triggers_Zerg_CreepStomach, // 10
ap_triggers_PlayerConsumer_sig, // 11
ap_triggers_PlayerConsumer_sig, // 12
ap_triggers_PlayerConsumer_sig, // 13
Expand Down Expand Up @@ -46980,6 +46980,7 @@
<Item Type="FunctionDef" Library="ABFE498B" Id="AD9BBB7A"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="F9AC760F"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="FA0C159C"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="6214A1C3"/>
</Element>
<Element Type="FunctionDef" Id="D421BE14">
<FlagAction/>
Expand Down Expand Up @@ -47416,6 +47417,42 @@
<Value>0</Value>
<ValueType Type="int"/>
</Element>
<Element Type="FunctionDef" Id="6214A1C3">
<Identifier>AP_Triggers_Zerg_CreepStomach</Identifier>
<Parameter Type="ParamDef" Library="ABFE498B" Id="E831CC94"/>
<FunctionCall Type="FunctionCall" Library="ABFE498B" Id="A7EAED1E"/>
</Element>
<Element Type="ParamDef" Id="E831CC94">
<ParameterType>
<Type Value="int"/>
</ParameterType>
<Default Type="Param" Library="ABFE498B" Id="50B221CE"/>
</Element>
<Element Type="Param" Id="50B221CE">
<Value>0</Value>
<ValueType Type="int"/>
</Element>
<Element Type="FunctionCall" Id="A7EAED1E">
<FunctionDef Type="FunctionDef" Library="Ntve" Id="9F8EF8FB"/>
<Parameter Type="Param" Library="ABFE498B" Id="541B0D70"/>
<Parameter Type="Param" Library="ABFE498B" Id="911B89FE"/>
<Parameter Type="Param" Library="ABFE498B" Id="AD3B2617"/>
</Element>
<Element Type="Param" Id="541B0D70">
<ParameterDef Type="ParamDef" Library="Ntve" Id="C7188352"/>
<Parameter Type="ParamDef" Library="ABFE498B" Id="E831CC94"/>
</Element>
<Element Type="Param" Id="911B89FE">
<ParameterDef Type="ParamDef" Library="Ntve" Id="7E5035EE"/>
<Value>AP_ZergCreepStomach</Value>
<ValueType Type="gamelink"/>
<ValueGameType Type="Upgrade"/>
</Element>
<Element Type="Param" Id="AD3B2617">
<ParameterDef Type="ParamDef" Library="Ntve" Id="3BFEECBB"/>
<Value>1</Value>
<ValueType Type="int"/>
</Element>
<Element Type="Category" Id="264418B4">
<Item Type="FunctionDef" Library="ABFE498B" Id="D81959AC"/>
<Item Type="FunctionDef" Library="ABFE498B" Id="17839D05"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ FunctionDef/Name/lib_ABFE498B_6024C7CE=AP_Triggers_Terran_unlockDeathHead
FunctionDef/Name/lib_ABFE498B_60946550=AP_Triggers_Terran_unlockPredatorResourceEfficiency
FunctionDef/Name/lib_ABFE498B_60A14146=AP_Triggers_Zerg_DevourerCorrosiveSpray
FunctionDef/Name/lib_ABFE498B_6101A959=AP_Triggers_unlockProtossForge3
FunctionDef/Name/lib_ABFE498B_6214A1C3=AP_Triggers_Zerg_CreepStomach
FunctionDef/Name/lib_ABFE498B_625FEE0F=AP_Triggers_Terran_unlockWingedNightmare
FunctionDef/Name/lib_ABFE498B_62B3CA06=AP_Triggers_Terran_unlockBunkerNeosteelBunker
FunctionDef/Name/lib_ABFE498B_62B90209=AP_Triggers_Zerg_ScourgeResourceEfficiency
Expand Down Expand Up @@ -1424,6 +1425,7 @@ ParamDef/Name/lib_ABFE498B_E61212E4=player
ParamDef/Name/lib_ABFE498B_E748B098=bitArrayValue
ParamDef/Name/lib_ABFE498B_E752E3D5=player
ParamDef/Name/lib_ABFE498B_E8198CCD=player
ParamDef/Name/lib_ABFE498B_E831CC94=player
ParamDef/Name/lib_ABFE498B_E8417809=player
ParamDef/Name/lib_ABFE498B_E9086A1B=player
ParamDef/Name/lib_ABFE498B_E92AB089=player
Expand Down

0 comments on commit b552fa8

Please sign in to comment.