mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-02-04 14:20:16 +01:00
new setting "is_winter" to active snow when winter and active snow now
This commit is contained in:
parent
006592534c
commit
5412da3c19
@ -138,6 +138,8 @@ hudbars_start_offset_left_y = -100
|
||||
hudbars_start_offset_right_y = -100
|
||||
# Mysql Auth, config file path
|
||||
mysql_auth.cfgfile = /home/quentinbd/mysql_auth/mff-classic_config
|
||||
# CHRISTMAS_CRAFT, active snow when winter(december/january)
|
||||
is_winter = true
|
||||
|
||||
### IRC CHAT ###
|
||||
################
|
||||
|
@ -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", {
|
||||
|
Loading…
Reference in New Issue
Block a user