TXT_KEY_BUILDING_HOSPITAL_HELP

Yaser

Chieftain
Joined
Sep 27, 2019
Messages
15
This works:

<Language_en_US>
<Delete Tag="TXT_KEY_BUILDING_GRANARY_HELP" />
<Row Tag="TXT_KEY_BUILDING_GRANARY_HELP">
<Text>
Each source of [ICON_RES_WHEAT] Wheat, [ICON_RES_BANANA] Bananas, [ICON_RES_DEER] Deer worked by this City produce +1 [ICON_FOOD] Food.
[NEWLINE]
[NEWLINE]Allows [ICON_FOOD] Food to be moved from this city along trade routes inside your civilization.
[NEWLINE]
[NEWLINE][ICON_CULTURE] [COLOR_POSITIVE_TEXT]Tradition[ENDCOLOR]: +100% [ICON_PRODUCTION] construction.
[NEWLINE][ICON_CULTURE] [COLOR_POSITIVE_TEXT]Agriculture[ENDCOLOR]: +1 [ICON_FOOD]
[NEWLINE][ICON_CULTURE] [COLOR_POSITIVE_TEXT]Fruits of Labor[ENDCOLOR]: 10% [ICON_FOOD] carried over after a new [ICON_CITIZEN].
</Text>
</Row>
</Language_en_US>

This doesn't work:


<Language_en_US>
<Delete Tag="TXT_KEY_BUILDING_HOSPITAL_HELP" />
<Row Tag="TXT_KEY_BUILDING_HOSPITAL_HELP">
<Text>
The Hospital is an Industrial-era building. It's useful when you want to create a large city, fast.
[NEWLINE]
[NEWLINE][ICON_CULTURE] [COLOR_POSITIVE_TEXT]Agriculture[ENDCOLOR]: +1 [ICON_FOOD] food
</Text>
</Row>
</Language_en_US>


I can't find the file where it's in. Search for "hospital" gives no hit, tried all "jon" files I could find. Can't find any "text" table in the database through SQLiteSpy.
 
Code:
<Help>TXT_KEY_BUILDING_HOSPITAL_STRATEGY</Help>
There is no tag called TXT_KEY_BUILDING_HOSPITAL_HELP

---------------------

And yes you can thank Firaxis for the inconsistencies in the Text tag naming conventions.


--------------------

Also, as mentioned in the other thread, texts are not stored in the "normal" game database, they are in the "Localization-merged.db"
 
Yeah, fond TXT_KEY_BUILDING_HOSPITAL_HELP in Localization-Merged.db

I have only learnt to edit through XML files, I have no idea what to do with the database.

So now I need to learn a second way of modding the game?
 
Code:
TXT_KEY_BUILDING_HOSPITAL	Hospital
TXT_KEY_BUILDING_HOSPITAL_PEDIA	A hospital is an institution for diagnosing and treating the sick or injured, and for housing them during their recovery. Many hospitals are also teaching institutions, where student doctors and nurses learn their trade. The earliest hospitals were temples to certain gods associated with health and healing. Religious hospitals were established in Sri Lanka by 430 BC, and King Asoka of India created a chain of hospitals across Hindustan around 230 BC.
TXT_KEY_BUILDING_HOSPITAL_STRATEGY	The Hospital is an Industrial-era building.  It's useful when you want to create a large city, fast.
These are the only Hospital-related TXT_KEYS found in the Localization-Merged.db database.

There is a TXT_KEY_BUILDING_HOTEL_HELP but not a TXT_KEY_BUILDING_HOSPITAL_HELP

----------------------------

The reason for using the Localization-Merged.db database is so that you can more easily find and copy the info for one of the TXT_KEYS rather than hunting and pecking through the kludge of xml files that are loaded into the Localization-Merged.db database from multiple different folder locations when the game is run. it is not really about needing to learn a new way of modding per se so much as it is learning a new method of saving time and eliminating frustration trying to figure out from which of any number of multiple files a TXT_KEY is defined.
 
Back
Top Bottom