Skip to content

Commit

Permalink
DW: ditch the ENABLE_KRAKEN macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jan 16, 2021
1 parent bf153a1 commit e2e5064
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
13 changes: 6 additions & 7 deletions data/campaigns/Dead_Water/_main.cfg
Expand Up @@ -58,6 +58,12 @@
comment = "Attack icons"
[/entry]
[/about]

[modify_unit_type]
type="Cuttle Fish"
add_advancement="Kraken"
set_experience=80
[/modify_unit_type]
[/campaign]

#ifdef CAMPAIGN_DEAD_WATER
Expand All @@ -71,13 +77,6 @@
{campaigns/Dead_Water/units}
[/units]

# wmllint bug: wmllint is not smart enough to realise that the campaign already has an id
# wmllint: validate-off
[+campaign]
{ENABLE_KRAKEN}
[/campaign]
# wmllint: validate-on

{campaigns/Dead_Water/scenarios}

[lua]
Expand Down
8 changes: 0 additions & 8 deletions data/campaigns/Dead_Water/units/Kraken.cfg
@@ -1,13 +1,5 @@
#textdomain wesnoth-dw

#define ENABLE_KRAKEN
[modify_unit_type]
type="Cuttle Fish"
add_advancement="Kraken"
set_experience=80
[/modify_unit_type]
#enddef

[unit_type]
id=Kraken
name= _ "Kraken"
Expand Down

0 comments on commit e2e5064

Please sign in to comment.