StaticResearch

StaticResearch

class

Research base class

Fields

NameTypeDescription
label Loc Localized research name
description_parts Loc[] Localized description paragraphs
complexity integer Science the research costs to complete
level integer Level reached by an upgrade research, 0 for a node completed once
required_research StaticResearch[] Researches that must be complete before this one opens
completed boolean Whether the research is already complete
Standard members (4)

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

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

Subclasses