mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 11:28:16 +00:00
Update DW to use new female_text= feature for stun special
(Note: UtBS, and possibly others, should probably be updated too.)
This commit is contained in:
parent
766f3a7701
commit
001fcdcd89
@ -100,31 +100,11 @@
|
||||
|
||||
{VARIABLE second_unit.status.stunned yes}
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
name=second_unit.gender
|
||||
equals=female
|
||||
[/variable]
|
||||
|
||||
[then]
|
||||
[set_variable]
|
||||
name=tmp_stunned_text
|
||||
value= _ "female^stunned"
|
||||
[/set_variable]
|
||||
[/then]
|
||||
|
||||
[else]
|
||||
[set_variable]
|
||||
name=tmp_stunned_text
|
||||
value= _ "stunned"
|
||||
[/set_variable]
|
||||
[/else]
|
||||
[/if]
|
||||
|
||||
[unstore_unit]
|
||||
variable=second_unit
|
||||
find_vacant=no
|
||||
text=$tmp_stunned_text
|
||||
text= _ "stunned"
|
||||
female_text= _ "female^stunned"
|
||||
red,green,blue=196,196,128
|
||||
[/unstore_unit]
|
||||
|
||||
@ -146,10 +126,6 @@
|
||||
value=no
|
||||
[/effect]
|
||||
[/object]
|
||||
|
||||
[clear_variable]
|
||||
name=tmp_stunned_text
|
||||
[/clear_variable]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
Loading…
x
Reference in New Issue
Block a user