Location

class BaseClasses.Location(player: int, name: str = '', address: int | None = None, parent: Region | None = None)

Bases: object

static access_rule(state)
address: int | None
property advancement: bool
static always_allow(state, item)
can_fill(state: CollectionState, item: Item, check_access: bool = True) bool
can_reach(state: CollectionState) bool
game: str = 'Generic'
property hint_text: str
property is_event: bool

Returns True if the address of this location is None, denoting it is an Event Location.

item: Item | None = None
static item_rule(item)
locked: bool = False
name: str
property native_item: bool

Returns True if the item in this location matches game.

parent_region: Region | None
place_locked_item(item: Item)
player: int
progress_type: LocationProgressType = 1
show_in_spoiler: bool = True