Size: 536
Comment:
|
← Revision 9 as of 2014-02-10 18:29:20 ⇥
Size: 829
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from city.incomingResources | |
Line 2: | Line 3: |
{{http://guide.neatportal.com/moin_static/applets/FCKeditor/editor/images/spacer.gif|http://guide.neatportal.com/moin_static/applets/FCKeditor/editor/images/spacer.gif|class="TB_Button_Image"}} city.incomingResources() | {{http://guide.neatportal.com/moin_static/applets/FCKeditor/editor/images/spacer.gif|http://guide.neatportal.com/moin_static/applets/FCKeditor/editor/images/spacer.gif|class="TB_Button_Image"}} '''''city.incomingResources() ''''' function that returns the amount of resources incoming to a city based on the incoming resources in an object form. (food,wood,stone,iron,gold,total) |
Line 25: | Line 28: |
will output the current amount of food incoming to the city (not including the food currently in the city) | {{http://img197.imageshack.us/img197/1314/xvel.png|http://img197.imageshack.us/img197/1314/xvel.png|class="image__pic js-image-pic"}} would output 240,000,000 ---- CategoryFunctions |
function
city.incomingResources()
function that returns the amount of resources incoming to a city based on the incoming resources in an object form. (food,wood,stone,iron,gold,total)
usage:
city.incomingResources().property
properties:
total gold iron stone food wood
example:
echo city.incomingResources().food
would output 240,000,000