wootook-reloaded/includes/data/resources.php
Gregory PLANCHAT e15d9f81a7 Planet storage capacity updates added
Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
2011-06-19 14:20:22 +02:00

52 lines
2.3 KiB
PHP

<?php return array(
Legacies_Empire::RESOURCE_METAL => array(
'template' => 'empire/resources/default.phtml',
'renderer' => 'Legacies_Empire_Block_Resource_Default',
'field' => Legacies_Empire::RESOURCE_METAL,
'production_field' => 'metal_perhour',
'storage_field' => 'metal_max',
'production' => array(
Legacies_Empire::ID_BUILDING_METAL_MINE => 'metal_mine_porcent'
),
'storage' => Legacies_Empire::ID_BUILDING_METAL_STORAGE
),
Legacies_Empire::RESOURCE_CRISTAL => array(
'template' => 'empire/resources/default.phtml',
'renderer' => 'Legacies_Empire_Block_Resource_Default',
'field' => Legacies_Empire::RESOURCE_CRISTAL,
'production_field' => 'crystal_perhour',
'storage_field' => 'crystal_max',
'production' => array(
Legacies_Empire::ID_BUILDING_CRISTAL_MINE => 'crystal_mine_porcent'
),
'storage' => Legacies_Empire::ID_BUILDING_CRISTAL_STORAGE
),
Legacies_Empire::RESOURCE_DEUTERIUM => array(
'template' => 'empire/resources/default.phtml',
'renderer' => 'Legacies_Empire_Block_Resource_Default',
'field' => Legacies_Empire::RESOURCE_DEUTERIUM,
'production_field' => 'deuterium_perhour',
'storage_field' => 'deuterium_max',
'production' => array(
Legacies_Empire::ID_BUILDING_DEUTERIUM_SYNTHETISER => 'deuterium_sintetizer_porcent'
),
'storage' => Legacies_Empire::ID_BUILDING_DEUTERIUM_TANK
),
Legacies_Empire::RESOURCE_ENERGY => array(
'template' => 'empire/resources/energy.phtml',
'renderer' => 'Legacies_Empire_Block_Resource_Default',
'field' => 'energy_used',
'production_field' => 'energy_max',
'storage_field' => null,
'production' => array(
Legacies_Empire::ID_BUILDING_SOLAR_PLANT => 'solar_plant_porcent',
Legacies_Empire::ID_BUILDING_FUSION_REACTOR => 'fusion_plant_porcent',
Legacies_Empire::ID_SHIP_SOLAR_SATELLITE => 'solar_satelit_porcent'
),
'storage' => null
)
);