Files
Grinch-AP/worlds/checksfinder/Locations.py
Exempt-Medic 90446ad175 ChecksFinder: Refactor/Cleaning (#3725)
* Update ChecksFinder

* minor cleanup

* Check for compatible name

* Enable APWorld

* Update setup_en.md

* Update en_ChecksFinder.md

* The client is getting updated instead

* Qwint suggestions, ' -> ", streamline fill_slot_data

* Oops, too many refactors

---------

Co-authored-by: SunCat <suncat.game@ya.ru>
2024-08-06 16:39:56 +02:00

17 lines
398 B
Python

from BaseClasses import Location
import typing
class AdvData(typing.NamedTuple):
id: int
region: str = "Board"
class ChecksFinderLocation(Location):
game: str = "ChecksFinder"
base_id = 81000
advancement_table = {f"Tile {i+1}": AdvData(base_id+i) for i in range(25)}
lookup_id_to_name: typing.Dict[int, str] = {data.id: item_name for item_name, data in advancement_table.items()}