1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Added spawn's timer and reduced interval for home

- HOME_INTERVAL is now 20 minutes
- Added spawn's timer : interval is 10 minutes
This commit is contained in:
LeMagnesium
2015-02-06 19:59:09 +01:00
parent f2da93525a
commit 030e104df3
2 changed files with 19 additions and 2 deletions

View File

@ -4,7 +4,7 @@ home.homes_file = {["real"] = minetest.get_worldpath() .. "/realhomes",
["nether"] = minetest.get_worldpath() .. "/netherhomes"}
home.homepos = {["real"] = {}, ["nether"] = {}}
home.timers = {}
home.HOME_INTERVAL = 30*60
home.HOME_INTERVAL = 20*60
home.sethome = function(name)
local player = minetest.env:get_player_by_name(name)