First question is "Is there a way to add a resource to the game that's is only available throguh a building?"
Example: Say I wanted to add a unit to the game called the "tax collector" but wanted to limit the number of units in the game to three per "Tax office". Now I know I could just use the Building_FreeUnits to simply give them the units but I don't really want them to be a freebie. So I figured I could have the unit require a new resource the "Resource_Audit" and then introduce the resource through the tax office. That way for every tax office the player built they would get 3 "Resource_Audit" and thus be able to build 3 "tax collector". Unfortunately I can't see a way to have a building actually GIVE you a new resource, increase the number you are already getting yes but not give you a new one. Can anyone thing of another way to do what I want(Scale the number of units buildable with the number of buildings owned) or how to introduce a new resource through a building and not a plot of land.
Second question is much simpler to ask but I think much harder to do. "Is there a way to allow two unit's to work one tile, IE a Worker building a farm and a Legion building a road." I think my answer is "not until they release the code" and even then "not with XML". But I figure I may as well ask.
Example: Say I wanted to add a unit to the game called the "tax collector" but wanted to limit the number of units in the game to three per "Tax office". Now I know I could just use the Building_FreeUnits to simply give them the units but I don't really want them to be a freebie. So I figured I could have the unit require a new resource the "Resource_Audit" and then introduce the resource through the tax office. That way for every tax office the player built they would get 3 "Resource_Audit" and thus be able to build 3 "tax collector". Unfortunately I can't see a way to have a building actually GIVE you a new resource, increase the number you are already getting yes but not give you a new one. Can anyone thing of another way to do what I want(Scale the number of units buildable with the number of buildings owned) or how to introduce a new resource through a building and not a plot of land.
Second question is much simpler to ask but I think much harder to do. "Is there a way to allow two unit's to work one tile, IE a Worker building a farm and a Legion building a road." I think my answer is "not until they release the code" and even then "not with XML". But I figure I may as well ask.