diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2019-06-03 03:48:05 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2019-06-03 03:48:05 -0400 |
commit | 866c0eca9e944e402c1f07b33bbf46863f419c25 (patch) | |
tree | af63ed9162f6d516a9d67907198c6ba25b5f8e0b /homedecor_doors_and_gates | |
parent | 1ae88c7f27d406a2431d552794fba8dc14f12478 (diff) | |
download | dreambuilder_modpack-866c0eca9e944e402c1f07b33bbf46863f419c25.tar dreambuilder_modpack-866c0eca9e944e402c1f07b33bbf46863f419c25.tar.gz dreambuilder_modpack-866c0eca9e944e402c1f07b33bbf46863f419c25.tar.bz2 dreambuilder_modpack-866c0eca9e944e402c1f07b33bbf46863f419c25.tar.xz dreambuilder_modpack-866c0eca9e944e402c1f07b33bbf46863f419c25.zip |
update digistuff and homedecor
Diffstat (limited to 'homedecor_doors_and_gates')
-rw-r--r-- | homedecor_doors_and_gates/init.lua | 69 | ||||
-rw-r--r-- | homedecor_doors_and_gates/textures/homedecor_door_basic_panel.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_bedroom.png) | bin | 2448 -> 2448 bytes | |||
-rw-r--r-- | homedecor_doors_and_gates/textures/homedecor_door_basic_panel_inv.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_bedroom_inv.png) | bin | 1341 -> 1341 bytes | |||
-rw-r--r-- | homedecor_doors_and_gates/textures/homedecor_door_carolina.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_woodglass2.png) | bin | 2391 -> 2391 bytes | |||
-rw-r--r-- | homedecor_doors_and_gates/textures/homedecor_door_carolina_inv.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_woodglass2_inv.png) | bin | 1242 -> 1242 bytes | |||
-rw-r--r-- | homedecor_doors_and_gates/textures/homedecor_door_french_mahogany.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_wood_glass_mahogany.png) | bin | 7697 -> 7697 bytes | |||
-rw-r--r-- | homedecor_doors_and_gates/textures/homedecor_door_french_mahogany_inv.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_wood_glass_mahogany_inv.png) | bin | 2400 -> 2400 bytes | |||
-rw-r--r-- | homedecor_doors_and_gates/textures/homedecor_door_french_oak.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_wood_glass_oak.png) | bin | 7964 -> 7964 bytes | |||
-rw-r--r-- | homedecor_doors_and_gates/textures/homedecor_door_french_oak_inv.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_wood_glass_oak_inv.png) | bin | 2400 -> 2400 bytes | |||
-rw-r--r-- | homedecor_doors_and_gates/textures/homedecor_door_french_white.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_wood_glass_white.png) | bin | 2516 -> 2516 bytes | |||
-rw-r--r-- | homedecor_doors_and_gates/textures/homedecor_door_french_white_inv.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_wood_glass_white_inv.png) | bin | 1107 -> 1107 bytes |
11 files changed, 46 insertions, 23 deletions
diff --git a/homedecor_doors_and_gates/init.lua b/homedecor_doors_and_gates/init.lua index a0f7253..d16efb3 100644 --- a/homedecor_doors_and_gates/init.lua +++ b/homedecor_doors_and_gates/init.lua @@ -40,41 +40,41 @@ local door_list = { custom_model = "homedecor_door_fancy" }, - { name = "wood_glass_oak", - description = "Glass and Wood, Oak-colored", + { name = "french_oak", + description = "French door, Oak-colored", groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, sounds = { main = default.node_sound_glass_defaults(), }, backface = true, alpha = true, - custom_model = "homedecor_door_wood_glass" + custom_model = "homedecor_door_french" }, - { name = "wood_glass_mahogany", - description = "Glass and Wood, Mahogany-colored", + { name = "french_mahogany", + description = "French door, Mahogany-colored", groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, sounds = { main = default.node_sound_glass_defaults(), }, backface = true, alpha = true, - custom_model = "homedecor_door_wood_glass" + custom_model = "homedecor_door_french" }, - { name = "wood_glass_white", - description = "Glass and Wood, White", + { name = "french_white", + description = "French door, White", groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, sounds = { main = default.node_sound_glass_defaults(), }, backface = true, alpha = true, - custom_model = "homedecor_door_wood_glass" + custom_model = "homedecor_door_french" }, - { name = "bedroom", - description = "White Bedroom Door", + { name = "basic_panel", + description = "Basic white panel Door", groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, sounds = { main = default.node_sound_wood_defaults(), @@ -95,8 +95,8 @@ local door_list = { custom_model = "homedecor_door_wrought_iron" }, - { name = "woodglass2", - description = "Wooden door with glass insert, type 2", + { name = "carolina", + description = "Wooden Carolina door", groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, sounds = { main = default.node_sound_wood_defaults(), @@ -166,7 +166,7 @@ end local hd_3d = minetest.get_modpath("homedecor_3d_extras") for _, door in ipairs(door_list) do - doors.register(door.name, { + doors.register("homedecor_"..door.name, { tiles = {{ name = "homedecor_door_"..door.name..".png", backface_culling = door.backface }}, description = door.description, inventory_image = "homedecor_door_"..door.name.."_inv.png", @@ -177,9 +177,8 @@ for _, door in ipairs(door_list) do mesecons = mesecons }) - local nn_a = "doors:"..door.name.."_a" - local nn_b = "doors:"..door.name.."_b" - + local nn_a = "doors:homedecor_"..door.name.."_a" + local nn_b = "doors:homedecor_"..door.name.."_b" if door.alpha then local def = hd_doors_clone_node(nn_a) @@ -204,6 +203,9 @@ for _, door in ipairs(door_list) do old_doors[#old_doors + 1] = "homedecor:door_"..door.name.."_left" old_doors[#old_doors + 1] = "homedecor:door_"..door.name.."_right" + + minetest.register_alias("doors:"..door.name.."_a", "doors:homedecor_"..door.name.."_a") + minetest.register_alias("doors:"..door.name.."_b", "doors:homedecor_"..door.name.."_b") end -- Gates @@ -696,14 +698,35 @@ minetest.register_craft({ -- aliases -minetest.register_alias("homedecor:jpn_door_top", "air") -minetest.register_alias("homedecor:jpn_door_bottom", "homedecor:door_japanese_closed") +minetest.register_alias("homedecor:jpn_door_top", "air") +minetest.register_alias("homedecor:jpn_door_top_open", "air") + +minetest.register_alias("homedecor:jpn_door_bottom", "homedecor:door_japanese_closed") +minetest.register_alias("homedecor:jpn_door_bottom_open", "homedecor:door_japanese_open") + +minetest.register_alias("homedecor:door_glass_right", "doors:door_glass_b") +minetest.register_alias("homedecor:door_glass_left", "doors:door_glass_a") + +minetest.register_alias("doors:wood_glass_oak_a", "doors:homedecor_french_oak_a") +minetest.register_alias("doors:wood_glass_oak_b", "doors:homedecor_french_oak_b") + +minetest.register_alias("doors:wood_glass_white_a", "doors:homedecor_french_white_a") +minetest.register_alias("doors:wood_glass_white_b", "doors:homedecor_french_white_b") + +minetest.register_alias("doors:wood_glass_mahogany_a", "doors:homedecor_french_mahogany_a") +minetest.register_alias("doors:wood_glass_mahogany_b", "doors:homedecor_french_mahogany_b") + +minetest.register_alias("doors:homedecor_woodglass2_a", "doors:homedecor_carolina_a") +minetest.register_alias("doors:homedecor_woodglass2_b", "doors:homedecor_carolina_b") + +minetest.register_alias("doors:woodglass2_a", "doors:homedecor_carolina_a") +minetest.register_alias("doors:woodglass2_b", "doors:homedecor_carolina_b") -minetest.register_alias("homedecor:jpn_door_top_open", "air") -minetest.register_alias("homedecor:jpn_door_bottom_open", "homedecor:door_japanese_open") +minetest.register_alias("doors:homedecor_bedroom_a", "doors:homedecor_basic_panel_a") +minetest.register_alias("doors:homedecor_bedroom_b", "doors:homedecor_basic_panel_b") -minetest.register_alias("homedecor:door_glass_right", "doors:door_glass_b") -minetest.register_alias("homedecor:door_glass_left", "doors:door_glass_a") +minetest.register_alias("doors:bedroom_a", "doors:homedecor_basic_panel_a") +minetest.register_alias("doors:bedroom_b", "doors:homedecor_basic_panel_b") -- flip old homedecor doors around, since they use minetest_game doors API now diff --git a/homedecor_doors_and_gates/textures/homedecor_door_bedroom.png b/homedecor_doors_and_gates/textures/homedecor_door_basic_panel.png Binary files differindex a63ccc0..a63ccc0 100644 --- a/homedecor_doors_and_gates/textures/homedecor_door_bedroom.png +++ b/homedecor_doors_and_gates/textures/homedecor_door_basic_panel.png diff --git a/homedecor_doors_and_gates/textures/homedecor_door_bedroom_inv.png b/homedecor_doors_and_gates/textures/homedecor_door_basic_panel_inv.png Binary files differindex f87065e..f87065e 100644 --- a/homedecor_doors_and_gates/textures/homedecor_door_bedroom_inv.png +++ b/homedecor_doors_and_gates/textures/homedecor_door_basic_panel_inv.png diff --git a/homedecor_doors_and_gates/textures/homedecor_door_woodglass2.png b/homedecor_doors_and_gates/textures/homedecor_door_carolina.png Binary files differindex d5081e2..d5081e2 100644 --- a/homedecor_doors_and_gates/textures/homedecor_door_woodglass2.png +++ b/homedecor_doors_and_gates/textures/homedecor_door_carolina.png diff --git a/homedecor_doors_and_gates/textures/homedecor_door_woodglass2_inv.png b/homedecor_doors_and_gates/textures/homedecor_door_carolina_inv.png Binary files differindex 2fdd342..2fdd342 100644 --- a/homedecor_doors_and_gates/textures/homedecor_door_woodglass2_inv.png +++ b/homedecor_doors_and_gates/textures/homedecor_door_carolina_inv.png diff --git a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_mahogany.png b/homedecor_doors_and_gates/textures/homedecor_door_french_mahogany.png Binary files differindex d44f859..d44f859 100644 --- a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_mahogany.png +++ b/homedecor_doors_and_gates/textures/homedecor_door_french_mahogany.png diff --git a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_mahogany_inv.png b/homedecor_doors_and_gates/textures/homedecor_door_french_mahogany_inv.png Binary files differindex 36271dd..36271dd 100644 --- a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_mahogany_inv.png +++ b/homedecor_doors_and_gates/textures/homedecor_door_french_mahogany_inv.png diff --git a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_oak.png b/homedecor_doors_and_gates/textures/homedecor_door_french_oak.png Binary files differindex 5e3e786..5e3e786 100644 --- a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_oak.png +++ b/homedecor_doors_and_gates/textures/homedecor_door_french_oak.png diff --git a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_oak_inv.png b/homedecor_doors_and_gates/textures/homedecor_door_french_oak_inv.png Binary files differindex 5e4707c..5e4707c 100644 --- a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_oak_inv.png +++ b/homedecor_doors_and_gates/textures/homedecor_door_french_oak_inv.png diff --git a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_white.png b/homedecor_doors_and_gates/textures/homedecor_door_french_white.png Binary files differindex 4c4ad11..4c4ad11 100644 --- a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_white.png +++ b/homedecor_doors_and_gates/textures/homedecor_door_french_white.png diff --git a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_white_inv.png b/homedecor_doors_and_gates/textures/homedecor_door_french_white_inv.png Binary files differindex 7153a83..7153a83 100644 --- a/homedecor_doors_and_gates/textures/homedecor_door_wood_glass_white_inv.png +++ b/homedecor_doors_and_gates/textures/homedecor_door_french_white_inv.png |