Update version, last modification. Change credit system

- Makes crediting a bit easier in the boot message
 - Update version string
 - Update last modification date
 - Add mod.conf and description.txt
 - Remove a swp file
This commit is contained in:
LeMagnesium 2016-02-17 19:32:36 +01:00
parent 4f71b46e24
commit bf1c311b6f
4 changed files with 7 additions and 4 deletions

Binary file not shown.

1
description.txt Normal file
View File

@ -0,0 +1 @@
This mod allows admins to set up different relative durations for day and night in a day cycle.

View File

@ -1,14 +1,15 @@
-------------------- --------------------
-- Time Regulation -- Time Regulation
-- By Mg/LeMagnesium -- By Mg/LeMagnesium
-- License: CC0 -- License: WTFPL
-- Last modification : -- Last modification :
-- 02/17/16 @ 07:33PM GMT+1 (Mg)
-- --
-- Namespace first, with basic informations -- Namespace first, with basic informations
time_reg = {} time_reg = {}
time_reg.version = "00.01.04" time_reg.version = "00.01.10"
time_reg.author = "Mg/LeMagnesium" time_reg.authors = {"Mg/LeMagnesium"}
-- Definitions -- Definitions
time_reg.enabled = not (minetest.setting_getbool("disable_time_regulation") or false) time_reg.enabled = not (minetest.setting_getbool("disable_time_regulation") or false)
@ -231,7 +232,7 @@ minetest.register_chatcommand("time_reg", {
-- Startup informations -- Startup informations
local function log(x) minetest.log("action", "[TimeRegulation] " .. (x or "")) end 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("Status: " .. time_reg.status)
log("Absolute Time Speed: " .. time_reg.time_speed) log("Absolute Time Speed: " .. time_reg.time_speed)
log("Duration: " .. time_reg.duration) log("Duration: " .. time_reg.duration)

1
mod.conf Normal file
View File

@ -0,0 +1 @@
name = time_regulation