So I finished up the functionality of a new mod, but I'm not finding a solution to generate localized text dynamically, as the rest of the mod works.
I'm needing to start the localizedtxt sql file with a table like this...
...but as soon as I try to reference a gameplay table (Resource_Harvests), the UpdateText file won't load. Is there some workaround to give an UpdateText file access to gameplay database tables?
I'm needing to start the localizedtxt sql file with a table like this...
Code:
CREATE TABLE Resources_TC_Text(ResourceType varchar(100), ResourceName varchar(100) null, PrereqTech varchar(100) null);
INSERT INTO Resources_TC_Text(ResourceType, ResourceName, PrereqTech)
SELECT ResourceType, null, PrereqTech FROM Resource_Harvests;