Skip to content

Commit

Permalink
Update version, last modification. Change credit system
Browse files Browse the repository at this point in the history
 - 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
  • Loading branch information
Lymkwi committed Feb 17, 2016
1 parent 4f71b46 commit ae53907
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
Binary file removed .init.lua.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Time Regulation
===============

By Mg/LeMagnesium
License: CC0
License: WTFPL
1 change: 1 addition & 0 deletions description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This mod allows admins to set up different relative durations for day and night in a day cycle.
9 changes: 5 additions & 4 deletions init.lua
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions mod.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name = time_regulation

0 comments on commit ae53907

Please sign in to comment.