Added a little overlay icon to dehydrated units.

This commit is contained in:
Lari Nieminen 2008-12-30 21:38:13 +00:00
parent 49d255c9c9
commit 9c72e91197
2 changed files with 11 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -342,6 +342,7 @@
role=$enemy[$i].role
moves=$enemy[$i].moves
attacks_left=$enemy[$i].attacks_left
overlays=misc/dehydration-icon.png
[status]
slowed=$enemy[$i].status.slowed
poisoned=$enemy[$i].status.poisoned
@ -448,6 +449,11 @@
text= _ "thirst"
{COLOR_HARM}
[/unstore_unit]
[unit_overlay]
x,y=$dehydrating_units[$i].x,$dehydrating_units[$i].y
image=misc/dehydration-icon.png
[/unit_overlay]
[/else]
[/if]
{NEXT i}
@ -488,6 +494,11 @@
text= _ "refreshed"
{COLOR_HEAL}
[/unstore_unit]
[remove_unit_overlay]
x,y=$hydrating_units[$i].x,$hydrating_units[$i].y
image=misc/dehydration-icon.png
[/remove_unit_overlay]
{NEXT i}
{CLEAR_VARIABLE hydrating_units}