Author: esr
Date: Tue May  1 11:10:30 2007
New Revision: 17230

URL: http://svn.gna.org/viewcvs/wesnoth?rev=17230&view=rev
Log:
SET_PORTRAIT turns out not to be necessary.

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

Modified: 
trunk/data/campaigns/Northern_Rebirth/scenarios/Breaking_the_Chains.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Northern_Rebirth/scenarios/Breaking_the_Chains.cfg?rev=17230&r1=17229&r2=17230&view=diff
==============================================================================
--- trunk/data/campaigns/Northern_Rebirth/scenarios/Breaking_the_Chains.cfg 
(original)
+++ trunk/data/campaigns/Northern_Rebirth/scenarios/Breaking_the_Chains.cfg Tue 
May  1 11:10:30 2007
@@ -77,6 +77,7 @@
        [side]
        type=Peasant
        description=Tallin
+       profile=Tallin.jpg
        [modifications]
                        {TRAIT_RESILIENT}
                        {TRAIT_INTELLIGENT}
@@ -154,7 +155,6 @@
 
        # Override Tallin's team color so he has a distinctive purple shirt.
        {TEAM_COLOR_OVERRIDE description=Tallin 4}
-       {SET_PORTRAIT "Tallin" "Tallin.jpg"}
 
        [unit]
        type=Peasant

Modified: trunk/data/utils/utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/utils/utils.cfg?rev=17230&r1=17229&r2=17230&view=diff
==============================================================================
--- trunk/data/utils/utils.cfg (original)
+++ trunk/data/utils/utils.cfg Tue May  1 11:10:30 2007
@@ -417,25 +417,6 @@
     [/unit]
 #enddef
 
-#define SET_PORTRAIT DESC IMAGE 
-# Set the profile field of any unit matching specified description.
-# Meant to be called in a scenario start or prestart event.
-# This change will be persistent and carried by the unit in later scenarios.
-       [object]
-               silent=yes
-               duration=forever
-
-               [filter]
-                       description={DESC}
-               [/filter]
-
-               [effect]
-                       apply_to=profile
-                       portrait={IMAGE}
-               [/effect]
-       [/object]
-#enddef
-
 # FIXME: Documentation for these is needed.
 
 #define MENU_IMG_TXT IMG TXT


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

Reply via email to