Author: zookeeper
Date: Thu May 1 13:41:39 2008
New Revision: 26278
URL: http://svn.gna.org/viewcvs/wesnoth?rev=26278&view=rev
Log:
Made Ulfdain always be loyal,resilient.
Modified:
trunk/data/campaigns/Heir_To_The_Throne/scenarios/15_The_Lost_General.cfg
Modified:
trunk/data/campaigns/Heir_To_The_Throne/scenarios/15_The_Lost_General.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/scenarios/15_The_Lost_General.cfg?rev=26278&r1=26277&r2=26278&view=diff
==============================================================================
--- trunk/data/campaigns/Heir_To_The_Throne/scenarios/15_The_Lost_General.cfg
(original)
+++ trunk/data/campaigns/Heir_To_The_Throne/scenarios/15_The_Lost_General.cfg
Thu May 1 13:41:39 2008
@@ -162,7 +162,20 @@
[/message]
{PLACE_IMAGE units/trolls/whelp-die-6.png 2 22}
{PLACE_IMAGE units/trolls/whelp-die-5.png 4 21}
- {LOYAL_UNIT 2 (Dwarvish Ulfserker) 2 21 (Ulfdain) ( _ "Ulfdain")}
+ [unit]
+ id=Ulfdain
+ name= _ "Ulfdain"
+ type=Dwarvish Ulfserker
+ side=2
+ x,y=2,21
+ random_traits=no
+ unrenamable=yes
+
+ [modifications]
+ {TRAIT_LOYAL}
+ {TRAIT_RESILIENT}
+ [/modifications]
+ [/unit]
# wmllint: recognize Ulfdain
[teleport]
[filter]
@@ -221,9 +234,14 @@
speaker=Ulfdain
message= _ "Thanks. No need to wait around here. Let's go."
[/message]
- [kill]
- x,y=2,21
- [/kill]
+ [store_unit]
+ [filter]
+ id=Ulfdain
+ [/filter]
+
+ kill=yes
+ variable=stored_Ulfdain
+ [/store_unit]
[/event]
[event]
@@ -245,16 +263,13 @@
[/filter]
x,y=13,22
[/teleport]
- [unit]
- side=1
- type=Dwarvish Ulfserker
- x,y=14,22
- name=_ "Ulfdain"
- id= "Ulfdain"
- unrenamable=yes
- random_traits=yes
- upkeep=1
- [/unit]
+ {VARIABLE stored_Ulfdain.x 14}
+ {VARIABLE stored_Ulfdain.y 22}
+ {VARIABLE stored_Ulfdain.side 1}
+ [unstore_unit]
+ variable=stored_Ulfdain
+ find_vacant=yes
+ [/unstore_unit]
[place_shroud]
x= 2-7 , 7-8
y=21-24,22-24
@@ -263,6 +278,7 @@
speaker=Ulfdain
message= _ "Well, mer-mahn, we made it. I will fight for yer lord.
He sounds like a brave fellow."
[/message]
+ {CLEAR_VARIABLE stored_Ulfdain}
[/event]
[event]
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits