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

new setting "is_winter" to active snow when winter and active snow now

This commit is contained in:
2016-12-10 22:34:07 +01:00
parent 006592534c
commit 5412da3c19
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,9 @@
--dofile(minetest.get_modpath("christmas_craft").."/mods.lua")--disabled because 4seasons is not installed
dofile(minetest.get_modpath("christmas_craft").."/crafts.lua") --temporary disabled because cristmas is over--
--dofile(minetest.get_modpath("christmas_craft").."/settings.lua") -- makes it snow
if minetest.setting_getbool("is_winter") then
dofile(minetest.get_modpath("christmas_craft").."/settings.lua") -- makes it snow
end
-- blocks --
minetest.register_node("christmas_craft:snowman", {