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

continuousActionTime

How many ticks/turns takes to research this technology.

cost

List of pairs (param,cost) that can be spend to research this technology.

description

Description of this technology (provided in YAML)

id

Unique ID of this technology.

name

Name of this technology as given in YAML

parent_ids

IDs of the technologies that are required for this one to be researchable.