Another checkpoint.

This commit is contained in:
Eric S. Raymond 2008-01-24 02:06:59 +00:00
parent 6e12b9708f
commit d94dc12305

View file

@ -553,91 +553,91 @@ One Elvish Shaman")}
[/then]
[/if]
[if]
{NUMEQ recruit_num 4}
[then]
[if]
[variable]
name=recruit.type
not_equals=Elvish Archer
[/variable]
[then]
{REFUND recruit.type}
[kill]
x,y=$x1,$y1
[/kill]
{TEACHER (_"No! I said recruit an Elvish ARCHER! Now try again...")}
[/then]
[else]
{VARIABLE_OP recruit_num add 1}
[kill]
x,y=$x1,$y1
[/kill]
[unit]
description=Eowynial
user_description=_"Eowynial"
type=Elvish Archer
x,y=$x1,$y1
side=1
gender=female
upkeep=full
moves=0
[modifications]
{TRAIT_QUICK}
{TRAIT_RESILIENT}
[/modifications]
[/unit]
{EXPLAIN_QUICK_RESILIENT (_"Eowynial")}
{UNLABEL 9,4}
{UNLABEL 9,3}
{LABEL (_"Shaman") 10,2}
{PRINT (_"Recruit an Elvish Shaman to your north")}
[/else]
[/if]
[/then]
[/if]
[if]
{NUMEQ recruit_num 3}
[then]
[if]
[variable]
name=recruit.type
not_equals=Elvish Archer
[/variable]
[then]
{REFUND recruit.type}
[kill]
x,y=$x1,$y1
[/kill]
{TEACHER (_"No! I said recruit an Elvish ARCHER! Now try again...")}
[/then]
[else]
{VARIABLE_OP recruit_num add 1}
[kill]
x,y=$x1,$y1
[/kill]
[unit]
description=Elriend
user_description=_"Elriend"
type=Elvish Archer
x,y=$x1,$y1
side=1
upkeep=full
moves=0
[modifications]
{TRAIT_STRONG}
{TRAIT_INTELLIGENT}
[/modifications]
[/unit]
{EXPLAIN_STRONG_INTELLIGENT (_"Elriend")}
[/else]
[/if]
[/then]
[/if]
# wmlindent: start ignoring
[if]
{NUMEQ recruit_num 4}
[then]
[if]
[variable]
name=recruit.type
not_equals=Elvish Archer
[/variable]
[then]
{REFUND recruit.type}
[kill]
x,y=$x1,$y1
[/kill]
{TEACHER (_"No! I said recruit an Elvish ARCHER! Now try again...")}
[/then]
[else]
{VARIABLE_OP recruit_num add 1}
[kill]
x,y=$x1,$y1
[/kill]
[unit]
description=Eowynial
user_description=_"Eowynial"
type=Elvish Archer
x,y=$x1,$y1
side=1
gender=female
upkeep=full
moves=0
[modifications]
{TRAIT_QUICK}
{TRAIT_RESILIENT}
[/modifications]
[/unit]
{EXPLAIN_QUICK_RESILIENT (_"Eowynial")}
{UNLABEL 9,4}
{UNLABEL 9,3}
{LABEL (_"Shaman") 10,2}
{PRINT (_"Recruit an Elvish Shaman to your north")}
[/else]
[/if]
[/then]
[/if]
[if]
{NUMEQ recruit_num 3}
[then]
[if]
[variable]
name=recruit.type
not_equals=Elvish Archer
[/variable]
[then]
{REFUND recruit.type}
[kill]
x,y=$x1,$y1
[/kill]
{TEACHER (_"No! I said recruit an Elvish ARCHER! Now try again...")}
[/then]
[else]
{VARIABLE_OP recruit_num add 1}
[kill]
x,y=$x1,$y1
[/kill]
[unit]
description=Elriend
user_description=_"Elriend"
type=Elvish Archer
x,y=$x1,$y1
side=1
upkeep=full
moves=0
[modifications]
{TRAIT_STRONG}
{TRAIT_INTELLIGENT}
[/modifications]
[/unit]
{EXPLAIN_STRONG_INTELLIGENT (_"Elriend")}
[/else]
[/if]
[/then]
[/if]
[if]
{NUMEQ recruit_num 2}
[then]