mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Move druid settings inside system folder
This commit is contained in:
27
druid/system/settings.lua
Normal file
27
druid/system/settings.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
--- Druid settings file
|
||||
-- @module settings
|
||||
|
||||
local M = {}
|
||||
|
||||
M.is_debug = false
|
||||
|
||||
|
||||
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
|
Reference in New Issue
Block a user