This commit is contained in:
2024-08-24 22:41:08 +02:00
parent 77f1ac5d7a
commit c21f59778f
431 changed files with 68581 additions and 68581 deletions

View File

@@ -1,3 +1,3 @@
function(progress)
return aura_env.Display.color.r, aura_env.Display.color.g, aura_env.Display.color.b, 1
end
function(progress)
return aura_env.Display.color.r, aura_env.Display.color.g, aura_env.Display.color.b, 1
end

View File

@@ -1,4 +1,4 @@
function()
local current, max = aura_env.ShieldManager.GetStats()
return current, max, 1
function()
local current, max = aura_env.ShieldManager.GetStats()
return current, max, 1
end

View File

@@ -1,8 +1,8 @@
-- TICKER_500
function()
for _, shield in pairs(aura_env.Shields) do
shield:Update()
end
aura_env.Display.Update()
return true
-- TICKER_500
function()
for _, shield in pairs(aura_env.Shields) do
shield:Update()
end
aura_env.Display.Update()
return true
end

View File

@@ -1,31 +1,31 @@
---@param table table
---@param depth number?
function DumpTable(table, depth)
if depth == nil then
depth = 0
end
if (depth > 200) then
print("Error: Depth > 200 in dumpTable()")
return
end
for k, v in pairs(table) do
if (type(v) == "table") then
print(string.rep(" ", depth) .. k .. ":")
DumpTable(v, depth + 1)
else
print(string.rep(" ", depth) .. k .. ": ", v)
end
end
end
local colorer = Colorer.new()
local value = 1.21
local rgb = colorer:Interpolate(value)
for i = 1, 150 do
local value = i / 100
local rgb = colorer:Interpolate(value)
print(value, rgb.r, rgb.g, rgb.b)
end
---@param table table
---@param depth number?
function DumpTable(table, depth)
if depth == nil then
depth = 0
end
if (depth > 200) then
print("Error: Depth > 200 in dumpTable()")
return
end
for k, v in pairs(table) do
if (type(v) == "table") then
print(string.rep(" ", depth) .. k .. ":")
DumpTable(v, depth + 1)
else
print(string.rep(" ", depth) .. k .. ": ", v)
end
end
end
local colorer = Colorer.new()
local value = 1.21
local rgb = colorer:Interpolate(value)
for i = 1, 150 do
local value = i / 100
local rgb = colorer:Interpolate(value)
print(value, rgb.r, rgb.g, rgb.b)
end

View File

@@ -1,3 +1,3 @@
function()
return aura_env.Display.current, aura_env.Display.max, aura_env.Display.ofHp
function()
return aura_env.Display.current, aura_env.Display.max, aura_env.Display.ofHp
end