stratega.TechnologyTreeNode
- class stratega.TechnologyTreeNode
Contains definition of a specific technology. It has methods to get the cost, description or name.
- __init__(*args, **kwargs)
Methods
__init__(*args, **kwargs)to_string(self, gameInfo)Returns a string with printable information of this research technology
Attributes
continuousActionTimeHow many ticks/turns takes to research this technology.
costList of pairs (param,cost) that can be spend to research this technology.
descriptionDescription of this technology (provided in YAML)
idUnique ID of this technology.
nameName of this technology as given in YAML
parent_idsIDs of the technologies that are required for this one to be researchable.