Skip to content

Commit

Permalink
convert tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
LoTekkie committed Dec 31, 2019
1 parent 5125e8f commit bd44a37
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ Displays the available Battle Stations commands. Below are the equivalent ways o
**list _[radios|stations] [category#]_**

Displays the available radios and or stations. Below are some useage examples of this command:
//bs list
//bs l

//bs list radios
//bs l radios
//bs l r

//bs list stations
//bs list stations
//bs l stations
//bs l s

Expand Down Expand Up @@ -130,9 +130,9 @@ Displays the currently set station on the given radio(s). Below are some useage

Sets the given radio(s) to the default station (Current Zone Music). Below are some useage examples of this command:

//bs default
//bs default
//bs d
//bs d solo
//bs d party

Expand All @@ -143,9 +143,9 @@ Sets the given radio(s) to the default station (Current Zone Music). Below are s

Sets the given radio(s) to the original game music. Below are some useage examples of this command:

//bs normal
//bs normal
//bs n
//bs n solo
//bs n party

Expand All @@ -154,7 +154,7 @@ Sets the given radio(s) to the original game music. Below are some useage exampl
**reload**

Reloads the Battle Stations addon. Below are the equivalent ways of calling the command:
//battlestations reload
//stations reload
//bs reload
Expand All @@ -166,7 +166,7 @@ Reloads the Battle Stations addon. Below are the equivalent ways of calling the
**about**

Displays information about the Battle Stations addon. Below are the equivalent ways of calling the command:
/battlestations about
//stations about
//bs about
Expand Down
20 changes: 10 additions & 10 deletions battlestations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ local help = {
buildHelpCommandEntry('default [radio]', 'Set radio(s) to the default station (Current Zone Music).'),
buildHelpCommandEntry('normal [radio]', 'Set radio(s) to the original game music.'),
buildHelpCommandEntry('reload', 'Reload Battle Stations.'),
buildHelpCommandEntry('about', 'Display information about Battle Stations.'),
buildHelpCommandEntry('about', 'Display information about Battle Stations.'),
buildHelpCommandEntry('help', 'Display Battle Stations commands.'),
buildHelpSeperator('=', 28),
},
Expand All @@ -73,8 +73,8 @@ local help = {
buildHelpRadioEntry(stations.receivers.party:ucfirst(), 'Plays Party Battle Music'),
buildHelpSeperator('=', 25),
},
about = {
about = {
buildHelpSeperator('=', 23),
buildHelpTitle('About'),
buildHelpSeperator('=', 23),
Expand Down Expand Up @@ -336,9 +336,9 @@ function listTypeValid(list_type)
end

function handleInjectionNeeds()
if needs_inject then
injectBattleMusic()
needs_inject = false;
if needs_inject then
injectBattleMusic()
needs_inject = false;
end
end

Expand Down Expand Up @@ -373,7 +373,7 @@ windower.register_event('action', function(act)
end)

windower.register_event('outgoing chunk', function(id, data)
if id == packets.outbound.action.id then
if id == packets.outbound.action.id then
local packet = _packets.parse('outgoing', data)
if packet.Category == packets.outbound.action.categories.engage then
injectBattleMusic()
Expand Down Expand Up @@ -577,9 +577,9 @@ windower.register_event('addon command', function(command, ...)

elseif command == 'reload' or command == 'r' then
windower.send_command('lua r battlestations')
elseif command == 'about' or command == 'a' then
displayHelp(help.about)
elseif command == 'about' or command == 'a' then
displayHelp(help.about)

elseif command == 'help' or command == 'h' then
displayHelp(help.commands)
Expand Down
4 changes: 2 additions & 2 deletions constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ packets = {
}

player = {
statuses = {
statuses = {
idle = 0x00,
fighting = 0x01,
},
},
buffs = {
reiveMark = 511
}
Expand Down
2 changes: 1 addition & 1 deletion helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function buildHelpCommandEntry(command, description)
end

function buildHelpTypeEntry(name, description)
local entry_template = "%s %s %s"
local entry_template = "%s %s %s"
local name = name:color(colors.secondary)
local sep = "=>":color(colors.primary)
local description = description:color(colors.info)
Expand Down

0 comments on commit bd44a37

Please sign in to comment.