Package horizons :: Package world :: Package building :: Module settler :: Class SettlerUpgradeData
[hide private]
[frames] | no frames]

Class SettlerUpgradeData

source code

This is used as glue between the old upgrade system based on sqlite data used in a non-component environment and the current component version with data in yaml

Instance Methods [hide private]
 
__init__(self, producer_component, upgrade_material_data) source code
 
get_production_lines(self) source code
 
get_production_line_data(self, level)
Returns production line data for the upgrade to this level
source code
Class Methods [hide private]
 
get_production_line_id(cls, level)
Returns production line id for the upgrade to this level
source code
Class Variables [hide private]
  production_line_ids = {1: 24, 2: 35, 3: 23451, 4: 34512, 5: 45...
Class Variable Details [hide private]

production_line_ids

Value:
{1: 24, 2: 35, 3: 23451, 4: 34512, 5: 45123}