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 ae539075f7
5 changed files with 8 additions and 5 deletions

Binary file not shown.

View File

@ -2,4 +2,4 @@ Time Regulation
===============
By Mg/LeMagnesium
License: CC0
License: WTFPL

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
-- 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)

1
mod.conf Normal file
View File

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