'; function techno($nom, $niveau, $niveau_ress) { if ($niveau < $niveau_ress) { echo "".$nom." ".$niveau_ress." (".$niveau.")"; } else { echo "".$nom." ".$niveau_ress." (".$niveau.")"; } } include 'bdd.php'; echo'
Batiments | Technologies | Ecole militaire | Chantier terrestre | Chantier spatial |
Bâtiment | Niveau | Technologies nécessaires (niveau actuel) |
Usine de méttalurgie | '.$mine_m.' | Débloqué |
Usine de cristal | '.$mine_c.' | Débloqué |
Synchronisateur d\'hydrogène | '.$mine_h.' | Débloqué |
Centrale solaire | '.$centrale_s.' | Débloqué |
Centrale énergetique | '.$centrale_f.' | '; @techno('Maitrise de l\'energie',$energie_t, 5); echo' '; @techno('Centrale solaire',$centrale_s, 12); echo' |
Base radar | '.$radar.' | '; @techno(Radar,$detection, 1); echo' |
Laboratoire | '.$labo.' | Débloqué |
Chantier terrestre | '.$chantier_terrestre.' | Débloqué |
Chantier spatial | '.$chantier_spatial.' | '; @techno('Chantier terrestre',$chantier_terrestre, 2); echo' |
Ecole militaire | '.$caserne.' | Débloqué |
Silo de stockage | '.$silo.' | Débloqué |
Centrale informatque | '.$centre_info.' | '; @techno('IA',$informatique, 2); echo' |