mod-slimes/init.lua
2017-08-28 08:15:07 -07:00

18 lines
508 B
Lua

-- Slimes by TomasJLuis
-- Migration to Mobs Redo API by TenPlus1
-- load mod files
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.settings:get("log_mods") then minetest.log("action", "Slimes loaded") end