1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-11 12:50:41 +01:00
server-nalc/mods/slimes/init.lua

18 lines
498 B
Lua
Raw Normal View History

-- Slimes by ?
dofile(minetest.get_modpath("slimes").."/greenslimes.lua")
dofile(minetest.get_modpath("slimes").."/lavaslimes.lua")
-- cannot find mesecons?, craft glue instead
if not minetest.get_modpath("mesecons_materials") then
minetest.register_craftitem(":mesecons_materials:glue", {
image = "jeija_glue.png",
description="Glue",
})
end
if minetest.setting_get("log_mods") then minetest.log("action", "Slimes loaded") end
damage_enabled = minetest.setting_getbool("enable_damage")