Craig_Sutter
Deity
I am using this api in several functions... but it occurs to me that I might be making said functions too complicated as pCity:IsCanPurchase may already be accounting for some factors.
For example, does the function:
- take into account resource availability
- take into account unit stacking
- take into account required buildings
- take into account other functions such as City:CanTrain?
If the above is true, then my functions can be trimmed quite a bit.
Thank-you.
For example, does the function:
- take into account resource availability
- take into account unit stacking
- take into account required buildings
- take into account other functions such as City:CanTrain?
If the above is true, then my functions can be trimmed quite a bit.
Thank-you.