elepower/elepower_farming/nodes/init.lua
Evert Prants 89bc723fca
Composter
2018-08-10 21:58:05 +03:00

22 lines
826 B
Lua

minetest.register_node("elepower_farming:device_frame", {
description = "Plastic Device Frame\nSafe for decoration",
tiles = {
"elefarming_machine_base.png", "elefarming_machine_base.png", "elefarming_machine_side.png",
"elefarming_machine_side.png", "elefarming_machine_side.png", "elefarming_machine_side.png",
},
groups = {oddly_breakable_by_hand = 1, cracky = 1}
})
dofile(elefarm.modpath.."/nodes/fluids.lua")
dofile(elefarm.modpath.."/nodes/planter.lua")
dofile(elefarm.modpath.."/nodes/harvester.lua")
dofile(elefarm.modpath.."/nodes/tree_extractor.lua")
dofile(elefarm.modpath.."/nodes/tree_processor.lua")
dofile(elefarm.modpath.."/nodes/composter.lua")
-- Mobs Redo support
if minetest.get_modpath("mobs") ~= nil and mobs.mod and mobs.mod == "redo" then
dofile(elefarm.modpath.."/nodes/spawner.lua")
end