Affiche les techno dans l'arbre des technos (la disruption) #6

Merged
nemunaire merged 12 commits from show_tech_description into master 2020-11-22 17:01:17 +00:00
Showing only changes of commit 0b5f95dbeb - Show all commits

View File

@ -1051,43 +1051,65 @@ class dTechnologies implements Donnees
switch ($object[0]) {
case 0:
$tableau = array(
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 0, 0)
),
array(
array("technologies", 0, 1)
),
0,
0,
array(
array("technologies", 0, 0),
array('batiments', 6, 2)
),
array(
array("technologies", 0, 0),
array('batiments', 6, 2)
),
array(
array("technologies", 0, 4)
),
array(
array("technologies", 0, 5)
),
0,
array(
array("technologies", 0, 0),
array('batiments', 6, 2)
),
array(
array("technologies", 0, 7)
),
array(
array("technologies", 0, 8)
),
0,
array(
array("technologies", 0, 0),
array('batiments', 6, 2)
),
array(
array("technologies", 0, 10)
),
array(
array("technologies", 0, 11)
),
0,
array(
array("technologies", 0, 3),
array('batiments', 6, 5)
),
array(
array("technologies", 0, 13)
),
array(
array("technologies", 0, 14)
),
0,
array(
array("technologies", 0, 4),
array("technologies", 0, 7),
array("technologies", 0, 10),
array('batiments', 6, 10)
),
array(
array("technologies", 0, 16)
),
@ -1098,70 +1120,98 @@ class dTechnologies implements Donnees
break;
case 1:
$tableau = array(
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 1, 0)
),
array(
array("technologies", 1, 1)
),
0,
array(
array("technologies", 1, 0),
array('batiments', 6, 2)
),
array(
array("technologies", 1, 3)
),
array(
array("technologies", 1, 4)
),
0,
array(
array("technologies", 1, 3),
array('batiments', 6, 5)
),
array(
array("technologies", 1, 6)
),
array(
array("technologies", 1, 7)
),
0,
array(
array("technologies", 1, 6),
array('batiments', 6, 10)
),
array(
array("technologies", 1, 9)
),
array(
array("technologies", 1, 10)
),
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 1, 12)
),
array(
array("technologies", 1, 13)
),
0,
array(
array("technologies", 1, 12),
array('batiments', 6, 2)
),
array(
array("technologies", 1, 15)
),
array(
array("technologies", 1, 16)
),
0,
array(
array("technologies", 1, 12),
array('batiments', 6, 5)
),
array(
array("technologies", 1, 18)
),
array(
array("technologies", 1, 19)
),
0,
array(
array("technologies", 1, 18),
array('batiments', 6, 5)
),
array(
array("technologies", 1, 21)
),
array(
array("technologies", 1, 22)
),
0,
array(
array("technologies", 1, 12),
array('batiments', 6, 2)
),
array(
array("technologies", 1, 24)
),
array(
array("technologies", 1, 25)
),
0,
array(
array("technologies", 1, 12),
array('batiments', 6, 2)
),
array(
array("technologies", 1, 27)
),
@ -1172,16 +1222,26 @@ class dTechnologies implements Donnees
break;
case 2:
$tableau = array(
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 2, 0)
),
array(
array("technologies", 2, 1)
),
0,
0,
0,
array(
array("technologies", 2, 0),
array('batiments', 6, 2)
),
array(
array("technologies", 2, 0),
array('batiments', 6, 2)
),
array(
array('batiments', 6, 20)
),
array(
array("technologies", 2,5)
),
@ -1192,31 +1252,49 @@ class dTechnologies implements Donnees
break;
case 3:
$tableau = array(
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 3, 0)
),
array(
array("technologies", 3, 1)
),
0,
array(
array("technologies", 3, 0),
array('batiments', 6, 2)
),
array(
array("technologies", 3, 3)
),
array(
array("technologies", 3, 4)
),
0,
0,
0,
0,
array(
array("technologies", 3, 3),
array('batiments', 6, 5)
),
array(
array("technologies", 3, 3),
array('batiments', 6, 5)
),
array(
array("technologies", 3, 3),
array('batiments', 6, 5)
),
array(
array('batiments', 6, 1)
),
array(
array("technologies", 3, 9)
),
array(
array("technologies", 3, 10)
),
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 3, 12)
),
@ -1227,42 +1305,58 @@ class dTechnologies implements Donnees
break;
case 4:
$tableau = array(
0,
array(
array('batiments', 6, 2)
),
array(
array("technologies", 4, 0)
),
array(
array("technologies", 4, 1)
),
0,
array(
array('batiments', 6, 2)
),
array(
array("technologies", 4, 3)
),
array(
array("technologies", 4, 4)
),
0,
array(
array("technologies", 4, 3),
array('batiments', 6, 5)
),
array(
array("technologies", 4, 6)
),
array(
array("technologies", 4, 7)
),
0,
array(
array("technologies", 4, 6),
array('batiments', 6, 10)
),
array(
array("technologies", 4, 9)
),
array(
array("technologies", 4, 10)
),
0,
array(
array("technologies", 4, 0),
array('batiments', 6, 5)
),
array(
array("technologies", 4, 12)
),
array(
array("technologies", 4, 13)
),
0,
array(
array("technologies", 4, 12),
array('batiments', 6, 10)
),
array(
array("technologies", 4, 15)
),
@ -1273,63 +1367,87 @@ class dTechnologies implements Donnees
break;
case 5:
$tableau = array(
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 5, 0)
),
array(
array("technologies", 5, 1)
),
0,
array(
array("technologies", 5, 0),
array('batiments', 6, 5)
),
array(
array("technologies", 5, 3)
),
array(
array("technologies", 5, 4)
),
0,
array(
array("technologies", 5, 3),
array('batiments', 6, 10)
),
array(
array("technologies", 5, 6)
),
array(
array("technologies", 5, 7)
),
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 5, 9)
),
array(
array("technologies", 5, 10)
),
0,
array(
array("technologies", 5, 9),
array('batiments', 6, 5)
),
array(
array("technologies", 5, 12)
),
array(
array("technologies", 5, 13)
),
0,
array(
array("technologies", 5, 12),
array('batiments', 6, 10)
),
array(
array("technologies", 5, 15)
),
array(
array("technologies", 5, 16)
),
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 5, 18)
),
array(
array("technologies", 5, 19)
),
0,
array(
array("technologies", 5, 18),
array('batiments', 6, 5)
),
array(
array("technologies", 5, 21)
),
array(
array("technologies", 5, 22)
),
0,
array(
array("technologies", 5, 21),
array('batiments', 6, 10)
),
array(
array("technologies", 5, 24)
),
@ -1340,30 +1458,87 @@ class dTechnologies implements Donnees
break;
case 6:
$tableau = array(
0,
0,
0,
0,
0,
0,
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 6, 0),
array('batiments', 6, 5)
),
array(
array("technologies", 6, 1),
array('batiments', 6, 10)
),
array(
array('batiments', 6, 1)
),
array(
array("technologies", 6, 3),
array('batiments', 6, 5)
),
array(
array("technologies", 6, 4),
array('batiments', 6, 10)
),
array(
array("technologies", 6, 2),
array("technologies", 6, 5),
array('batiments', 6, 20)
)
);
break;
case 7:
$tableau = array(
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
array(
array('batiments', 6, 1)
),
array(
array("technologies", 7, 0),
array('batiments', 6, 2)
),
array(
array("technologies", 7, 1),
array('batiments', 6, 3)
),
array(
array("technologies", 7, 2),
array('batiments', 6, 5)
),
array(
array("technologies", 7, 1),
array('batiments', 6, 3)
),
array(
array("technologies", 7, 3),
array('batiments', 6, 8)
),
array(
array("technologies", 7, 5),
array('batiments', 6, 10)
),
array(
array("technologies", 7, 6),
array('batiments', 6, 15)
),
array(
array("technologies", 7, 7),
array('batiments', 6, 20)
),
array(
array("technologies", 7, 8),
array('batiments', 6, 30)
),
array(
array("technologies", 7, 5),
array('batiments', 6, 10)
),
array(
array("technologies", 7, 5),
array('batiments', 6, 10)
),
array(
array('batiments', 6, 5)
),
array(
array("technologies", 7, 12)
),
@ -1374,7 +1549,10 @@ class dTechnologies implements Donnees
break;
case 8:
$tableau = array(
0,
array(
array("technologies", 1, 2),
array('batiments', 6, 2)
),
array(
array("technologies", 8, 1)
),