Hi, I'm pretty new to Civ modding, but learning the ropes OK. I have, however, run into something of a snag, namely that quest tooltips won't take any changes.
I've made a small mod to remove the single most obviously unbalanced thing in the game, namely the "+1 Trade Route" quest reward on Auto Plants. It really shouldn't be a thing, three trade routes per city is just too many and too gamechanging, and the AI doesn't know to always take it.
The mechanical changes - a simple yield replacement - work fine. The quest reward popup also displays correctly. However, the tooltip when choosing still pops up with "+1 Trade Route".
The code fragment looks like this:
As far as I can tell, all the text keys correspond to the ones in PlayerPerks.xml, but the change to TXT_KEY_PLAYERPERK_AUTOPLANTS_TRADE_ROUTE_HELP just doesn't do anything. Database.log doesn't spit out any errors. I can't find that string in the files, either, is it somehow generated elsewhere?
It's a minor issue, since anyone who installs the mod will remember it's there, but having tooltips lie to the user irritates me. Do any experienced modders know what I'm doing wrong? Thanks in advance!
I've made a small mod to remove the single most obviously unbalanced thing in the game, namely the "+1 Trade Route" quest reward on Auto Plants. It really shouldn't be a thing, three trade routes per city is just too many and too gamechanging, and the AI doesn't know to always take it.
The mechanical changes - a simple yield replacement - work fine. The quest reward popup also displays correctly. However, the tooltip when choosing still pops up with "+1 Trade Route".
The code fragment looks like this:
Code:
<Language_en_US>
<Update>
<Set Text="+1 [ICON_PRODUCTION] Production from Auto Plants." />
<Where Tag="TXT_KEY_PLAYERPERK_AUTOPLANTS_TRADE_ROUTE_HELP" />
</Update>
<Update>
<Set Text="+1 [ICON_PRODUCTION] Production from Auto Plants." />
<Where Tag="TXT_KEY_PLAYERPERK_AUTOPLANTS_TRADE_ROUTE" />
</Update>
</Language_en_US>
As far as I can tell, all the text keys correspond to the ones in PlayerPerks.xml, but the change to TXT_KEY_PLAYERPERK_AUTOPLANTS_TRADE_ROUTE_HELP just doesn't do anything. Database.log doesn't spit out any errors. I can't find that string in the files, either, is it somehow generated elsewhere?

It's a minor issue, since anyone who installs the mod will remember it's there, but having tooltips lie to the user irritates me. Do any experienced modders know what I'm doing wrong? Thanks in advance!