Yet another checkpoint.

This commit is contained in:
Eric S. Raymond 2008-01-24 01:56:20 +00:00
parent 0e5e22130d
commit 689e4f5468

View file

@ -828,39 +828,41 @@ One Elvish Shaman")}
[/if]
[/then]
[/if]
{CLEAR_VARIABLE recruit}
[/event]
# wmlindent: stop ignoring
{CLEAR_VARIABLE recruit}
[/event]
[event]
name=capture
[filter]
x=7,9,13
y=4,2,3
description=student
[/filter]
first_time_only=no
[event]
name=capture
[filter]
x=7,9,13
y=4,2,3
description=student
[/filter]
first_time_only=no
[allow_undo][/allow_undo]
# FIXME: If they somehow capture a village near keep, count could be wrong.
{VARIABLE_OP villages_around_keep add 1}
[if]
{NUMEQ villages_around_keep 1}
[then]
# FIXME: Level 2 units change costs.
{GENDER ({TEACHER (_"You've learned well, Konrad! " +
[allow_undo][/allow_undo]
# FIXME: If they somehow capture a village near keep, count could be wrong.
{VARIABLE_OP villages_around_keep add 1}
[if]
{NUMEQ villages_around_keep 1}
[then]
# wmlindent: start ignoring
# FIXME: Level 2 units change costs.
{GENDER ({TEACHER (_"You've learned well, Konrad! " +
_ "The village supports one unit, and pays one gold per turn: you're only losing 1 gold per turn now.")})
({TEACHER (_"You've learned well, Li'sar! " +
_ "The village supports one unit, and pays one gold per turn: you're only losing 1 gold per turn now.")})}
{PRINT (_"End your turn")}
[/then]
[/if]
[if]
{NUMEQ villages_around_keep 3}
[then]
{TEACHER (_"You've captured all the villages around the keep, but stay near so you can recruit more units.")}
[/then]
[/if]
# wmlindent: stop ignoring
{PRINT (_"End your turn")}
[/then]
[/if]
[if]
{NUMEQ villages_around_keep 3}
[then]
{TEACHER (_"You've captured all the villages around the keep, but stay near so you can recruit more units.")}
[/then]
[/if]
[/event]
[event]