New macros AI_SAVE_GOLD and AI_SAVE_GOLD_DEFAULT
… to make enabling gold saving for the AI simpler in a scenario now that it is not the default any more.
This commit is contained in:
parent
047834e0cf
commit
1f93899652
2 changed files with 29 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
Version 1.11.8+dev:
|
||||
* AI:
|
||||
* RCA (default) AI: Gold saving is turned off by default again
|
||||
* New macros AI_SAVE_GOLD and AI_SAVE_GOLD_DEFAULT for easy enabling of
|
||||
recruitment gold saving in specific scenarios
|
||||
* Wolves Micro AI: new optional parameter attack_only_prey=
|
||||
* Campaigns:
|
||||
* Heir to the Throne:
|
||||
|
|
|
@ -417,6 +417,33 @@
|
|||
[/facet]
|
||||
#enddef
|
||||
|
||||
#define AI_SAVE_GOLD ACTIVE BEGIN END
|
||||
# Enable AI recruitment gold saving.
|
||||
# ACTIVE: turn from which on gold saving will be active
|
||||
# BEGIN: begin gold saving when unit cost ratio rises above this value
|
||||
# END: end gold saving when unit cost ratio drops below this value
|
||||
# This goes directly into the [ai] tag.
|
||||
|
||||
[aspect]
|
||||
id=recruitment_save_gold
|
||||
[facet]
|
||||
[value]
|
||||
active={ACTIVE}
|
||||
begin={BEGIN}
|
||||
end={END}
|
||||
[/value]
|
||||
[/facet]
|
||||
[/aspect]
|
||||
#enddef
|
||||
|
||||
#define AI_SAVE_GOLD_DEFAULT
|
||||
# Enable AI recruitment gold saving with values set
|
||||
# to what was the default in Wesnoth 1.11.7 and 1.11.8.
|
||||
# This goes directly into the [ai] tag.
|
||||
|
||||
{AI_SAVE_GOLD 2 1.5 1.1}
|
||||
#enddef
|
||||
|
||||
############################################################
|
||||
# NEW FORMULA_AI RECRUITMENT BY Dragonking (experimental!)
|
||||
############################################################
|
||||
|
|
Loading…
Add table
Reference in a new issue