wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/data/scenarios/Heir_To_The_Throne The_S...


From: Francisco Muñoz
Subject: [Wesnoth-cvs-commits] wesnoth/data/scenarios/Heir_To_The_Throne The_S...
Date: Tue, 28 Jun 2005 21:58:47 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Francisco Muñoz <address@hidden>        05/06/29 01:58:47

Modified files:
        data/scenarios/Heir_To_The_Throne: The_Siege_of_Elensefar.cfg 

Log message:
        HttT:The leader of the Elesenfar's thieves is now intelligent and 
female.
        (Change to add a bit more of flavour)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/data/scenarios/Heir_To_The_Throne/The_Siege_of_Elensefar.cfg.diff?tr1=1.38&tr2=1.39&r1=text&r2=text

Patches:
Index: wesnoth/data/scenarios/Heir_To_The_Throne/The_Siege_of_Elensefar.cfg
diff -u 
wesnoth/data/scenarios/Heir_To_The_Throne/The_Siege_of_Elensefar.cfg:1.38 
wesnoth/data/scenarios/Heir_To_The_Throne/The_Siege_of_Elensefar.cfg:1.39
--- wesnoth/data/scenarios/Heir_To_The_Throne/The_Siege_of_Elensefar.cfg:1.38   
Sat Jun 11 21:00:18 2005
+++ wesnoth/data/scenarios/Heir_To_The_Throne/The_Siege_of_Elensefar.cfg        
Wed Jun 29 01:58:47 2005
@@ -169,11 +169,6 @@
 
        [event]
        name=turn 4
-               [move_unit_fake]
-                       type=Thief
-                       x=24,24,23
-                       y=38,39,40
-               [/move_unit_fake]
                [unit]
                description=Reglok
                user_description= _ "Reglok"
@@ -184,8 +179,34 @@
                gender=male
                [modifications]
                        {TRAIT_LOYAL}
+                       {TRAIT_INTELLIGENT}
                [/modifications]
                [/unit]
+           #Make her female
+               [store_unit]
+               [filter]
+                       description=Reglok
+               [/filter]
+               kill=yes
+               variable=tempthief
+               [/store_unit]
+
+               [set_variable]
+               name=tempthief.gender
+               value=female
+               [/set_variable]
+
+               [move_unit_fake]
+                       type=$tempthief.type
+                       x=24,24,23
+                       y=38,39,40
+               [/move_unit_fake]
+
+               [unstore_unit]
+               variable=tempthief
+               find_vacant=yes
+               [/unstore_unit]
+
                [unit]
                description=Gelgar
                user_description= _ "Gelgar"
@@ -303,19 +324,26 @@
                                speaker=narrator
                                message= _ "As the banner was raised, sounds of 
fighting could be heard from across the city."
                                [/message]
+
                        #create units
-                               [unit]
-                               description=Reglok
-                               user_description= _ "Reglok"
-                               type=Rogue
-                               side=1
-                               x=16
-                               y=22
-                               gender=male
-                               [modifications]
-                                       {TRAIT_LOYAL}
-                               [/modifications]
-                               [/unit]
+
+                               [set_variable]
+                               name=tempthief.x
+                               value=16
+                               [/set_variable]
+
+                               [set_variable]
+                               name=tempthief.y
+                               value=22
+                               [/set_variable]
+
+                               [unstore_unit]
+                               variable=tempthief
+                               find_vacant=yes
+                               [/unstore_unit]
+
+                               {CLEAR_VARIABLE tempthief}
+
                                [unit]
                                description=Gelgar
                                user_description= _ "Gelgar"
@@ -394,18 +422,24 @@
                message= _ "To Konrad's surprise, they quickly made their way 
across the river's mouth. The turbulent waters hid a nearly invisible ford, 
wide enough for two soldiers to march shoulder-to-shoulder."
                [/message]
        #create units
-               [unit]
-               description=Reglok
-               user_description= _ "Reglok"
-               type=Rogue
-               side=1
-               x=7
-               y=30
-               gender=male
-               [modifications]
-                       {TRAIT_LOYAL}
-               [/modifications]
-               [/unit]
+
+               [set_variable]
+               name=tempthief.x
+               value=7
+               [/set_variable]
+
+               [set_variable]
+               name=tempthief.y
+               value=30
+               [/set_variable]
+
+               [unstore_unit]
+               variable=tempthief
+               find_vacant=yes
+               [/unstore_unit]
+
+               {CLEAR_VARIABLE tempthief}
+
                [unit]
                description=Gelgar
                user_description= _ "Gelgar"
@@ -418,6 +452,7 @@
                        {TRAIT_LOYAL}
                [/modifications]
                [/unit]
+
                [unit]
                description=Gamlel
                user_description= _ "Gamlel"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]