Author: fendrin
Date: Tue Oct 25 16:58:00 2011
New Revision: 51628

URL: http://svn.gna.org/viewcvs/wesnoth?rev=51628&view=rev
Log:
Modified the {RECALL_SUPPORTER} macro to create a new unit in case the recall 
list is empty.

Modified:
    trunk/data/campaigns/Northern_Rebirth/utils/utils.cfg

Modified: trunk/data/campaigns/Northern_Rebirth/utils/utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Northern_Rebirth/utils/utils.cfg?rev=51628&r1=51627&r2=51628&view=diff
==============================================================================
--- trunk/data/campaigns/Northern_Rebirth/utils/utils.cfg (original)
+++ trunk/data/campaigns/Northern_Rebirth/utils/utils.cfg Tue Oct 25 16:58:00 
2011
@@ -22,6 +22,23 @@
                 [/not]
                 role=Supporter
             [/role]
+
+            [if]
+                [not]
+                    [have_unit]
+                        role=Supporter
+                    [/have_unit]
+                [/not]
+
+                [then]
+                    [unit]
+                        side=1
+                        type=Peasant
+                        x,y=recall,recall
+                        role=Supporter
+                    [/unit]
+                [/then]
+            [/if]
 
             [recall]
                 role=Supporter


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to