Files
dockipelago/worlds/dc1/data/DHCGeoItems.py
Jonathan Tinney 7971961166
Some checks failed
Analyze modified files / flake8 (push) Failing after 2m28s
Build / build-win (push) Has been cancelled
Build / build-ubuntu2204 (push) Has been cancelled
ctest / Test C++ ubuntu-latest (push) Has been cancelled
ctest / Test C++ windows-latest (push) Has been cancelled
Analyze modified files / mypy (push) Has been cancelled
Build and Publish Docker Images / Push Docker image to Docker Hub (push) Successful in 5m4s
Native Code Static Analysis / scan-build (push) Failing after 5m2s
type check / pyright (push) Successful in 1m7s
unittests / Test Python 3.11.2 ubuntu-latest (push) Failing after 16m23s
unittests / Test Python 3.12 ubuntu-latest (push) Failing after 28m19s
unittests / Test Python 3.13 ubuntu-latest (push) Failing after 14m49s
unittests / Test hosting with 3.13 on ubuntu-latest (push) Successful in 5m0s
unittests / Test Python 3.13 macos-latest (push) Has been cancelled
unittests / Test Python 3.11 windows-latest (push) Has been cancelled
unittests / Test Python 3.13 windows-latest (push) Has been cancelled
add schedule I, sonic 1/frontiers/heroes, spirit island
2026-04-02 23:46:36 -07:00

73 lines
3.7 KiB
Python

from typing import List
from BaseClasses import ItemClassification
from ..Items import DarkCloudItem
from ..Options import DarkCloudOptions
ids = {
"Progressive Crowning Day": 971110600,
"Progressive Ceremony": 971110601,
"Progressive Reunion": 971110602,
"Progressive Campaign": 971110603,
"Progressive Menace": 971110604,
"Progressive The Deal": 971110605,
"Progressive Dark Power": 971110606,
"Progressive Assassin": 971110607,
"Progressive Protected": 971110608,
"Progressive Demon": 971110609,
"Progressive Things Lost": 971110610,
"Progressive Departure": 971110611,
}
classifications = {
"Progressive Crowning Day": ItemClassification.progression,
"Progressive Ceremony": ItemClassification.progression,
"Progressive Reunion": ItemClassification.progression,
"Progressive Campaign": ItemClassification.progression,
"Progressive Menace": ItemClassification.progression,
"Progressive The Deal": ItemClassification.progression,
"Progressive Dark Power": ItemClassification.progression,
"Progressive Assassin": ItemClassification.progression,
"Progressive Protected": ItemClassification.progression,
"Progressive Demon": ItemClassification.progression,
"Progressive Things Lost": ItemClassification.progression,
"Progressive Departure": ItemClassification.progression,
}
cday_ids = ["Progressive Crowning Day", "Progressive Crowning Day",
"Progressive Crowning Day", "Progressive Crowning Day"]
ceremony_ids = ["Progressive Ceremony", "Progressive Ceremony", "Progressive Ceremony",
"Progressive Ceremony", "Progressive Ceremony", "Progressive Ceremony"]
reunion_ids = ["Progressive Reunion", "Progressive Reunion", "Progressive Reunion",
"Progressive Reunion", "Progressive Reunion"]
campaign_ids = ["Progressive Campaign", "Progressive Campaign", "Progressive Campaign",
"Progressive Campaign", "Progressive Campaign", "Progressive Campaign", ]
menace_ids = ["Progressive Menace", "Progressive Menace", "Progressive Menace",
"Progressive Menace", "Progressive Menace", "Progressive Menace", ]
deal_ids = ["Progressive The Deal", "Progressive The Deal", "Progressive The Deal",
"Progressive The Deal", "Progressive The Deal"]
power_ids = ["Progressive Dark Power", "Progressive Dark Power", "Progressive Dark Power",
"Progressive Dark Power", "Progressive Dark Power", "Progressive Dark Power"]
assassin_ids = ["Progressive Assassin", "Progressive Assassin", "Progressive Assassin", "Progressive Assassin",
"Progressive Assassin", "Progressive Assassin", "Progressive Assassin"]
prot_ids = ["Progressive Protected", "Progressive Protected", "Progressive Protected", "Progressive Protected"]
demon_ids = ["Progressive Demon", "Progressive Demon", "Progressive Demon", "Progressive Demon"]
things_ids = ["Progressive Things Lost", "Progressive Things Lost",
"Progressive Things Lost", "Progressive Things Lost"]
departure_ids = ["Progressive Departure", "Progressive Departure", "Progressive Departure",
"Progressive Departure", "Progressive Departure"]
# Unused options param for consistency since these files are all done in a loop with func pointers
def create_castle_atla(options: DarkCloudOptions, player: int) -> List["DarkCloudItem"]:
"""Create atla items for Dark Heaven Castle."""
items = []
required = (cday_ids + ceremony_ids + reunion_ids + campaign_ids + menace_ids + deal_ids + power_ids +
assassin_ids + prot_ids + demon_ids + things_ids + departure_ids)
# All castle atla are required for the genie fight
for i in required:
items.append(DarkCloudItem(i, ItemClassification.progression, ids[i], player))
return items