Clean up some canrecruit macros.

This commit is contained in:
Eric S. Raymond 2008-03-01 10:40:21 +00:00
parent fc6f946b32
commit 1206de9ddf
10 changed files with 14 additions and 14 deletions

View File

@ -198,7 +198,7 @@
{MODIFY_ONE_UNIT type=Ghost side 4}
{MODIFY_ONE_UNIT side=4 description (Tortured Soul)}
{MODIFY_ONE_UNIT side=4 user_description (_ "Tortured Soul")}
{MODIFY_ONE_UNIT side=4 canrecruit 1}
{MODIFY_ONE_UNIT side=4 canrecruit yes}
{VARIABLE ghost_was_freed yes}
{DIALOGUE_AHIW_GHOSTFREE}
[/event]

View File

@ -168,7 +168,7 @@
{GEN_UNIT (Banebow) 3 5 18}
{GEN_UNIT (Nightgaunt) 3 5 18}
{MODIFY_UNIT (description=Darken Volk) canrecruit 1}
{MODIFY_UNIT (description=Darken Volk) canrecruit yes}
#Go for the book
{MODIFY_UNIT (description=Darken Volk) goto_x 5}
{MODIFY_UNIT (description=Darken Volk) goto_y 5}

View File

@ -158,7 +158,7 @@
[/unit_overlay]
{MOVE_UNIT (description=Darken Volk) 19 19}
{MODIFY_UNIT (description=Darken Volk) side 2}
{MODIFY_UNIT (description=Darken Volk) canrecruit 1}
{MODIFY_UNIT (description=Darken Volk) canrecruit yes}
{DELAY 500}
{MOVE_UNIT (description=Malin Keshar) 7 21}
{DELAY 500}

View File

@ -321,7 +321,7 @@
message= _ "Good job! Now, we should move onward, north. Tell the villagers to pack their belongings and follow us."
[/message]
{MODIFY_UNIT description=Owaec canrecruit 0}
{MODIFY_UNIT description=Owaec canrecruit no}
{MODIFY_UNIT side=2 side 1}
[store_unit]
[filter]
@ -380,7 +380,7 @@
message= _ "Good work! Now, we should move onward, north. Tell the villagers to pack their belongings and follow us."
[/message]
{MODIFY_UNIT description=Owaec canrecruit 0}
{MODIFY_UNIT description=Owaec canrecruit no}
{MODIFY_UNIT side=2 side 1}
[store_unit]
[filter]

View File

@ -437,7 +437,7 @@
description=Thursagan
message= _ "Tell him to send forces north to aid us and fight the elves, but that we are probably going to die. We are going into the caves."
[/message]
{MODIFY_UNIT description=Alanin canrecruit 1}
{MODIFY_UNIT description=Alanin canrecruit yes}
[store_unit]
[filter]
side=1

View File

@ -315,7 +315,7 @@
{VARIABLE wesfolk_leader_store.description (Lady Outlaw)}
{VARIABLE wesfolk_leader_store.user_description ( _ "Lady Outlaw")}
{VARIABLE wesfolk_leader_store.canrecruit 0}
{VARIABLE wesfolk_leader_store.canrecruit no}
{VARIABLE wesfolk_leader_store.side 1}
[unstore_unit]
@ -352,7 +352,7 @@
{VARIABLE wesfolk_leader_store.description (Lady Outlaw)}
{VARIABLE wesfolk_leader_store.user_description ( _ "Lady Outlaw")}
{VARIABLE wesfolk_leader_store.canrecruit 0}
{VARIABLE wesfolk_leader_store.canrecruit no}
{VARIABLE wesfolk_leader_store.side 1}
[unstore_unit]

View File

@ -180,7 +180,7 @@
x,y=16,23
[/recall]
{MODIFY_UNIT (description=Sir Gerrick) canrecruit 1}
{MODIFY_UNIT (description=Sir Gerrick) canrecruit yes}
[set_recruit]
side=1
@ -473,7 +473,7 @@
variable=stored_Sir_Gerrick
[/store_unit]
{VARIABLE stored_Sir_Gerrick.canrecruit 0}
{VARIABLE stored_Sir_Gerrick.canrecruit no}
[store_unit]
variable=stored_Sir_Gerrick_army

View File

@ -200,7 +200,7 @@
variable=stored_Deoran
[/store_unit]
{MODIFY_UNIT (description=Sir Gerrick) canrecruit 1}
{MODIFY_UNIT (description=Sir Gerrick) canrecruit yes}
[message]
speaker=Lt. Illan

View File

@ -273,7 +273,7 @@
{MODIFY_UNIT (
side={SIDE}
canrecruit=yes
) canrecruit 0}
) canrecruit no}
[/then]
[/if]
[/event]

View File

@ -121,7 +121,7 @@
side=5
type=""
[/set_recruit]
{MODIFY_UNIT x,y=38,36 canrecruit 1}
{MODIFY_UNIT x,y=38,36 canrecruit yes}
[/then]
[/if]
[/event]
@ -147,7 +147,7 @@
greater_than=0
[/variable]
[then]
{VARIABLE newleader.canrecruit 1}
{VARIABLE newleader.canrecruit yes}
[unstore_unit]
variable=newleader
[/unstore_unit]