Mod to simply make one resource disappear and appear elsewhere?

I am currently working on it, its the Dynamic Resources Mod
 
Your mod, while popular, sounds a little too complex for what I was hoping to find...

The problem, if I read your mod right, with havong a finite predictable amount of resources is that the AI will NOT minimax itself and stockpile and manage the resource right. I just wanted the resource to disappear with certain % chances each turn and reappear elsewhere... this way the AI/Human have no real advantage over each other.

I take it this is an SDK job, though, even as simple as I would like it: adjustable % chances of disappear/reappear each turn....
 
Dearmad said:
I take it this is an SDK job, though, even as simple as I would like it: adjustable % chances of disappear/reappear each turn....

Shouldn't be. There's a python function called at the beginning and end of every game turn (in EditCvCustomModUtils.py CvEventManager.py, I believe). Using one of those, you can check for changes (using a random number generator) and use the proper CyPlot functions to change plots. It's just a matter of writing the python code that is suitable for "fair randomness", unless you really just like throwing luck to the winds in that regard.
 
Dearmad said:
Hm... this might be tempting. Python is about as far as I will go in modding. No SDK for me- too unintelligent.

Can't find the PY you mention though... I'll have to work on this, I guess.

Yup, my bad. I've editted it above. If you're just doing this for yourself, than you can probably just edit that file (well, a copy of it in a mod or custom assets directory, obviously). If you're looking to make this as a mod component for online, you might want to consider using DrElmerJiggles's utility. It will just be easier for other mods to use your changes if they also use that utility.

http://forums.civfanatics.com/showthread.php?t=157141
 
Back
Top Bottom