SotBE S10: don't give huge unannounced gold bonus to AIs at turn 8

Instead, give AIs all the gold from the beginning, but stop recruiting
after a little less than half of it is spent.  At turn 8, start
recruiting again with the remaining gold.
This commit is contained in:
mattsc 2014-01-24 09:17:50 -08:00
parent f862650352
commit e989d7e2a6

View file

@ -102,7 +102,7 @@
recruit=Elvish Fighter, Elvish Archer, Elvish Shaman, Elvish Scout
team_name=villains
user_team_name=_"Villains"
{GOLD 200 250 300}
{GOLD 600 700 800}
{FLAG_VARIANT wood-elvish}
[/side]
@ -129,7 +129,7 @@
recruit=Dwarvish Fighter, Dwarvish Thunderer, Dwarvish Scout, Footpad, Bandit
team_name=villains
user_team_name=_"Villains"
{GOLD 200 250 300}
{GOLD 600 700 800}
{FLAG_VARIANT knalgan}
[/side]
@ -589,7 +589,39 @@
[/event]
[event]
name=turn 8
name=recruit
first_time_only=no
[filter]
side=2,3
[/filter]
[store_side]
side=$unit.side
[/store_side]
[if]
[variable]
name=side.gold
{QUANTITY less_than 350 400 450} # Starting gold is +100 per difficulty level, so this is correct in this order
[/variable]
[variable]
name=turn_number
less_than=8
[/variable]
[then]
[disallow_recruit]
side=$unit.side
type=$side.recruit
[/disallow_recruit]
[/then]
[/if]
{CLEAR_VARIABLE side}
[/event]
[event]
name=side 2 turn 8
[message]
speaker=Thelarion
message= _ "This isn't working. Mobilize all our troops and send these creatures back to hell."
@ -598,14 +630,15 @@
speaker=Darstang
message= _ "It wont be said that Elves were braver than us, everyone attack!"
[/message]
[modify_side]
[allow_recruit]
side=2
gold=400
[/modify_side]
[modify_side]
type=Elvish Fighter, Elvish Archer, Elvish Shaman, Elvish Scout
[/allow_recruit]
[allow_recruit]
side=3
gold=400
[/modify_side]
type=Dwarvish Fighter, Dwarvish Thunderer, Dwarvish Scout, Footpad, Bandit
[/allow_recruit]
[/event]
[event]