getProd("wood")); $clay = round($village->getProd("clay")); $iron = round($village->getProd("iron")); $crop = round($village->getProd("crop")); /** * Total crop production capacity */ $totalproduction = $village->allcrop; /** * Safely cache values to reduce repeated access */ $woodStore = round($village->awood); $clayStore = round($village->aclay); $ironStore = round($village->airon); $cropStore = round($village->acrop); $maxStore = $village->maxstore; $maxCrop = $village->maxcrop; ?>
|
|
|
|
acrop > 0) { ?>
0/ |
|
pop + $technology->getUpkeep($village->unitall, 0)) . "/" . $totalproduction; ?> |
gold <= 1) {
echo '
' . $session->gold . ' ' . GOLD . '
';
} else {
echo '
' . $session->gold . ' ' . GOLD;
}
?>
|