From 98108440fe7b3804bf1492bea70670a7623ab1c5 Mon Sep 17 00:00:00 2001 From: Ziktofel Date: Sat, 19 Oct 2024 22:33:03 +0200 Subject: [PATCH] Add Night Wolf --- worlds/sc2/item_descriptions.py | 1 + worlds/sc2/item_groups.py | 4 ++-- worlds/sc2/item_names.py | 1 + worlds/sc2/items.py | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/worlds/sc2/item_descriptions.py b/worlds/sc2/item_descriptions.py index c640e03cf63e..850c7ee20166 100644 --- a/worlds/sc2/item_descriptions.py +++ b/worlds/sc2/item_descriptions.py @@ -179,6 +179,7 @@ def _ability_desc(unit_name_plural: str, ability_name: str, ability_description: Can switch into Defender Mode to provide siege support. """), item_names.NIGHT_HAWK: "Royal Guard highly mobile flying unit. Excellent at surgical strikes.", + item_names.NIGHT_WOLF: "Royal Guard tactical-strike aircraft.", item_names.PROGRESSIVE_TERRAN_INFANTRY_WEAPON: GENERIC_UPGRADE_TEMPLATE.format("damage", TERRAN, "infantry"), item_names.PROGRESSIVE_TERRAN_INFANTRY_ARMOR: GENERIC_UPGRADE_TEMPLATE.format("armor", TERRAN, "infantry"), item_names.PROGRESSIVE_TERRAN_VEHICLE_WEAPON: GENERIC_UPGRADE_TEMPLATE.format("damage", TERRAN, "vehicles"), diff --git a/worlds/sc2/item_groups.py b/worlds/sc2/item_groups.py index 7ff2d709fcfe..7de5677bb0cc 100644 --- a/worlds/sc2/item_groups.py +++ b/worlds/sc2/item_groups.py @@ -204,7 +204,7 @@ def get_all_group_names(cls) -> typing.Set[str]: item_names.MEDIVAC, item_names.WRAITH, item_names.VIKING, item_names.BANSHEE, item_names.BATTLECRUISER, item_names.HERCULES, item_names.SCIENCE_VESSEL, item_names.RAVEN, item_names.LIBERATOR, item_names.VALKYRIE, item_names.PRIDE_OF_AUGUSTRGRAD, item_names.SKY_FURY, - item_names.EMPERORS_GUARDIAN, item_names.NIGHT_HAWK, + item_names.EMPERORS_GUARDIAN, item_names.NIGHT_HAWK, item_names.NIGHT_WOLF, ] item_name_groups[ItemGroupNames.TERRAN_BUILDINGS] = terran_buildings = [ item_name for item_name, item_data in items.item_table.items() @@ -255,7 +255,7 @@ def get_all_group_names(cls) -> typing.Set[str]: item_name_groups[ItemGroupNames.TERRAN_VETERANCY_UNITS] = [ item_names.AEGIS_GUARD, item_names.EMPERORS_SHADOW, item_names.SHOCK_DIVISION, item_names.BLACKHAMMER, item_names.PRIDE_OF_AUGUSTRGRAD, item_names.SKY_FURY, item_names.SON_OF_KORHAL, item_names.FIELD_RESPONSE_THETA, - item_names.BULWARK_COMPANY, item_names.NIGHT_HAWK, item_names.EMPERORS_GUARDIAN, + item_names.BULWARK_COMPANY, item_names.NIGHT_HAWK, item_names.EMPERORS_GUARDIAN, item_names.NIGHT_WOLF, ] # Terran Upgrades diff --git a/worlds/sc2/item_names.py b/worlds/sc2/item_names.py index 3617a9f20130..3bf290e51c74 100644 --- a/worlds/sc2/item_names.py +++ b/worlds/sc2/item_names.py @@ -48,6 +48,7 @@ FIELD_RESPONSE_THETA = "Field Response Theta" EMPERORS_GUARDIAN = "Emperor's Guardian" NIGHT_HAWK = "Night Hawk" +NIGHT_WOLF = "Night Wolf" # Terran Buildings BUNKER = "Bunker" diff --git a/worlds/sc2/items.py b/worlds/sc2/items.py index ee7b03a7081d..55b813388fdf 100644 --- a/worlds/sc2/items.py +++ b/worlds/sc2/items.py @@ -248,6 +248,8 @@ def get_full_item_list(): item_names.NIGHT_HAWK: ItemData(60 + SC2WOL_ITEM_ID_OFFSET, TerranItemType.Unit_2, 9, SC2Race.TERRAN, classification=ItemClassification.progression), + item_names.NIGHT_WOLF: + ItemData(61 +SC2WOL_ITEM_ID_OFFSET, TerranItemType.Unit_2, 10, SC2Race.TERRAN), # Some other items are moved to Upgrade group because of the way how the bot message is parsed item_names.PROGRESSIVE_TERRAN_INFANTRY_WEAPON: ItemData(100 + SC2WOL_ITEM_ID_OFFSET, TerranItemType.Upgrade, 0, SC2Race.TERRAN, quantity=WEAPON_ARMOR_UPGRADE_MAX_LEVEL),