Question:How to ban the Great Person patronage as a trait?

WatcherNinth

Chieftain
Joined
Mar 8, 2017
Messages
10
Em...I don't think this will be easy,as I confirmed that there is no modifiers supporting this function.there is a MODIFIER_PLAYER_ADJUST_GREAT_PERSON_PATRONAGE_DISCOUNT_PERCENT,used in oracle to grant a discount on patronagement by faith, I tried to use minus to make the patronage fee very high, but it did't work(Extra -1 did't work too) .Is this possible using Lua? If it can be done, where should I start? I have never used lua, but I can learn about it.
Any kind of help is appreciated.
 
Do you mean prevent a specific civ or leader from ever interacting with that Great Person type, like Kongo can't have Great Prophets?

There is a table for that. Just insert the leader or civ's trait into the Excluded_GreatPersonClasses table along with the great person class you want to exclude:


INSERT INTO ExcludedGreatPersonClasses (GreatPersonClassType,TraitType)
VALUES ('GreatPersonClassType','TraitType');


If you want to ban ALL Great People patronage, you'd have to insert for each type of Great Person. If I were doing that I'd probably write it as a loop:


This for example would block Ghandi from using ANY great person.


INSERT INTO ExcludedGreatPersonClasses (GreatPersonClassType,TraitType)
SELECT GreatPersonClasses.GreatPersonClassType,'TRAIT_LEADER_SATYAGRAHA'
FROM GreatPersonClasses;
 
Do you mean prevent a specific civ or leader from ever interacting with that Great Person type, like Kongo can't have Great Prophets?

There is a table for that. Just insert the leader or civ's trait into the Excluded_GreatPersonClasses table along with the great person class you want to exclude:


INSERT INTO ExcludedGreatPersonClasses (GreatPersonClassType,TraitType)
VALUES ('GreatPersonClassType','TraitType');


If you want to ban ALL Great People patronage, you'd have to insert for each type of Great Person. If I were doing that I'd probably write it as a loop:


This for example would block Ghandi from using ANY great person.


INSERT INTO ExcludedGreatPersonClasses (GreatPersonClassType,TraitType)
SELECT GreatPersonClasses.GreatPersonClassType,'TRAIT_LEADER_SATYAGRAHA'
FROM GreatPersonClasses;
No,This civ has a trait that boost all kinds of GPP gain, but cannot (or extremely hard) purchase any kind of great person using faith or gold.
But thanks anyway, I finally know how the Kongo trait works.
 
Back
Top Bottom