One research item.
reload() | Reload this technology from its prototype. |
force :: LuaForce [R] | The force this technology belongs to. |
name :: string [R] | Name of this technology. |
localised_name :: LocalisedString [R] | Localised name of this technology. |
localised_description :: LocalisedString [R] | |
prototype :: LuaTechnologyPrototype [R] | The prototype of this technology. |
enabled :: boolean [RW] | Can this technology be researched? |
visible_when_disabled :: boolean [RW] | If this technology will be visible in the research GUI even though it is disabled. |
upgrade :: boolean [R] | Is this an upgrade-type research? |
researched :: boolean [RW] | Has this technology been researched? |
prerequisites :: dictionary[string → LuaTechnology] [R] | Prerequisites of this technology. |
research_unit_ingredients :: array[Ingredient] [R] | Ingredients labs will require to research this technology. |
effects :: array[TechnologyModifier] [R] | Effects applied when this technology is researched. |
research_unit_count :: uint [R] | Number of research units required for this technology. |
research_unit_energy :: double [R] | Amount of energy required to finish a unit of research. |
order :: string [R] | Order string for this prototype. |
level :: uint [RW] | The current level of this technology. |
research_unit_count_formula :: string [R] | The count formula used for this infinite research or nil if this isn't an infinite research. |
valid :: boolean [R] | Is this object valid? |
object_name :: string [R] | The class name of this object. |
help() → string | All methods and properties that this object supports. |
Reload this technology from its prototype.
The force this technology belongs to.
Name of this technology.
Localised name of this technology.
The prototype of this technology.
Can this technology be researched?
If this technology will be visible in the research GUI even though it is disabled.
Is this an upgrade-type research?
Has this technology been researched? Switching from false
to true
will trigger the technology
advancement perks; switching from true
to false
will reverse them.
Prerequisites of this technology. The result maps technology name to the LuaTechnology object.
Ingredients labs will require to research this technology.
Effects applied when this technology is researched.
Number of research units required for this technology.
true
.
Amount of energy required to finish a unit of research.
Order string for this prototype.
The current level of this technology. For level-based technology writing to this is the same as researching the technology to the *previous* level. Writing the level will set LuaTechnology::enabled to true
.
The count formula used for this infinite research or nil if this isn't an infinite research.