Help needed with updating text using sql

skodkim

Deity
Joined
Jan 16, 2004
Messages
2,497
Location
Denmark
Hi

I've made a simple change to the Great Library using sql. The update works fine (at least no errors) but I get an error when I try to update the text. It seems pretty simple and I've done this loads of times in Civ5.

Can someone see whats wrong here?

UPDATE BaseGameText
SET Text = 'Receive boosts to all Ancient, Classical and Medieval era technologies. Must be built on flat land adjacent to a Campus district with a Library.'
WHERE Tag = 'LOC_BUILDING_GREAT_LIBRARY_DESCRIPTION';

PS: Error messages in Civ6 suck big time!!!!

\Skodkim
 
Thanks

Turns out I had to tweak the modinfo file a bit too as text updates need their own section there. It works now :-)

\Skodkim
 
Thanks

Turns out I had to tweak the modinfo file a bit too as text updates need their own section there. It works now :)

\Skodkim
Can you provide some info on whre in the modinfo file to place reference to changed text sql or xml files please?
 
Look in this simple mod. There's a section for
  • lua files (edited vanilla map script in this case)
  • Changes to civics (could just as well have been to buildings, technologies, units etc...)
  • and finally a section for text changes/additions
Notice how every file is stated two places in the file.

I'm no exprt on this! I'm just learning by looking at what other people are doing and trying to get aquainted with modding Civ6 style.

\Skodkim
 

Attachments

Back
Top Bottom