SET_PORTRAIT turns out not to be necessary.

This commit is contained in:
Eric S. Raymond 2007-05-01 09:10:30 +00:00
parent f1c324aa65
commit 1587e00d8e
2 changed files with 1 additions and 20 deletions

View file

@ -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

View file

@ -417,25 +417,6 @@ name=prestart
[/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