From d5e07b0053c50b3675d34fdb3c36bc768f01aefd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Severin=20Gl=C3=B6ckner?= Date: Sat, 5 Jan 2019 02:28:30 +0100 Subject: [PATCH] SoF7: mention correct type in message closes #3786 [ci skip] --- .../scenarios/7_Outriding_the_Outriders.cfg | 25 ++++++++++++++++--- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/data/campaigns/Sceptre_of_Fire/scenarios/7_Outriding_the_Outriders.cfg b/data/campaigns/Sceptre_of_Fire/scenarios/7_Outriding_the_Outriders.cfg index 2659ea781801..a29d8cb2df24 100644 --- a/data/campaigns/Sceptre_of_Fire/scenarios/7_Outriding_the_Outriders.cfg +++ b/data/campaigns/Sceptre_of_Fire/scenarios/7_Outriding_the_Outriders.cfg @@ -553,10 +553,27 @@ speaker=Hadlin # wmllint: ignore message= _ "Who goes there?" [/message] - [message] - speaker=Alanin - message= _ "I’m a dragoon, with Haldric II’s personal bodyguard. I was sent on a mission in the northlands, and now elvish horsemen are chasing me. I barely evaded them." - [/message] + {IF_VAR unit.type} + [if] + [variable] + name=unit.type + equals=Dragoon + [/variable] + [then] + [message] + speaker=Alanin + # po: dragoon = his unit type + message= _ "I’m a dragoon, with Haldric II’s personal bodyguard. I was sent on a mission in the northlands, and now elvish horsemen are chasing me. I barely evaded them." + [/message] + [/then] + [else] + [message] + speaker=Alanin + # po: cavalier = his unit type + message= _ "I’m a cavalier, with Haldric II’s personal bodyguard. I was sent on a mission in the northlands, and now elvish horsemen are chasing me. I barely evaded them." + [/message] + [/else] + [/if] [message] speaker=Hadlin # wmllint: ignore message= _ "I see. Well, come on in. I doubt they would be able to capture this fort, even if they did want to start a war, which I doubt."