Reworked all of the ally stuff...

...to avoid the use of variables in translatable strings.
This commit is contained in:
Steven Panek 2010-11-06 05:05:46 +00:00
parent 0a6fd74f77
commit 54a723b9e0
10 changed files with 688 additions and 420 deletions

View file

@ -163,11 +163,6 @@
name=dwarf_name
value=Rogrimir
[/set_variable]
[set_variable]
name=intl_dwarf_name
value=_ "Rogrimir" # wmllint: ignore
[/set_variable]
[/then]
[else]
@ -176,11 +171,6 @@
value=Jarl
[/set_variable]
[set_variable]
name=intl_dwarf_name
value=_ "Jarl" # wmllint: ignore
[/set_variable]
# Jarl's traits are intentionally inferior to Rogrimir's
[unit]
type=Dwarvish Stalwart
@ -409,10 +399,26 @@
message= _ "That I may be able to help you with. We havent sent anyone to the surface in years, but we do know of a passage that leads to the ancient northern gate. Several generations ago we used to trade heavily with humans that lived north of the mountains, but then some new human came to power and decreed that all contact with us should be cut off. We sent messengers to find out why, but they never returned."
[/message]
[message]
speaker=King Thurongar
message= _ "But dwarves are excellent delvers, and we keep meticulous maps of all the tunnels we have explored. We should still have maps of the tunnels leading back to the surface. Of course I doubt you would be able to understand them, so, $intl_dwarf_name here has volunteered to lead you to the surface."
[/message]
[if]
[variable]
name=dwarf_name
value=Rogrimir
[/variable]
[then]
[message]
speaker=King Thurongar
message= _ "But dwarves are excellent delvers, and we keep meticulous maps of all the tunnels we have explored. We should still have maps of the tunnels leading back to the surface. Of course I doubt you would be able to understand them, so, Rogrimir here has volunteered to lead you to the surface."
[/message]
[/then]
[else]
[message]
speaker=King Thurongar
message= _ "But dwarves are excellent delvers, and we keep meticulous maps of all the tunnels we have explored. We should still have maps of the tunnels leading back to the surface. Of course I doubt you would be able to understand them, so, Jarl here has volunteered to lead you to the surface."
[/message]
[/else]
[/if]
[if]
[variable]
@ -440,10 +446,26 @@
[/else]
[/if]
[message]
speaker=Kaleh
message= _ "Thank you very much for your help. We were worried about getting lost in all these twisting tunnels. And we would be honored to have you come with us, $intl_dwarf_name ."
[/message]
[if]
[variable]
name=dwarf_name
value=Rogrimir
[/variable]
[then]
[message]
speaker=Kaleh
message= _ "Thank you very much for your help. We were worried about getting lost in all these twisting tunnels. And we would be honored to have you come with us, Rogrimir."
[/message]
[/then]
[else]
[message]
speaker=Kaleh
message= _ "Thank you very much for your help. We were worried about getting lost in all these twisting tunnels. And we would be honored to have you come with us, Jarl."
[/message]
[/else]
[/if]
[if]
[have_unit]

View file

@ -162,11 +162,6 @@
name=troll_name
value=Grog
[/set_variable]
[set_variable]
name=intl_troll_name
value=_ "Grog" # wmllint: ignore
[/set_variable]
[/then]
[else]
@ -175,11 +170,6 @@
value=Nog
[/set_variable]
[set_variable]
name=intl_troll_name
value=_ "Nog" # wmllint: ignore
[/set_variable]
# Nog's traits are is intentionally inferior to Grog's
[unit]
type=Troll
@ -403,10 +393,26 @@
message= _ "Darmog has never been above ground, but Darmog understand your story. A leader must protect and care for his people. Every people deserve to find their own home. If we can help you we will."
[/message]
[message]
speaker=Spiritual Advisor
message= _ "We may be able to help you find a way back to the sunlit lands. In our temples we do keep records of the past. We have not walked above the earth for many many generations, not since the darkness drove us underground. But we are masters of the underground lands, and we have explored many tunnels. Recently one of our scouts found a path that leads north back to the sunlit lands, I think it may be the way you are trying to go. In reward for your achievements, we will help you. $intl_troll_name has volunteered to protect you and lead you back to the sunlight lands."
[/message]
[if]
[variable]
name=troll_name
equals=Grog
[/variable]
[then]
[message]
speaker=Spiritual Advisor
message= _ "We may be able to help you find a way back to the sunlit lands. In our temples we do keep records of the past. We have not walked above the earth for many many generations, not since the darkness drove us underground. But we are masters of the underground lands, and we have explored many tunnels. Recently one of our scouts found a path that leads north back to the sunlit lands, I think it may be the way you are trying to go. In reward for your achievements, we will help you. Grog has volunteered to protect you and lead you back to the sunlight lands."
[/message]
[/then]
[else]
[message]
speaker=Spiritual Advisor
message= _ "We may be able to help you find a way back to the sunlit lands. In our temples we do keep records of the past. We have not walked above the earth for many many generations, not since the darkness drove us underground. But we are masters of the underground lands, and we have explored many tunnels. Recently one of our scouts found a path that leads north back to the sunlit lands, I think it may be the way you are trying to go. In reward for your achievements, we will help you. Nog has volunteered to protect you and lead you back to the sunlight lands."
[/message]
[/else]
[/if]
[if]
[variable]
@ -428,16 +434,32 @@
[else]
[message]
speaker=$troll_name
message= _ "You did trolls big service. $intl_troll_name like to wander in tunnels, and chief say that he knows the upper tunnels the best. $intl_troll_name want to help elves so even though he not want to leave battle, he agrees to show elves way back to lighted lands."
speaker=Nog
message= _ "You did trolls big service. Nog like to wander in tunnels, and chief say that he knows the upper tunnels the best. Nog want to help elves so even though he not want to leave battle, he agrees to show elves way back to lighted lands."
[/message]
[/else]
[/if]
[message]
speaker=Kaleh
message= _ "Thank you very much for your help. We were worried about getting lost in all these twisting tunnels. And we would be honored to have you come with us, $intl_troll_name|."
[/message]
[if]
[variable]
name=troll_name
equals=Grog
[/variable]
[then]
[message]
speaker=Kaleh
message= _ "Thank you very much for your help. We were worried about getting lost in all these twisting tunnels. And we would be honored to have you come with us, Grog."
[/message]
[/then]
[else]
[message]
speaker=Kaleh
message= _ "Thank you very much for your help. We were worried about getting lost in all these twisting tunnels. And we would be honored to have you come with us, Nog."
[/message]
[/else]
[/if]
[if]
[have_unit]

View file

@ -456,9 +456,6 @@
animate=no
[/kill]
# NOTE: we now use $intl_ally_name, which is a translatable ally name string,
# for languages that may use a different alphabet/spelling than the western europe one
# for proper names
[if]
[have_unit]
id=Grog
@ -472,12 +469,7 @@
[set_variable]
name=ally_race
value=Troll
[/set_variable]
[set_variable]
name=intl_ally_name
value= _ "Grog" # wmllint: ignore
value=troll
[/set_variable]
[/then]
[/if]
@ -495,12 +487,7 @@
[set_variable]
name=ally_race
value=Troll
[/set_variable]
[set_variable]
name=intl_ally_name
value= _ "Nog" # wmllint: ignore
value=troll
[/set_variable]
[/then]
[/if]
@ -518,12 +505,7 @@
[set_variable]
name=ally_race
value=Dwarf
[/set_variable]
[set_variable]
name=intl_ally_name
value= _ "Rogrimir" # wmllint: ignore
value=dwarf
[/set_variable]
[/then]
[/if]
@ -541,12 +523,7 @@
[set_variable]
name=ally_race
value=Dwarf
[/set_variable]
[set_variable]
name=intl_ally_name
value= _ "Jarl" # wmllint: ignore
value=dwarf
[/set_variable]
[/then]
[/if]
@ -721,7 +698,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]
@ -907,7 +884,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]
@ -969,7 +946,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]
@ -1108,7 +1085,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]
@ -1526,7 +1503,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]
[message]
@ -1552,7 +1529,7 @@
[if]
[variable]
name=ally_race
equals=Troll
equals=troll
[/variable]
[then]
@ -3178,10 +3155,31 @@
message= _ "I feel some sort of presence... Ugh... it makes my skin crawl."
[/message]
[message]
speaker=Nym
message= _ "$intl_ally_name, I thought you said that youd been here before? Where are we supposed to go from here?"
[/message]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Nym
message= _ "Grog, I thought you said that youd been here before? Where are we supposed to go from here?"
[/message]
)
(
[message]
speaker=Nym
message= _ "Nog, I thought you said that youd been here before? Where are we supposed to go from here?"
[/message]
)
(
[message]
speaker=Nym
message= _ "Rogrimir, I thought you said that youd been here before? Where are we supposed to go from here?"
[/message]
)
(
[message]
speaker=Nym
message= _ "Jarl, I thought you said that youd been here before? Where are we supposed to go from here?"
[/message]
)}
[message]
speaker=$ally_name
@ -3983,66 +3981,96 @@
value=0
[/set_variable]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Kaleh
message= _ "Grog, thank you so much for leading us out of the caves. We never would have found our way without your help. But with the tunnels flooded, how are you going to find your way back to your people?"
[/message]
[then]
[message]
speaker=Kaleh
message= _ "$intl_ally_name, I want to thank you so much for guiding us out of the caves. We never would have found our way without your help. But with the tunnels flooded, how are you going to find your way back to your people?"
[/message]
[message]
speaker=Grog
message= _ "Grog proud of little elves too. He would not have made it this far without all your help. Grog is surprised by your bravery and strength."
[/message]
[message]
speaker=$ally_name
message= _ "Och, it is I who should be congratulating you, laddie. I showed you the way, but it was you and your people who defeated the many perils and obstacles to your escape. In all my years such bravery and courage I have rarely seen."
[/message]
[message]
speaker=Grog
message= _ "Truth is that Grog not know much of sunlight lands. Sun and stars are scary, everything is open, exposed, no safe places to hide. But Grog cannot go back through all that water. And Grog doesnt know where to find other tunnels back to his home. He is as lost as elves are."
[/message]
[message]
speaker=$ally_name
message= _ "But truly I cannot return the way I came and even if there are other tunnels which lead back down to my homeland, I do not know where to search for them. I know as little about the land above ground as you do."
[/message]
[message]
speaker=Grog
message= _ "But Grog not afraid. Great leader told Grog to guide and protect elves, and Grog will keep his oath. Grog will follow elves wherever they may go and protect them from danger as best he can. Maybe later, Grog will find another way back down to the caves of his people. But for now, Grog will continue to serve and protect you."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Nog, thank you so much for leading us out of the caves. We never would have found our way without your help. But with the tunnels flooded, how are you going to find your way back to your people?"
[/message]
[message]
speaker=$ally_name
message= _ "But my king told me to protect you from all dangers, and I plan to keep that oath. I do not like the above ground, it is too open and exposed; I feel that I could be attacked from any direction. But an oath is an oath and so I will follow you and your people wherever you may go and protect you as best I can. The tunnels cannot stay flooded forever; later perhaps if am able to return this way, I may be able to find my way back to my homeland. But for now I am yours to command."
[/message]
[message]
speaker=Nog
message= _ "Nog proud of little elves too. He would not have made it this far without all your help. Nog is surprised by your bravery and strength."
[/message]
[message]
speaker=Kaleh
message= _ "Your loyalty is a credit to your people. I am glad indeed to have you fighting by my side."
[/message]
[/then]
[message]
speaker=Nog
message= _ "Truth is that Nog not know much of sunlight lands. Sun and stars are scary, everything is open, exposed, no safe places to hide. But Nog cannot go back through all that water. And Nog doesnt know where to find other tunnels back to his home. He is as lost as elves are."
[/message]
[else]
[message]
speaker=Kaleh
message= _ "$intl_ally_name, thank you so much for leading us out of the caves. We never would have found our way without your help. But with the tunnels flooded, how are you going to find your way back to your people?"
[/message]
[message]
speaker=Nog
message= _ "But Nog not afraid. Great leader told Nog to guide and protect elves, and Nog will keep his oath. Nog will follow elves wherever they may go and protect them from danger as best he can. Maybe later, Nog will find another way back down to the caves of his people. But for now, Nog will continue to serve and protect you."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Rogrimir, I want to thank you so much for guiding us out of the caves. We never would have found our way without your help. But with the tunnels flooded, how are you going to find your way back to your people?"
[/message]
[message]
speaker=$ally_name
message= _ "$intl_ally_name proud of little elves too. He would not have made it this far without all your help. $intl_ally_name is surprised by your bravery and strength."
[/message]
[message]
speaker=Rogrimir
message= _ "Och, it is I who should be congratulating you, laddie. I showed you the way, but it was you and your people who defeated the many perils and obstacles to your escape. In all my years such bravery and courage I have rarely seen."
[/message]
[message]
speaker=$ally_name
message= _ "Truth is that $intl_ally_name not know much of sunlight lands. Sun and stars are scary, everything is open, exposed, no safe places to hide. But $intl_ally_name cannot go back through all that water. And $intl_ally_name doesnt know where to find other tunnels back to his home. He is as lost as elves are."
[/message]
[message]
speaker=Rogrimir
message= _ "But truly I cannot return the way I came and even if there are other tunnels which lead back down to my homeland, I do not know where to search for them. I know as little about the land above ground as you do."
[/message]
[message]
speaker=$ally_name
message= _ "But $intl_ally_name not afraid. Great leader told $intl_ally_name to guide and protect elves, and $intl_ally_name will keep his oath. $intl_ally_name will follow elves wherever they may go and protect them from danger as best he can. Maybe later, $intl_ally_name will find another way back down to the caves of his people. But for now, $intl_ally_name will continue to serve and protect you."
[/message]
[message]
speaker=Rogrimir
message= _ "But my king told me to protect you from all dangers, and I plan to keep that oath. I do not like the above ground, it is too open and exposed; I feel that I could be attacked from any direction. But an oath is an oath and so I will follow you and your people wherever you may go and protect you as best I can. The tunnels cannot stay flooded forever; later perhaps if am able to return this way, I may be able to find my way back to my homeland. But for now I am yours to command."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Jarl, I want to thank you so much for guiding us out of the caves. We never would have found our way without your help. But with the tunnels flooded, how are you going to find your way back to your people?"
[/message]
[message]
speaker=Kaleh
message= _ "Your loyalty is a credit to your people. I am glad indeed to have you fighting by my side."
[/message]
[/else]
[/if]
[message]
speaker=Jarl
message= _ "Och, it is I who should be congratulating you, laddie. I showed you the way, but it was you and your people who defeated the many perils and obstacles to your escape. In all my years such bravery and courage I have rarely seen."
[/message]
[message]
speaker=Jarl
message= _ "But truly I cannot return the way I came and even if there are other tunnels which lead back down to my homeland, I do not know where to search for them. I know as little about the land above ground as you do."
[/message]
[message]
speaker=Jarl
message= _ "But my king told me to protect you from all dangers, and I plan to keep that oath. I do not like the above ground, it is too open and exposed; I feel that I could be attacked from any direction. But an oath is an oath and so I will follow you and your people wherever you may go and protect you as best I can. The tunnels cannot stay flooded forever; later perhaps if am able to return this way, I may be able to find my way back to my homeland. But for now I am yours to command."
[/message]
)}
[message]
speaker=Kaleh
message= _ "Your loyalty is a credit to your people. I am glad indeed to have you fighting by my side."
[/message]
[/then]
[/if]
[/event]
@ -4165,29 +4193,31 @@
[/variable]
[then]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
# dwarf ally version
[message]
speaker=unit
message= _ "I think we finally made it outside. Id forgotten how big the sky is and how windy it can be."
[/message]
[/then]
[else]
# troll ally version
[message]
speaker=unit
message= _ "We made it. Outside look strange to $intl_ally_name, $intl_ally_name not used to big open spaces."
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=unit
message= _ "We made it. Outside look strange to Grog, Grog not used to big open spaces."
[/message]
)
(
[message]
speaker=unit
message= _ "We made it. Outside look strange to Nog, Nog not used to big open spaces."
[/message]
)
(
[message]
speaker=unit
message= _ "I think we finally made it outside. Id forgotten how big the sky is and how windy it can be."
[/message]
)
(
[message]
speaker=unit
message= _ "I think we finally made it outside. Id forgotten how big the sky is and how windy it can be."
[/message]
)}
[/then]
[/if]
@ -4474,10 +4504,31 @@
message= _ "Kaleh, a quick question—"
[/message]
[message]
speaker=Kaleh
message= _ "Not now $intl_ally_name, Im busy."
[/message]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Kaleh
message= _ "Not now Grog, Im busy."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Not now Nog, Im busy."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Not now Rogrimir, Im busy."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Not now Jarl, Im busy."
[/message]
)}
[message]
speaker=Eloh
@ -4487,7 +4538,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]
@ -4563,7 +4614,7 @@
[if]
[variable]
name=ally_race
equals=Troll
equals=troll
[/variable]
[then]
@ -4589,7 +4640,7 @@
[if]
[variable]
name=ally_race
equals=Troll
equals=troll
[/variable]
[then]
@ -4719,26 +4770,31 @@
x,y=18,19
[/teleport]
[if]
[variable]
name=ally_race
equals=Troll
[/variable]
[then]
[message]
speaker=$ally_name
message= _ "$intl_ally_name no like humans either. They mean. But they sound great when they go squish."
[/message]
[/then]
[else]
[message]
speaker=$ally_name
message= _ "I never liked humans much anyway. Ill be glad to be fighting something besides undead."
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Grog
message= _ "Grog no like humans either. They mean. But they sound great when they go squish."
[/message]
)
(
[message]
speaker=Nog
message= _ "Nog no like humans either. They mean. But they sound great when they go squish."
[/message]
)
(
[message]
speaker=Rogrimir
message= _ "I never liked humans much anyway. Ill be glad to be fighting something besides undead."
[/message]
)
(
[message]
speaker=Jarl
message= _ "I never liked humans much anyway. Ill be glad to be fighting something besides undead."
[/message]
)}
[modify_side]
side=2

View file

@ -467,24 +467,33 @@
speaker=Nym
message= _ "And yet these trees seem different, the forest seems darker, somehow. I prefer to stay out in the open where I can see my enemies coming."
[/message]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
[message]
speaker=$ally_name
message= _ "It looks nice and dark under the trees, less exposed to that blazing sun. Im exhausted after walking across all that harsh sand."
[/message]
[/then]
[else]
[message]
speaker=$ally_name
message= _ "Trees look big and strong, like trolls. Dark, too. $intl_ally_name tired of walking under hot sun."
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Grog
message= _ "Trees look big and strong, like trolls. Dark, too. Grog tired of walking under hot sun."
[/message]
)
(
[message]
speaker=Nog
message= _ "Trees look big and strong, like trolls. Dark, too. Nog tired of walking under hot sun."
[/message]
)
(
[message]
speaker=Rogrimir
message= _ "It looks nice and dark under the trees, less exposed to that blazing sun. Im exhausted after walking across all that harsh sand."
[/message]
)
(
[message]
speaker=Jarl
message= _ "It looks nice and dark under the trees, less exposed to that blazing sun. Im exhausted after walking across all that harsh sand."
[/message]
)}
[message]
speaker=Esanoo
message= _ "This is where the human encampments lie, to the northwest. They have settled a chain of islands along the coast of the water. If you break through these trees you will soon see them. I think thats where they are holding the rest of my group."
@ -791,7 +800,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]
[message]
@ -844,25 +853,32 @@
speaker=Zhul
message= _ "Forgive me, Kaleh. I do not know what to believe. I... I have to ponder this."
[/message]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
[message]
speaker=$ally_name
message= _ "The chieftain told me to serve you, and it will take more than this to shatter my confidence in you, lad. But those elves must be out on a different island, how will we cross the deep water?"
[/message]
[/then]
[else]
[message]
speaker=$ally_name
message= _ "Great Leader told $intl_ally_name to serve you, and so $intl_ally_name will still follow your command. But other elves must be out on a separate island. How will we cross deep water?"
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Grog
message= _ "Great Leader told Grog to serve you, and so Grog will still follow your command. But other elves must be out on a separate island. How will we cross deep water?"
[/message]
)
(
[message]
speaker=Nog
message= _ "Great Leader told Nog to serve you, and so Nog will still follow your command. But other elves must be out on a separate island. How will we cross deep water?"
[/message]
)
(
[message]
speaker=Rogrimir
message= _ "The chieftain told me to serve you, and it will take more than this to shatter my confidence in you, lad. But those elves must be out on a different island, how will we cross the deep water?"
[/message]
)
(
[message]
speaker=Jarl
message= _ "The chieftain told me to serve you, and it will take more than this to shatter my confidence in you, lad. But those elves must be out on a different island, how will we cross the deep water?"
[/message]
)}
# merfolk offer to help
[message]
@ -2751,24 +2767,33 @@
speaker=Zhul
message= _ "Very well. You have not led us astray so far, I will not leave you now."
[/message]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
[message]
speaker=$ally_name
message= _ "Ouch, being stuck between the water and the sun is a terrible place to be, but where you go I will follow."
[/message]
[/then]
[else]
[message]
speaker=$ally_name
message= _ "$intl_ally_name scared of big water and bright sun, but $intl_ally_name will not dishonor Great Leader. Great Leader say follow Kaleh, and $intl_ally_name will do so."
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Grog
message= _ "Grog scared of big water and bright sun, but Grog will not dishonor Great Leader. Great Leader say follow Kaleh, and Grog will do so."
[/message]
)
(
[message]
speaker=Nog
message= _ "Nog scared of big water and bright sun, but Nog will not dishonor Great Leader. Great Leader say follow Kaleh, and Nog will do so."
[/message]
)
(
[message]
speaker=Rogrimir
message= _ "Ouch, being stuck between the water and the sun is a terrible place to be, but where you go I will follow."
[/message]
)
(
[message]
speaker=Jarl
message= _ "Ouch, being stuck between the water and the sun is a terrible place to be, but where you go I will follow."
[/message]
)}
[message]
role=merfolk
message= _ "We have attacked the humans in the past, when their boats trespass in our waters, and so they fear us greatly. Their dark mages have cast protective spells upon their boats, preventing any of our kind from boarding them. I am afraid that we cannot capture the boats for you. We will, of course, help you hold off the humans. Later, once we escape, with your help I think we can dispel the protections, but for now you must seize them yourselves."

View file

@ -189,36 +189,51 @@
[/have_unit]
[then]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Melusand
message= _ "No, you dont have to introduce yourselves. I already know who you are and why you have been journeying all this way. And I must say, Grog, that your recent actions and indeed your presence with these fine folk is a credit to your race."
[/message]
[then]
[message]
speaker=Melusand
message= _ "No, you dont have to introduce yourselves. I already know who you are and why you have been journeying all this way. And I must say, $intl_ally_name, that your recent actions and indeed your presence with these fine folk is a credit to your race."
[/message]
[message]
speaker=Grog
message= _ "Grog says thank you."
[/message]
)
(
[message]
speaker=Melusand
message= _ "No, you dont have to introduce yourselves. I already know who you are and why you have been journeying all this way. And I must say, Nog, that your recent actions and indeed your presence with these fine folk is a credit to your race."
[/message]
[message]
speaker=$ally_name
message= _ "Thank you for your kindness."
[/message]
[/then]
[message]
speaker=Nog
message= _ "Nog says thank you."
[/message]
)
(
[message]
speaker=Melusand
message= _ "No, you dont have to introduce yourselves. I already know who you are and why you have been journeying all this way. And I must say, Rogrimir, that your recent actions and indeed your presence with these fine folk is a credit to your race."
[/message]
[else]
[message]
speaker=Melusand
message= _ "No, you dont have to introduce yourselves. I already know who you are and why you have been journeying all this way. And I must say, $intl_ally_name, that your recent actions and indeed your presence with these fine folk is a credit to your race."
[/message]
[message]
speaker=Rogrimir
message= _ "Thank you for your kindness."
[/message]
)
(
[message]
speaker=Melusand
message= _ "No, you dont have to introduce yourselves. I already know who you are and why you have been journeying all this way. And I must say, Jarl, that your recent actions and indeed your presence with these fine folk is a credit to your race."
[/message]
[message]
speaker=$ally_name
message= _ "$intl_ally_name says thank you."
[/message]
[/else]
[/if]
[message]
speaker=Jarl
message= _ "Thank you for your kindness."
[/message]
)}
[/then]
[else]
@ -417,27 +432,31 @@
message= _ "Im not sure what to think. Its all so much information."
[/message]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
[message]
speaker=$ally_name
message= _ "Im still not sure I trust her. What if shes just trying to get you all to fight her war for her?"
[/message]
[/then]
[else]
[message]
speaker=$ally_name
message= _ "$intl_ally_name not sure if he trust fish lady. What if she just want you elves to fight her war for her?"
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Grog
message= _ "Grog not sure if he trust fish lady. What if she just want you elves to fight her war for her?"
[/message]
)
(
[message]
speaker=Nog
message= _ "Nog not sure if he trust fish lady. What if she just want you elves to fight her war for her?"
[/message]
)
(
[message]
speaker=Rogrimir
message= _ "Im still not sure I trust her. What if shes just trying to get you all to fight her war for her?"
[/message]
)
(
[message]
speaker=Jarl
message= _ "Im still not sure I trust her. What if shes just trying to get you all to fight her war for her?"
[/message]
)}
[message]
speaker=Kaleh
message= _ "The point is, its not her fight, its our fight too. I for one believe her tale. With all the power that Melusand says Yechnagoth has, how do we know that Yechnagoth wasnt the one who rained those rocks down upon our village all those weeks ago? What if this is all just part of a plot to turn our people into a group of mindless followers?"
@ -486,7 +505,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]
@ -519,27 +538,31 @@
message= _ "As strange as it may sound, there are some things in this world that are more important than the fate of our people. Years from now the suns shall rise anew, a seed will grow into a flower, a child will be born. And I believe that if Yechnagoth is victorious then all that is good and beautiful will be corrupted and twisted and destroyed. This is a harsh world that we live in, but there is beauty and goodness in it, and no matter what may happen to us, I would gladly give my life to see that beauty and goodness survive."
[/message]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
[message]
speaker=$ally_name
message= _ "Even in the deepest tunnels underground we could not forever escape Yechnagoths power if she remains unchecked. Against such evil I am sure my king would give you a whole army of dwarves, but I am afraid you only have me. Still, I will do what I can to see her destroyed."
[/message]
[/then]
[else]
[message]
speaker=$ally_name
message= _ "Even in deepest tunnels my people could not escape Yechnagoths power forever if she is not stopped. Against such evil I am sure the Great Leader would give you whole army of trolls, but I am afraid you only have $intl_ally_name|. Still, $intl_ally_name will do what he can to see her destroyed."
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Grog
message= _ "Even in deepest tunnels my people could not escape Yechnagoths power forever if she is not stopped. Against such evil I am sure the Great Leader would give you whole army of trolls, but I am afraid you only have Grog. Still, Grog will do what he can to see her destroyed."
[/message]
)
(
[message]
speaker=Nog
message= _ "Even in deepest tunnels my people could not escape Yechnagoths power forever if she is not stopped. Against such evil I am sure the Great Leader would give you whole army of trolls, but I am afraid you only have Nog. Still, Nog will do what he can to see her destroyed."
[/message]
)
(
[message]
speaker=Nog
message= _ "Even in the deepest tunnels underground we could not forever escape Yechnagoths power if she remains unchecked. Against such evil I am sure my king would give you a whole army of dwarves, but I am afraid you only have me. Still, I will do what I can to see her destroyed."
[/message]
)
(
[message]
speaker=Nog
message= _ "Even in the deepest tunnels underground we could not forever escape Yechnagoths power if she remains unchecked. Against such evil I am sure my king would give you a whole army of dwarves, but I am afraid you only have me. Still, I will do what I can to see her destroyed."
[/message]
)}
[message]
speaker=Kaleh
message= _ "Then it is decided. Still in this matter we cannot speak for all our people. Those who go on this quest may never return, and this battle is certainly no place for the young or the elderly. Let all who are afraid or cannot fight stay behind with the merfolk. I will ask Melusand to arrange that if we fail, they be taken far away from here, that they might live out their lives in what peace they can find."

View file

@ -1706,26 +1706,31 @@
variable=Zhul_var
[/store_unit]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
[message]
speaker=$ally_name
message= _ "Ive followed that boy this far, Im not going to just let him march in there without me. Besides, whoever heard of a dwarf being afraid of going underground? I just hope they save some of the fighting for me."
[/message]
[/then]
[else]
[message]
speaker=$ally_name
message= _ "$intl_ally_name not going to just sit here while Kaleh does all the fighting. Kaleh will need strong fighter like $intl_ally_name|. Other elves may be scared, but $intl_ally_name fear no dark place. $intl_ally_name just hope there still something to smash when he gets there."
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Grog
message= _ "Grog not going to just sit here while Kaleh does all the fighting. Kaleh will need strong fighter like Grog. Other elves may be scared, but Grog fear no dark place. Grog just hope there still something to smash when he gets there."
[/message]
)
(
[message]
speaker=Nog
message= _ "Nog not going to just sit here while Kaleh does all the fighting. Kaleh will need strong fighter like Nog. Other elves may be scared, but Nog fear no dark place. Nog just hope there still something to smash when he gets there."
[/message]
)
(
[message]
speaker=Rogrimir
message= _ "Ive followed that boy this far, Im not going to just let him march in there without me. Besides, whoever heard of a dwarf being afraid of going underground? I just hope they save some of the fighting for me."
[/message]
)
(
[message]
speaker=Jarl
message= _ "Ive followed that boy this far, Im not going to just let him march in there without me. Besides, whoever heard of a dwarf being afraid of going underground? I just hope they save some of the fighting for me."
[/message]
)}
[unstore_unit]
variable=Kaleh_var

View file

@ -323,7 +323,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]
@ -391,10 +391,32 @@
[/have_unit]
[then]
[message]
speaker=Kaleh
message= _ "Nym, Zhul, $intl_ally_name|, you shouldnt have."
[/message]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Kaleh
message= _ "Nym, Zhul, Grog, you shouldnt have."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Nym, Zhul, Nog, you shouldnt have."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Nym, Zhul, Rogrimir, you shouldnt have."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Nym, Zhul, Jarl, you shouldnt have."
[/message]
)}
[/then]
[else]
@ -1544,26 +1566,31 @@
message= _ "Behold, the pretender has been defeated. Elohs might has prevailed."
[/message]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
[message]
speaker=$ally_name
message= _ "Ugh. Im covered in blood and guts, and this nasty blue stuff. I dont know what in the nine hells we were fighting, but she doesnt smell any better dead than she did alive."
[/message]
[/then]
[else]
[message]
speaker=$ally_name
message= _ "Ugh. $intl_ally_name is covered in blood and guts and nasty blue goo. Whatever creature was, she doesnt smell any better dead than she did alive."
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Grog
message= _ "Ugh. Grog is covered in blood and guts and nasty blue goo. Whatever creature was, she doesnt smell any better dead than she did alive."
[/message]
)
(
[message]
speaker=Nog
message= _ "Ugh. Nog is covered in blood and guts and nasty blue goo. Whatever creature was, she doesnt smell any better dead than she did alive."
[/message]
)
(
[message]
speaker=Rogrimir
message= _ "Ugh. Im covered in blood and guts, and this nasty blue stuff. I dont know what in the nine hells we were fighting, but she doesnt smell any better dead than she did alive."
[/message]
)
(
[message]
speaker=Jarl
message= _ "Ugh. Im covered in blood and guts, and this nasty blue stuff. I dont know what in the nine hells we were fighting, but she doesnt smell any better dead than she did alive."
[/message]
)}
[if]
[have_unit]

View file

@ -164,10 +164,31 @@
[/variable]
[then]
[message]
speaker=Kaleh
message= _ "If you had told me at the start of our journey the price I was to pay in blood, I do not know if I would have had the strength to take that first step. I suppose I should have known that my friends would not let me confront Yechnagoth alone. But I would gladly give up my life today if I could bring $intl_ally_name back. He left his homeland to fight faithfully by my side, and then to lose him at the end... I wish I could go back and do it all over again."
[/message]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Kaleh
message= _ "If you had told me at the start of our journey the price I was to pay in blood, I do not know if I would have had the strength to take that first step. I suppose I should have known that my friends would not let me confront Yechnagoth alone. But I would gladly give up my life today if I could bring Grog back. He left his homeland to fight faithfully by my side, and then to lose him at the end... I wish I could go back and do it all over again."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "If you had told me at the start of our journey the price I was to pay in blood, I do not know if I would have had the strength to take that first step. I suppose I should have known that my friends would not let me confront Yechnagoth alone. But I would gladly give up my life today if I could bring Nog back. He left his homeland to fight faithfully by my side, and then to lose him at the end... I wish I could go back and do it all over again."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "If you had told me at the start of our journey the price I was to pay in blood, I do not know if I would have had the strength to take that first step. I suppose I should have known that my friends would not let me confront Yechnagoth alone. But I would gladly give up my life today if I could bring Rogrimir back. He left his homeland to fight faithfully by my side, and then to lose him at the end... I wish I could go back and do it all over again."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "If you had told me at the start of our journey the price I was to pay in blood, I do not know if I would have had the strength to take that first step. I suppose I should have known that my friends would not let me confront Yechnagoth alone. But I would gladly give up my life today if I could bring Jarl back. He left his homeland to fight faithfully by my side, and then to lose him at the end... I wish I could go back and do it all over again."
[/message]
)}
[/then]
[/if]
[/then]
@ -234,10 +255,31 @@
[/variable]
[then]
[message]
speaker=Kaleh
message= _ "Although I believe that our battle in the black citadel was our finest hour, I am still haunted by the death of $intl_ally_name in that dark place. And so every morning at sunrise I come out to the southeastern tip of the island and look out upon the waters, upon the world that we sacrificed so much to preserve. I remind myself what Zhul said, and they all believed, that despite all the death and fighting we saw in our journey, this world was a beautiful and good enough place that $intl_ally_name was willing to sacrifice his life to save it. Looking out over the waters, and back upon the prosperity of my people, I tell myself it was worth it. But when I think of the desperate war that his people are probably still fighting underground, it seems a small consolation."
[/message]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Kaleh
message= _ "Although I believe that our battle in the black citadel was our finest hour, I am still haunted by the death of Grog in that dark place. And so every morning at sunrise I come out to the southeastern tip of the island and look out upon the waters, upon the world that we sacrificed so much to preserve. I remind myself what Zhul said, and they all believed, that despite all the death and fighting we saw in our journey, this world was a beautiful and good enough place that Grog was willing to sacrifice his life to save it. Looking out over the waters, and back upon the prosperity of my people, I tell myself it was worth it. But when I think of the desperate war that his people are probably still fighting underground, it seems a small consolation."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Although I believe that our battle in the black citadel was our finest hour, I am still haunted by the death of Nog in that dark place. And so every morning at sunrise I come out to the southeastern tip of the island and look out upon the waters, upon the world that we sacrificed so much to preserve. I remind myself what Zhul said, and they all believed, that despite all the death and fighting we saw in our journey, this world was a beautiful and good enough place that Nog was willing to sacrifice his life to save it. Looking out over the waters, and back upon the prosperity of my people, I tell myself it was worth it. But when I think of the desperate war that his people are probably still fighting underground, it seems a small consolation."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Although I believe that our battle in the black citadel was our finest hour, I am still haunted by the death of Rogrimir in that dark place. And so every morning at sunrise I come out to the southeastern tip of the island and look out upon the waters, upon the world that we sacrificed so much to preserve. I remind myself what Zhul said, and they all believed, that despite all the death and fighting we saw in our journey, this world was a beautiful and good enough place that Rogrimir was willing to sacrifice his life to save it. Looking out over the waters, and back upon the prosperity of my people, I tell myself it was worth it. But when I think of the desperate war that his people are probably still fighting underground, it seems a small consolation."
[/message]
)
(
[message]
speaker=Kaleh
message= _ "Although I believe that our battle in the black citadel was our finest hour, I am still haunted by the death of Jarl in that dark place. And so every morning at sunrise I come out to the southeastern tip of the island and look out upon the waters, upon the world that we sacrificed so much to preserve. I remind myself what Zhul said, and they all believed, that despite all the death and fighting we saw in our journey, this world was a beautiful and good enough place that Jarl was willing to sacrifice his life to save it. Looking out over the waters, and back upon the prosperity of my people, I tell myself it was worth it. But when I think of the desperate war that his people are probably still fighting underground, it seems a small consolation."
[/message]
)}
[/then]
[/if]
[/then]
@ -300,28 +342,35 @@
[/variable]
[then]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
[message]
speaker=Kaleh
image=portraits/rogrimir.png
message= _ "I am saddened by the death of $intl_ally_name, but by saving my life in the end he did fulfill his life debt to me. I think he also would have been glad to have died in battle. I considered leading an expedition to go back and return his body to his people, but my fellow elves have been weakened by our long journey and I do not want to risk losing any more. Instead I searched all across the islands and at last in the rocky outcroppings to the northwest I found a series of caves. They were not as deep as his homeland but I thought $intl_ally_name would have appreciated being laid to rest under some solid rock. And so we buried him with much honor and will long remember the service that his kind has done for our people."
[/message]
[/then]
[else]
[message]
speaker=Kaleh
image=portraits/grog.png
message= _ "I am saddened by the death of $intl_ally_name, but by saving my life in the end he did fulfill his life debt to me. I think he also would have been glad to have died in battle. I considered leading an expedition to go back and return his body to his people, but my fellow elves have been weakened by our long journey and I do not want to risk losing any more. Instead I searched all across the islands and at last in the rocky outcroppings to the northwest I found a series of caves. They were not as deep as his homeland but I thought $intl_ally_name would have appreciated being laid to rest under some solid rock. And so we buried him with much honor and will long remember the service that his kind has done for our people."
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Kaleh
image=portraits/grog.png
message= _ "I am saddened by the death of Grog, but by saving my life in the end he did fulfill his life debt to me. I think he also would have been glad to have died in battle. I considered leading an expedition to go back and return his body to his people, but my fellow elves have been weakened by our long journey and I do not want to risk losing any more. Instead I searched all across the islands and at last in the rocky outcroppings to the northwest I found a series of caves. They were not as deep as his homeland but I thought Grog would have appreciated being laid to rest under some solid rock. And so we buried him with much honor and will long remember the service that his kind has done for our people."
[/message]
)
(
[message]
speaker=Kaleh
image=portraits/grog.png
message= _ "I am saddened by the death of Nog, but by saving my life in the end he did fulfill his life debt to me. I think he also would have been glad to have died in battle. I considered leading an expedition to go back and return his body to his people, but my fellow elves have been weakened by our long journey and I do not want to risk losing any more. Instead I searched all across the islands and at last in the rocky outcroppings to the northwest I found a series of caves. They were not as deep as his homeland but I thought Nog would have appreciated being laid to rest under some solid rock. And so we buried him with much honor and will long remember the service that his kind has done for our people."
[/message]
)
(
[message]
speaker=Kaleh
image=portraits/rogrimir.png
message= _ "I am saddened by the death of Rogrimir, but by saving my life in the end he did fulfill his life debt to me. I think he also would have been glad to have died in battle. I considered leading an expedition to go back and return his body to his people, but my fellow elves have been weakened by our long journey and I do not want to risk losing any more. Instead I searched all across the islands and at last in the rocky outcroppings to the northwest I found a series of caves. They were not as deep as his homeland but I thought Rogrimir would have appreciated being laid to rest under some solid rock. And so we buried him with much honor and will long remember the service that his kind has done for our people."
[/message]
)
(
[message]
speaker=Kaleh
image=portraits/rogrimir.png
message= _ "I am saddened by the death of Jarl, but by saving my life in the end he did fulfill his life debt to me. I think he also would have been glad to have died in battle. I considered leading an expedition to go back and return his body to his people, but my fellow elves have been weakened by our long journey and I do not want to risk losing any more. Instead I searched all across the islands and at last in the rocky outcroppings to the northwest I found a series of caves. They were not as deep as his homeland but I thought Jarl would have appreciated being laid to rest under some solid rock. And so we buried him with much honor and will long remember the service that his kind has done for our people."
[/message]
)}
[/then]
[/if]
@ -365,28 +414,35 @@
[/variable]
[then]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
[message]
speaker=Kaleh
image=portraits/rogrimir.png
message= _ "By saving my life, $intl_ally_name fulfilled his life debt to me, but we convinced him to hang around for a while and revel in the celebrations that we held after our great victory. We celebrated for days and days, thanking Eloh and the merfolks god, and delighting in the bounty and beauty of our new home. Afterwards we set to work building new dwellings for our people. $intl_ally_name stayed to help us with the construction, he was the hardest worker among us. But after a while he came to me and told me that he had to return to his own people. $intl_ally_name said his time with us had been like a wonderful dream, and he promised he would remember us always, but his people needed him and he had to go back home. He said that someday he would return and visit us again, but I doubt I shall ever see him again in life. All the same I treasure the memory of him and his kind, and I will long remember his steadfast loyalty and all that he did to aid us in our struggle."
[/message]
[/then]
[else]
[message]
speaker=Kaleh
image=portraits/grog.png
message= _ "By saving my life, $intl_ally_name fulfilled his life debt to me, but we convinced him to hang around for a while and revel in the celebrations that we held after our great victory. We celebrated for days and days, thanking Eloh and the merfolks god, and delighting in the bounty and beauty of our new home. And afterwards we set to work building new dwellings for our people. $intl_ally_name stayed to help us with the construction, he was the hardest worker among us. But after a while he came to me and told me that he had to return to his own people. $intl_ally_name said his time with us had been like a wonderful dream, and he promised he would remember us always, but his people needed him and he had to go back home. He said that someday he would return and visit us again, but I doubt I shall ever see him again in life. All the same I treasure the memory of him and his kind, and I will long remember his steadfast loyalty and all that he did to aid us in our struggle."
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Kaleh
image=portraits/grog.png
message= _ "By saving my life, Grog fulfilled his life debt to me, but we convinced him to hang around for a while and revel in the celebrations that we held after our great victory. We celebrated for days and days, thanking Eloh and the merfolks god, and delighting in the bounty and beauty of our new home. And afterwards we set to work building new dwellings for our people. Grog stayed to help us with the construction, he was the hardest worker among us. But after a while he came to me and told me that he had to return to his own people. Grog said his time with us had been like a wonderful dream, and he promised he would remember us always, but his people needed him and he had to go back home. He said that someday he would return and visit us again, but I doubt I shall ever see him again in life. All the same I treasure the memory of him and his kind, and I will long remember his steadfast loyalty and all that he did to aid us in our struggle."
[/message]
)
(
[message]
speaker=Kaleh
image=portraits/grog.png
message= _ "By saving my life, Nog fulfilled his life debt to me, but we convinced him to hang around for a while and revel in the celebrations that we held after our great victory. We celebrated for days and days, thanking Eloh and the merfolks god, and delighting in the bounty and beauty of our new home. And afterwards we set to work building new dwellings for our people. Nog stayed to help us with the construction, he was the hardest worker among us. But after a while he came to me and told me that he had to return to his own people. Nog said his time with us had been like a wonderful dream, and he promised he would remember us always, but his people needed him and he had to go back home. He said that someday he would return and visit us again, but I doubt I shall ever see him again in life. All the same I treasure the memory of him and his kind, and I will long remember his steadfast loyalty and all that he did to aid us in our struggle."
[/message]
)
(
[message]
speaker=Kaleh
image=portraits/rogrimir.png
message= _ "By saving my life, Rogrimir fulfilled his life debt to me, but we convinced him to hang around for a while and revel in the celebrations that we held after our great victory. We celebrated for days and days, thanking Eloh and the merfolks god, and delighting in the bounty and beauty of our new home. Afterwards we set to work building new dwellings for our people. Rogrimir stayed to help us with the construction, he was the hardest worker among us. But after a while he came to me and told me that he had to return to his own people. Rogrimir said his time with us had been like a wonderful dream, and he promised he would remember us always, but his people needed him and he had to go back home. He said that someday he would return and visit us again, but I doubt I shall ever see him again in life. All the same I treasure the memory of him and his kind, and I will long remember his steadfast loyalty and all that he did to aid us in our struggle."
[/message]
)
(
[message]
speaker=Kaleh
image=portraits/rogrimir.png
message= _ "By saving my life, Jarl fulfilled his life debt to me, but we convinced him to hang around for a while and revel in the celebrations that we held after our great victory. We celebrated for days and days, thanking Eloh and the merfolks god, and delighting in the bounty and beauty of our new home. Afterwards we set to work building new dwellings for our people. Jarl stayed to help us with the construction, he was the hardest worker among us. But after a while he came to me and told me that he had to return to his own people. Jarl said his time with us had been like a wonderful dream, and he promised he would remember us always, but his people needed him and he had to go back home. He said that someday he would return and visit us again, but I doubt I shall ever see him again in life. All the same I treasure the memory of him and his kind, and I will long remember his steadfast loyalty and all that he did to aid us in our struggle."
[/message]
)}
[/then]
[/if]
@ -403,28 +459,35 @@
[/variable]
[then]
[if]
[variable]
name=ally_race
equals=Dwarf
[/variable]
[then]
[message]
speaker=Kaleh
image=portraits/rogrimir.png
message= _ "And I will always remember $intl_ally_name who died along our journey. A braver warrior I have never seen, and though he was taken from us too soon, I am glad for the short time that I knew him."
[/message]
[/then]
[else]
[message]
speaker=Kaleh
image=portraits/grog.png
message= _ "And I will always remember $intl_ally_name who died along our journey. A braver warrior I have never seen, and though he was taken from us too soon, I am glad for the short time that I knew him."
[/message]
[/else]
[/if]
{MESSAGE_DEPEND_ON_ALLY
(
[message]
speaker=Kaleh
image=portraits/grog.png
message= _ "And I will always remember Grog who died along our journey. A braver warrior I have never seen, and though he was taken from us too soon, I am glad for the short time that I knew him."
[/message]
)
(
[message]
speaker=Kaleh
image=portraits/grog.png
message= _ "And I will always remember Nog who died along our journey. A braver warrior I have never seen, and though he was taken from us too soon, I am glad for the short time that I knew him."
[/message]
)
(
[message]
speaker=Kaleh
image=portraits/rogrimir.png
message= _ "And I will always remember Rogrimir who died along our journey. A braver warrior I have never seen, and though he was taken from us too soon, I am glad for the short time that I knew him."
[/message]
)
(
[message]
speaker=Kaleh
image=portraits/rogrimir.png
message= _ "And I will always remember Jarl who died along our journey. A braver warrior I have never seen, and though he was taken from us too soon, I am glad for the short time that I knew him."
[/message]
)}
[/then]
[/if]

View file

@ -134,7 +134,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]
@ -158,7 +158,7 @@
[if]
[variable]
name=ally_race
equals=Dwarf
equals=dwarf
[/variable]
[then]

View file

@ -69,3 +69,28 @@
[/else]
[/if]
#enddef
#define MESSAGE_DEPEND_ON_ALLY GROG_WML NOG_WML ROGRIMIR_WML JARL_WML
[switch]
variable=ally_name
[case]
value=Grog
{GROG_WML}
[/case]
[case]
value=Nog
{NOG_WML}
[/case]
[case]
value=Rogrimir
{ROGRIMIR_WML}
[/case]
[case]
value=Jarl
{JARL_WML}
[/case]
[/switch]
#enddef