improvement modding

John01

Chieftain
Joined
Mar 15, 2019
Messages
4
I've created a new improvement which works but the recommendation popup gets mixed up between this and other improvements. Is this a bug or am I missing something? I've only changed the database, no lua or anything else. xml attached. The Improvement_Yield addition was just to see if it made a difference - it doesn't. TECH_MYSTICISM as the build prereq is a custom tech defined elsewhere (and working fine). There are no errors reported in log files.

Any ideas appreciated, thanks!
 

Attachments

im very confused you're not giving us what those TXT_KEY lead to so how can we decipher the problem?
 
Oh sorry, here's the TXT_KEY entries:
<Language_en_US>
<Row Tag="TXT_KEY_IMPROVEMENT_NATURE_SHRINE_HELP">
<Text>+1 [ICON_PEACE] faith for each adjacent mountain.</Text>
</Row>
<Row Tag="TXT_KEY_IMPROVEMENT_NATURE_SHRINE">
<Text>Nature Shrine</Text>
</Row>
<Row Tag="TXT_KEY_BUILD_NATURE_SHRINE">
<Text>build a Nature Shrine</Text>
</Row>
<Row Tag="TXT_KEY_BUILD_NATURE_SHRINE_REC">
<Text>It will improve faith if next to a mountain.</Text>
</Row>
<Row Tag="TXT_KEY_IMPROVEMENT_NATURE_SHRINE_PEDIA">
<Text>A shrine (Latin: scrinium "case or chest for books or papers"; Old French: escrin "box or case") is a holy or sacred place, which is dedicated to a specific deity, ancestor, hero, martyr, saint, daemon, or similar figure of awe and respect, at which they are venerated or worshipped.</Text>
</Row>
</Language_en_US>

And attached is a screenshot showing an example of the mixup. It seems the _REC text displayed is taken from whatever improvement was last moused-over.
Thanks
 

Attachments

  • improvement_mixup.jpg
    improvement_mixup.jpg
    527.9 KB · Views: 152
Back
Top Bottom