gatelogue_types.SpawnWarpNS

class gatelogue_types.SpawnWarpNS(coordinates: tuple[float, float] | None=None, world: World | None = None, proximity: dict[~gatelogue_types.ID, ~gatelogue_types.Proximity]=<factory>, shared_facility: list[ID] = <factory>, *, i: ID = None, source: set[str] = <factory>, name: str, warp_type: WarpType)

Bases: LocatedNodeNS, _SpawnWarp

__init__()

Methods

__init__()

Attributes

coordinates

Coordinates of the object

i

The ID of the node

name

Name of the spawn warp

proximity

References all objects that are near (within walking distance of) this object.

shared_facility

References all objects that this object shares the same facility with (same building, station, hub etc)

source

All sources that prove the node's existence

warp_type

The type of warp

world

Whether the object is in the New or Old world

coordinates: tuple[float, float] | None

Coordinates of the object

i: ID

The ID of the node

name: str

Name of the spawn warp

proximity: dict[ID, Proximity]

References all objects that are near (within walking distance of) this object. It is represented as an inner mapping of object IDs to proximity data (Proximity). For example, {1234: <proximity>} means that there is an object with ID 1234 near this object, and <proximity> is a Proximity object.

shared_facility: list[ID]

References all objects that this object shares the same facility with (same building, station, hub etc)

source: set[str]

All sources that prove the node’s existence

warp_type: WarpType

The type of warp

world: World | None

Whether the object is in the New or Old world