Ithryn_luin
Chieftain
- Joined
- Jun 2, 2006
- Messages
- 13
I'm looking to make a Peak Oil mod. Basically I want each oil field to have a set value, say 10,000 (or Random). Every turn the Civ that's using that oil will tally up it's military and population and subtract a certain amount divided amongst the wells that their using (as it's non-renewal). When the oil well runs dry, it will dissappear and that Civ will have to find alternate fields, suffer monetary/building penalty or research alternative fuels. As the game progresses you will see wars being launched or ludicrous deals in order to satiate their oil thirst.
To do this I figure I could either assign a unique designation to each well as it's created and have the game store each value and alter it per turn. If this isn't possible then maybe I could make say 20 unique resources that all happen to be oil well-like just with different names (I don't look forward to that though).
I've never delved into Python (only XML), but I figured it would be the best way to do this. My only problem is I don't know where to start. Can anybody help? Either steer me in the right direction for tutorials or let me know which files I should be looking at?
Thanks!
To do this I figure I could either assign a unique designation to each well as it's created and have the game store each value and alter it per turn. If this isn't possible then maybe I could make say 20 unique resources that all happen to be oil well-like just with different names (I don't look forward to that though).
I've never delved into Python (only XML), but I figured it would be the best way to do this. My only problem is I don't know where to start. Can anybody help? Either steer me in the right direction for tutorials or let me know which files I should be looking at?

Thanks!