resarray['f'.$id];
$inuse = (int)$database->getVillageField($village->wid, 'celebration');
$now = time();
$inProgress = $inuse > $now;
?>
| |
getTimeFormat(round($c['time'] * ($bid24[$building->getTypeLevel(24)]['attri']/100) / SPEED));
$total = $c['wood']+$c['clay']+$c['iron']+$c['crop'];
$showNpc = $session->userinfo['gold']>=3 && $building->getTypeLevel(17)>=1 && $village->atotal >= $total;
$canAfford = $c['wood']<=$village->awood && $c['clay']<=$village->aclay && $c['iron']<=$village->airon && $c['crop']<=$village->acrop;
?>
|
( )
 |
 |
 |
 |

| 
getProd("crop")>0){ $t=$technology->calculateAvaliable(24,$c); echo " ".ENOUGH_RESOURCES." ".$t[0]." at ".$t[1].""; } else echo " ".CROP_NEGATIVE.""; endif;?>
|
|
= 10):
$gcTime = $generator->getTimeFormat(round($gc[$level]/SPEED));
$gcTotal = 29700+33250+32000+6700;
$showNpc2 = $session->userinfo['gold']>=3 && $building->getTypeLevel(17)>=1 && $village->atotal >= $gcTotal;
$canAfford2 = 29700<=$village->awood && 33250<=$village->aclay && 32000<=$village->airon && 6700<=$village->acrop;
?>
|
(2000 )
 29700|
 33250|
 32000|
 6700|

| 
getProd("crop")>0){ $t=$technology->calculateAvaliable(24,$cel[2]); echo " ".ENOUGH_RESOURCES." ".$t[0]." at ".$t[1].""; } else echo " ".CROP_NEGATIVE.""; endif;?>
|
|