StaticResearchModifier

StaticResearchModifier

class

Research raising a global player modifier

Fields

NameTypeDescription
modifier StaticModifier Modifier prototype affected by this research
bonus_value integer Value added to the modifier on completion
Standard members (5)

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

StaticResearchModifier.cast(object) Trying to cast Object into StaticResearchModifier
StaticResearchModifier.get_class() Return StaticResearchModifier class object
StaticResearchModifier.find(name) Looks StaticResearchModifier up in db, nil when there is none
StaticResearchModifier.get(name) Takes StaticResearchModifier from db, reports a miss to the log
StaticResearchModifier.reg(name) Register a new StaticResearchModifier static object
Inherited from StaticResearch (6)
  • label Localized research name
  • description_parts Localized description paragraphs
  • complexity Science the research costs to complete
  • level Level reached by an upgrade research, 0 for a node completed once
  • required_research Researches that must be complete before this one opens
  • completed Whether the research is already complete
Inherited from Prototype (2)
Inherited from Object (1)