diff --git a/.init.lua.swp b/.init.lua.swp deleted file mode 100644 index 8340a49..0000000 Binary files a/.init.lua.swp and /dev/null differ diff --git a/README.md b/README.md index 9c1f38b..6d3a3cb 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,4 @@ Time Regulation =============== By Mg/LeMagnesium -License: CC0 +License: WTFPL diff --git a/description.txt b/description.txt new file mode 100644 index 0000000..d179b06 --- /dev/null +++ b/description.txt @@ -0,0 +1 @@ +This mod allows admins to set up different relative durations for day and night in a day cycle. diff --git a/init.lua b/init.lua index 4c5724a..01bdc28 100644 --- a/init.lua +++ b/init.lua @@ -1,14 +1,15 @@ -------------------- -- Time Regulation -- By Mg/LeMagnesium --- License: CC0 +-- License: WTFPL -- Last modification : +-- 02/17/16 @ 07:33PM GMT+1 (Mg) -- -- Namespace first, with basic informations time_reg = {} -time_reg.version = "00.01.04" -time_reg.author = "Mg/LeMagnesium" +time_reg.version = "00.01.10" +time_reg.authors = {"Mg/LeMagnesium"} -- Definitions time_reg.enabled = not (minetest.setting_getbool("disable_time_regulation") or false) @@ -231,7 +232,7 @@ minetest.register_chatcommand("time_reg", { -- Startup informations local function log(x) minetest.log("action", "[TimeRegulation] " .. (x or "")) end -log("Thank you for using TimeRegulation v" .. time_reg.version .. " by " .. time_reg.author) +log("Thank you for using TimeRegulation v" .. time_reg.version .. " by " .. table.concat(time_reg.authors, ", ")) log("Status: " .. time_reg.status) log("Absolute Time Speed: " .. time_reg.time_speed) log("Duration: " .. time_reg.duration) diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..4caa00e --- /dev/null +++ b/mod.conf @@ -0,0 +1 @@ +name = time_regulation