UtBS: removed old Desert Elves and accompanying scenarios and loading code
[ci skip] Also fixed the campaign icon to use the new Kaleh sprite instead of the old one. (cherry-picked from commit 1068ca128c0e50f09cfc77effafde98aa678b251)
@ -9,7 +9,7 @@
|
|||||||
[campaign]
|
[campaign]
|
||||||
id=Under_the_Burning_Suns
|
id=Under_the_Burning_Suns
|
||||||
name= _ "Under the Burning Suns"
|
name= _ "Under the Burning Suns"
|
||||||
icon="data/campaigns/Under_the_Burning_Suns/images/units/elves-desert/kaleh.png"
|
icon="data/campaigns/Under_the_Burning_Suns/images/units/quenoth/kaleh.png~RC(magenta>brown)"
|
||||||
image="data/campaigns/Under_the_Burning_Suns/images/campaign_image.png"
|
image="data/campaigns/Under_the_Burning_Suns/images/campaign_image.png"
|
||||||
abbrev= _ "UtBS"
|
abbrev= _ "UtBS"
|
||||||
rank=250
|
rank=250
|
||||||
@ -23,9 +23,9 @@
|
|||||||
|
|
||||||
# Old difficulty levels are not selectable anymore, but for now loading saves using them should still work.
|
# Old difficulty levels are not selectable anymore, but for now loading saves using them should still work.
|
||||||
|
|
||||||
{CAMPAIGN_DIFFICULTY EASY_NEW "data/campaigns/Under_the_Burning_Suns/images/units/quenoth/fighter.png~RC(magenta>red)" ( _ "Fighter") ( _ "Normal")}
|
{CAMPAIGN_DIFFICULTY EASY "data/campaigns/Under_the_Burning_Suns/images/units/quenoth/fighter.png~RC(magenta>red)" ( _ "Fighter") ( _ "Normal")}
|
||||||
{CAMPAIGN_DIFFICULTY NORMAL_NEW "data/campaigns/Under_the_Burning_Suns/images/units/quenoth/warrior.png~RC(magenta>red)" ( _ "Warrior") ( _ "Challenging")} {DEFAULT_DIFFICULTY}
|
{CAMPAIGN_DIFFICULTY NORMAL "data/campaigns/Under_the_Burning_Suns/images/units/quenoth/warrior.png~RC(magenta>red)" ( _ "Warrior") ( _ "Challenging")} {DEFAULT_DIFFICULTY}
|
||||||
{CAMPAIGN_DIFFICULTY HARD_NEW "data/campaigns/Under_the_Burning_Suns/images/units/quenoth/champion.png~RC(magenta>red)" ( _ "Champion") ( _ "Nightmare")}
|
{CAMPAIGN_DIFFICULTY HARD "data/campaigns/Under_the_Burning_Suns/images/units/quenoth/champion.png~RC(magenta>red)" ( _ "Champion") ( _ "Nightmare")}
|
||||||
|
|
||||||
# UTBS credits
|
# UTBS credits
|
||||||
[about]
|
[about]
|
||||||
@ -148,44 +148,8 @@
|
|||||||
[/about]
|
[/about]
|
||||||
[/campaign]
|
[/campaign]
|
||||||
|
|
||||||
#textdomain wesnoth
|
|
||||||
[+language]
|
|
||||||
EASY_NEW= _ "Easy"
|
|
||||||
NORMAL_NEW= _ "Medium"
|
|
||||||
HARD_NEW= _ "Hard"
|
|
||||||
[/language]
|
|
||||||
#textdomain wesnoth-utbs
|
|
||||||
|
|
||||||
#ifdef CAMPAIGN_UNDER_THE_BURNING_SUNS
|
#ifdef CAMPAIGN_UNDER_THE_BURNING_SUNS
|
||||||
|
|
||||||
#ifdef EASY_NEW
|
|
||||||
#define EASY
|
|
||||||
#enddef
|
|
||||||
#define UTBSNEW
|
|
||||||
#enddef
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef NORMAL_NEW
|
|
||||||
#define NORMAL
|
|
||||||
#enddef
|
|
||||||
#define UTBSNEW
|
|
||||||
#enddef
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HARD_NEW
|
|
||||||
#define HARD
|
|
||||||
#enddef
|
|
||||||
#define UTBSNEW
|
|
||||||
#enddef
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef UTBSNEW
|
|
||||||
|
|
||||||
# Need to re-load this for ON_DIFFICULTY to not break due to a missing
|
|
||||||
# EASY/NORMAL/HARD symbol
|
|
||||||
{core/macros/utils.cfg}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
[binary_path]
|
[binary_path]
|
||||||
path=data/campaigns/Under_the_Burning_Suns
|
path=data/campaigns/Under_the_Burning_Suns
|
||||||
[/binary_path]
|
[/binary_path]
|
||||||
@ -203,7 +167,6 @@
|
|||||||
#Append utils folder
|
#Append utils folder
|
||||||
{UTBS_INCLUDE utils}
|
{UTBS_INCLUDE utils}
|
||||||
|
|
||||||
#ifdef UTBSNEW
|
|
||||||
# Add global events
|
# Add global events
|
||||||
[+campaign]
|
[+campaign]
|
||||||
{WEAPON_SPECIAL_DAZE_EVENTS}
|
{WEAPON_SPECIAL_DAZE_EVENTS}
|
||||||
@ -248,18 +211,11 @@
|
|||||||
{DISCARD_RECRUIT_COST_HELPER_UNITS "Quenoth Mystic"}
|
{DISCARD_RECRUIT_COST_HELPER_UNITS "Quenoth Mystic"}
|
||||||
{DISCARD_RECRUIT_COST_HELPER_UNITS "Tauroch Rider"}
|
{DISCARD_RECRUIT_COST_HELPER_UNITS "Tauroch Rider"}
|
||||||
[/campaign]
|
[/campaign]
|
||||||
#endif
|
|
||||||
|
|
||||||
#Append Units
|
#Append Units
|
||||||
[units]
|
[units]
|
||||||
{UTBS_INCLUDE units/units.cfg}
|
{UTBS_INCLUDE units/units.cfg}
|
||||||
|
|
||||||
#ifdef UTBSNEW
|
|
||||||
{UTBS_INCLUDE units/quenoth}
|
{UTBS_INCLUDE units/quenoth}
|
||||||
#else
|
|
||||||
{UTBS_INCLUDE units/elves}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
{UTBS_INCLUDE units/humans}
|
{UTBS_INCLUDE units/humans}
|
||||||
{UTBS_INCLUDE units/monsters}
|
{UTBS_INCLUDE units/monsters}
|
||||||
{UTBS_INCLUDE units/nagas}
|
{UTBS_INCLUDE units/nagas}
|
||||||
@ -274,11 +230,7 @@
|
|||||||
[/hide_help]
|
[/hide_help]
|
||||||
[/units]
|
[/units]
|
||||||
|
|
||||||
#ifdef UTBSNEW
|
|
||||||
{UTBS_INCLUDE scenarios}
|
{UTBS_INCLUDE scenarios}
|
||||||
#else
|
|
||||||
{UTBS_INCLUDE scenarios_old}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
[lua]
|
[lua]
|
||||||
code="wesnoth.require 'campaigns/Under_the_Burning_Suns/lua/theme.lua'"
|
code="wesnoth.require 'campaigns/Under_the_Burning_Suns/lua/theme.lua'"
|
||||||
@ -290,11 +242,13 @@
|
|||||||
[binary_path]
|
[binary_path]
|
||||||
path=data/campaigns/Under_the_Burning_Suns
|
path=data/campaigns/Under_the_Burning_Suns
|
||||||
[/binary_path]
|
[/binary_path]
|
||||||
|
|
||||||
[editor_group]
|
[editor_group]
|
||||||
id=utbs
|
id=utbs
|
||||||
name= _ "Under the Burning Suns"
|
name= _ "Under the Burning Suns"
|
||||||
icon="group_mainline"
|
icon="group_mainline"
|
||||||
[/editor_group]
|
[/editor_group]
|
||||||
|
|
||||||
{campaigns/Under_the_Burning_Suns/utils/terrain.cfg}
|
{campaigns/Under_the_Burning_Suns/utils/terrain.cfg}
|
||||||
{campaigns/Under_the_Burning_Suns/utils/terrain_graphics.cfg}
|
{campaigns/Under_the_Burning_Suns/utils/terrain_graphics.cfg}
|
||||||
#endif
|
#endif
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 997 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 823 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.0 KiB |