mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 00:52:14 +00:00
UtBS: add female variants to dehydration text
This commit is contained in:
parent
d351e90c21
commit
df19ea9b6f
@ -100,12 +100,31 @@ Hd, Dd*, Dd^E*, Rd #enddef
|
|||||||
dehydrated=yes
|
dehydrated=yes
|
||||||
[/status]
|
[/status]
|
||||||
[/modify_unit]
|
[/modify_unit]
|
||||||
[floating_text]
|
|
||||||
x=$dehydrating_units[$i].x
|
[if]
|
||||||
y=$dehydrating_units[$i].y
|
[variable]
|
||||||
text= _ "thirst"
|
name=dehydrating_units[$i].gender
|
||||||
{COLOR_HARM}
|
equals=female
|
||||||
[/floating_text]
|
[/variable]
|
||||||
|
|
||||||
|
[then]
|
||||||
|
[floating_text]
|
||||||
|
x=$dehydrating_units[$i].x
|
||||||
|
y=$dehydrating_units[$i].y
|
||||||
|
text= _ "female^thirst"
|
||||||
|
{COLOR_HARM}
|
||||||
|
[/floating_text]
|
||||||
|
[/then]
|
||||||
|
|
||||||
|
[else]
|
||||||
|
[floating_text]
|
||||||
|
x=$dehydrating_units[$i].x
|
||||||
|
y=$dehydrating_units[$i].y
|
||||||
|
text= _ "thirst"
|
||||||
|
{COLOR_HARM}
|
||||||
|
[/floating_text]
|
||||||
|
[/else]
|
||||||
|
[/if]
|
||||||
[/else]
|
[/else]
|
||||||
[/if]
|
[/if]
|
||||||
[/do]
|
[/do]
|
||||||
@ -150,12 +169,31 @@ Hd, Dd*, Dd^E*, Rd #enddef
|
|||||||
dehydrated=no
|
dehydrated=no
|
||||||
[/status]
|
[/status]
|
||||||
[/modify_unit]
|
[/modify_unit]
|
||||||
[floating_text]
|
|
||||||
x=$hydrating_units[$i].x
|
[if]
|
||||||
y=$hydrating_units[$i].y
|
[variable]
|
||||||
text= _ "refreshed"
|
name=hydrating_units[$i].gender
|
||||||
{COLOR_HEAL}
|
equals=female
|
||||||
[/floating_text]
|
[/variable]
|
||||||
|
|
||||||
|
[then]
|
||||||
|
[floating_text]
|
||||||
|
x=$hydrating_units[$i].x
|
||||||
|
y=$hydrating_units[$i].y
|
||||||
|
text= _ "female^refreshed"
|
||||||
|
{COLOR_HEAL}
|
||||||
|
[/floating_text]
|
||||||
|
[/then]
|
||||||
|
|
||||||
|
[else]
|
||||||
|
[floating_text]
|
||||||
|
x=$hydrating_units[$i].x
|
||||||
|
y=$hydrating_units[$i].y
|
||||||
|
text= _ "refreshed"
|
||||||
|
{COLOR_HEAL}
|
||||||
|
[/floating_text]
|
||||||
|
[/else]
|
||||||
|
[/if]
|
||||||
|
|
||||||
[remove_object]
|
[remove_object]
|
||||||
x,y=$hydrating_units[$i].x,$hydrating_units[$i].y
|
x,y=$hydrating_units[$i].x,$hydrating_units[$i].y
|
||||||
@ -254,7 +292,8 @@ Hd, Dd*, Dd^E*, Rd #enddef
|
|||||||
[unstore_unit]
|
[unstore_unit]
|
||||||
variable=unit
|
variable=unit
|
||||||
find_vacant=no
|
find_vacant=no
|
||||||
text= _ "refreshed"
|
male_text= _ "refreshed"
|
||||||
|
female_text= _ "female^refreshed"
|
||||||
{COLOR_HEAL}
|
{COLOR_HEAL}
|
||||||
advance=no
|
advance=no
|
||||||
[/unstore_unit]
|
[/unstore_unit]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user