Skip to content

Commit

Permalink
Merge pull request Ziktofel#308 from MatthewMarinets/mm/overpowered_i…
Browse files Browse the repository at this point in the history
…tem_group

sc2: Adding an overpowered items group
  • Loading branch information
Ziktofel authored Sep 21, 2024
2 parents 733c132 + 1cc492d commit 535e1f0
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions worlds/sc2/item_groups.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import typing
from . import item_names, items
from .mission_tables import campaign_mission_table, SC2Campaign, SC2Mission, SC2Race
from ..hk import item_table

"""
Item name groups, given to Archipelago and used in YAMLs and /received filtering.
Expand Down Expand Up @@ -164,6 +163,7 @@ class ItemGroupNames:
PURIFIER_UNITS = "Purifier"

VANILLA_ITEMS = "Vanilla Items"
OVERPOWERED_ITEMS = "Overpowered Items"

@classmethod
def get_all_group_names(cls) -> typing.Set[str]:
Expand All @@ -181,7 +181,7 @@ def get_all_group_names(cls) -> typing.Set[str]:
]
item_name_groups[ItemGroupNames.TERRAN_UNITS] = terran_units = [
item_name for item_name, item_data in items.item_table.items()
if item_data.type in (items.TerranItemType.Unit, items.TerranItemType.Mercenary)
if item_data.type in (items.TerranItemType.Unit, items.TerranItemType.Unit_2, items.TerranItemType.Mercenary)
]
item_name_groups[ItemGroupNames.TERRAN_GENERIC_UPGRADES] = terran_generic_upgrades = [
item_name for item_name, item_data in items.item_table.items()
Expand Down Expand Up @@ -628,3 +628,24 @@ def get_all_group_names(cls) -> typing.Set[str]:
item_name for item_name, item_data in items.item_table.items()
if item_data.type in (items.ProtossItemType.War_Council, items.ProtossItemType.War_Council_2)
]

item_name_groups[ItemGroupNames.OVERPOWERED_ITEMS] = [
item_names.SIEGE_TANK_GRADUATING_RANGE,
item_names.SIEGE_TANK_RESOURCE_EFFICIENCY,
item_names.BATTLECRUISER_ATX_LASER_BATTERY,
item_names.PROGRESSIVE_REGENERATIVE_BIO_STEEL,
item_names.MECHANICAL_KNOW_HOW,
item_names.MERCENARY_MUNITIONS,

item_names.KERRIGAN_APOCALYPSE,
item_names.KERRIGAN_DROP_PODS,
item_names.KERRIGAN_SPAWN_LEVIATHAN,

item_names.REAVER_RESOURCE_EFFICIENCY,
item_names.SOA_TIME_STOP,
item_names.SOA_SOLAR_LANCE,
# Note: This is more an issue of having multiple ults at the same time, rather than solar bombardment in particular.
# Can be removed from the list if we get an SOA ult combined cooldown or energy cost on it.
item_names.SOA_SOLAR_BOMBARDMENT,
item_names.MOTHERSHIP,
]

0 comments on commit 535e1f0

Please sign in to comment.