Trigger notifications can go in either direction, for better translations

This commit is contained in:
Yair Morgenstern
2023-01-22 16:06:42 +02:00
parent 87dfe2e2bf
commit 83ff2d12d9
6 changed files with 51 additions and 28 deletions

View File

@ -30,7 +30,7 @@
},
{
"name": "a stash of gold",
"notification": "We have found a stash of [goldAmount] Gold in the ruins!",
"notification": "", // trigger notification only
"uniques": ["Gain [50]-[100] [Gold]"],
"color": "#ffeb7f"
},

View File

@ -30,7 +30,7 @@
},
{
"name": "a stash of gold",
"notification": "We have found a stash of [goldAmount] Gold in the ruins!",
"notification": "", // trigger notification only
"uniques": ["Gain [50]-[100] [Gold]"],
"color": "#ffeb7f"
},

View File

@ -906,6 +906,14 @@ A Great Person joins you! =
[civ] has liberated an unknown civilization =
An unknown civilization has liberated [civ] =
# Trigger notifications
# Since each cause can be paired with each effect we need to create the final string by adding them together.
# If your language puts the effect before the cause - like {Gained [2] [Worker] unit(s)} {due to constructing [The Pyramids]} -
# put the english word 'true' behind the '=', otherwise 'false'.
# Don't translate these words to your language, only put 'true' or 'false'. Defaults to 'true'.
EffectBeforeCause =
## Trigger effects
@ -922,6 +930,7 @@ due to adopting [policy] =
due to discovering [naturalWonder] =
due to entering the [eraName] =
due to constructing [buildingName] =
from the ruins =
# World Screen UI