Skip to content

Commit

Permalink
SotA S06: Removal of unneeded duplicate of code in sota_utils.cfg
Browse files Browse the repository at this point in the history
{SIDE_1_ARDONNA:TRANSFROM_BATS_TO_NORMAL_EVENT} holds the code now.
  • Loading branch information
sigurdfdragon committed Jan 15, 2019
1 parent fdd812c commit 567b422
Showing 1 changed file with 0 additions and 25 deletions.
Expand Up @@ -121,31 +121,6 @@ I was so sure I had the answer! I was wrong. I wanted to believe that I was imag

[event]
name=prestart

# The modifed bats were only needed for the ship
# transform them, and recruit only normal ones from now on
[disallow_recruit]
side=1
type=Vampire Bat SotA
[/disallow_recruit]
[allow_recruit]
side=1
type=Vampire Bat
[/allow_recruit]
[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
u:transform('Vampire Bat')
elseif u.type == 'Blood Bat SotA' then
u:transform('Blood Bat')
elseif u.type == 'Dread Bat SotA' then
u:transform('Dread Bat')
end
end
>>
[/lua]

{RECALL_LOYAL_UNITS}

# Using a shroud_data file would work too, but this is easier to modify if
Expand Down

0 comments on commit 567b422

Please sign in to comment.