lib_materials/lib_materials_nodeio_support.lua

17 lines
492 B
Lua
Raw Normal View History

2019-08-31 00:57:55 +02:00
-- add support for default mod
if minetest.get_modpath("default") then
2019-09-04 18:59:44 +02:00
print("[Node IO] Support for default mod enabled")
2019-08-31 00:57:55 +02:00
-- chest
node_io.init_main_inventory("default:chest", true)
node_io.init_main_inventory("default:chest_open", true)
-- locked chest
node_io.init_main_inventory("default:chest_locked", false)
node_io.init_main_inventory("default:chest_locked_open", false)
-- furnace
2019-09-04 18:59:44 +02:00
node_io.init_furnace("default:furnace")
node_io.init_furnace("default:furnace_active")
2019-08-31 00:57:55 +02:00
end