diff --git a/Templates/Build/1.tpl b/Templates/Build/1.tpl index 21aaef67..bea337f0 100644 --- a/Templates/Build/1.tpl +++ b/Templates/Build/1.tpl @@ -1,3 +1,7 @@ +isCurrent($id) || $building->isLoop($id))?1:0; + $doublebuild = ($building->isCurrent($id) && $building->isLoop($id))?1:0; +?>
@@ -10,13 +14,38 @@
isMax($village->resarray['f'.$id.'t'],$id)) {
+ $next = $village->resarray['f'.$id]+1+$loopsame+$doublebuild;
+ if($village->capital == 1) {
+ if($next<=20){
?>
@@ -13,12 +17,20 @@
@@ -14,11 +18,19 @@
@@ -13,11 +17,18 @@
@@ -13,11 +17,18 @@
@@ -11,13 +15,38 @@
isMax($village->resarray['f'.$id.'t'],$id)) {
+ $next = $village->resarray['f'.$id]+1+$loopsame+$doublebuild;
+ if($village->capital == 1) {
+ if($next<=20){
?>
@@ -8,36 +12,12 @@
| Currently hidden units per resource: | -tribe == 1) { - ?> -resarray['f'.$id]]['attri']; ?> units | - -tribe == 2) { - ?> -resarray['f'.$id]]['attri']; ?> units | - tribe == 3) { ?>resarray['f'.$id]]['attri']*2; ?> units | -tribe == 4) { - ?> -resarray['f'.$id]]['attri']; ?> units | - -tribe == 5) { + }else{ ?>resarray['f'.$id]]['attri']; ?> units | isMax($village->resarray['f'.$id.'t'],$id)) { + if($next<=10){ ?> -Hidden units per resource at level resarray['f'.$id]+1; ?>: | -tribe == 1) { - ?> -resarray['f'.$id]+1]['attri']; ?> units | - -tribe == 2) { - ?> -resarray['f'.$id]+1]['attri']; ?> units | - +Hidden units per resource at level resarray['f'.$id]+1+$loopsame+$doublebuild; ?>: | tribe == 3) { ?> -resarray['f'.$id]+1]['attri']*2; ?> units | +resarray['f'.$id]+1+$loopsame+$doublebuild]['attri']*2; ?> units | +resarray['f'.$id]+1+$loopsame+$doublebuild]['attri']; ?> units | + +Hidden units per resource at level 20: | tribe == 4) { + if($session->tribe == 3) { ?> -resarray['f'.$id]+1]['attri']; ?> units | +units | -tribe == 5) { - ?> -resarray['f'.$id]+1]['attri']; ?> units | +units | - + }}} + ?>
|---|
@@ -13,11 +17,18 @@
@@ -13,13 +17,38 @@
isMax($village->resarray['f'.$id.'t'],$id)) {
+ $next = $village->resarray['f'.$id]+1+$loopsame+$doublebuild;
+ if($village->capital == 1) {
+ if($next<=20){
?>
By building a City Wall you can protect your village against the barbarian hordes of your enemies. The higher the wall's level, the higher the bonus given to your forces' defence.
@@ -9,12 +13,20 @@By building a Earth Wall you can protect your village against the barbarian hordes of your enemies. The higher the wall's level, the higher the bonus given to your forces' defence.
@@ -9,12 +13,20 @@By building a Palisade you can protect your village against the barbarian hordes of your enemies. The higher the wall's level, the higher the bonus given to your forces' defence.
@@ -9,12 +13,20 @@
@@ -13,11 +17,18 @@
@@ -13,11 +17,18 @@
- Met goed verstopte vallen, beschermt de vallenzetter zijn dorp. Onachtzame aanvallers kunnen zo gevangen genomen worden en zijn geen gevaar meer voor het dorp.
| Actuele maximale aantal | +Currect maximum traps to train: | -10 Vallen | +resarray['f'.$id]]['attri']; ?> Traps | ||
|---|---|---|---|---|---|
| Maximale aantal bij niveau 2 | -22 Vallen | + isMax($village->resarray['f'.$id.'t'],$id)) { + $next = $village->resarray['f'.$id]+1+$loopsame+$doublebuild; + if($next<=20){ + ?> +Maximum traps to train at level : | +Traps | + +Maximum traps to train at level 20: | +Traps | +
Je bezit op het moment 0 vallen, daarvan zijn er 0 bezet.
+Your currently have 0 traps, 0 of which are occupied.