quote:

Originally posted by Mark_Everson on 01-22-2001 07:30 PM
I am now coding building of military units. The approach I'm taking is that when there are orders to build a military unit a temporary infra class is created to build that unit. The cost of that infra class will be the raw materials (food, manufactured goods, and services) amounts needed to complete the unit.
So ancient warriors with clubs might cost (0, 3, 2) in the same order as above. The services need is mostly initial training. Additionally the people would also be needed. A legion might cost (0, 70, 50), and a modern armored division (0, 90,000, 120,000).
When the cost is reached the temp infra class disappears, and out pops a shiny new unit.
 |
Bookmarks