StaticResearch
classResearch base class
Fields
| Name | Type | Description |
|---|---|---|
| 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)
- name Object name
- Prototype:is_valid() Returns false once the underlying engine object has been destroyed
Inherited from Object (1)
- Object:get_class() Class of this object