Skip to content

Commit

Permalink
DiD: automatically remove 0 exp walking corpses from the recall list
Browse files Browse the repository at this point in the history
  • Loading branch information
nemaara committed Oct 28, 2019
1 parent b5ea195 commit 53ab6fe
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 0 deletions.
Expand Up @@ -86,6 +86,8 @@
[event]
name=prestart

{CLEAR_CORPSE_HORDE}

[objectives]
side=1
[objective]
Expand Down
Expand Up @@ -127,6 +127,8 @@
[event]
name=prestart

{CLEAR_CORPSE_HORDE}

[objectives]
side=1
[objective]
Expand Down
Expand Up @@ -111,6 +111,8 @@
[event]
name=prestart

{CLEAR_CORPSE_HORDE}

[objectives]
side=1
[objective]
Expand Down
2 changes: 2 additions & 0 deletions data/campaigns/Descent_Into_Darkness/scenarios/05_Schism.cfg
Expand Up @@ -187,6 +187,8 @@
[event]
name=prestart

{CLEAR_CORPSE_HORDE}

[objectives]
side=1
[objective]
Expand Down
Expand Up @@ -184,6 +184,8 @@
[event]
name=prestart

{CLEAR_CORPSE_HORDE}

[objectives]
side=1
[objective]
Expand Down
Expand Up @@ -386,6 +386,8 @@
[event]
name=prestart

{CLEAR_CORPSE_HORDE}

[objectives]
side=1
[objective]
Expand Down
Expand Up @@ -154,6 +154,8 @@
[event]
name=prestart

{CLEAR_CORPSE_HORDE}

[objectives]
side=1
[objective]
Expand Down
Expand Up @@ -128,6 +128,8 @@
[event]
name=prestart

{CLEAR_CORPSE_HORDE}

[store_unit]
[filter]
id=Malin Keshar
Expand Down
Expand Up @@ -153,6 +153,8 @@
[event]
name=prestart

{CLEAR_CORPSE_HORDE}

{VARIABLE_OP timesForever add 1}
{VARIABLE second_hero_arrived 0}

Expand Down
8 changes: 8 additions & 0 deletions data/campaigns/Descent_Into_Darkness/utils/macros.cfg
@@ -1,5 +1,13 @@
#textdomain wesnoth-did

#define CLEAR_CORPSE_HORDE
[kill]
type=Walking Corpse
side=1
experience=0
[/kill]
#enddef

# MODIFY_ONE_UNIT alters a unit variable for a single unit
#define MODIFY_ONE_UNIT FILTER WML
[store_unit]
Expand Down

0 comments on commit 53ab6fe

Please sign in to comment.