canBuild($id,$bid); $loopsame = ($building->isCurrent($id) || $building->isLoop($id))?1:0; $doublebuild = ($building->isCurrent($id) && $building->isLoop($id))?1:0; $uprequire = $building->resourceRequired($id,$bid); $mastertime = $uprequire['time']; ?> Lumber | Clay | Iron | Crop | Crop consumption | durationgetTimeFormat($uprequire['time']); if($session->userinfo['gold'] >= 3 && $building->getTypeLevel(17) >= 1) { echo "|\"NPC"; } ?> The workers are already at work."; if($session->goldclub == 1){ ?>
gold >= 1 && $village->master == 0){ echo "Constructing with master builder "; echo '(costs: Gold1)'; }else{ echo "Constructing with master builder"; echo '(costs: Gold1)'; } } } else if($bindicator == 3) { echo "The workers are already at work. (waiting loop)"; if($session->goldclub == 1){ ?>
gold >= 1 && $village->master == 0){ echo "Constructing with master builder "; echo '(costs: Gold1)'; }else{ echo "Constructing with master builder"; echo '(costs: Gold1)'; } } } else if($bindicator == 4) { echo "Not enough food. Expand cropland."; } else if($bindicator == 5) { echo "Upgrade Warehouse."; } else if($bindicator == 6) { echo "Upgrade Granary."; } else if($bindicator == 7) { $neededtime = $building->calculateAvaliable($id,$bid); echo "Enough resources ".$neededtime[0]." at ".$neededtime[1].""; if($session->goldclub == 1){ ?>
gold >= 1 && $village->master == 0){ echo "Constructing with master builder "; echo '(costs: Gold1)'; }else{ echo "Constructing with master builder"; echo '(costs: Gold1)'; } } } else if($bindicator == 8) { if($session->access!=BANNED){ echo "checker."\">Construct building."; }else{ echo "Construct building."; } } else if($bindicator == 9) { if($session->access!=BANNED){ echo "checker."\">Construct building. (waiting loop)"; }else{ echo "checker."\">Construct building. (waiting loop)"; } } ?>