Added Metal Doors
This commit is contained in:
parent
6f835212c4
commit
dd03968429
@ -1 +1,2 @@
|
||||
trees
|
||||
trees
|
||||
metals
|
||||
|
@ -272,3 +272,22 @@ for i, tree_name in ipairs(realtest.registered_trees_list) do
|
||||
})
|
||||
realtest.add_bonfire_fuel("doors:door_"..tree_name:remove_modname_prefix())
|
||||
end
|
||||
|
||||
for i=1, #metals.list do
|
||||
-- Node Definition
|
||||
doors:register_door("doors:door_"..metals.list[i], {
|
||||
description = metals.desc_list[i],
|
||||
inventory_image = "metals_"..metals.list[i].."_block.png^doors_grey.png",
|
||||
groups = {snappy=1,cracky=2},
|
||||
tiles_bottom = {"metals_"..metals.list[i].."_block.png"},
|
||||
tiles_top = {"hatches_"..metals.list[i].."_hatch.png"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "doors:door_"..metals.list[i],
|
||||
recipe = {
|
||||
{"metals:"..metals.list[i].."_doubleingot","metals:"..metals.list[i].."_doubleingot"},
|
||||
{"metals:"..metals.list[i].."_doubleingot","metals:"..metals.list[i].."_doubleingot"},
|
||||
{"metals:"..metals.list[i].."_doubleingot","metals:"..metals.list[i].."_doubleingot"}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
BIN
mods/doors/textures/doors_grey.png
Normal file
BIN
mods/doors/textures/doors_grey.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 193 B |
Loading…
x
Reference in New Issue
Block a user