Size: 717
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 4: | Line 5: |
returns the amount of resources incoming to a city (food,wood,stone,iron,gold,total) | 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 30: | Line 31: |
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