Accommodate variable $ally_name and translations. Resolves #6155.

[ci skip]

(cherry picked from commit 60a451932b)
This commit is contained in:
Wedge009 2021-10-05 23:53:54 +11:00
parent d842a10730
commit 80a790e1ca

View file

@ -1426,10 +1426,31 @@
[/variable]
[then]
[message]
speaker=unit
message= _ "This cave seems pretty empty, except for those two glowing runes in the center. This fort must have once been heavily occupied because countless feet have left well worn paths leading in several directions. $ally_name, which way should we go?"
[/message]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=unit
message= _ "This cave seems pretty empty, except for those two glowing runes in the center. This fort must have once been heavily occupied because countless feet have left well worn paths leading in several directions. Grog, which way should we go?"
[/message]
)
(
[message]
speaker=unit
message= _ "This cave seems pretty empty, except for those two glowing runes in the center. This fort must have once been heavily occupied because countless feet have left well worn paths leading in several directions. Nog, which way should we go?"
[/message]
)
(
[message]
speaker=unit
message= _ "This cave seems pretty empty, except for those two glowing runes in the center. This fort must have once been heavily occupied because countless feet have left well worn paths leading in several directions. Rogrimir, which way should we go?"
[/message]
)
(
[message]
speaker=unit
message= _ "This cave seems pretty empty, except for those two glowing runes in the center. This fort must have once been heavily occupied because countless feet have left well worn paths leading in several directions. Jarl, which way should we go?"
[/message]
)}
[message]
speaker=$ally_name