elepower/elepower_farming/nodes/init.lua

21 lines
778 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")
-- Mobs Redo support
if minetest.get_modpath("mobs") ~= nil and mobs.mod and mobs.mod == "redo" then
dofile(elefarm.modpath.."/nodes/spawner.lua")
end