Remove unnecessary [if] tag, fix capture event

This commit is contained in:
Earth-Cake 2020-01-01 15:59:06 +01:00 committed by GitHub
parent d3f053fa1e
commit 2289bc6f31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -382,25 +382,16 @@ A full list of abilities and weapons specials, along with traits, may be found i
[/show_if]
[/message]
[if]
[not]
[have_location]
terrain=^V
[/have_location]
[/not]
[then]
[message]
speaker=Galdrad
message= _ "While none of your recruited units can move yet, you still can. You need more income; there are some villages near the keep you can capture."
[/message]
[message]
speaker=Galdrad
message= _ "While none of your recruited units can move yet, you still can. You need more income; there are some villages near the keep you can capture."
[/message]
{PRINT ( _ "Capture a village")}
{PRINT ( _ "Capture a village")}
[disallow_end_turn]
reason=_"You still have to capture a village!"
[/disallow_end_turn]
[/then]
[/if]
[disallow_end_turn]
reason=_"You still have to capture a village!"
[/disallow_end_turn]
[/event]
[event]
@ -410,6 +401,12 @@ A full list of abilities and weapons specials, along with traits, may be found i
[filter]
side=1
[/filter]
[filter_condition]
[variable]
name=turn_number
numerical_equals=1
[/variable]
[/filter_condition]
{CLEAR_PRINT}