Compare commits

..

3 Commits

Author SHA1 Message Date
1072d78ae7 Permet l'envoi d'un rapport de colonisation (et tous les autres rapports aussi :p)
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-01-16 19:04:20 +01:00
d72e495f59 Met les bonnes valeures sur la planète lors de la colonisation 2021-01-16 19:03:55 +01:00
5334b1877d Les covies avaient besoin d'un techno qui n'existe pas pour construire le vaisseau de colonisation 2021-01-16 19:03:27 +01:00
3 changed files with 7 additions and 2 deletions

View File

@ -665,7 +665,7 @@ class dSpatial implements Donnees
), ),
array( array(
array('batiments', 8, 3), array('batiments', 8, 3),
array('technologies', 8, 1) array('technologies', 8, 0)
), ),
array( array(
array('batiments', 8, 3), array('batiments', 8, 3),

View File

@ -712,7 +712,10 @@ class Planete extends Surface
$this->cristal = 700; $this->cristal = 700;
$this->hydrogene = 0; $this->hydrogene = 0;
$this->modif = array("id_user", "nom_planete", "galaxie", "ss", "position", "image", "cases"); // on met le moment où la planete a été crée, comme ça, à la première actualisation, on ne remplit pas les silos
$this->timestamp = time();
$this->modif = array("id_user", "nom_planete", "galaxie", "ss", "position", "image", "cases", "timestamp", "metal", "cristal", "hydrogene");
} }
/** /**

View File

@ -18,6 +18,8 @@ class Rapport
public $rapportA = ""; public $rapportA = "";
public $rapportB = ""; public $rapportB = "";
public $table = "mail";
/** /**
* Constructor * Constructor
* @access protected * @access protected