SC2: Content update (#5312)
Feature highlights: - Adds many content to the SC2 game - Allows custom mission order - Adds race-swapped missions for build missions (except Epilogue and NCO) - Allows War Council Nerfs (Protoss units can get pre - War Council State, alternative units get another custom nerf to match the power level of base units) - Revamps Predator's upgrade tree (never was considered strategically important) - Adds some units and upgrades - Locked and excluded items can specify quantity - Key mode (if opt-in, missions require keys to be unlocked on top of their regular regular requirements - Victory caches - Victory locations can grant multiple items to the multiworld instead of one - The generator is more resilient for generator failures as it validates logic for item excludes - Fixes the following issues: - https://github.com/ArchipelagoMW/Archipelago/issues/3531 - https://github.com/ArchipelagoMW/Archipelago/issues/3548
This commit is contained in:
38
worlds/sc2/transfer_data.py
Normal file
38
worlds/sc2/transfer_data.py
Normal file
@@ -0,0 +1,38 @@
|
||||
from typing import Dict, List
|
||||
|
||||
"""
|
||||
This file is for handling SC2 data read via the bot
|
||||
"""
|
||||
|
||||
normalized_unit_types: Dict[str, str] = {
|
||||
# Thor morphs
|
||||
"AP_ThorAP": "AP_Thor",
|
||||
"AP_MercThorAP": "AP_MercThor",
|
||||
"AP_ThorMengskSieged": "AP_ThorMengsk",
|
||||
"AP_ThorMengskAP": "AP_ThorMengsk",
|
||||
# Siege Tank morphs
|
||||
"AP_SiegeTankSiegedTransportable": "AP_SiegeTank",
|
||||
"AP_SiegeTankMengskSiegedTransportable": "AP_SiegeTankMengsk",
|
||||
"AP_SiegeBreakerSiegedTransportable": "AP_SiegeBreaker",
|
||||
"AP_InfestedSiegeBreakerSiegedTransportable": "AP_InfestedSiegeBreaker",
|
||||
"AP_StukovInfestedSiegeTank": "AP_StukovInfestedSiegeTankUprooted",
|
||||
# Cargo size upgrades
|
||||
"AP_FirebatOptimizedLogistics": "AP_Firebat",
|
||||
"AP_DevilDogOptimizedLogistics": "AP_DevilDog",
|
||||
"AP_GhostResourceEfficiency": "AP_Ghost",
|
||||
"AP_GhostMengskResourceEfficiency": "AP_GhostMengsk",
|
||||
"AP_SpectreResourceEfficiency": "AP_Spectre",
|
||||
"AP_UltraliskResourceEfficiency": "AP_Ultralisk",
|
||||
"AP_MercUltraliskResourceEfficiency": "AP_MercUltralisk",
|
||||
"AP_ReaperResourceEfficiency": "AP_Reaper",
|
||||
"AP_MercReaperResourceEfficiency": "AP_MercReaper",
|
||||
}
|
||||
|
||||
worker_units: List[str] = [
|
||||
"AP_SCV",
|
||||
"AP_MULE", # Mules can't currently build (or be traded due to timed life), this is future proofing just in case
|
||||
"AP_Drone",
|
||||
"AP_SISCV", # Infested SCV
|
||||
"AP_Probe",
|
||||
"AP_ElderProbe",
|
||||
]
|
||||
Reference in New Issue
Block a user