DiD S6: listed killing the orcs as a bonus objective, though it gives no reward

This commit is contained in:
Charles Dang 2014-12-23 16:57:22 +11:00
parent 3921a87f70
commit 93de42fd29

View file

@ -136,6 +136,19 @@
# Signpost
{PLACE_IMAGE scenery/signpost.png 27 13}
#define DID_RTP_HAS_ORC_LEADER
[have_unit]
side=2
canrecruit=yes
[/have_unit]
#enddef
#define DID_RTP_HAS_DROGAN
[have_unit]
id=Drogan
[/have_unit]
#enddef
[event]
name=prestart
@ -145,6 +158,14 @@
condition=win
description= _ "Remove the traitor Drogan"
[/objective]
[objective]
condition=win
{BONUS_OBJECTIVE_CAPTION}
description= _ "Kill the orc leader"
[show_if]
{DID_RTP_HAS_ORC_LEADER}
[/show_if]
[/objective]
[objective]
condition=lose
description= _ "Kill any people from Parthyn but Drogan"
@ -297,9 +318,7 @@
canrecruit=yes
[/filter]
[filter_condition]
[have_unit]
id=Drogan
[/have_unit]
{DID_RTP_HAS_DROGAN}
[/filter_condition]
[message]
@ -355,9 +374,7 @@
side=1
[/filter_second]
[filter_condition]
[have_unit]
id=Drogan
[/have_unit]
{DID_RTP_HAS_DROGAN}
[/filter_condition]
[message]
@ -391,10 +408,7 @@
[/message]
[if]
[have_unit]
side=2
canrecruit=yes
[/have_unit]
{DID_RTP_HAS_ORC_LEADER}
[then]
[message]
speaker=Malin Keshar
@ -464,10 +478,7 @@
name=victory
[if]
[have_unit]
side=2
canrecruit=yes
[/have_unit]
{DID_RTP_HAS_ORC_LEADER}
[then]
[message]
speaker=Dela Keshar
@ -496,3 +507,6 @@
{CLEAR_VARIABLE malin_used_necromancy}
[/event]
[/scenario]
#undef DID_RTP_HAS_DROGAN
#undef DID_RTP_HAS_ORC_LEADER