Is there an empire-wide food variable? I thought it was city based. If so, where would you deduct the food from?
Announcement
Collapse
No announcement yet.
Help with Unit.txt
Collapse
X
-
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
-
Would it be coprehensive to have the system look for the city with the highest excess food first and subrtract from it until it was no longer then subtract from the next highest one.
Basically a function that checks for the city with highest bonus, subtracts, checks again, subtracts, etc until either all are supplied or there is no bonus food left...
Comment
-
Originally posted by E
Would it be coprehensive to have the system look for the city with the highest excess food first and subrtract from it until it was no longer then subtract from the next highest one.
Basically a function that checks for the city with highest bonus, subtracts, checks again, subtracts, etc until either all are supplied or there is no bonus food left...
Something like:
Needed food by units / number of cities and then substract it from all cities.
-MartinCiv2 military advisor: "No complaints, Sir!"
Comment
-
i think I like that idea for food better Martin. I think this highlights a bigger issue with food though, that there is no distribution system that models a real world situation. Like egypt was rome's bread basket and Rome grew based on food imports, likewise with the midwest. I guess a future issue, probably in governor.cpp, would be able to shift food (maybe also with the trade route system)
As for gold, its managed empire-wide so it shouldnt be as hard to implement right?
I think I hould open this up in a new thread, in the source code...
Comment
Comment