Skip to content

Commit

Permalink
THoT: simplify mage recruiting toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jan 25, 2015
1 parent 0440b0d commit c8af074
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions data/campaigns/The_Hammer_of_Thursagan/utils/macros.cfg
Expand Up @@ -4,22 +4,17 @@
Mage,Red Mage,White Mage,Arch Mage,Great Mage,Mage of Light,Silver Mage #enddef

#define CONDITIONAL_MAGE_RECRUITING
[store_unit]
[filter]
side=1
type={MAGES}
[/filter]
variable=mage_test
[/store_unit]
[if]
[variable]
name=mage_disallow
boolean_equals=false
[/variable]
[variable]
name=mage_test.length
numerical_equals=0
[/variable]
[not]
[have_unit]
side=1
type={MAGES}
[/have_unit]
[/not]
[then]
[message]
speaker=narrator
Expand Down

0 comments on commit c8af074

Please sign in to comment.