mirror of
https://github.com/minetest-mods/time_regulation.git
synced 2024-12-23 01:00:35 +01:00
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:
parent
4f71b46e24
commit
bf1c311b6f
BIN
.init.lua.swp
BIN
.init.lua.swp
Binary file not shown.
1
description.txt
Normal file
1
description.txt
Normal file
@ -0,0 +1 @@
|
||||
This mod allows admins to set up different relative durations for day and night in a day cycle.
|
9
init.lua
9
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)
|
||||
|
Loading…
Reference in New Issue
Block a user