mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +02:00
30 lines
398 B
Lua
30 lines
398 B
Lua
--- Druid settings file
|
|
-- @module settings
|
|
|
|
local M = {}
|
|
|
|
M.is_debug = false
|
|
M.default_style = nil
|
|
M.auto_focus_gain = true
|
|
|
|
|
|
function M.get_text(name)
|
|
-- override to get text for localized text
|
|
return "[Druid]: locales not inited"
|
|
end
|
|
|
|
|
|
function M.play_sound(name)
|
|
-- override to play sound with name
|
|
end
|
|
|
|
|
|
function M.log(...)
|
|
if M.is_debug then
|
|
print("[Druid]: ", ...)
|
|
end
|
|
end
|
|
|
|
|
|
return M
|