isCurrent($id) || $building->isLoop($id))?1:0; $doublebuild = ($building->isCurrent($id) && $building->isLoop($id))?1:0; ?>

Stonemason's Lodge Level resarray['f'.$id]; ?>

The stonemason's lodge is an expert at cutting stone. The further the building is extended the higher the stability of the village's buildings.

isMax($village->resarray['f'.$id.'t'],$id)) { $next = $village->resarray['f'.$id]+1+$loopsame+$doublebuild; if($next<=20){ ?>
Current stability bonus: resarray['f'.$id]]['attri']; ?> Percent
Stability bonus at level : Percent Stability bonus at level 20: Percent