Conversation
Rampastring
left a comment
There was a problem hiding this comment.
This PR modifies translated strings, but does not update the reference translation.
Furthermore, from the contribution guideline:
If your code significantly modifies existing strings so that their meaning is changed (fixing typos etc. does not count), you need to update the translation key for that string to signal the change to translators. A good way to do this is to append an incrementing version identifier to the translation key, or increment the key if it already exists. For example, if you modified the
ExpandMapWindow.InvalidWidth.Titlestring in a significant way, you'd change its translation key toExpandMapWindow.InvalidWidth.Title.v2. If then, you returned and changed its meaning again at a later date, you'd change the translation key toExpandMapWindow.InvalidWidth.Title.v3.
This PR significantly modifies EnableAIRepairs.Description and DisableAIRepairs.Description.
|
Updated translations per contribution guidelines. |
Adds a new key to houses used by WAE, which denotes whether future buildings they place have the "AI Repairable" flag automatically set or not.
This key is set to
trueorfalsewhen mappers use the "Enable/Disable Building Repair" buttons, respectively. New text is also added to show it, both in the confirmation message and also in the house statistics.This is useful since in most cases, mappers that use the Enable Building Repair typically want to make sure all structures for that house (typically used by AI) are automatically repaired, but currently it only applies to current structures, not future structures.
Automatically saves and loads as a key from/to the map for each house via INI reading/writing logic.