summaryrefslogtreecommitdiff
path: root/homedecor_doors_and_gates
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-06-03 03:48:05 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-06-03 03:48:05 -0400
commit866c0eca9e944e402c1f07b33bbf46863f419c25 (patch)
treeaf63ed9162f6d516a9d67907198c6ba25b5f8e0b /homedecor_doors_and_gates
parent1ae88c7f27d406a2431d552794fba8dc14f12478 (diff)
downloaddreambuilder_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.lua69
-rw-r--r--homedecor_doors_and_gates/textures/homedecor_door_basic_panel.png (renamed from homedecor_doors_and_gates/textures/homedecor_door_bedroom.png)bin2448 -> 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)bin1341 -> 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)bin2391 -> 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)bin1242 -> 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)bin7697 -> 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)bin2400 -> 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)bin7964 -> 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)bin2400 -> 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)bin2516 -> 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)bin1107 -> 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
index a63ccc0..a63ccc0 100644
--- a/homedecor_doors_and_gates/textures/homedecor_door_bedroom.png
+++ b/homedecor_doors_and_gates/textures/homedecor_door_basic_panel.png
Binary files differ
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
index 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
Binary files differ
diff --git a/homedecor_doors_and_gates/textures/homedecor_door_woodglass2.png b/homedecor_doors_and_gates/textures/homedecor_door_carolina.png
index d5081e2..d5081e2 100644
--- a/homedecor_doors_and_gates/textures/homedecor_door_woodglass2.png
+++ b/homedecor_doors_and_gates/textures/homedecor_door_carolina.png
Binary files differ
diff --git a/homedecor_doors_and_gates/textures/homedecor_door_woodglass2_inv.png b/homedecor_doors_and_gates/textures/homedecor_door_carolina_inv.png
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ