Further fixes to the Bashmatic beta.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Charles Click 2024-06-17 02:27:20 -04:00
parent b779bc560c
commit d9e43baf4a
Signed by: roryejinn
GPG Key ID: EDECB89DEDB998C0
3 changed files with 44 additions and 15 deletions

View File

@ -1,14 +1,43 @@
cecho("<MediumPurple>Bashmatic - Let's Bash Some Mobs!") cecho("<MediumPurple>Bashmatic - Let's Bash Some Mobs!")
cecho("<Slategrey>---------------------------------") cecho("<slate_grey>---------------------------------")
cecho("<DarkSlateBlue>See bm help for information on configuration.") cecho("<DarkSlateBlue>See bm help for information on configuration.")
cecho("<DarkSlateBlue>") cecho("<DarkSlateBlue>")
cecho("<MediumPurple>\nBattle Commands:") cecho("<MediumPurple>\nBattle Commands:")
cecho("<DarkSlateBlue>-- Start : " .. Bashmatic.commands.start or "None") if Bashmatic.commands.start then
cecho("<DarkSlateBlue>-- Before: " .. Bashmatic.commands.before or "None") cecho("<DarkSlateBlue>-- Start : " .. Bashmatic.commands.start)
cecho("<DarkSlateBlue>-- During: " .. Bashmatic.commands.during or "None" .. "(Every " .. Bashmatic.commands.duringTime .. "s)") else
cecho("<DarkSlateBlue>-- After : " .. Bashmatic.commands.after or "None") cecho("<DarkSlateBlue>-- Start : Not Set.")
end
if Bashmatic.commands.before then
cecho("<DarkSlateBlue>-- Before : " .. Bashmatic.commands.before)
else
cecho("<DarkSlateBlue>-- Before : Not Set.")
end
if Bashmatic.commands.during then
cecho("<DarkSlateBlue>-- During : " .. Bashmatic.commands.during .. "(Every " .. Bashmatic.commands.duringTime .. "s)")
else
cecho("<DarkSlateBlue>-- During : Not Set.")
end
if Bashmatic.commands.after then
cecho("<DarkSlateBlue>-- After : " .. Bashmatic.commands.after)
else
cecho("<DarkSlateBlue>-- After : Not Set.")
end
cecho("<MediumPurple>\n\nDeath Trigger:") cecho("<MediumPurple>\n\nDeath Trigger:")
cecho("<DarkSlateBlue>-- Phrase : " .. Bashmatic.death.phrase or "None") if Bashmatic.death.phrase then
cecho("<DarkSlateBlue>-- Activated?: " .. Bashmatic.death.event or "No") cecho("<DarkSlateBlue>-- Phrase: " .. Bashmatic.death.phrase)
else
cecho("<DarkSlateBlue>-- Phrase: Not Set.")
end
if Bashmatic.death.event then
cecho("<DarkSlateBlue>-- Activated?: Yes")
else
cecho("<DarkSlateBlue>-- Activated?: No")
end
cecho("<MediumPurple>\n\nEnemies:") cecho("<MediumPurple>\n\nEnemies:")
cecho("<DarkSlateBlue>-- Grouping by Areas: " .. Bashmatic.enemies.group or "No") if Bashmatic.enemies.group then
cecho("<DarkSlateBlue>-- Grouping Enemies by Areas: Yes")
else
cecho("<DarkSlateBlue>-- Grouping Enemies by Areas: No")
end
cecho("<reset>")

View File

@ -24,5 +24,5 @@ else
return return
end end
table.remove(Bashmatic.enemies.targets, ourIndex) table.remove(Bashmatic.enemies.targets, ourIndex)
cecho("<DarkSlateBlue>Bashmatic: Removed target from the list.<reset") cecho("<DarkSlateBlue>Bashmatic: Removed target from the list.<reset>")
end end

View File

@ -178,11 +178,11 @@ function displayTargetList(start, endi, page, pages)
thisTable:addColumn({ thisTable:addColumn({
name = "Target", name = "Target",
width = 72, width = 72,
textColor = "<Slategrey>" textColor = "<slate_grey>"
}) })
for i=start,i<=endi,1 do for i=start,endi,1 do
thisTable:addRow({ thisTable:addRow({
i, tostring(i),
Bashmatic.enemies.targets[i] Bashmatic.enemies.targets[i]
}) })
end end
@ -208,11 +208,11 @@ function displayAreaTargetList(area, start, endi, page, pages)
thisTable:addColumn({ thisTable:addColumn({
name = "Target", name = "Target",
width = 72, width = 72,
textColor = "<Slategrey>" textColor = "<slate_grey>"
}) })
for i=start,i<=endi,1 do for i=start,endi,1 do
thisTable:addRow({ thisTable:addRow({
i, tostring(i),
Bashmatic.enemies.targets.area[i] Bashmatic.enemies.targets.area[i]
}) })
end end