gold > 2){ ?>

Marketplace level resarray['f'.$id]; ?>

At the Marketplace you can trade resources with other players. The higher its level, the more resources can be transported at the same time.

NPC completed. Cost 3Gold

Back to building

With the NPC merchant you can distribute the resources in your warehouse as you desire.

The first line shows the current stock. In the second line you can choose another distribution. The third line shows the difference between the old and new stock.

getResourceLevel($village->wid); if($wwvillage['f99t']!=40){ ?>
NPC Trade
Lumber awood); ?> Clay aclay); ?> Iron airon); ?> Crop acrop); ?> Sum: awood+$village->acrop+$village->airon+$village->aclay); ?>
/> /> /> /> Sum: 
awood); ?> aclay); ?> airon); ?> acrop); ?> Rest:  awood+$village->acrop+$village->airon+$village->aclay)-($_GET['r1']+$_GET['r2']+$_GET['r3']+$_GET['r4']); } else { echo floor($village->awood+$village->acrop+$village->airon+$village->aclay); } ?>

userinfo['gold'] > 3) { ?>Trade resources at (step 2 of 2) (Costs: Gold3)Trade resources at (step 2 of 2) (Costs: Gold3)"; }?>