I would like some help in learning to add to both the rules set and the nations set.
I want to create a fantasy setting. I have looked at tech.ruleset and think that adding:
[New tech]
Name = "New Tech"
Req1 = "A Previous Tech"
Req2 = "Another Previous Tech"
Flags = ""
would script the new techs but can not find where they are listed in code. I looked in common/tech.c and tech.h but found no specifics. Where are the techs implimented. I do program in C/C++ so do not need a lot of help there.
How can new races be added and what changes to the code would be needed to set it so that 2 or more nations could both be the same race. I realize that this is a hard coded limit at the moment and am willing to put in time to change the code if someone would point me in the right direction.
I want to create a fantasy setting. I have looked at tech.ruleset and think that adding:
[New tech]
Name = "New Tech"
Req1 = "A Previous Tech"
Req2 = "Another Previous Tech"
Flags = ""
would script the new techs but can not find where they are listed in code. I looked in common/tech.c and tech.h but found no specifics. Where are the techs implimented. I do program in C/C++ so do not need a lot of help there.
How can new races be added and what changes to the code would be needed to set it so that 2 or more nations could both be the same race. I realize that this is a hard coded limit at the moment and am willing to put in time to change the code if someone would point me in the right direction.
Comment