diff --git a/minetestforfun_game/mods/doors/doors3.lua b/minetestforfun_game/mods/doors/doors3.lua new file mode 100755 index 00000000..9ac687a8 --- /dev/null +++ b/minetestforfun_game/mods/doors/doors3.lua @@ -0,0 +1,590 @@ +doors3 = {} + +-- Registers a door +function doors3.register_door(name, def) + def.groups.not_in_creative_inventory = 1 + + local box = {{-0.5, -0.5, -0.5, 0.5, 0.5, -0.5+1.5/16}} + + if not def.node_box_bottom then + def.node_box_bottom = box + end + if not def.node_box_middle then + def.node_box_middle = box + end + if not def.node_box_top then + def.node_box_top = box + end + if not def.selection_box_bottom then + def.selection_box_bottom= box + end + if not def.selection_box_middle then + def.selection_box_middle = box + end + if not def.selection_box_top then + def.selection_box_top = box + end + + if not def.sound_close_door then + def.sound_close_door = "doors_door_close" + end + if not def.sound_open_door then + def.sound_open_door = "doors_door_open" + end + + + minetest.register_craftitem(name, { + description = def.description, + inventory_image = def.inventory_image, + + on_place = function(itemstack, placer, pointed_thing) + if not pointed_thing.type == "node" then + return itemstack + end + + local ptu = pointed_thing.under + local nu = minetest.get_node(ptu) + if minetest.registered_nodes[nu.name].on_rightclick then + return minetest.registered_nodes[nu.name].on_rightclick(ptu, nu, placer, itemstack) + end + + local pt = pointed_thing.above + local pt1 = {x=pt.x, y=pt.y+1, z=pt.z} + local pt2 = {x=pt.x, y=pt.y+2, z=pt.z} + if + not minetest.registered_nodes[minetest.get_node(pt).name].buildable_to or + not minetest.registered_nodes[minetest.get_node(pt1).name].buildable_to or + not minetest.registered_nodes[minetest.get_node(pt2).name].buildable_to or + not placer or + not placer:is_player() + then + return itemstack + end + + if minetest.is_protected(pt, placer:get_player_name()) or + minetest.is_protected(pt2, placer:get_player_name()) then + minetest.record_protection_violation(pt, placer:get_player_name()) + return itemstack + end + + local p2 = minetest.dir_to_facedir(placer:get_look_dir()) + local pt3 = {x=pt.x, y=pt.y, z=pt.z} + if p2 == 0 then + pt3.x = pt3.x-1 + elseif p2 == 1 then + pt3.z = pt3.z+1 + elseif p2 == 2 then + pt3.x = pt3.x+1 + elseif p2 == 3 then + pt3.z = pt3.z-1 + end + if minetest.get_item_group(minetest.get_node(pt3).name, "door") == 0 then + minetest.set_node(pt, {name=name.."_b_1", param2=p2}) + minetest.set_node(pt1, {name=name.."_m_1", param2=p2}) + minetest.set_node(pt2, {name=name.."_t_1", param2=p2}) + else + minetest.set_node(pt, {name=name.."_b_2", param2=p2}) + minetest.set_node(pt1, {name=name.."_m_2", param2=p2}) + minetest.set_node(pt2, {name=name.."_t_2", param2=p2}) + minetest.get_meta(pt):set_int("right", 1) + minetest.get_meta(pt1):set_int("right", 1) + minetest.get_meta(pt2):set_int("right", 1) + end + + if def.only_placer_can_open then + local pn = placer:get_player_name() + local meta = minetest.get_meta(pt) + meta:set_string("doors_owner", pn) + meta:set_string("infotext", "Owned by "..pn) + meta = minetest.get_meta(pt1) + meta:set_string("doors_owner", pn) + meta:set_string("infotext", "Owned by "..pn) + meta = minetest.get_meta(pt2) + meta:set_string("doors_owner", pn) + meta:set_string("infotext", "Owned by "..pn) + end + + if not minetest.setting_getbool("creative_mode") then + itemstack:take_item() + end + return itemstack + end, + }) + + local tt = def.tiles_top + local tm = def.tiles_middle + local tb = def.tiles_bottom + + local function after_dig_node(pos, dir, name, num, digger) + local p + if dir == 0 then -- bottom + p = { {y=1, l="m"}, {y=2, l="t"} } + elseif dir == 1 then -- middle + p = { {y=-1, l="b"}, {y=1, l="t"} } + else -- top + p = { {y=-2, l="b"}, {y=-1, l="m"} } + end + for _,t in pairs(p) do + local pos1 = {x=pos.x, y=pos.y+t["y"], z=pos.z} + local node = minetest.get_node(pos1) + if node.name == name.."_"..t["l"].."_"..num then + minetest.node_dig(pos1, node, digger) + end + end + end + + local function check_and_blast(pos, name) + local node = minetest.get_node(pos) + if node.name == name then + minetest.remove_node(pos) + end + end + + local function make_on_blast(base_name, dir, num) + if def.only_placer_can_open then + return function() end + else + return function(pos, intensity) + local p + if dir == 0 then -- bottom + p = { {y=1, l="m"}, {y=2, l="t"} } + elseif dir == 1 then -- middle + p = { {y=-1, l="b"}, {y=1, l="t"} } + else -- top + p = { {y=-2, l="b"}, {y=-1, l="m"} } + end + for _,t in pairs(p) do + check_and_blast({x=pos.x, y=pos.y+t["y"], z=pos.z}, base_name.."_"..t["l"].."_"..num) + end + end + end + end + + + local function on_rightclick(pos, dir, name, oldnum, params) + local p + if dir == 0 then -- bottom + p = { {y=0, l="b"}, {y=1, l="m"}, {y=2, l="t"} } + elseif dir == 1 then -- middle + p = { {y=-1, l="b"}, {y=0, l="m"}, {y=1, l="t"} } + else -- top + p = { {y=-2, l="b"}, {y=-1, l="m"}, {y=0, l="t"} } + end + + local newnum + if oldnum == 1 then + newnum = 2 + else + newnum = 1 + end + for _,t in pairs(p) do + local pos1 = {x=pos.x, y=pos.y+t["y"], z=pos.z} + if minetest.get_node(pos1).name == name.."_"..t["l"].."_"..oldnum then + local p2 = minetest.get_node(pos1).param2 + p2 = params[p2+1] + minetest.swap_node(pos1, {name=name.."_"..t["l"].."_"..newnum, param2=p2}) + end + end + + local snd_1 = def.sound_close_door + local snd_2 = def.sound_open_door + if params[1] == 3 then + snd_1 = def.sound_open_door + snd_2 = def.sound_close_door + end + if minetest.get_meta(pos):get_int("right") ~= 0 then + minetest.sound_play(snd_1, {pos = pos, gain = 0.3, max_hear_distance = 10}) + else + minetest.sound_play(snd_2, {pos = pos, gain = 0.3, max_hear_distance = 10}) + end + end + + + local function check_player_priv(pos, player) + if not def.only_placer_can_open then + return true + end + local meta = minetest.get_meta(pos) + local pn = player:get_player_name() + return meta:get_string("doors_owner") == pn + end + + --on_rotate(pos, node, 1, user, name.."_t_1", mode) + local function on_rotate(pos, node, dir, user, name, num, mode, new_param2) + if not check_player_priv(pos, user) then + return false + end + if mode ~= screwdriver.ROTATE_FACE then + return false + end + + local p + if dir == 0 then -- bottom + p = { {y=0, l="b"}, {y=1, l="m"}, {y=2, l="t"} } + elseif dir == 1 then -- middle + p = { {y=-1, l="b"}, {y=0, l="m"}, {y=1, l="t"} } + else -- top + p = { {y=-2, l="b"}, {y=-1, l="m"}, {y=0, l="t"} } + end + + for _,t in pairs(p) do + local pos1 = {x=pos.x, y=pos.y+t["y"], z=pos.z} + if not minetest.get_node(pos1).name == name.."_"..t["l"].."_"..num then + return false + end + if minetest.is_protected(pos1, user:get_player_name()) then + minetest.record_protection_violation(pos4, user:get_player_name()) + return false + end + end + + for _,t in pairs(p) do + local pos1 = {x=pos.x, y=pos.y+t["y"], z=pos.z} + local node2 = minetest.get_node(pos1) + node2.param2 = (node2.param2 + 1) % 4 + minetest.swap_node(pos1, node2) + end + return true + end + + + minetest.register_node(name.."_b_1", { + tiles = {tb[2], tb[2], tb[2], tb[2], tb[1], tb[1].."^[transformfx"}, + paramtype = "light", + paramtype2 = "facedir", + is_ground_content = false, + drop = name, + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = def.node_box_bottom + }, + selection_box = { + type = "fixed", + fixed = def.selection_box_bottom + }, + groups = def.groups, + + after_dig_node = function(pos, oldnode, oldmetadata, digger) + after_dig_node(pos, 0, name, 1, digger) + end, + + on_rightclick = function(pos, node, clicker) + if check_player_priv(pos, clicker) then + on_rightclick(pos, 0, name, 1, {1,2,3,0}) + end + end, + + on_rotate = function(pos, node, user, mode, new_param2) + return on_rotate(pos, node, 0, user, name, 1, mode) + end, + + can_dig = check_player_priv, + sounds = def.sounds, + sunlight_propagates = def.sunlight, + on_blast = make_on_blast(name, 0, 1) + }) + + + minetest.register_node(name.."_m_1", { + tiles = {tm[2], tm[2], tm[2], tm[2], tm[1], tm[1].."^[transformfx"}, + paramtype = "light", + paramtype2 = "facedir", + is_ground_content = false, + drop = "", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = def.node_box_middle + }, + selection_box = { + type = "fixed", + fixed = def.selection_box_middle + }, + groups = def.groups, + + after_dig_node = function(pos, oldnode, oldmetadata, digger) + after_dig_node(pos, 1, name, 1, digger) + end, + + on_rightclick = function(pos, node, clicker) + if check_player_priv(pos, clicker) then + on_rightclick(pos, 1, name, 1, {1,2,3,0}) + end + end, + + on_rotate = function(pos, node, user, mode, new_param2) + return on_rotate(pos, node, 1, user, name, 1, mode) + end, + + can_dig = check_player_priv, + sounds = def.sounds, + sunlight_propagates = def.sunlight, + on_blast = make_on_blast(name, 1, 1) + }) + + + + minetest.register_node(name.."_t_1", { + tiles = {tt[2], tt[2], tt[2], tt[2], tt[1], tt[1].."^[transformfx"}, + paramtype = "light", + paramtype2 = "facedir", + is_ground_content = false, + drop = "", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = def.node_box_top + }, + selection_box = { + type = "fixed", + fixed = def.selection_box_top + }, + groups = def.groups, + + after_dig_node = function(pos, oldnode, oldmetadata, digger) + after_dig_node(pos, 2, name, 1, digger) + end, + + on_rightclick = function(pos, node, clicker) + if check_player_priv(pos, clicker) then + on_rightclick(pos, 2, name, 1, {1,2,3,0}) + end + end, + + on_rotate = function(pos, node, user, mode, new_param2) + return on_rotate(pos, node, 2, user, name, 1, mode) + end, + + can_dig = check_player_priv, + sounds = def.sounds, + sunlight_propagates = def.sunlight, + on_blast = make_on_blast(name, 2, 1) + }) + + + + + + + minetest.register_node(name.."_b_2", { + tiles = {tb[2], tb[2], tb[2], tb[2], tb[1].."^[transformfx", tb[1]}, + paramtype = "light", + paramtype2 = "facedir", + is_ground_content = false, + drop = name, + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = def.node_box_bottom + }, + selection_box = { + type = "fixed", + fixed = def.selection_box_bottom + }, + groups = def.groups, + + after_dig_node = function(pos, oldnode, oldmetadata, digger) + after_dig_node(pos, 0, name, 2, digger) + end, + + on_rightclick = function(pos, node, clicker) + if check_player_priv(pos, clicker) then + on_rightclick(pos, 0, name, 2, {3,0,1,2}) + end + end, + + on_rotate = function(pos, node, user, mode, new_param2) + return on_rotate(pos, node, 0, user, name, 2, mode) + end, + + can_dig = check_player_priv, + sounds = def.sounds, + sunlight_propagates = def.sunlight, + on_blast = make_on_blast(name, 0, 2) + }) + + + minetest.register_node(name.."_m_2", { + tiles = {tm[2], tm[2], tm[2], tm[2], tm[1].."^[transformfx", tm[1]}, + paramtype = "light", + paramtype2 = "facedir", + is_ground_content = false, + drop = "", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = def.node_box_middle + }, + selection_box = { + type = "fixed", + fixed = def.selection_box_middle + }, + groups = def.groups, + + after_dig_node = function(pos, oldnode, oldmetadata, digger) + after_dig_node(pos, 1, name, 2, digger) + end, + + on_rightclick = function(pos, node, clicker) + if check_player_priv(pos, clicker) then + on_rightclick(pos, 1, name, 2, {3,0,1,2}) + end + end, + + on_rotate = function(pos, node, user, mode, new_param2) + return on_rotate(pos, node, 1, user, name, 2, mode) + end, + + can_dig = check_player_priv, + sounds = def.sounds, + sunlight_propagates = def.sunlight, + on_blast = make_on_blast(name, 1, 2) + }) + + + + minetest.register_node(name.."_t_2", { + tiles = {tt[2], tt[2], tt[2], tt[2], tt[1].."^[transformfx", tt[1]}, + paramtype = "light", + paramtype2 = "facedir", + is_ground_content = false, + drop = "", + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = def.node_box_top + }, + selection_box = { + type = "fixed", + fixed = def.selection_box_top + }, + groups = def.groups, + + after_dig_node = function(pos, oldnode, oldmetadata, digger) + after_dig_node(pos, 2, name, 2, digger) + end, + + on_rightclick = function(pos, node, clicker) + if check_player_priv(pos, clicker) then + on_rightclick(pos, 2, name, 2, {3,0,1,2}) + end + end, + + on_rotate = function(pos, node, user, mode, new_param2) + return on_rotate(pos, node, 2, user, name, 2, mode) + end, + + can_dig = check_player_priv, + sounds = def.sounds, + sunlight_propagates = def.sunlight, + on_blast = make_on_blast(name, 2, 2) + }) + +end + +doors3.register_door("doors:door3_wood", { + description = "Wooden Door 3", + inventory_image = "doors3_wood.png", + groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1}, + tiles_bottom = {"doors3_wood_b.png", "doors3_brown.png"}, + tiles_middle = {"doors3_wood_m.png", "doors3_brown.png"}, + tiles_top = {"doors3_wood_t.png", "doors3_brown.png"}, + sounds = default.node_sound_wood_defaults(), + sunlight = false, +}) + +minetest.register_craft({ + output = "doors:door3_wood", + recipe = { + {"", "", ""}, + {"", "doors:door_wood", ""}, + {"", "doors:door_wood", ""} + } +}) + +doors3.register_door("doors:door3_steel", { + description = "Steel Door 3", + inventory_image = "doors3_steel_inv.png", + groups = {snappy=1,bendy=2,cracky=1,melty=2,level=2,door=1}, + tiles_bottom = {"doors3_steel_b.png", "doors_grey.png"}, + tiles_middle = {"doors3_steel_m.png", "doors_grey.png"}, + tiles_top = {"doors3_steel_t.png", "doors_grey.png"}, + only_placer_can_open = true, + sounds = default.node_sound_wood_defaults(), + sunlight = false, +}) + +minetest.register_craft({ + output = "doors:door3_steel", + recipe = { + {"", "", ""}, + {"", "doors:door_steel", ""}, + {"", "doors:door_steel", ""} + } +}) + +doors3.register_door("doors:door3_glass", { + description = "Glass Door 3", + inventory_image = "doors3_glass_inv.png", + groups = {snappy=1,cracky=1,oddly_breakable_by_hand=3,door=1}, + tiles_bottom = {"doors_glass_b.png", "doors_glass_side.png"}, + tiles_middle = {"doors_glass_a.png", "doors_glass_side.png"}, + tiles_top = {"doors_glass_a.png", "doors_glass_side.png"}, + sounds = default.node_sound_glass_defaults(), + sunlight = true, +}) + +minetest.register_craft({ + output = "doors:door3_glass", + recipe = { + {"", "", ""}, + {"", "doors:door_glass", ""}, + {"", "doors:door_glass", ""} + } +}) + + +doors3.register_door("doors:door3_obsidian_glass", { + description = "Obsidian Glass Door 3", + inventory_image = "doors3_obsidian_glass_inv.png", + groups = {snappy=1,cracky=1,oddly_breakable_by_hand=3,door=1}, + tiles_bottom = {"doors_obsidian_glass_b.png", "doors_obsidian_glass_side.png"}, + tiles_middle = {"doors_obsidian_glass_a.png", "doors_obsidian_glass_side.png"}, + tiles_top = {"doors_obsidian_glass_a.png", "doors_obsidian_glass_side.png"}, + sounds = default.node_sound_glass_defaults(), + sunlight = true, +}) + +minetest.register_craft({ + output = "doors:door3_obsidian_glass", + recipe = { + {"", "", ""}, + {"", "doors:door_obsidian_glass", ""}, + {"", "doors:door_obsidian_glass", ""} + } +}) + +-- From BFD: Cherry planks doors + +doors3.register_door("doors:door3_cherry", { + description = "Cherry Door 3", + inventory_image = "doors3_wood_cherry_inv.png", + groups = {choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1}, + tiles_bottom = {"doors_wood_cherry_b.png", "default_wood_cherry_planks.png"}, + tiles_middle = {"doors_wood_cherry_a.png", "default_wood_cherry_planks.png"}, + tiles_top = {"doors_wood_cherry_a.png", "default_wood_cherry_planks.png"}, + sounds = default.node_sound_wood_defaults(), + sunlight = false, +}) + +minetest.register_craft({ + output = "doors:door3_cherry", + recipe = { + {"", "", ""}, + {"", "doors:door_cherry", ""}, + {"", "doors:door_cherry", ""} + } +}) + + diff --git a/minetestforfun_game/mods/doors/init.lua b/minetestforfun_game/mods/doors/init.lua index 5fd34148..39e67c13 100755 --- a/minetestforfun_game/mods/doors/init.lua +++ b/minetestforfun_game/mods/doors/init.lua @@ -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") diff --git a/minetestforfun_game/mods/doors/textures/doors3_brown.png b/minetestforfun_game/mods/doors/textures/doors3_brown.png new file mode 100755 index 00000000..01cdec92 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_brown.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_glass_inv.png b/minetestforfun_game/mods/doors/textures/doors3_glass_inv.png new file mode 100755 index 00000000..070c98f6 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_glass_inv.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_obsidian_glass_inv.png b/minetestforfun_game/mods/doors/textures/doors3_obsidian_glass_inv.png new file mode 100755 index 00000000..3f7e64f5 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_obsidian_glass_inv.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_steel_b.png b/minetestforfun_game/mods/doors/textures/doors3_steel_b.png new file mode 100755 index 00000000..e9a51dac Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_steel_b.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_steel_inv.png b/minetestforfun_game/mods/doors/textures/doors3_steel_inv.png new file mode 100755 index 00000000..a87e23bd Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_steel_inv.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_steel_m.png b/minetestforfun_game/mods/doors/textures/doors3_steel_m.png new file mode 100755 index 00000000..c57695e8 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_steel_m.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_steel_t.png b/minetestforfun_game/mods/doors/textures/doors3_steel_t.png new file mode 100755 index 00000000..ca8ae1c5 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_steel_t.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_wood.png b/minetestforfun_game/mods/doors/textures/doors3_wood.png new file mode 100755 index 00000000..2066a66d Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_wood.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_wood_b.png b/minetestforfun_game/mods/doors/textures/doors3_wood_b.png new file mode 100755 index 00000000..1b91064d Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_wood_b.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_wood_cherry_inv.png b/minetestforfun_game/mods/doors/textures/doors3_wood_cherry_inv.png new file mode 100755 index 00000000..20c3f474 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_wood_cherry_inv.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_wood_m.png b/minetestforfun_game/mods/doors/textures/doors3_wood_m.png new file mode 100755 index 00000000..a0816160 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_wood_m.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors3_wood_t.png b/minetestforfun_game/mods/doors/textures/doors3_wood_t.png new file mode 100755 index 00000000..918a7a30 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors3_wood_t.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_glass.png b/minetestforfun_game/mods/doors/textures/doors_glass.png index 49ec245c..b76a5577 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_glass.png and b/minetestforfun_game/mods/doors/textures/doors_glass.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_glass_a.png b/minetestforfun_game/mods/doors/textures/doors_glass_a.png index 3dfb5b68..b17c66f7 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_glass_a.png and b/minetestforfun_game/mods/doors/textures/doors_glass_a.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_glass_b.png b/minetestforfun_game/mods/doors/textures/doors_glass_b.png index 3dfb5b68..eedc8034 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_glass_b.png and b/minetestforfun_game/mods/doors/textures/doors_glass_b.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_grey2.png b/minetestforfun_game/mods/doors/textures/doors_grey2.png new file mode 100755 index 00000000..8ed74216 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors_grey2.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_obsidian_glass.png b/minetestforfun_game/mods/doors/textures/doors_obsidian_glass.png index c3277204..e4998113 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_obsidian_glass.png and b/minetestforfun_game/mods/doors/textures/doors_obsidian_glass.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_obsidian_glass_a.png b/minetestforfun_game/mods/doors/textures/doors_obsidian_glass_a.png index d5ac83d0..20360301 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_obsidian_glass_a.png and b/minetestforfun_game/mods/doors/textures/doors_obsidian_glass_a.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_obsidian_glass_b.png b/minetestforfun_game/mods/doors/textures/doors_obsidian_glass_b.png index d5ac83d0..be8de36d 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_obsidian_glass_b.png and b/minetestforfun_game/mods/doors/textures/doors_obsidian_glass_b.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_steel.png b/minetestforfun_game/mods/doors/textures/doors_steel.png index 042a1bc0..df48c803 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_steel.png and b/minetestforfun_game/mods/doors/textures/doors_steel.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_steel_a.png b/minetestforfun_game/mods/doors/textures/doors_steel_a.png index f66197b9..cd9e03a7 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_steel_a.png and b/minetestforfun_game/mods/doors/textures/doors_steel_a.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_steel_b.png b/minetestforfun_game/mods/doors/textures/doors_steel_b.png index 8b77b2b3..a46bd754 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_steel_b.png and b/minetestforfun_game/mods/doors/textures/doors_steel_b.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_tin.png b/minetestforfun_game/mods/doors/textures/doors_tin.png new file mode 100755 index 00000000..0e4f4050 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors_tin.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_tin_b.png b/minetestforfun_game/mods/doors/textures/doors_tin_b.png new file mode 100755 index 00000000..ec8e41fc Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors_tin_b.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_tin_t.png b/minetestforfun_game/mods/doors/textures/doors_tin_t.png new file mode 100755 index 00000000..ce9c6851 Binary files /dev/null and b/minetestforfun_game/mods/doors/textures/doors_tin_t.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_trapdoor.png b/minetestforfun_game/mods/doors/textures/doors_trapdoor.png index e92c8b2e..1f3ec85e 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_trapdoor.png and b/minetestforfun_game/mods/doors/textures/doors_trapdoor.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_trapdoor_cherry.png b/minetestforfun_game/mods/doors/textures/doors_trapdoor_cherry.png index 85a9e95a..5db2b12b 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_trapdoor_cherry.png and b/minetestforfun_game/mods/doors/textures/doors_trapdoor_cherry.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_trapdoor_side.png b/minetestforfun_game/mods/doors/textures/doors_trapdoor_side.png index ed0cd99c..6e316c14 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_trapdoor_side.png and b/minetestforfun_game/mods/doors/textures/doors_trapdoor_side.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_wood.png b/minetestforfun_game/mods/doors/textures/doors_wood.png index d3a62ab1..a0982a77 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_wood.png and b/minetestforfun_game/mods/doors/textures/doors_wood.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_wood_a.png b/minetestforfun_game/mods/doors/textures/doors_wood_a.png index 7db2f7e1..d7f2b196 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_wood_a.png and b/minetestforfun_game/mods/doors/textures/doors_wood_a.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_wood_b.png b/minetestforfun_game/mods/doors/textures/doors_wood_b.png index 14ca680c..8f2d44c0 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_wood_b.png and b/minetestforfun_game/mods/doors/textures/doors_wood_b.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_wood_cherry.png b/minetestforfun_game/mods/doors/textures/doors_wood_cherry.png index ef355517..619aa8d0 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_wood_cherry.png and b/minetestforfun_game/mods/doors/textures/doors_wood_cherry.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_wood_cherry_a.png b/minetestforfun_game/mods/doors/textures/doors_wood_cherry_a.png index ffa1f427..3b0e8de5 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_wood_cherry_a.png and b/minetestforfun_game/mods/doors/textures/doors_wood_cherry_a.png differ diff --git a/minetestforfun_game/mods/doors/textures/doors_wood_cherry_b.png b/minetestforfun_game/mods/doors/textures/doors_wood_cherry_b.png index 8d1b7360..45fccb44 100755 Binary files a/minetestforfun_game/mods/doors/textures/doors_wood_cherry_b.png and b/minetestforfun_game/mods/doors/textures/doors_wood_cherry_b.png differ