Skip to content

Commit

Permalink
NR: adjust gold if Krash is dead
Browse files Browse the repository at this point in the history
  • Loading branch information
nemaara committed Mar 11, 2019
1 parent 9096291 commit 455fbb2
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
19 changes: 19 additions & 0 deletions data/campaigns/Northern_Rebirth/scenarios/10a_Stolen_Gold.cfg
Expand Up @@ -345,6 +345,25 @@
[recall]
id="Ro'Sothian"
[/recall]

# give player extra gold if they do not have krash
[if]
[not]
[have_unit]
id=Krash
[/have_unit]
[/not]
[then]
[gold]
side=1
amount={ON_DIFFICULTY 150 125 100}
[/gold]
[gold]
side=2,3,4,5
amount={ON_DIFFICULTY -125 -100 -75}
[/gold]
[/then]
[/if]
[/event]

[event]
Expand Down
Expand Up @@ -169,10 +169,16 @@
terrain=Mm
[/terrain]

# adjust gold if no krash
[gold]
side=1
amount=200
amount={ON_DIFFICULTY 250 200 150}
[/gold]
[gold]
side=2,3,4,5,6
amount={ON_DIFFICULTY -125 -100 -75}
[/gold]
{CAPTURE_VILLAGES 1 30 3 5}
[/then]
[else]
{CAPTURE_VILLAGES 7 30 3 5}
Expand Down
Expand Up @@ -298,6 +298,12 @@
sie=4
hidden=yes
[/modify_side]

# give gold if no krash
[gold]
side=1,5
amount={ON_DIFFICULTY 300 275 250}
[/gold]
[/then]
[/if]

Expand Down
5 changes: 3 additions & 2 deletions data/campaigns/Northern_Rebirth/scenarios/13a_Showdown.cfg
Expand Up @@ -417,8 +417,9 @@
side=7
type=Troll,Troll Whelp,Ogre,Young Ogre,Mage,Red Mage,Gryphon
[/allow_recruit]
# dwarves also get gold if no krash, since it's much harder to defend them
[gold]
side=9
side=7,8
amount=400
[/gold]
[modify_side]
Expand Down Expand Up @@ -494,7 +495,7 @@
type=Troll,Troll Whelp,Ogre,Young Ogre,Mage,Red Mage,Gryphon
[/allow_recruit]
[gold]
side=9
side=8,9
amount=400
[/gold]
[modify_side]
Expand Down

0 comments on commit 455fbb2

Please sign in to comment.