Yet another checkpoint.
This commit is contained in:
parent
689e4f5468
commit
6e12b9708f
1 changed files with 31 additions and 29 deletions
|
@ -521,37 +521,39 @@ One Elvish Shaman")}
|
|||
[/filter]
|
||||
[/store_unit]
|
||||
|
||||
[if]
|
||||
{NUMEQ recruit_num 5}
|
||||
[then]
|
||||
[if]
|
||||
[variable]
|
||||
name=recruit.type
|
||||
not_equals=Elvish Shaman
|
||||
[/variable]
|
||||
[then]
|
||||
{REFUND recruit.type}
|
||||
[kill]
|
||||
x,y=$x1,$y1
|
||||
[/kill]
|
||||
{TEACHER (_"No! I said recruit an Elvish SHAMAN! Now try again...")}
|
||||
[/then]
|
||||
[else]
|
||||
{VARIABLE_OP recruit_num add 1}
|
||||
{UNLABEL 10,2}
|
||||
{CLEAR_PRINT}
|
||||
{TEACHER (_"The Shaman is a fairly weak unit, but has the ability to heal units around it. It also has a special attack which slows enemies, halving the damage they do!")}
|
||||
{STUDENT (_"So, should I end my turn now?")}
|
||||
# FIXME: If any level 2 units, costs will be higher.
|
||||
{TEACHER (_"It's true, none of your recruited units can move, but you still can. Your five units cost you 5 gold, leaving you 3 gold pieces poorer per turn. You need more income.")}
|
||||
# wmlindent: start ignoring
|
||||
[if]
|
||||
{NUMEQ recruit_num 5}
|
||||
[then]
|
||||
[if]
|
||||
[variable]
|
||||
name=recruit.type
|
||||
not_equals=Elvish Shaman
|
||||
[/variable]
|
||||
[then]
|
||||
{REFUND recruit.type}
|
||||
[kill]
|
||||
x,y=$x1,$y1
|
||||
[/kill]
|
||||
{TEACHER (_"No! I said recruit an Elvish SHAMAN! Now try again...")}
|
||||
[/then]
|
||||
[else]
|
||||
{VARIABLE_OP recruit_num add 1}
|
||||
{UNLABEL 10,2}
|
||||
{CLEAR_PRINT}
|
||||
{TEACHER (_"The Shaman is a fairly weak unit, but has the ability to heal units around it. It also has a special attack which slows enemies, halving the damage they do!")}
|
||||
{STUDENT (_"So, should I end my turn now?")}
|
||||
# FIXME: If any level 2 units, costs will be higher.
|
||||
{TEACHER (_"It's true, none of your recruited units can move, but you still can. Your five units cost you 5 gold, leaving you 3 gold pieces poorer per turn. You need more income.")}
|
||||
{GENDER ({PRINT (_"Move Konrad to capture a village")})
|
||||
({PRINT (_"Move Li'sar to capture a village")})}
|
||||
[/else]
|
||||
[/if]
|
||||
[/then]
|
||||
[/if]
|
||||
{GENDER ({PRINT (_"Move Konrad to capture a village")})
|
||||
({PRINT (_"Move Li'sar to capture a village")})}
|
||||
# wmlindent: stop ignoring
|
||||
[/else]
|
||||
[/if]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
# wmlindent: start ignoring
|
||||
[if]
|
||||
{NUMEQ recruit_num 4}
|
||||
[then]
|
||||
|
|
Loading…
Add table
Reference in a new issue