123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596 |
- doors.register("door_wood", {
- tiles = {{ name = "doors_door_wood.png", backface_culling = true }},
- description = "Wooden Door",
- inventory_image = "doors_item_wood.png",
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:wood_light", "group:stick"},
- {"group:wood_light", "group:wood_light"},
- {"group:wood_light", "group:wood_light"},
- }
- })
- doors.register("door_wood_locked", {
- tiles = {{ name = "doors_door_wood.png", backface_culling = true }},
- description = "Locked Wooden Door",
- inventory_image = "doors_item_wood.png",
- protected = true,
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:wood_light", "group:stick", ""},
- {"group:wood_light", "group:wood_light", "default:padlock"},
- {"group:wood_light", "group:wood_light", ""},
- }
- })
- -- Supplementary recipe for wood door.
- minetest.register_craft({
- output = "doors:door_wood",
- recipe = {
- {"firetree:firewood", "group:stick"},
- {"firetree:firewood", "firetree:firewood"},
- {"firetree:firewood", "firetree:firewood"},
- },
- })
- -- Supplementary recipe for wood door.
- minetest.register_craft({
- output = "doors:door_wood_locked",
- recipe = {
- {"firetree:firewood", "group:stick", ""},
- {"firetree:firewood", "firetree:firewood", "default:padlock"},
- {"firetree:firewood", "firetree:firewood", ""},
- },
- })
- doors.register("door_steel", {
- tiles = {{name = "doors_door_steel.png", backface_culling = true}},
- description = "Locked Iron Door",
- inventory_image = "doors_item_steel.png",
- protected = true,
- groups = utility.dig_groups("door_metal"),
- sounds = default.node_sound_metal_defaults(),
- sound_open = "doors_steel_door_open",
- sound_close = "doors_steel_door_close",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot", ""},
- {"default:steel_ingot", "default:steel_ingot", "default:padlock"},
- {"default:steel_ingot", "default:steel_ingot", ""},
- }
- })
- doors.register("door_steel_unlocked", {
- tiles = {{name = "doors_door_steel.png", backface_culling = true}},
- description = "Iron Door",
- inventory_image = "doors_item_steel.png",
- groups = utility.dig_groups("door_metal"),
- sounds = default.node_sound_metal_defaults(),
- sound_open = "doors_steel_door_open",
- sound_close = "doors_steel_door_close",
- recipe = {
- {"default:steel_ingot", "default:steel_ingot"},
- {"default:steel_ingot", "default:steel_ingot"},
- {"default:steel_ingot", "default:steel_ingot"},
- }
- })
- doors.register("door_iron", {
- tiles = {{name = "doors_door_iron.png", backface_culling = true}},
- description = "Wrought Iron Door",
- inventory_image = "doors_item_iron.png",
- groups = utility.dig_groups("door_metal"),
- sounds = default.node_sound_metal_defaults(),
- sound_open = "doors_iron_door_open",
- sound_close = "doors_iron_door_close",
- recipe = {
- {"default:iron_lump", "default:iron_lump"},
- {"default:iron_lump", "default:iron_lump"},
- {"default:iron_lump", "default:iron_lump"},
- }
- })
- doors.register("door_iron_locked", {
- tiles = {{name = "doors_door_iron.png", backface_culling = true}},
- description = "Locked Wrought Iron Door",
- inventory_image = "doors_item_iron.png",
- protected = true,
- groups = utility.dig_groups("door_metal"),
- sounds = default.node_sound_metal_defaults(),
- sound_open = "doors_iron_door_open",
- sound_close = "doors_iron_door_close",
- recipe = {
- {"default:iron_lump", "default:iron_lump", ""},
- {"default:iron_lump", "default:iron_lump", "default:padlock"},
- {"default:iron_lump", "default:iron_lump", ""},
- }
- })
- doors.register("door_glass", {
- tiles = {"doors_door_glass.png"},
- description = "Glass Door",
- inventory_image = "doors_item_glass.png",
- groups = utility.dig_groups("door_glass"),
- sounds = default.node_sound_glass_defaults(),
- sound_open = "doors_glass_door_open",
- sound_close = "doors_glass_door_close",
- recipe = {
- {"default:glass", "default:glass"},
- {"default:glass", "default:glass"},
- {"default:glass", "default:glass"},
- }
- })
- doors.register("door_glass_locked", {
- tiles = {"doors_door_glass.png"},
- description = "Locked Glass Door",
- inventory_image = "doors_item_glass.png",
- protected = true,
- groups = utility.dig_groups("door_glass"),
- sounds = default.node_sound_glass_defaults(),
- sound_open = "doors_glass_door_open",
- sound_close = "doors_glass_door_close",
- recipe = {
- {"default:glass", "default:glass", ""},
- {"default:glass", "default:glass", "default:padlock"},
- {"default:glass", "default:glass", ""},
- }
- })
- doors.register("door_obsidian_glass", {
- tiles = {"doors_door_obsidian_glass.png"},
- description = "Obsidian Glass Door",
- inventory_image = "doors_item_obsidian_glass.png",
- groups = utility.dig_groups("door_glass"),
- sounds = default.node_sound_glass_defaults(),
- sound_open = "doors_glass_door_open",
- sound_close = "doors_glass_door_close",
- recipe = {
- {"default:obsidian_glass", "default:obsidian_glass"},
- {"default:obsidian_glass", "default:obsidian_glass"},
- {"default:obsidian_glass", "default:obsidian_glass"},
- },
- })
- doors.register("door_obsidian_glass_locked", {
- tiles = {"doors_door_obsidian_glass.png"},
- description = "Locked Obsidian Glass Door",
- inventory_image = "doors_item_obsidian_glass.png",
- protected = true,
- groups = utility.dig_groups("door_glass"),
- sounds = default.node_sound_glass_defaults(),
- sound_open = "doors_glass_door_open",
- sound_close = "doors_glass_door_close",
- recipe = {
- {"default:obsidian_glass", "default:obsidian_glass", ""},
- {"default:obsidian_glass", "default:obsidian_glass", "default:padlock"},
- {"default:obsidian_glass", "default:obsidian_glass", ""},
- },
- })
- doors.register("door_wood_solid", {
- tiles = {"doors_door_woodsolid.png"},
- description = "Solid Wood Door",
- inventory_image = "doors_item_woodsolid.png",
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:wood_light", "group:wood_light"},
- {"group:wood_light", "group:wood_light"},
- {"group:wood_light", "group:wood_light"},
- },
- })
- doors.register("door_wood_solid_locked", {
- tiles = {"doors_door_woodsolid.png"},
- description = "Locked Solid Wood Door",
- inventory_image = "doors_item_woodsolid.png",
- protected = true,
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:wood_light", "group:wood_light", ""},
- {"group:wood_light", "group:wood_light", "default:padlock"},
- {"group:wood_light", "group:wood_light", ""},
- },
- })
- doors.register("door_steel_glass", {
- tiles = {{name="doors_door_steelglass.png", backface_culling = true}},
- description = "Fancy Glass/Iron Door",
- inventory_image = "doors_item_steelglass.png",
- groups = utility.dig_groups("door_metal"),
- recipe = {
- {"default:steel_ingot", "default:glass"},
- {"default:glass", "default:steel_ingot"},
- {"default:steel_ingot", "default:glass"},
- },
- })
- doors.register("door_steel_glass_locked", {
- tiles = {{name="doors_door_steelglass.png", backface_culling = true}},
- description = "Locked Fancy Glass/Iron Door",
- inventory_image = "doors_item_steelglass.png",
- protected = true,
- groups = utility.dig_groups("door_metal"),
- recipe = {
- {"default:steel_ingot", "default:glass", ""},
- {"default:glass", "default:steel_ingot", "default:padlock"},
- {"default:steel_ingot", "default:glass", ""},
- },
- })
- doors.register("door_wood_glass", {
- tiles = {{name="doors_door_woodglass.png", backface_culling = true}},
- description = "Fancy Glass/Darkwood Door",
- inventory_image = "doors_item_woodglass.png",
- groups = utility.dig_groups("door_woodglass", {flammable = 2}),
- recipe = {
- {"group:wood_dark", "default:glass"},
- {"default:glass", "group:wood_dark"},
- {"group:wood_dark", "default:glass"},
- },
- })
- doors.register("door_wood_glass_locked", {
- tiles = {{name="doors_door_woodglass.png", backface_culling = true}},
- description = "Locked Fancy Glass/Darkwood Door",
- inventory_image = "doors_item_woodglass.png",
- protected = true,
- groups = utility.dig_groups("door_woodglass", {flammable = 2}),
- recipe = {
- {"group:wood_dark", "default:glass", ""},
- {"default:glass", "group:wood_dark", "default:padlock"},
- {"group:wood_dark", "default:glass", ""},
- },
- })
- doors.register("door_lightwood_glass", {
- tiles = {{name="doors_door_lightwoodglass.png", backface_culling = true}},
- description = "Fancy Glass/Wood Door",
- inventory_image = "doors_item_lightwoodglass.png",
- groups = utility.dig_groups("door_woodglass", {flammable = 2}),
- recipe = {
- {"group:wood_light", "default:glass"},
- {"default:glass", "group:wood_light"},
- {"group:wood_light", "default:glass"},
- },
- })
- doors.register("door_lightwood_glass_locked", {
- tiles = {{name="doors_door_lightwoodglass.png", backface_culling = true}},
- description = "Locked Fancy Glass/Wood Door",
- inventory_image = "doors_item_lightwoodglass.png",
- protected = true,
- groups = utility.dig_groups("door_woodglass", {flammable = 2}),
- recipe = {
- {"group:wood_light", "default:glass", ""},
- {"default:glass", "group:wood_light", "default:padlock"},
- {"group:wood_light", "default:glass", ""},
- },
- })
- doors.register("door_fancy_ext1", {
- tiles = {{name="doors_door_ext_fancy1.png", backface_culling = true}},
- description = "Fancy Exterior Wood/Glass Door",
- inventory_image = "doors_item_ext_fancy1.png",
- groups = utility.dig_groups("door_woodglass", {flammable = 2}),
- recipe = {
- {"group:wood_light", "default:glass"},
- {"group:wood_light", "default:glass"},
- {"group:wood_light", "group:wood_light"},
- },
- })
- doors.register("door_fancy_ext1_locked", {
- tiles = {{name="doors_door_ext_fancy1.png", backface_culling = true}},
- description = "Locked Fancy Exterior Wood/Glass Door",
- inventory_image = "doors_item_ext_fancy1.png",
- protected = true,
- groups = utility.dig_groups("door_woodglass", {flammable = 2}),
- recipe = {
- {"group:wood_light", "default:glass", ""},
- {"group:wood_light", "default:glass", "default:padlock"},
- {"group:wood_light", "group:wood_light", ""},
- },
- })
- doors.register("door_fancy_ext2", {
- tiles = {{name="doors_door_ext_fancy2.png", backface_culling = true}},
- description = "Fancy Exterior Wood/Glass Door",
- inventory_image = "doors_item_ext_fancy2.png",
- groups = utility.dig_groups("door_woodglass", {flammable = 2}),
- recipe = {
- {"group:wood_dark", "default:glass"},
- {"group:wood_dark", "brass:ingot"},
- {"group:wood_dark", "group:wood_dark"},
- },
- })
- doors.register("door_fancy_ext2_locked", {
- tiles = {{name="doors_door_ext_fancy2.png", backface_culling = true}},
- description = "Locked Fancy Exterior Wood/Glass Door",
- inventory_image = "doors_item_ext_fancy2.png",
- protected = true,
- groups = utility.dig_groups("door_woodglass", {flammable = 2}),
- recipe = {
- {"group:wood_dark", "default:glass", ""},
- {"group:wood_dark", "brass:ingot", "default:padlock"},
- {"group:wood_dark", "group:wood_dark", ""},
- },
- })
- doors.register("door_wood2", {
- tiles = {{ name = "doors_door_wood2.png", backface_culling = true }},
- description = "Wooden Door",
- inventory_image = "doors_item_wood2.png",
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "basictrees:tree_wood"},
- {"basictrees:tree_wood", "basictrees:tree_wood"},
- {"basictrees:tree_wood", "basictrees:tree_wood"},
- }
- })
- doors.register("door_wood2_locked", {
- tiles = {{ name = "doors_door_wood2.png", backface_culling = true }},
- description = "Locked Wooden Door",
- inventory_image = "doors_item_wood2.png",
- protected = true,
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "basictrees:tree_wood", ""},
- {"basictrees:tree_wood", "basictrees:tree_wood", "default:padlock"},
- {"basictrees:tree_wood", "basictrees:tree_wood", ""},
- }
- })
- doors.register("door_obsidian_glass2", {
- tiles = {"doors_door_obsidian_glass2.png"},
- description = "Obsidian Glass Door",
- inventory_image = "doors_item_obsidian_glass2.png",
- groups = utility.dig_groups("door_glass"),
- sounds = default.node_sound_glass_defaults(),
- sound_open = "doors_glass_door_open",
- sound_close = "doors_glass_door_close",
- recipe = {
- {"default:obsidian_shard", "default:obsidian_shard"},
- {"default:obsidian_glass", "default:obsidian_glass"},
- {"default:obsidian_glass", "default:obsidian_glass"},
- },
- })
- doors.register("door_obsidian_glass2_locked", {
- tiles = {"doors_door_obsidian_glass2.png"},
- description = "Locked Obsidian Glass Door",
- inventory_image = "doors_item_obsidian_glass2.png",
- protected = true,
- groups = utility.dig_groups("door_glass"),
- sounds = default.node_sound_glass_defaults(),
- sound_open = "doors_glass_door_open",
- sound_close = "doors_glass_door_close",
- recipe = {
- {"default:obsidian_shard", "default:obsidian_shard", ""},
- {"default:obsidian_glass", "default:obsidian_glass", "default:padlock"},
- {"default:obsidian_glass", "default:obsidian_glass", ""},
- },
- })
- doors.register("door_steel2", {
- tiles = {{name = "doors_door_steel2.png", backface_culling = true}},
- description = "Cast Iron Door",
- inventory_image = "doors_item_steel2.png",
- groups = utility.dig_groups("door_metal"),
- sounds = default.node_sound_metal_defaults(),
- sound_open = "doors_steel_door_open",
- sound_close = "doors_steel_door_close",
- recipe = {
- {"cast_iron:ingot", "cast_iron:ingot"},
- {"cast_iron:ingot", "cast_iron:ingot"},
- {"cast_iron:ingot", "cast_iron:ingot"},
- }
- })
- doors.register("door_steel2_locked", {
- tiles = {{name = "doors_door_steel2.png", backface_culling = true}},
- description = "Locked Cast Iron Door",
- inventory_image = "doors_item_steel2.png",
- protected = true,
- groups = utility.dig_groups("door_metal"),
- sounds = default.node_sound_metal_defaults(),
- sound_open = "doors_steel_door_open",
- sound_close = "doors_steel_door_close",
- recipe = {
- {"cast_iron:ingot", "cast_iron:ingot", ""},
- {"cast_iron:ingot", "cast_iron:ingot", "default:padlock"},
- {"cast_iron:ingot", "cast_iron:ingot", ""},
- }
- })
- doors.register("door_acacia", {
- tiles = {{ name = "doors_door_acacia.png", backface_culling = true }},
- description = "Acacia Door",
- inventory_image = "doors_item_acacia.png",
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "basictrees:acacia_wood"},
- {"basictrees:acacia_wood", "basictrees:acacia_wood"},
- {"basictrees:acacia_wood", "basictrees:acacia_wood"},
- }
- })
- doors.register("door_acacia_locked", {
- tiles = {{ name = "doors_door_acacia.png", backface_culling = true }},
- description = "Locked Acacia Door",
- inventory_image = "doors_item_acacia.png",
- protected = true,
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "basictrees:acacia_wood", ""},
- {"basictrees:acacia_wood", "basictrees:acacia_wood", "default:padlock"},
- {"basictrees:acacia_wood", "basictrees:acacia_wood", ""},
- }
- })
- doors.register("door_pine", {
- tiles = {{ name = "doors_door_pine.png", backface_culling = true }},
- description = "Pine Door",
- inventory_image = "doors_item_pine.png",
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "basictrees:pine_wood"},
- {"basictrees:pine_wood", "basictrees:pine_wood"},
- {"basictrees:pine_wood", "basictrees:pine_wood"},
- }
- })
- doors.register("door_pine_locked", {
- tiles = {{ name = "doors_door_pine.png", backface_culling = true }},
- description = "Locked Pine Door",
- inventory_image = "doors_item_pine.png",
- protected = true,
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "basictrees:pine_wood", ""},
- {"basictrees:pine_wood", "basictrees:pine_wood", "default:padlock"},
- {"basictrees:pine_wood", "basictrees:pine_wood", ""},
- }
- })
- doors.register("door_jungle", {
- tiles = {{ name = "doors_door_jungle.png", backface_culling = true }},
- description = "Jungle Wood Door",
- inventory_image = "doors_item_jungle.png",
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "basictrees:jungletree_wood"},
- {"basictrees:jungletree_wood", "basictrees:jungletree_wood"},
- {"basictrees:jungletree_wood", "basictrees:jungletree_wood"},
- }
- })
- doors.register("door_jungle_locked", {
- tiles = {{ name = "doors_door_jungle.png", backface_culling = true }},
- description = "Locked Jungle Wood Door",
- inventory_image = "doors_item_jungle.png",
- protected = true,
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "basictrees:jungletree_wood", ""},
- {"basictrees:jungletree_wood", "basictrees:jungletree_wood", "default:padlock"},
- {"basictrees:jungletree_wood", "basictrees:jungletree_wood", ""},
- }
- })
- doors.register("door_aspen", {
- tiles = {{ name = "doors_door_aspen.png", backface_culling = true }},
- description = "Aspen Door",
- inventory_image = "doors_item_aspen.png",
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "basictrees:aspen_wood"},
- {"basictrees:aspen_wood", "basictrees:aspen_wood"},
- {"basictrees:aspen_wood", "basictrees:aspen_wood"},
- }
- })
- doors.register("door_aspen_locked", {
- tiles = {{ name = "doors_door_aspen.png", backface_culling = true }},
- description = "Locked Aspen Door",
- inventory_image = "doors_item_aspen.png",
- protected = true,
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "basictrees:aspen_wood", ""},
- {"basictrees:aspen_wood", "basictrees:aspen_wood", "default:padlock"},
- {"basictrees:aspen_wood", "basictrees:aspen_wood", ""},
- }
- })
- doors.register("door_woodsteel", {
- tiles = {{ name = "doors_door_woodsteel.png", backface_culling = true }},
- description = "Steel-Bound Door",
- inventory_image = "doors_item_woodsteel.png",
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"basictrees:jungletree_wood", "basictrees:jungletree_wood"},
- {"default:steel_ingot", "default:steel_ingot"},
- {"basictrees:jungletree_wood", "basictrees:jungletree_wood"},
- }
- })
- doors.register("door_woodsteel_locked", {
- tiles = {{ name = "doors_door_woodsteel.png", backface_culling = true }},
- description = "Locked Steel-Bound Door",
- inventory_image = "doors_item_woodsteel.png",
- protected = true,
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"basictrees:jungletree_wood", "basictrees:jungletree_wood", ""},
- {"default:steel_ingot", "default:steel_ingot", "default:padlock"},
- {"basictrees:jungletree_wood", "basictrees:jungletree_wood", ""},
- }
- })
- doors.register("door_wood3", {
- tiles = {{ name = "doors_door_wood3.png", backface_culling = true }},
- description = "Wooden Door",
- inventory_image = "doors_item_wood3.png",
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "group:stick"},
- {"basictrees:tree_wood", "basictrees:tree_wood"},
- {"basictrees:tree_wood", "basictrees:tree_wood"},
- }
- })
- doors.register("door_wood3_locked", {
- tiles = {{ name = "doors_door_wood3.png", backface_culling = true }},
- description = "Locked Wooden Door",
- inventory_image = "doors_item_wood3.png",
- protected = true,
- groups = utility.dig_groups("door_wood", {flammable = 2}),
- recipe = {
- {"group:stick", "group:stick", ""},
- {"basictrees:tree_wood", "basictrees:tree_wood", "default:padlock"},
- {"basictrees:tree_wood", "basictrees:tree_wood", ""},
- }
- })
- -- No locked version. This is intentional,
- -- you only use it for camouflage.
- doors.register("door_desertstone", {
- tiles = {{ name = "doors_door_redstone.png", backface_culling = true }},
- description = "Desert Stone Door",
- inventory_image = "doors_item_redstone.png",
- groups = utility.dig_groups("door_stone"),
- recipe = {
- {"default:desert_stone", "default:desert_stone"},
- {"default:desert_stone", "default:desert_stone"},
- {"default:desert_stone", "default:desert_stone"},
- }
- })
- doors.register("door_sandstone", {
- tiles = {{ name = "doors_door_sandstone.png", backface_culling = true }},
- description = "Sandstone Door",
- inventory_image = "doors_item_sandstone.png",
- groups = utility.dig_groups("door_stone"),
- recipe = {
- {"default:sandstone", "default:sandstone"},
- {"default:sandstone", "default:sandstone"},
- {"default:sandstone", "default:sandstone"},
- }
- })
- doors.register("door_sandstone_locked", {
- tiles = {{ name = "doors_door_sandstone.png", backface_culling = true }},
- description = "Locked Sandstone Door",
- inventory_image = "doors_item_sandstone.png",
- groups = utility.dig_groups("door_stone"),
- protected = true,
- recipe = {
- {"default:sandstone", "default:sandstone", ""},
- {"default:sandstone", "default:sandstone", "default:padlock"},
- {"default:sandstone", "default:sandstone", ""},
- }
- })
|