Level Object
- class app.engine.objects.level.LevelObject
Representation of a Level or Chapter in the engine. Contains information about the tilemap of the level, which is the chapter’s main party, what music should exist for each phase, etc.
- nid
The unique ID for the level
- Type:
NID
- name
The name of the level (displayed in the Chapter Title card)
- Type:
str
- tilemap
The current tilemap for the level
- Type:
TileMapObject
- bg_tilemap
The current background tilemap for the level
- Type:
TileMapObject
- party
The chapter’s main party
- Type:
NID
- music
Keys are the phase, value is the song name
- Type:
dict
- objective
The objective text
- Type:
dict
- units
(Data[UnitObject]): Database of the units in the level
- regions
(Data[RegionObject]): Database of regions in the level
- ai_groups
Database of AI Groups in the level
- Type:
Data[AIGroupObject]