Add Generalized Unit Optional Advancement Enabling and Disabling macros
This commit is contained in:
commit
cf4b11fcd8
1 changed files with 38 additions and 57 deletions
|
@ -1,102 +1,83 @@
|
|||
#textdomain wesnoth
|
||||
|
||||
#define ENABLE_ADVANCEMENT UNIT ADVANCEMENT_TYPE EXTRA_WML
|
||||
# Place in a campaign or scenario definition to allow {UNIT} to advance to {ADVANCEMENT_TYPE}.
|
||||
# {EXTRA_WML} is mostly for (set_experience=XX) in case the max XP required needs to be overridden.
|
||||
[modify_unit_type]
|
||||
type={UNIT}
|
||||
add_advancement={ADVANCEMENT_TYPE}
|
||||
{EXTRA_WML}
|
||||
[/modify_unit_type]
|
||||
#enddef
|
||||
|
||||
#define DISABLE_ADVANCEMENT UNIT ADVANCEMENT_TYPE EXTRA_WML
|
||||
# Place in a campaign or scenario definition to disallow {UNIT} from advancing to {ADVANCEMENT_TYPE}.
|
||||
# {EXTRA_WML} is mostly for (set_experience=XX) in case the max XP required needs to be overridden.
|
||||
[modify_unit_type]
|
||||
type={UNIT}
|
||||
remove_advancement={ADVANCEMENT_TYPE}
|
||||
{EXTRA_WML}
|
||||
[/modify_unit_type]
|
||||
#enddef
|
||||
|
||||
# Examples:
|
||||
# {ENABLE_ADVANCEMENT "Great Mage" "Elder Mage" (set_experience=299)}
|
||||
# {ENABLE_ADVANCEMENT "Great Mage" "Elder Mage" ()}
|
||||
# {DISABLE_ADVANCEMENT "Great Mage" "Elder Mage" (set_experience=150)}
|
||||
# {DISABLE_ADVANCEMENT "Spearman" "Swordsman" ()}
|
||||
|
||||
#define ENABLE_PARAGON
|
||||
# Place in a campaign or scenario definition to allow Dune Blademaster to advance to Dune Paragon.
|
||||
[modify_unit_type]
|
||||
type="Dune Blademaster"
|
||||
add_advancement="Dune Paragon"
|
||||
set_experience=220
|
||||
[/modify_unit_type]
|
||||
{ENABLE_ADVANCEMENT "Dune Blademaster" "Dune Paragon" (set_experience=220)}
|
||||
#enddef
|
||||
|
||||
#define DISABLE_GRAND_MARSHAL
|
||||
# Place in a campaign or scenario definition to disallow General from advancing to Grand Marshal.
|
||||
[modify_unit_type]
|
||||
type="General"
|
||||
remove_advancement="Grand Marshal"
|
||||
set_experience=150
|
||||
[/modify_unit_type]
|
||||
{DISABLE_ADVANCEMENT "General" "Grand Marshal" (set_experience=150)}
|
||||
#enddef
|
||||
|
||||
#define ENABLE_ARMAGEDDON_DRAKE
|
||||
# Place in a campaign or scenario definition to allow Inferno Drake to advance to Armageddon Drake.
|
||||
[modify_unit_type]
|
||||
type="Inferno Drake"
|
||||
add_advancement="Armageddon Drake"
|
||||
set_experience=220
|
||||
[/modify_unit_type]
|
||||
{ENABLE_ADVANCEMENT "Inferno Drake" "Armageddon Drake" (set_experience=220)}
|
||||
#enddef
|
||||
|
||||
#define ENABLE_DWARVISH_ARCANISTER
|
||||
# Place in a campaign or scenario definition to allow Dwarvish Runemaster to advance to Dwarvish Arcanister.
|
||||
[modify_unit_type]
|
||||
type="Dwarvish Runemaster"
|
||||
add_advancement="Dwarvish Arcanister"
|
||||
set_experience=210
|
||||
[/modify_unit_type]
|
||||
{ENABLE_ADVANCEMENT "Dwarvish Runemaster" "Dwarvish Arcanister" (set_experience=210)}
|
||||
#enddef
|
||||
|
||||
#define ENABLE_DWARVISH_RUNESMITH
|
||||
# Place in a campaign or scenario definition to allow Dwarvish Fighter to advance to Dwarvish Runesmith.
|
||||
[modify_unit_type]
|
||||
type="Dwarvish Fighter"
|
||||
add_advancement="Dwarvish Runesmith"
|
||||
[/modify_unit_type]
|
||||
{ENABLE_ADVANCEMENT "Dwarvish Fighter" "Dwarvish Runesmith" ()}
|
||||
#enddef
|
||||
|
||||
#define ENABLE_WOLF_ADVANCEMENT
|
||||
# Place in a campaign or scenario definition to allow Wolf to advance to Great Wolf and Great Wolf to advance to Direwolf.
|
||||
[modify_unit_type]
|
||||
type="Wolf"
|
||||
add_advancement="Great Wolf"
|
||||
set_experience=30
|
||||
[/modify_unit_type]
|
||||
[modify_unit_type]
|
||||
type="Great Wolf"
|
||||
add_advancement="Direwolf"
|
||||
set_experience=65
|
||||
[/modify_unit_type]
|
||||
{ENABLE_ADVANCEMENT "Wolf" "Great Wolf" (set_experience=30)}
|
||||
{ENABLE_ADVANCEMENT "Great Wolf" "Direwolf" (set_experience=65)}
|
||||
#enddef
|
||||
|
||||
#define ENABLE_NIGHTBLADE
|
||||
# Place in a campaign or scenario definition to allow Orcish Slayer to advance to Orcish Nightblade.
|
||||
[modify_unit_type]
|
||||
type="Orcish Slayer"
|
||||
add_advancement="Orcish Nightblade"
|
||||
set_experience=100
|
||||
[/modify_unit_type]
|
||||
{ENABLE_ADVANCEMENT "Orcish Slayer" "Orcish Nightblade" (set_experience=100)}
|
||||
#enddef
|
||||
|
||||
#define ENABLE_TROLL_SHAMAN
|
||||
# Place in a campaign or scenario definition to allow Troll Whelp to advance to Troll Shaman.
|
||||
[modify_unit_type]
|
||||
type="Troll Whelp"
|
||||
add_advancement="Troll Shaman"
|
||||
[/modify_unit_type]
|
||||
{ENABLE_ADVANCEMENT "Troll Whelp" "Troll Shaman" ()}
|
||||
#enddef
|
||||
|
||||
#define ENABLE_ANCIENT_LICH
|
||||
# Place in a campaign or scenario definition to allow Lich to advance to Ancient Lich.
|
||||
[modify_unit_type]
|
||||
type="Lich"
|
||||
add_advancement="Ancient Lich"
|
||||
set_experience=250
|
||||
[/modify_unit_type]
|
||||
{ENABLE_ADVANCEMENT "Lich" "Ancient Lich" (set_experience=250)}
|
||||
#enddef
|
||||
|
||||
#define ENABLE_DEATH_KNIGHT
|
||||
# Place in a campaign or scenario definition to allow Revenant to advance to Death Knight.
|
||||
[modify_unit_type]
|
||||
type="Revenant"
|
||||
add_advancement="Death Knight"
|
||||
set_experience=85
|
||||
[/modify_unit_type]
|
||||
{ENABLE_ADVANCEMENT "Revenant" "Death Knight" (set_experience=85)}
|
||||
#enddef
|
||||
|
||||
#define ENABLE_WOSE_SHAMAN
|
||||
# Place in a campaign or scenario definition to allow Wose to advance to Wose Shaman.
|
||||
[modify_unit_type]
|
||||
type="Wose"
|
||||
add_advancement="Wose Shaman"
|
||||
[/modify_unit_type]
|
||||
{ENABLE_ADVANCEMENT "Wose" "Wose Shaman" ()}
|
||||
#enddef
|
||||
|
|
Loading…
Add table
Reference in a new issue