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

tweak mobs/kitten and random_messages

mobs/kitten :
- add the tamed funtionnality
(doesn’t work for the moment, the kittens don’t spawn)
- smalls other tweaks

Random_messages :
Try to send one message per half hour instead of one message per 2
minutes
This commit is contained in:
Ombridride
2014-12-26 02:09:10 +01:00
parent d6d311581c
commit c335fac0d5
3 changed files with 36 additions and 12 deletions

View File

@ -12,9 +12,9 @@ random_messages = {}
random_messages.messages = {} --This table contains all messages.
function random_messages.initialize() --Set the interval in minetest.conf.
minetest.setting_set("random_messages_interval",120)
minetest.setting_set("random_messages_interval",1800)
minetest.setting_save();
return 120
return 1800
end
function random_messages.set_interval() --Read the interval from minetest.conf(set it if it doesn'st exist)