minetest-mm/mods-old/bridger/init.lua

20 lines
656 B
Lua
Raw Normal View History

2021-12-05 14:17:16 +01:00
minetest.register_node("bridger:scaffolding", {
description = "Scaffolding",
drawtype = "glasslike_framed_optional",
tiles = {"bridges_scaffolding.png", "bridges_scaffolding_detail.png"},
paramtype = "light",
sunlight_propagates = true,
walkable = false,
climbable = true,
groups = {cracky = 3, oddly_breakable_by_hand = 3, dig_immediate = 3},
sounds = default.node_sound_wood_defaults(),
})
dofile(minetest.get_modpath("bridger") .. "/nodes.lua")
dofile(minetest.get_modpath("bridger") .. "/crafts.lua")
if minetest.settings:get_bool("Bridger_enable_alias") then
dofile(minetest.get_modpath("bridger") .. "/alias.lua")
end