Creepy Old Man
Warlord
- Joined
- Oct 10, 2010
- Messages
- 295
Ok, my intuition told me that forges are a waste of time. So I did the math to decide when they're actually good.
So, consider two situations: either a particular city builds military units continuously, or it builds a forge first, and then military. The question is, how long until the city with the forge has produced more than the city without?
I'll assume the cities are producing longswords for the convenience of actual numbers.
Numbers:
forge cost 225 resources
forge maintenance 2 gpt
forge bonus 15%
longsword cost 225 resources
longsword rush 740 gold.
(Those are epic pace.)
T = how many turns are devoted to construction
P = production value of the city.
N = number of longswords produced.
Without the forge:
N = T*P/225 + 2*T/740
(the second term is the number of longswords that can be rush-built with the maintenance that was not paid since there is no forge)
Building a forge first:
N = (T*P-225)*1.15/225
Equate the two, and do some algebra:
T = 259 / (0.15*P-0.608)
is the number of turns elapsed before the city that builds the forge first builds more longswords than the one that doesn't build a forge.
So, chart this vs P (production of the city):
If the city production is 4 or less, then the forge never pays off - the maintenance cost exceeds the cost of rush buying the units.
So we see that you need a pretty good city to get your money back in less than a hundred years. Furthermore, you have to build 9 or 10 longswords to get any advantage. In my opinion, (a) any city with a high enough production to benefit from a forge should be building wonders instead and (b) you might not even need enough units to make it worthwhile.
Conclusion: Never build forges.
So, consider two situations: either a particular city builds military units continuously, or it builds a forge first, and then military. The question is, how long until the city with the forge has produced more than the city without?
I'll assume the cities are producing longswords for the convenience of actual numbers.
Numbers:
forge cost 225 resources
forge maintenance 2 gpt
forge bonus 15%
longsword cost 225 resources
longsword rush 740 gold.
(Those are epic pace.)
T = how many turns are devoted to construction
P = production value of the city.
N = number of longswords produced.
Without the forge:
N = T*P/225 + 2*T/740
(the second term is the number of longswords that can be rush-built with the maintenance that was not paid since there is no forge)
Building a forge first:
N = (T*P-225)*1.15/225
Equate the two, and do some algebra:
T = 259 / (0.15*P-0.608)
is the number of turns elapsed before the city that builds the forge first builds more longswords than the one that doesn't build a forge.
So, chart this vs P (production of the city):
If the city production is 4 or less, then the forge never pays off - the maintenance cost exceeds the cost of rush buying the units.
Code:
City production: Turns to pay off
<5 never
5 1824
6 887
10 291
14 174
18 124
22 97
26 79
30 67
35 56
40 48
So we see that you need a pretty good city to get your money back in less than a hundred years. Furthermore, you have to build 9 or 10 longswords to get any advantage. In my opinion, (a) any city with a high enough production to benefit from a forge should be building wonders instead and (b) you might not even need enough units to make it worthwhile.
Conclusion: Never build forges.