From 433e7ccb2a7f41a4322df6b08a58df08bfe195f3 Mon Sep 17 00:00:00 2001 From: Matthew Date: Fri, 2 Aug 2024 23:59:42 -0700 Subject: [PATCH] sc2: Adding triggers for stalward duality charge --- .../Base.SC2Data/LibABFE498B.galaxy | 8 +++- .../Base.SC2Data/LibABFE498B_h.galaxy | 1 + Mods/ArchipelagoTriggers.SC2Mod/Triggers | 40 ++++++++++++++++++- .../LocalizedData/TriggerStrings.txt | 2 + 4 files changed, 49 insertions(+), 2 deletions(-) diff --git a/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B.galaxy b/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B.galaxy index c5f1ce706..cdb4f4f12 100644 --- a/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B.galaxy +++ b/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B.galaxy @@ -1565,7 +1565,7 @@ void libABFE498B_gf_AP_Triggers_unlockProtossWarCouncil (int lp_player, int lp_b libABFE498B_gf_AP_Triggers_Protoss_unlockVanguardRapidfireCannon, // 20 libABFE498B_gf_AP_Triggers_Protoss_unlockVanguardFusionMortars, // 21 libABFE498B_gf_AP_Triggers_Protoss_unlockAnnihilatorAerialTracking, //22 - ap_triggers_PlayerConsumer_sig, //23 + libABFE498B_gf_AP_Triggers_Protoss_unlockStalwartDualityCharge, //23 ap_triggers_PlayerConsumer_sig, //24 ap_triggers_PlayerConsumer_sig, //25 libABFE498B_gf_AP_Triggers_Protoss_unlockReaverKhalaiReplicators, //26 @@ -7303,6 +7303,12 @@ void libABFE498B_gf_AP_Triggers_Protoss_unlockAnnihilatorAerialTracking (int lp_ libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_AnnihilatorAerialTracking", 1); } +void libABFE498B_gf_AP_Triggers_Protoss_unlockStalwartDualityCharge (int lp_player) { + // Automatic Variable Declarations + // Implementation + libNtve_gf_SetUpgradeLevelForPlayer(lp_player, "AP_StalwartDualityCharge", 1); +} + void libABFE498B_gf_AP_Triggers_Protoss_unlockColossusPacificationProtocols (int lp_player) { // Automatic Variable Declarations // Implementation diff --git a/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B_h.galaxy b/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B_h.galaxy index b64c78778..bdd7f30e0 100644 --- a/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B_h.galaxy +++ b/Mods/ArchipelagoTriggers.SC2Mod/Base.SC2Data/LibABFE498B_h.galaxy @@ -753,6 +753,7 @@ void libABFE498B_gf_AP_Triggers_Protoss_unlockImmortalFamilyAdvancedTargetingMec void libABFE498B_gf_AP_Triggers_Protoss_unlockImmortalFamilyDisruptorDispersion (int lp_player); void libABFE498B_gf_AP_Triggers_Protoss_unlockImmortalImprovedBarrier (int lp_player); void libABFE498B_gf_AP_Triggers_Protoss_unlockAnnihilatorAerialTracking (int lp_player); +void libABFE498B_gf_AP_Triggers_Protoss_unlockStalwartDualityCharge (int lp_player); void libABFE498B_gf_AP_Triggers_Protoss_unlockColossusPacificationProtocols (int lp_player); void libABFE498B_gf_AP_Triggers_Protoss_unlockWrathwalkerRapidPowerCycling (int lp_player); void libABFE498B_gf_AP_Triggers_Protoss_unlockWrathwalkerEyeOfWrath (int lp_player); diff --git a/Mods/ArchipelagoTriggers.SC2Mod/Triggers b/Mods/ArchipelagoTriggers.SC2Mod/Triggers index 43b10b4bf..880f49a8f 100644 --- a/Mods/ArchipelagoTriggers.SC2Mod/Triggers +++ b/Mods/ArchipelagoTriggers.SC2Mod/Triggers @@ -4572,7 +4572,7 @@ libABFE498B_gf_AP_Triggers_Protoss_unlockVanguardRapidfireCannon, // 20 libABFE498B_gf_AP_Triggers_Protoss_unlockVanguardFusionMortars, // 21 libABFE498B_gf_AP_Triggers_Protoss_unlockAnnihilatorAerialTracking, //22 - ap_triggers_PlayerConsumer_sig, //23 + libABFE498B_gf_AP_Triggers_Protoss_unlockStalwartDualityCharge, //23 ap_triggers_PlayerConsumer_sig, //24 ap_triggers_PlayerConsumer_sig, //25 libABFE498B_gf_AP_Triggers_Protoss_unlockReaverKhalaiReplicators, //26 @@ -59267,6 +59267,7 @@ + @@ -61587,6 +61588,43 @@ 1 + + AP_Triggers_Protoss_unlockStalwartDualityCharge + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + AP_StalwartDualityCharge + + + + + + 1 + + diff --git a/Mods/ArchipelagoTriggers.SC2Mod/enUS.SC2Data/LocalizedData/TriggerStrings.txt b/Mods/ArchipelagoTriggers.SC2Mod/enUS.SC2Data/LocalizedData/TriggerStrings.txt index 7c3758ec4..d3b8dc7f4 100644 --- a/Mods/ArchipelagoTriggers.SC2Mod/enUS.SC2Data/LocalizedData/TriggerStrings.txt +++ b/Mods/ArchipelagoTriggers.SC2Mod/enUS.SC2Data/LocalizedData/TriggerStrings.txt @@ -460,6 +460,7 @@ FunctionDef/Name/lib_ABFE498B_7C6D6C84=AP_Triggers_Protoss_unlockSignifier FunctionDef/Name/lib_ABFE498B_7C847581=AP_Triggers_Zerg_UltraliskNoxious FunctionDef/Name/lib_ABFE498B_7CB9C2C8=AP_Triggers_Protoss_unlockVoidRayFamilyFluxVanes FunctionDef/Name/lib_ABFE498B_7CC74863=AP_Triggers_Terran_unlockCommandCenterMULE +FunctionDef/Name/lib_ABFE498B_7D0E800C=AP_Triggers_Protoss_unlockStalwartDualityCharge FunctionDef/Name/lib_ABFE498B_7DBC7D9E=AP_Triggers_Terran_unlockVehicleWeapon FunctionDef/Name/lib_ABFE498B_7DBE2940=AP_Triggers_Zerg_DefilerPredatoryConsumption FunctionDef/Name/lib_ABFE498B_7E29507E=AP_Triggers_Terran_unlockNovaGhostVisor @@ -890,6 +891,7 @@ ParamDef/Name/lib_ABFE498B_10AA9013=player ParamDef/Name/lib_ABFE498B_11837F27=player ParamDef/Name/lib_ABFE498B_11D221E2=player ParamDef/Name/lib_ABFE498B_122D4462=player +ParamDef/Name/lib_ABFE498B_124E8384=player ParamDef/Name/lib_ABFE498B_129015B3=player ParamDef/Name/lib_ABFE498B_12C4C512=player ParamDef/Name/lib_ABFE498B_13012D42=player