Commit 50ccb739 authored by Maiyannah Bishop's avatar Maiyannah Bishop

Fix some tabs-to-spaces formatting issues

parent 365b4402
......@@ -76,24 +76,24 @@ function Valkryja.Startup()
-- Perform integrity check
Valkryja.IntegrityCheck("all")
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>):<reset> <yellow>Note:<reset> Not all failures above constitute an actual problem.\n")
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>):<reset> <yellow>Note:<reset> Not all failures above constitute an actual problem.\n")
-- Initalize bashing
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>):<reset> Initializing auto-basher...\n")
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>):<reset> Initializing auto-basher...\n")
Valkryja.CurrTarget = Valkryja.CurrTarget or false
-- Initialize UI harvester
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>):<reset> Initializing UI harvesting...\n")
-- Initialize UI harvester
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>):<reset> Initializing UI harvesting...\n")
Valkryja.HarvestingScore = Valkryja.HarvestingScore or false
Valkryja.HarvestingDefences = Valkryja.HarvestingDefences or false
Valkryja.Harvesting = Valkryja.Harvesting or {};
Valkryja.Harvesting = Valkryja.Harvesting or {};
Valkryja.TotalRoomObjects = Valkryja.TotalRoomObjects or 0
-- Defaults for console width and height assume 1080p monitor & maximized window
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>):<reset> Resizing main console...\n")
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>):<reset> Resizing main console...\n")
Valkryja.consoleWidth = Valkryja.consoleWidth or 790
Valkryja.consoleHeight = Valkryja.consoleHeight or 798
return true
return true
end
-- -----------------------------------------------------------------------------
......@@ -107,8 +107,8 @@ function Valkryja.IntegrityCheck(mud)
mud = mud or false
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>): <snow>Commencing system integrity check...<reset>\n")
-- Core
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>): <snow>Checking core modules...<reset>\n")
-- Core
cecho("<BlueViolet>(<CornflowerBlue>Valkryja<BlueViolet>): <snow>Checking core modules...<reset>\n")
check = pcall(Valkryja.CheckModule("valkryja", "Valkryja", true))
check = pcall(Valkryja.CheckModule("berkana", "Berkana", true))
check = pcall(Valkryja.CheckModule("kauna", "Kauna", true))
......@@ -188,9 +188,9 @@ end
function Valkryja.RightPad(string, length, char)
local char = char or " "
string = tostring(string)
string = tostring(string)
local res = string..string.rep(char, length - #string)
return res
return res
end
-- ============================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment