forked from halo-battle/game
Version 0.9a
This commit is contained in:
parent
d5c122a2c5
commit
59fbc7104e
141 changed files with 8686 additions and 1156 deletions
|
|
@ -91,7 +91,7 @@ $case = $cases - ($mine_m + $mine_c + $mine_h + $centrale_s + $centrale_f + $rad
|
|||
|
||||
if (!isset($_GET['err'])) $_GET['err'] = '';
|
||||
$ERREUR = '';
|
||||
if ($_GET['err'] == 1) $ERREUR = '<div class="centre"><table style="margin-left: auto; margin-right: auto;"><tr><td><font color="#FF0000"><b>Cette technologie est déjà en cours de recherche, vous ne pouvez pas la rajouter dans la file d\'attente</b></font></td></tr></table></div><br />';
|
||||
if ($_GET['err'] == 1) $ERREUR = '<div class="centre"><table style="margin-left: auto; margin-right: auto;"><tr><td><font color="#FF0000"><b>Ce batiment est déjà en cours de construction, vous ne pouvez pas le rajouter dans la file d\'attente</b></font></td></tr></table></div><br />';
|
||||
elseif ($_GET['err'] == 2) $ERREUR = '<div class="centre"><table style="margin-left: auto; margin-right: auto;"><tr><td><font color="#FFCC00"><b>La production à la chaîne a été arrêtée</b></font></td></tr></table></div><br />';
|
||||
|
||||
$template->set_filenames(array('ressourcestpl' => 'ressources.tpl'));
|
||||
|
|
@ -120,11 +120,11 @@ $a=0; $b=0; $c=0;
|
|||
$i = 0;
|
||||
$nom_bdd = 'mine_m';
|
||||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $b=ceil(pow(2,$n)*500); $c=ceil(pow(2,$n)*150);
|
||||
$n=(${$nom_bdd}-1); $a=ceil(exp(0.4*$mine_m)*190); $b=ceil(exp(0.4*$mine_m)*90);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(1.7,$mine_m)*120)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
|
||||
// Batiment n°2 : Purificateur de cristal/Générateur de Cristal/Usine de cristal ; planete.mine_m
|
||||
|
|
@ -133,9 +133,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(exp(0.43*$mine_c)*205); $b=ceil(exp(0.43*$mine_c)*110);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(1.72,$mine_c)*160)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
|
||||
// Batiment n°3 : Ionisateur/Générateur d'Hydrogène/Synchronisateur d'hydrogène ; planete.mine_h
|
||||
|
|
@ -144,9 +144,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(exp(0.445*$mine_h)*235); $b=ceil(exp(0.445*$mine_h)*150);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(1.75,$mine_h)*180)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
|
||||
// Batiment n°4 : Centrale solaire/Générateur d'Energie/Centrale solaire ; planete.centrale_s
|
||||
|
|
@ -155,9 +155,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(exp(0.442*$centrale_s)*165); $b=ceil(exp(0.442*$centrale_s)*99);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(1.68,$centrale_s)*190)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
|
||||
// Batiment n°5 : Centrale de fusion/0/Centrale énergétique ; planete.centrale_f
|
||||
|
|
@ -167,9 +167,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(pow(1.8,$centrale_f)*300); $b=ceil(pow(1.82,$centrale_f)*230);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(1.8,$centrale_f)*300)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
}
|
||||
|
||||
|
|
@ -180,9 +180,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(pow(2,$radar)*750); $b=ceil(pow(2,$radar)*500); $c=ceil(pow(2,$radar)*50);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(2,$radar)*720)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
}
|
||||
|
||||
|
|
@ -192,9 +192,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(pow(2,$labo)*200); $b=ceil(pow(2,$labo)*150);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(2,$labo)*720)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
|
||||
// Batiment n°8 : Chantier terrestre/Chantier terrestre/Chantier terrestre ; planete.chantier_terrestre
|
||||
|
|
@ -203,9 +203,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(pow(2,$chantier_terrestre)*520); $b=ceil(pow(2,$chantier_terrestre)*380);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(2,$chantier_terrestre)*420)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
|
||||
// Batiment n°9 : Chantier spatial/Chantier spatial/Chantier spatial ; planete.chantier_spatial
|
||||
|
|
@ -215,9 +215,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(pow(2,$chantier_spatial)*600); $b=ceil(pow(2,$chantier_spatial)*450);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(2,$chantier_spatial)*600)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
}
|
||||
|
||||
|
|
@ -227,9 +227,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(pow(2,$caserne)*200); $b=ceil(pow(2,$caserne)*100);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(2,$caserne)*300)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
|
||||
// Batiment n°11 : Entrepôt/Entrepôt/Silo de stockage ; planete.silo
|
||||
|
|
@ -238,9 +238,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(pow(2,$silo)*400); $b=ceil(pow(2,$silo)*260);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(2,$silo)*1200)/(pow(1.23,$centre_info)+0.0025*$ingeneieur))), 'ACTION' => $action));
|
||||
|
||||
// Batiment n°12 : Centrale informatique/0/Centrale informatique ; planete.centre_info
|
||||
|
|
@ -250,9 +250,9 @@ $a=0; $b=0; $c=0;
|
|||
if (${$nom_bdd} > 0) $niveau = '(Niveau '.${$nom_bdd}.')'; else $niveau = '';
|
||||
$n=(${$nom_bdd}-1); $a=ceil(pow(1.7,$centre_info)*600); $b=ceil(pow(1.7,$centre_info)*420); $c=ceil(pow(1.7,$centre_info)*100);
|
||||
if (is_array($fileBat) && $bat == $i+1) { $tr=$fileTemps_b[0]+$fileTemps_b[1]-time(); $action = 'Construction en cours, temps restant : <span id="axion"></span><br><script type="text/javascript">reste('.$tr.');</script>'; }
|
||||
elseif (is_array($fileBat) && ereg(($i+1).',',implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif (is_array($fileBat) && ereg(','.($i+1).',',','.implode(',', $fileBat).',')) $action = 'Bâtiment dans la file d\'attente';
|
||||
elseif ($case <= 0) $action = '<font color="red">Planète pleine</font>';
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, 0, $b, $c);
|
||||
else $action = verification_des_ress($i+1, $metal, $cristal, $hydrogene, $a, $b, $c);
|
||||
if (!empty($batimeni[$i])) $template->assign_block_vars('batiment', array('IMAGE' => $batimeni[$i], 'NOM' => $batiment[$i], 'NUM' => $i, 'NIVEAU' => $niveau, 'DESCRIPTION' => $batimede[$i], 'BESOIN' => ressources($metal, $cristal, $hydrogene, $a, $b, $c, $mine_m, $mine_c, $mine_h), 'TEMPS' => sec(ceil((pow(1.9,$centre_info)*800)/((0.0025*$ingeneieur)+1))), 'ACTION' => $action));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue