getABTech($village->wid); $ABups = $technology->getABUpgrades('b'); $totalUps = count($ABups); $blacksmithLevel = $building->getTypeLevel(12); $bsAttri = $bid12[$blacksmithLevel]['attri'] / 100; $start = $session->tribe * 10 - 9; $end = $session->tribe * 10 - 2; ?>
| = BLACKSMITH?> | = ACTION?> |
= $unitName?>
(= LEVEL?> = $current?>= $ups > 0? '+'.$ups : ''?>)
= $next['wood']?>|
= $next['clay']?>|
= $next['iron']?>|
= $next['crop']?>|
= $generator->getTimeFormat(round($next['time'] * $bsAttri / SPEED))?>
userinfo['gold'] >= 3 && $building->getTypeLevel(17) >= 1 && $village->atotal >= $totalRequired;
?>
|
$village->awood || $next['clay'] > $village->aclay || $next['iron'] > $village->airon || $next['crop'] > $village->acrop) {
if ($village->getProd('crop') > 0 || $village->acrop > $next['crop']) {
$time = $technology->calculateAvaliable(12, $next);
echo ''.ENOUGH_RESOURCES.' '.$time[0].' at '.$time[1].''; } else { echo ' '.CROP_NEGATIVE.''; } } ?> |
= 20):?>
= MAXIMUM_LEVEL?>
= UPGRADE_BLACKSMITH?>
$village->maxstore || $next['clay'] > $village->maxstore || $next['iron'] > $village->maxstore)):?>
= EXPAND_WAREHOUSE?>
$village->maxcrop):?>
= EXPAND_GRANARY?>
$village->awood || $next['clay'] > $village->aclay || $next['iron'] > $village->airon || $next['crop'] > $village->acrop)):?>
= TOO_FEW_RESOURCES?>
plus || $totalUps > 1):?>
= UPGRADE_IN_PROGRESS?>
access!= BANNED):?>
= UPGRADE?>
= WAITING?>
= UPGRADE?>
= WAITING?>
|
| = UPGRADING?> | = DURATION?> | = COMPLETE?> |
= $unitName?>
(= LEVEL?> = $abdata['b'.$ABUnit]?>)
1):?> = WAITING?>
|
= $generator->getTimeFormat($black['timestamp'] - time())?> | = $date[1]?> hrs |