awood); $clay = round($village->aclay); $iron = round($village->airon); $crop = round($village->acrop); $founder = $database->getVillage($village->wid); $newvillage = $database->getMInfo($_GET['id']); $eigen = $database->getCoor($village->wid); $from = array('x'=>$eigen['x'], 'y'=>$eigen['y']); $to = array('x'=>$newvillage['x'], 'y'=>$newvillage['y']); $troopsTime = $generator->procDistanceTime($from, $to, 300, 0); $time = $database->getArtifactsValueInfluence($session->uid, $village->wid, 2, $troopsTime); //-- Prevent user from founding a new village if there are not enough settlers //-- fix by AL-Kateb - Semplified by iopietro if($village->unitarray['u'.$session->tribe.'0'] < 3){ header("location: dorf1.php"); exit; } //-- echo '
'; echo ''; ?>