How do I modify a mod to include rainforest for a woods bonus?

Tim Parsons

Chieftain
Joined
Oct 15, 2018
Messages
1
I like playing with the "Prince Dalwin - Elves" Mod. It gives a lot of bonuses for woods tiles. Unfortunately, it seems most of my games start with me surrounded by rainforest, which doesn't get the bonus. I would like to change it so that the bonus comes with both woods and rainforest.

The problem is I have never done a mod and don't really want to learn how to mod, I just want to make this (in my mind) simple change. Is it actually a simple change? Can someone tell me if that is something I can do on my own?

Thanks.
 
Depending on the structure, this could be anywhere from 2 to 100 lines of code.
 
If you mean increasing the yields of rainforest feature, that shouldn't be too difficult. Have a look in Terrain.xml and/or use SQLLite to look at Terrain directly in the SQL database (there's a guide in the Tutorials section). Maybe you could use FireTuner to change the yields in-game, but I don't know how that works really.
 
Forest and RainForests (ie, Jungle) are Features rather than terrains.

FEATURE_FOREST
FEATURE_JUNGLE

As said, depending on whatall the original mod does, this could require anywhere from 2 lines of code to 200. But it would be simple coding in the sense of being copy-paste-edit to add identical or nearly-identical code to the existing references in the mod to FEATURE_FOREST. The problem is that when modifiers are used rather than direct Yield-Changing game-tables, each Modifier has to have a unique "name" different from all other Modifiers, and any requirement sets and individual requirements within those requirement sets will likely also need unique "names" assigned to them.

I doubt very much that this "simple" alteration/addition is actually going to be all that simple, especially for someone with no modding experience.
 
Back
Top Bottom