1
0
mirror of https://github.com/AntumMT/mod-slimes.git synced 2024-12-23 01:00:28 +01:00

Update init.lua

initial commit
This commit is contained in:
TomasJLuis 2015-04-10 11:09:42 +02:00
parent 8552f7e441
commit 02a4fa2abe

View File

@ -1,11 +1,13 @@
-- API -- Slimes by TenPlus1 and TomasJLuis
dofile(minetest.get_modpath("slimes").."/api.lua")
-- SLIMES
dofile(minetest.get_modpath("slimes").."/greenslimes.lua") dofile(minetest.get_modpath("slimes").."/greenslimes.lua")
dofile(minetest.get_modpath("slimes").."/lavaslimes.lua") dofile(minetest.get_modpath("slimes").."/lavaslimes.lua")
--dofile(minetest.get_modpath("slimes").."/waterslimes.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 if minetest.setting_get("log_mods") then minetest.log("action", "Slimes loaded") end
damage_enabled = minetest.setting_getbool("enable_damage")