Skip to content

Commit

Permalink
Add Aegis Guard
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziktofel committed Sep 29, 2024
1 parent cc3f1f4 commit 3173a5d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions worlds/sc2/item_descriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ def _ability_desc(unit_name_plural: str, ability_name: str, ability_description:
"""),
item_names.SHOCK_DIVISION: "Royal Guard heavy tank. Long-range artillery in Siege Mode.",
item_names.BLACKHAMMER: "Royal Guard heavy assault mech.",
item_names.AEGIS_GUARD: "Royal Guard heavy assault infantry.",
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"),
Expand Down
6 changes: 4 additions & 2 deletions worlds/sc2/item_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def get_all_group_names(cls) -> typing.Set[str]:
]
item_name_groups[ItemGroupNames.BARRACKS_UNITS] = barracks_units = [
item_names.MARINE, item_names.MEDIC, item_names.FIREBAT, item_names.MARAUDER,
item_names.REAPER, item_names.GHOST, item_names.SPECTRE, item_names.HERC,
item_names.REAPER, item_names.GHOST, item_names.SPECTRE, item_names.HERC, item_names.AEGIS_GUARD,
]
item_name_groups[ItemGroupNames.FACTORY_UNITS] = factory_units = [
item_names.HELLION, item_names.VULTURE, item_names.GOLIATH, item_names.DIAMONDBACK,
Expand Down Expand Up @@ -376,7 +376,9 @@ def get_all_group_names(cls) -> typing.Set[str]:
if item_data.type in (items.TerranItemType.Progressive, items.TerranItemType.Progressive_2)
]
item_name_groups[ItemGroupNames.MENGSK_UNITS] = [
item_names.PRIDE_OF_AUGUSTRGRAD, item_names.SKY_FURY, item_names.SHOCK_DIVISION, item_names.BLACKHAMMER,
item_names.AEGIS_GUARD,
item_names.SHOCK_DIVISION, item_names.BLACKHAMMER,
item_names.PRIDE_OF_AUGUSTRGRAD, item_names.SKY_FURY,
]
item_name_groups[ItemGroupNames.WOL_ITEMS] = vanilla_wol_items = (
wol_units
Expand Down
1 change: 1 addition & 0 deletions worlds/sc2/item_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
SKY_FURY = "Sky Fury"
SHOCK_DIVISION = "Shock Division"
BLACKHAMMER = "Blackhammer"
AEGIS_GUARD = "Aegis Guard"

# Terran Buildings
BUNKER = "Bunker"
Expand Down
2 changes: 2 additions & 0 deletions worlds/sc2/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ def get_full_item_list():
item_names.BLACKHAMMER:
ItemData(53 + SC2WOL_ITEM_ID_OFFSET, TerranItemType.Unit_2, 1, SC2Race.TERRAN,
classification=ItemClassification.progression, origin={"ext"}),
item_names.AEGIS_GUARD:
ItemData(54 + SC2WOL_ITEM_ID_OFFSET, TerranItemType.Unit_2, 2, 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),
Expand Down

0 comments on commit 3173a5d

Please sign in to comment.