Camas/mods/default/init.lua

35 lines
1.1 KiB
Lua
Raw Normal View History

2015-09-01 17:15:24 +02:00
--
-- Default mod
-- By Kaadmy, for Pixture
--
default = {}
default.WATER_ALPHA = 200
default.WATER_VISC = 1
default.LIGHT_MAX = 14
function default.log(text, type)
print("Pixture ["..type.."] "..text)
end
minetest.nodedef_default.stack_max = 60
minetest.craftitemdef_default.stack_max = 60
function minetest.nodedef_default.on_receive_fields(pos, form_name, fields, player)
default.ui.receive_fields(player, form_name, fields)
end
dofile(minetest.get_modpath("default").."/formspec.lua")
dofile(minetest.get_modpath("default").."/functions.lua")
dofile(minetest.get_modpath("default").."/sounds.lua")
dofile(minetest.get_modpath("default").."/nodes.lua")
dofile(minetest.get_modpath("default").."/crafting.lua")
dofile(minetest.get_modpath("default").."/tools.lua")
dofile(minetest.get_modpath("default").."/furnace.lua")
dofile(minetest.get_modpath("default").."/mapgen.lua")
dofile(minetest.get_modpath("default").."/hud.lua")
dofile(minetest.get_modpath("default").."/player.lua")
dofile(minetest.get_modpath("default").."/model.lua")
default.log("mod:default", "loaded")