forked from halo-battle/game
Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
|
|
@ -123,73 +123,73 @@ array(
|
|||
),
|
||||
0
|
||||
);
|
||||
$batimentVAR = array('mine_m','mine_c','mine_h','centrale_s','centrale_f','radar','labo','chantier_terrestre','chantier_spatial','caserne','silo','centre_info');//,'habitation','arcologie','commercial','loisir','administration');
|
||||
$batimentVAR = array('mine_m','mine_c','mine_h','centrale_s','centrale_f','radar','labo','chantier_terrestre','chantier_spatial','caserne','silo','centre_info','habitation','arcologies','bunker','commercial','loisir','administration');
|
||||
$batimentCALC = array(
|
||||
array(
|
||||
'$a = ceil(pow(1.5,$n)*68);',
|
||||
'$b = ceil(pow(1.5,$n)*17);',
|
||||
'$c = 0;',
|
||||
'$sec = (ceil(1.02*(3/(1+$planete->batiments[11]))*pow(1.5,$n))*(1/(1+$planete->casernes[7]*0.005)))*60;'
|
||||
'$sec = pow(1.5,$n)*6;'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(1.6,$n)*53);',
|
||||
'$b = ceil(pow(1.6,$n)*27);',
|
||||
'$c = 0;',
|
||||
'$sec = (ceil(1.2*(3/(1+$planete->batiments[11]))*pow(1.55,$n))*(1/(1+$planete->casernes[7]*0.005)))*60;'
|
||||
'$sec = pow(1.55,$n)*6;'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(1.5,$n)*242);',
|
||||
'$b = ceil(pow(1.5,$n)*72);',
|
||||
'$c = 0;',
|
||||
'$sec = (ceil(1.5*(3/(1+$planete->batiments[11]))*pow(1.624,$n))*(1/(1+$planete->casernes[7]*0.005)))*60;'
|
||||
'$sec = pow(1.624,$n)*6;'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(1.5,$n)*92);',
|
||||
'$b = ceil(pow(1.5,$n)*37);',
|
||||
'$c = 0;',
|
||||
'$sec = (ceil(1.36*(3/(1+$planete->batiments[11]))*pow(1.597,$n))*(1/(1+$planete->casernes[7]*0.005)))*60;'
|
||||
'$sec = pow(1.597,$n)*6;'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(1.73,$n)*800);',
|
||||
'$b = ceil(pow(1.73,$n)*420);',
|
||||
'$c = ceil(pow(1.68,$n)*285);',
|
||||
'$sec = (ceil(1.8*(3/(1+$planete->batiments[11]))*pow(1.7,$n))*(1/(1+$planete->casernes[7]*0.005)))*60;'
|
||||
'$sec = pow(1.7,$n)*6;'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(2,$planete->batiments[5])*750);',
|
||||
'$b = ceil(pow(2,$planete->batiments[5])*500);',
|
||||
'$c = 0;',
|
||||
'$sec = ceil((pow(2,$planete->batiments[5])*720)/(pow(1.23,$planete->batiments[11])+0.0025*$planete->casernes[7]));'
|
||||
'$sec = ceil(pow(2,$planete->batiments[5])*720);'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(2,$planete->batiments[6])*200);',
|
||||
'$b = ceil(pow(2,$planete->batiments[6])*150);',
|
||||
'$c = 0;',
|
||||
'$sec = ceil((pow(2,$planete->batiments[6])*720)/(pow(1.23,$planete->batiments[11])+0.0025*$planete->casernes[7]));'
|
||||
'$sec = ceil(pow(2,$planete->batiments[6])*720);'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(2,$planete->batiments[7])*520);',
|
||||
'$b = ceil(pow(2,$planete->batiments[7])*380);',
|
||||
'$c = 0;',
|
||||
'$sec = ceil((pow(2,$planete->batiments[7])*420)/(pow(1.23,$planete->batiments[11])+0.0025*$planete->casernes[7]));'
|
||||
'$sec = ceil(pow(2,$planete->batiments[7])*420);'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(2,$planete->batiments[8])*600);',
|
||||
'$b = ceil(pow(2,$planete->batiments[8])*450);',
|
||||
'$c = 0;',
|
||||
'$sec = ceil((pow(2,$planete->batiments[8])*600)/(pow(1.23,$planete->batiments[11])+0.0025*$planete->casernes[7]));'
|
||||
'$sec = ceil(pow(2,$planete->batiments[8])*600);'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(2,$planete->batiments[9])*200);',
|
||||
'$b = ceil(pow(2,$planete->batiments[9])*100);',
|
||||
'$c = 0;',
|
||||
'$sec = ceil((pow(2,$planete->batiments[9])*300)/(pow(1.23,$planete->batiments[11])+0.0025*$planete->casernes[7]));'
|
||||
'$sec = ceil(pow(2,$planete->batiments[9])*300);'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(2,$planete->batiments[10])*400);',
|
||||
'$b = ceil(pow(2,$planete->batiments[10])*260);',
|
||||
'$c = 0;',
|
||||
'$sec = ceil((pow(2,$planete->batiments[10])*1200)/(pow(1.23,$planete->batiments[11])+0.0025*$planete->casernes[7]));'
|
||||
'$sec = ceil(pow(2,$planete->batiments[10])*1200);'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow(1.7,$planete->batiments[11])*600);',
|
||||
|
|
@ -197,11 +197,43 @@ $batimentCALC = array(
|
|||
'$c = ceil(pow(1.7,$planete->batiments[11])*100);',
|
||||
'$sec = ceil((pow(1.9,$planete->batiments[11])*800)/((0.0025*$planete->casernes[7])+1));'
|
||||
),
|
||||
array(),
|
||||
array(),
|
||||
array(),
|
||||
array(),
|
||||
array()
|
||||
//Module résidentiel
|
||||
array(
|
||||
'$a = ceil(pow($planete->batiments[12],2.075)*1000+1500);',
|
||||
'$b = ceil(pow($planete->batiments[12],1.8)*1000+1000);',
|
||||
'$c = 0;',
|
||||
'$sec = ceil(pow($planete->batiments[12],2.5)*60+4)*60;'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow($planete->batiments[13],2.8)*1000+299000);',
|
||||
'$b = ceil(pow($planete->batiments[13],2.5)*1000+149000);',
|
||||
'$c = 0;',
|
||||
'$sec = ceil(pow($planete->batiments[13],1.6)*60+60)*60;'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow($planete->batiments[14],2)*1200+140000);',
|
||||
'$b = ceil(pow($planete->batiments[14],2)*900+99000);',
|
||||
'$c = ceil(pow($planete->batiments[14],2)*500+30000);',
|
||||
'$sec = ceil(pow($planete->batiments[14],2)*5+3)*60;'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow($planete->batiments[15],2)*1000+80000);',
|
||||
'$b = ceil(pow($planete->batiments[15],2)*750+65000);',
|
||||
'$c = 0;',
|
||||
'$sec = pow($planete->batiments[15],2)*240;'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow($planete->batiments[16],2)*850+60000);',
|
||||
'$b = ceil(pow($planete->batiments[16],2)*650+50000);',
|
||||
'$c = 0;',
|
||||
'$sec = pow($planete->batiments[16],2)*180;'
|
||||
),
|
||||
array(
|
||||
'$a = ceil(pow($planete->batiments[17],2.5)*500 -300);',
|
||||
'$b = ceil(pow($planete->batiments[17],2.4)*400-250);',
|
||||
'$c = 0;',
|
||||
'$sec = pow($planete->batiments[17],1.65)*3600;'
|
||||
)
|
||||
);
|
||||
$batimentTECH = array(
|
||||
0,
|
||||
|
|
@ -225,8 +257,12 @@ $batimentTECH = array(
|
|||
array($technolo[1][12], 'techno_inge', 4096)
|
||||
),
|
||||
0,
|
||||
0,
|
||||
array(
|
||||
array($technolo[3][8], 'techno_poli', 256)
|
||||
array($technolo[7][12], 'techno_proj', 4096)
|
||||
),
|
||||
array(
|
||||
array($technolo[7][11], 'techno_proj', 2048)
|
||||
),
|
||||
array(
|
||||
array($technolo[3][6], 'techno_poli', 64)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue