summaryrefslogtreecommitdiff
path: root/homedecor_lighting
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-05-25 04:52:36 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-05-25 04:52:36 -0400
commit9e49bc6167e9ee9900fdd205026c3143687ed33e (patch)
treec2b654b41901b02d6ac6b510ac1166f64e16311c /homedecor_lighting
parent952f9f2b2897668224f580b45fd1634254a4d159 (diff)
downloaddreambuilder_modpack-9e49bc6167e9ee9900fdd205026c3143687ed33e.tar
dreambuilder_modpack-9e49bc6167e9ee9900fdd205026c3143687ed33e.tar.gz
dreambuilder_modpack-9e49bc6167e9ee9900fdd205026c3143687ed33e.tar.bz2
dreambuilder_modpack-9e49bc6167e9ee9900fdd205026c3143687ed33e.tar.xz
dreambuilder_modpack-9e49bc6167e9ee9900fdd205026c3143687ed33e.zip
update homedecor, basic_materials, led_marquee, signs_lib, unifieddyes
removed the inspector mod
Diffstat (limited to 'homedecor_lighting')
-rw-r--r--homedecor_lighting/init.lua131
-rw-r--r--homedecor_lighting/textures/homedecor_rope_light_on_ceiling.pngbin0 -> 1834 bytes
-rw-r--r--homedecor_lighting/textures/homedecor_rope_light_on_floor.pngbin0 -> 1473 bytes
3 files changed, 131 insertions, 0 deletions
diff --git a/homedecor_lighting/init.lua b/homedecor_lighting/init.lua
index 53cd52c..3650ec8 100644
--- a/homedecor_lighting/init.lua
+++ b/homedecor_lighting/init.lua
@@ -836,6 +836,64 @@ minetest.register_node(":homedecor:chandelier_brass", {
sounds = default.node_sound_stone_defaults(),
})
+minetest.register_node(":homedecor:rope_light_on_floor", {
+ description = "Rope lighting (on floor)",
+ inventory_image = "homedecor_rope_light_on_floor.png",
+ paramtype = "light",
+ light_source = default.LIGHT_MAX-3,
+ walkable = false,
+ sunlight_propagates = true,
+ tiles = { "homedecor_table_standing_lamp_lightbulb.png" },
+ drawtype = "nodebox",
+ node_box = {
+ type = "connected",
+ fixed = {},
+ connect_front = { -1/16, -8/16, -8/16, 1/16, -6/16, 1/16 },
+ connect_left = { -8/16, -8/16, -1/16, 1/16, -6/16, 1/16 },
+ connect_back = { -1/16, -8/16, -1/16, 1/16, -6/16, 8/16 },
+ connect_right = { -1/16, -8/16, -1/16, 8/16, -6/16, 1/16 },
+ disconnected_sides = {
+ { -6/16, -8/16, -6/16, -4/16, -6/16, 6/16 },
+ { 4/16, -8/16, -6/16, 6/16, -6/16, 6/16 },
+ { -6/16, -8/16, -6/16, 6/16, -6/16, -4/16 },
+ { -6/16, -8/16, 4/16, 6/16, -6/16, 6/16 }
+ },
+ },
+ connects_to = { "homedecor:rope_light_on_floor" },
+ mesh = "homedecor_chandelier.obj",
+ groups = {cracky=3},
+ sounds = default.node_sound_stone_defaults(),
+})
+
+minetest.register_node(":homedecor:rope_light_on_ceiling", {
+ description = "Rope lighting (on ceiling)",
+ inventory_image = "homedecor_rope_light_on_ceiling.png",
+ paramtype = "light",
+ light_source = default.LIGHT_MAX-3,
+ walkable = false,
+ sunlight_propagates = true,
+ tiles = { "homedecor_table_standing_lamp_lightbulb.png" },
+ drawtype = "nodebox",
+ node_box = {
+ type = "connected",
+ fixed = {},
+ connect_front = { -1/16, 8/16, -8/16, 1/16, 6/16, 1/16 },
+ connect_left = { -8/16, 8/16, -1/16, 1/16, 6/16, 1/16 },
+ connect_back = { -1/16, 8/16, -1/16, 1/16, 6/16, 8/16 },
+ connect_right = { -1/16, 8/16, -1/16, 8/16, 6/16, 1/16 },
+ disconnected_sides = {
+ { -6/16, 8/16, -6/16, -4/16, 6/16, 6/16 },
+ { 4/16, 8/16, -6/16, 6/16, 6/16, 6/16 },
+ { -6/16, 8/16, -6/16, 6/16, 6/16, -4/16 },
+ { -6/16, 8/16, 4/16, 6/16, 6/16, 6/16 }
+ },
+ },
+ connects_to = { "homedecor:rope_light_on_ceiling" },
+ mesh = "homedecor_chandelier.obj",
+ groups = {cracky=3},
+ sounds = default.node_sound_stone_defaults(),
+})
+
-- crafting
minetest.register_craft({
@@ -1188,6 +1246,79 @@ minetest.register_craft({
},
})
+minetest.register_craft({
+ output = "homedecor:standing_lamp_off",
+ recipe = {
+ {"homedecor:table_lamp_off"},
+ {"group:stick"},
+ {"group:stick"},
+ },
+})
+
+unifieddyes.register_color_craft({
+ output = "homedecor:standing_lamp_off",
+ palette = "extended",
+ type = "shapeless",
+ neutral_node = "homedecor:standing_lamp_off",
+ recipe = {
+ "NEUTRAL_NODE",
+ "MAIN_DYE"
+ }
+})
+
+minetest.register_craft({
+ type = "fuel",
+ recipe = "homedecor:table_lamp_off",
+ burntime = 10,
+})
+
+minetest.register_craft({
+ output = "homedecor:table_lamp_off",
+ recipe = {
+ { "wool:white", "default:torch", "wool:white"},
+ { "", "group:stick", ""},
+ { "", "stairs:slab_wood", "" },
+ },
+})
+
+minetest.register_craft({
+ output = "homedecor:table_lamp_off",
+ recipe = {
+ { "cottages:wool", "default:torch", "cottages:wool"},
+ { "", "group:stick", ""},
+ { "", "stairs:slab_wood", "" },
+ },
+})
+
+minetest.register_craft({
+ output = "homedecor:table_lamp_off",
+ recipe = {
+ { "wool:white", "default:torch", "wool:white"},
+ { "", "group:stick", ""},
+ { "", "moreblocks:slab_wood", "" },
+ },
+})
+
+minetest.register_craft({
+ output = "homedecor:table_lamp_off",
+ recipe = {
+ { "cottages:wool", "default:torch", "cottages:wool"},
+ { "", "group:stick", ""},
+ { "", "moreblocks:slab_wood", "" },
+ },
+})
+
+unifieddyes.register_color_craft({
+ output = "homedecor:table_lamp_off",
+ palette = "extended",
+ type = "shapeless",
+ neutral_node = "homedecor:table_lamp_off",
+ recipe = {
+ "NEUTRAL_NODE",
+ "MAIN_DYE"
+ }
+})
+
-- aliases
minetest.register_alias("chains:chain_top", "homedecor:chain_steel_top")
diff --git a/homedecor_lighting/textures/homedecor_rope_light_on_ceiling.png b/homedecor_lighting/textures/homedecor_rope_light_on_ceiling.png
new file mode 100644
index 0000000..78e6d4b
--- /dev/null
+++ b/homedecor_lighting/textures/homedecor_rope_light_on_ceiling.png
Binary files differ
diff --git a/homedecor_lighting/textures/homedecor_rope_light_on_floor.png b/homedecor_lighting/textures/homedecor_rope_light_on_floor.png
new file mode 100644
index 0000000..30bd14c
--- /dev/null
+++ b/homedecor_lighting/textures/homedecor_rope_light_on_floor.png
Binary files differ