3 liens privés
Puisqu'au bout d'un moment, il ne reste qu'à attendre :
gamePage.resPool.get("tears").value = 75000;
et plus généralement :
setInterval(function() {
gamePage.resPool.get("wood").value = gamePage.resPool.get("wood").value + 3000;
gamePage.resPool.get("minerals").value = gamePage.resPool.get("minerals").value + 3000;
gamePage.resPool.get("coal").value = gamePage.resPool.get("coal").value + 3000;
gamePage.resPool.get("iron").value = gamePage.resPool.get("iron").value + 3000;
gamePage.resPool.get("titanium").value = gamePage.resPool.get("titanium").value + 3000;
gamePage.resPool.get("gold").value = gamePage.resPool.get("gold").value + 3000;
gamePage.resPool.get("oil").value = gamePage.resPool.get("oil").value + 3000;
gamePage.resPool.get("manpower").value = gamePage.resPool.get("manpower").value + 3000;
gamePage.resPool.get("science").value = gamePage.resPool.get("science").value + 3000;
gamePage.resPool.get("culture").value = gamePage.resPool.get("culture").value + 3000;
gamePage.resPool.get("faith").value = gamePage.resPool.get("faith").value + 3000;
gamePage.resPool.get("unicorns").value = gamePage.resPool.get("unicorns").value + 3000;
gamePage.resPool.get("starchart").value = gamePage.resPool.get("starchart").value + 3000;
gamePage.resPool.get("manuscript").value = gamePage.resPool.get("manuscript").value + 3000;
gamePage.resPool.get("steel").value = gamePage.resPool.get("steel").value + 3000;
gamePage.resPool.get("slab").value = gamePage.resPool.get("slab").value + 3000;
gamePage.resPool.get("beam").value = gamePage.resPool.get("beam").value + 3000;
},15000);