Skip to content

Commit

Permalink
sc2: Ensured factory is unlocked with devastator turret
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMarinets committed Jul 1, 2024
1 parent 4b12ebd commit 04d214d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1913,6 +1913,7 @@ void libABFE498B_gf_AP_Triggers_Terran_unlockHiveMindEmulator (int lp_player) {
void libABFE498B_gf_AP_Triggers_Terran_unlockDevastatorTurret (int lp_player) {
// Automatic Variable Declarations
// Implementation
TechTreeUnitAllow(lp_player, "AP_Factory", true);
TechTreeUnitAllow(lp_player, "AP_DevastatorTurret", true);
}

Expand Down
21 changes: 21 additions & 0 deletions Mods/ArchipelagoTriggers.SC2Mod/Triggers
Original file line number Diff line number Diff line change
Expand Up @@ -13206,11 +13206,32 @@
<ValueGameType Type="Unit"/>
</Element>
<Element Type="FunctionDef" Id="C9EDD088">
<FunctionCall Type="FunctionCall" Library="ABFE498B" Id="FFA29486"/>
<Identifier>AP_Triggers_Terran_unlockDevastatorTurret</Identifier>
<FlagAction/>
<Parameter Type="ParamDef" Library="ABFE498B" Id="54F7DF50"/>
<FunctionCall Type="FunctionCall" Library="ABFE498B" Id="D675818F"/>
</Element>
<Element Type="FunctionCall" Id="FFA29486">
<FunctionDef Type="FunctionDef" Library="Ntve" Id="51A273F5"/>
<Parameter Type="Param" Library="ABFE498B" Id="C907BD9B"/>
<Parameter Type="Param" Library="ABFE498B" Id="C30F9EE6"/>
<Parameter Type="Param" Library="ABFE498B" Id="6E878307"/>
</Element>
<Element Type="Param" Id="C907BD9B">
<ParameterDef Type="ParamDef" Library="Ntve" Id="B15D29C1"/>
<Parameter Type="ParamDef" Library="ABFE498B" Id="54F7DF50"/>
</Element>
<Element Type="Param" Id="C30F9EE6">
<ParameterDef Type="ParamDef" Library="Ntve" Id="BC66D9AD"/>
<Value>AP_Factory</Value>
<ValueType Type="gamelink"/>
<ValueGameType Type="Unit"/>
</Element>
<Element Type="Param" Id="6E878307">
<ParameterDef Type="ParamDef" Library="Ntve" Id="C26556EA"/>
<Preset Type="PresetValue" Library="Ntve" Id="00000106"/>
</Element>
<Element Type="ParamDef" Id="54F7DF50">
<ParameterType>
<Type Value="int"/>
Expand Down

0 comments on commit 04d214d

Please sign in to comment.