StaticChapter

StaticChapter

class

Group of quests unlocked together

Fields

NameTypeDescription
label Loc Localized chapter title
quests StaticQuest[] Quests belonging to this chapter
required_quests StaticQuest[] Quests that must be completed before the chapter becomes available
unlocked boolean Whether the chapter is available in the current save
on_unlock function? Called when the chapter unlocks
on_complete function? Called when every quest is completed
Standard members (5)

Generated for every class of this kind by the game's codegen, not written for StaticChapter.

StaticChapter.cast(object) Trying to cast Object into StaticChapter
StaticChapter.get_class() Return StaticChapter class object
StaticChapter.find(name) Looks StaticChapter up in db, nil when there is none
StaticChapter.get(name) Takes StaticChapter from db, reports a miss to the log
StaticChapter.reg(name) Register a new StaticChapter static object
Inherited from Prototype (2)
Inherited from Object (1)

Used by