Hopefully fixed the rest of the silly supporter mess.
This commit is contained in:
parent
45be829c94
commit
e6ac91aad9
2 changed files with 20 additions and 29 deletions
|
@ -188,9 +188,8 @@
|
|||
{TRAIT_LOYAL}
|
||||
{TRAIT_RESILIENT}
|
||||
[/modifications]
|
||||
{MAKE_SUPPORTER}
|
||||
role=Supporter
|
||||
[/unit]
|
||||
{MAKE_SUPPORTER}
|
||||
[message]
|
||||
speaker=Tallin
|
||||
message= _ "The orcs have gotten careless - look how easily I stole these weapons and this bright gold from them. Now they're killing each other. This might be the only chance we got to get rid of this scum once and for all. Let's give it to 'em!"
|
||||
|
|
|
@ -1,41 +1,33 @@
|
|||
#textdomain wesnoth-nr
|
||||
|
||||
#define MAKE_SUPPORTER
|
||||
# Tag a unit as preferred for the Supporter role
|
||||
[variables]
|
||||
role=Supporter
|
||||
[/variables]
|
||||
#enddef
|
||||
|
||||
#define RECALL_SUPPORTER
|
||||
# Recall a walk-on to say lines. Prefer whoever was tagged with the
|
||||
# variable role=Supporter previously; if that unit is dead, pick
|
||||
# anyone from side 1.
|
||||
[role]
|
||||
[filter_wml]
|
||||
[variables]
|
||||
role=Supporter
|
||||
[/variables]
|
||||
[/filter_wml]
|
||||
# Recall a walk-on to say lines. Prefer whoever was tagged with
|
||||
# role=Supporter previously; if that unit is dead, pick anyone from side 1.
|
||||
[recall]
|
||||
role=Supporter
|
||||
[/role]
|
||||
[/recall]
|
||||
|
||||
[if]
|
||||
[not]
|
||||
[have_unit]
|
||||
role=Supporter
|
||||
[/have_unit]
|
||||
[/not]
|
||||
[role]
|
||||
side=1
|
||||
[not]
|
||||
id=Tallin
|
||||
[/not]
|
||||
role=Supporter
|
||||
[/role]
|
||||
|
||||
[then]
|
||||
[role]
|
||||
side=1
|
||||
[not]
|
||||
id=Tallin
|
||||
[/not]
|
||||
role=Supporter
|
||||
[/role]
|
||||
|
||||
[recall]
|
||||
role=Supporter
|
||||
[/recall]
|
||||
[/then]
|
||||
[/if]
|
||||
[recall]
|
||||
role=Supporter
|
||||
[/recall]
|
||||
#enddef
|
||||
|
||||
## These macros support a fourth difficulty level, NIGHTMARE.
|
||||
|
|
Loading…
Add table
Reference in a new issue