1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-19 16:25:47 +01:00

added news doors 3 panels

added tin door
updates all doors textures 16px to 32px
This commit is contained in:
2015-08-12 22:49:07 +02:00
parent 335b489dfb
commit 07e6c4ae88
36 changed files with 616 additions and 0 deletions

View File

@@ -442,6 +442,29 @@ minetest.register_craft({
}
})
-- doors tin MFF
doors.register_door("doors:door_tin", {
description = "Tin Door",
inventory_image = "doors_tin.png",
groups = {snappy=1,bendy=2,cracky=1,melty=2,level=2,door=1},
tiles_bottom = {"doors_tin_b.png", "doors_grey2.png"},
tiles_top = {"doors_tin_t.png", "doors_grey2.png"},
only_placer_can_open = true,
sounds = default.node_sound_stone_defaults(),
sunlight = false,
})
minetest.register_craft({
output = "doors:door_tin",
recipe = {
{"moreores:tin_ingot", "moreores:tin_ingot"},
{"moreores:tin_ingot", "moreores:tin_ingot"},
{"moreores:tin_ingot", "moreores:tin_ingot"}
}
})
----trapdoor----
function doors.register_trapdoor(name, def)
@@ -540,3 +563,6 @@ minetest.register_craft({
{'default:cherry_plank', 'default:cherry_plank', 'default:cherry_plank'},
}
})
-- door 3 nodes
dofile(minetest.get_modpath("doors").."/doors3.lua")