Skip to content

Commit

Permalink
SotA: Type change to follow convention for the bat line
Browse files Browse the repository at this point in the history
Second type change commit.
  • Loading branch information
beetlenaut authored and sigurdfdragon committed Jan 15, 2019
1 parent 5df1f00 commit 85c09d2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Expand Up @@ -128,7 +128,7 @@ With further observation, I have determined that this is probably not the way to
# *************************** MACROS ***************************
#define PLACE_BAT X Y TRAIT1
[unit]
type=Vampire Bat SotA
type=SotA Vampire Bat
x={X}
y={Y}
side=1
Expand Down
4 changes: 2 additions & 2 deletions data/campaigns/Secrets_of_the_Ancients/units/Bat_Blood.cfg
@@ -1,10 +1,10 @@
#textdomain wesnoth-units
[unit_type]
id=Blood Bat SotA
id=SotA Blood Bat
[base_unit]
id=Blood Bat
[/base_unit]
advances_to=Dread Bat SotA
advances_to=SotA Dread Bat
hide_help=yes
do_not_list=yes
[standing_anim]
Expand Down
2 changes: 1 addition & 1 deletion data/campaigns/Secrets_of_the_Ancients/units/Bat_Dread.cfg
@@ -1,6 +1,6 @@
#textdomain wesnoth-units
[unit_type]
id=Dread Bat SotA
id=SotA Dread Bat
[base_unit]
id=Dread Bat
[/base_unit]
Expand Down
4 changes: 2 additions & 2 deletions data/campaigns/Secrets_of_the_Ancients/units/Bat_Vampire.cfg
@@ -1,10 +1,10 @@
#textdomain wesnoth-units
[unit_type]
id=Vampire Bat SotA
id=SotA Vampire Bat
[base_unit]
id=Vampire Bat
[/base_unit]
advances_to=Blood Bat SotA
advances_to=SotA Blood Bat
hide_help=yes
do_not_list=yes
[standing_anim]
Expand Down
12 changes: 6 additions & 6 deletions data/campaigns/Secrets_of_the_Ancients/utils/sota-utils.cfg
Expand Up @@ -26,7 +26,7 @@

#define SIDE_1_ARDONNA_EARLY
{SIDE_1_ARDONNA_BASE}
recruit=Vampire Bat SotA
recruit=SotA Vampire Bat
#enddef

#define SIDE_1_RAS-TABAHN
Expand Down Expand Up @@ -1053,7 +1053,7 @@
# First, we'll make sure newly recruited ones will be correct
[disallow_recruit]
side=1
type=Vampire Bat SotA
type=SotA Vampire Bat
[/disallow_recruit]
[allow_recruit]
side=1
Expand All @@ -1063,12 +1063,12 @@
# Now the type of all bats on the recall list is changed
[lua]
code = <<
for i, u in ipairs(wesnoth.get_recall_units { type = 'Vampire Bat SotA, Blood Bat SotA, Dread Bat SotA' }) do
if u.type == 'Vampire Bat SotA' then
for i, u in ipairs(wesnoth.get_recall_units { type = 'SotA Vampire Bat, SotA Blood Bat, SotA Dread Bat' }) do
if u.type == 'SotA Vampire Bat' then
u:transform('Vampire Bat')
elseif u.type == 'Blood Bat SotA' then
elseif u.type == 'SotA Blood Bat' then
u:transform('Blood Bat')
elseif u.type == 'Dread Bat SotA' then
elseif u.type == 'SotA Dread Bat' then
u:transform('Dread Bat')
end
end
Expand Down

0 comments on commit 85c09d2

Please sign in to comment.