Extract Tiberian Dawn campaign translations.

This commit is contained in:
Matthias Mailänder
2022-09-11 20:24:39 +02:00
committed by Gustas
parent b62cf7ee9a
commit 621c85059e
73 changed files with 377 additions and 126 deletions

View File

@@ -598,3 +598,5 @@ Actors:
Facing: 368
Rules: cnc|rules/campaign-maprules.yaml, cnc|rules/campaign-tooltips.yaml, cnc|rules/campaign-palettes.yaml, rules.yaml
Translations: cnc|languages/lua/en.ftl

View File

@@ -93,8 +93,8 @@ WorldLoaded = function()
InitObjectives(Nod)
StealDetonator = Nod.AddObjective("Steal the GDI nuclear detonator.")
DestroyVillage = Nod.AddObjective("Destroy the houses of the GDI supporters\nin the village.", "Secondary", false)
StealDetonator = AddPrimaryObjective(Nod, "steal-nuclear-detonator")
DestroyVillage = AddSecondaryObjective(Nod, "destroy-gdi-supporter-houses")
InsertNodUnits()
@@ -120,7 +120,7 @@ WorldLoaded = function()
Trigger.OnEnteredFootprint(Win1CellTriggerActivator, function(a, id)
if a.Owner == Nod then
EvacuateObjective = Nod.AddObjective("Move to the evacuation point.")
EvacuateObjective = AddPrimaryObjective(Nod, "move-to-evacuation-point")
Nod.MarkCompletedObjective(StealDetonator)
Trigger.RemoveFootprintTrigger(id)
end