Changing Celtic UA

adan_eslavo

Archmage of all Pixels
Supporter
Joined
Apr 23, 2017
Messages
2,838
Location
Łódź, Poland
Hi.
I want to change Celtic "Druidic Lore" UA part:
Spoiler :
+3 :c5faith: Faith in owned Cities where your Religion is the majority.
to:
Spoiler :
+2 :c5faith: Faith and +1 :c5greatperson: GMP in your city after getting Pantheon. +1 :c5greatperson: GMP to your holy city for founding Religion, extending Religion and choosing Reformation Belief

The main problem is I don't know where to find xml or sql file with "Druidic Lore" trait text to change it. Next is probably lua file where this part is coded because I also cannot find tables where such complecated things could be coded. I suppose that my part of trait need to be lua coded. Could you tell me where I can find those things?
 

merill

Prince
Joined
May 15, 2010
Messages
437
Location
France
Text change: in cbp/corechanges/text/en_us/something (from memory). You should use notepad++ or other good text editor with "search in folder" function.

Problem with tying the ua with pantheon -> if don't found a religion, your ua is wasted.
 

adan_eslavo

Archmage of all Pixels
Supporter
Joined
Apr 23, 2017
Messages
2,838
Location
Łódź, Poland
Basic one is waste too if you not found religion. That's why I want give part of this to pantheon to better start. But anyways it's only beta version. Thanks for tip.
 

doublex55

Prince
Joined
Jul 3, 2016
Messages
520
Basic one is waste too if you not found religion. That's why I want give part of this to pantheon to better start. But anyways it's only beta version. Thanks for tip.

With the wording primary religion it includes your pantheon.(I think?) You want to use the same wording.

If it doesnt, use “cities with your pantheon or primary relligion”
 

adan_eslavo

Archmage of all Pixels
Supporter
Joined
Apr 23, 2017
Messages
2,838
Location
Łódź, Poland
Ok.
But the main question is: does someone know where the part of code concerning this Celtic ability is written and stored? It would make easier for me to negate its effect and then add mine.
 

pineappledan

Deity
Joined
Aug 9, 2017
Messages
8,433
Location
Alberta, Canada
GKLeaderChanges.sql
Code:
INSERT INTO Trait_YieldFromOwnPantheon
    (TraitType, YieldType, Yield)
VALUES
    ('TRAIT_FAITH_FROM_NATURE', 'YIELD_FAITH', 3);
 

adan_eslavo

Archmage of all Pixels
Supporter
Joined
Apr 23, 2017
Messages
2,838
Location
Łódź, Poland
Thank you. I really couldn't find this peace. Now its so obvious.
 
Top Bottom