Skip to content

Commit

Permalink
Add unlock triggers for Sky Fury
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziktofel committed Sep 11, 2024
1 parent f8f1859 commit 929669a
Show file tree
Hide file tree
Showing 7 changed files with 275 additions and 7 deletions.
30 changes: 27 additions & 3 deletions Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B.galaxy
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ void libABFE498B_gf_AP_Triggers_unlockTerranUnits (int lp_player, int lp_bitArra
libABFE498B_gf_AP_Triggers_Terran_unlockHercules, //25
libABFE498B_gf_AP_Triggers_Terran_unlockHERC, //26
libABFE498B_gf_AP_Triggers_Terran_unlockWarhound, //27
ap_triggers_PlayerConsumer_sig, //28
ap_triggers_PlayerConsumer_sig //29
libABFE498B_gf_AP_Triggers_Terran_unlockPrideOfAugustgrad, //28
libABFE498B_gf_AP_Triggers_Terran_unlockSkyFury //29
);
}

Expand Down Expand Up @@ -504,7 +504,7 @@ void libABFE498B_gf_AP_Triggers_unlockTerranArmory7 (int lp_player, int lp_bitAr
libABFE498B_gf_AP_Triggers_Terran_unlockLiberatorCompressedRocketFuel, // 5
libABFE498B_gf_AP_Triggers_Terran_unlockBattlecruiserFieldAssistTargetingSystem, // 6
libABFE498B_gf_AP_Triggers_Terran_unlockPredatorAdaptiveDefenses, // 7
ap_triggers_PlayerConsumer_sig, // 8
libABFE498B_gf_AP_Triggers_Terran_unlockVikingAesirTurbines, // 8
ap_triggers_PlayerConsumer_sig, // 9
ap_triggers_PlayerConsumer_sig, // 10
ap_triggers_PlayerConsumer_sig, // 11
Expand Down Expand Up @@ -1955,6 +1955,21 @@ void libABFE498B_gf_AP_Triggers_Terran_unlockWarhound (int lp_player) {
TechTreeUnitAllow(lp_player, "AP_WarHound", true);
}

void libABFE498B_gf_AP_Triggers_Terran_unlockPrideOfAugustgrad (int lp_player) {
// Automatic Variable Declarations
// Implementation
TechTreeUnitAllow(lp_player, "AP_StarportMengsk", true);
TechTreeUnitAllow(lp_player, "AP_FusionCore", true);
TechTreeUnitAllow(lp_player, "AP_BattlecruiserMengsk", true);
}

void libABFE498B_gf_AP_Triggers_Terran_unlockSkyFury (int lp_player) {
// Automatic Variable Declarations
// Implementation
TechTreeUnitAllow(lp_player, "AP_StarportMengsk", true);
TechTreeUnitAllow(lp_player, "AP_VikingMengskFighter", true);
}

void libABFE498B_gf_AP_Triggers_Terran_unlockWarPigs (int lp_player) {
// Automatic Variable Declarations
// Implementation
Expand Down Expand Up @@ -2925,6 +2940,12 @@ void libABFE498B_gf_AP_Triggers_Terran_unlockVikingWILDMissiles (int lp_player)
libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_HHVikingRockets", 1);
}

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

void libABFE498B_gf_AP_Triggers_Terran_unlockBansheeShockwaveMissileBattery (int lp_player) {
// Automatic Variable Declarations
// Implementation
Expand Down Expand Up @@ -4651,6 +4672,8 @@ void libABFE498B_gf_AP_Triggers_clearTerranTech (int lp_player) {
TechTreeUnitAllow(lp_player, "AP_Cyclone", false);
TechTreeUnitAllow(lp_player, "AP_HERC", false);
TechTreeUnitAllow(lp_player, "AP_WarHound", false);
TechTreeUnitAllow(lp_player, "AP_VikingMengskFighter", false);
TechTreeUnitAllow(lp_player, "AP_BattlecruiserMengsk", false);
TechTreeUnitAllow(lp_player, "AP_WarPig", false);
TechTreeUnitAllow(lp_player, "AP_DevilDog", false);
TechTreeUnitAllow(lp_player, "AP_HammerSecurity", false);
Expand Down Expand Up @@ -4680,6 +4703,7 @@ void libABFE498B_gf_AP_Triggers_clearTerranTech (int lp_player) {
TechTreeUnitAllow(lp_player, "AP_Armory", false);
TechTreeUnitAllow(lp_player, "AP_Starport", false);
TechTreeUnitAllow(lp_player, "AP_FusionCore", false);
TechTreeUnitAllow(lp_player, "AP_StarportMengsk", false);
TechTreeUnitAllow(lp_player, "AP_BarracksReactor", false);
TechTreeUnitAllow(lp_player, "AP_FactoryReactor", false);
TechTreeUnitAllow(lp_player, "AP_StarportReactor", false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ void libABFE498B_gf_AP_Triggers_Terran_unlockWidowMine (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockCyclone (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockHERC (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockWarhound (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockPrideOfAugustgrad (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockSkyFury (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockWarPigs (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockDevilDogs (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockHammerSecurities (int lp_player);
Expand Down Expand Up @@ -308,6 +310,7 @@ void libABFE498B_gf_AP_Triggers_Terran_unlockVikingSmartServos (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockVikingAntiMechanicalMunition (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockVikingShredderRounds (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockVikingWILDMissiles (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockVikingAesirTurbines (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockBansheeShockwaveMissileBattery (int lp_player);
void libABFE498B_gf_AP_Triggers_Terran_unlockBansheeProgressiveCrossSpectrumDampeners (int lp_player, int lp_level);
void libABFE498B_gf_AP_Triggers_Terran_unlockBansheeHyperflightRotors (int lp_player);
Expand Down
Binary file modified Mods/ArchipelagoTriggers.SC2Mod/DocumentHeader
Binary file not shown.
Binary file modified Mods/ArchipelagoTriggers.SC2Mod/GameText.version
Binary file not shown.
Loading

0 comments on commit 929669a

Please sign in to comment.