From 3eb9d192d08eda700d7a9baee7d9b7b363e985eb Mon Sep 17 00:00:00 2001 From: kilbith Date: Thu, 30 Apr 2015 00:24:47 +0200 Subject: [PATCH] Params fix --- homedecor/kitchen_appliances.lua | 1 + homedecor/laundry.lua | 2 ++ homedecor/nightstands.lua | 2 ++ homedecor/slopes.lua | 6 ++++++ 4 files changed, 11 insertions(+) diff --git a/homedecor/kitchen_appliances.lua b/homedecor/kitchen_appliances.lua index f9bbcc4e..3918909e 100644 --- a/homedecor/kitchen_appliances.lua +++ b/homedecor/kitchen_appliances.lua @@ -225,6 +225,7 @@ homedecor.register("dishwasher", { {-0.4375, -0.5, -0.5, 0.4375, 0.4375, 0.4375}, } }, + selection_box = { type = "regular" }, sounds = default.node_sound_stone_defaults(), groups = { snappy = 3 }, }) diff --git a/homedecor/laundry.lua b/homedecor/laundry.lua index 49ef9aed..1fed668e 100644 --- a/homedecor/laundry.lua +++ b/homedecor/laundry.lua @@ -17,6 +17,7 @@ homedecor.register("washing_machine", { {-0.5, -0.5, 0.3125, 0.5, 0.5, 0.5}, } }, + selection_box = { type = "regular" }, groups = { snappy = 3 }, }) @@ -37,6 +38,7 @@ homedecor.register("dryer", { {-0.5, -0.5, 0.3125, 0.5, 0.5, 0.5}, } }, + selection_box = { type = "regular" }, groups = { snappy = 3 }, }) diff --git a/homedecor/nightstands.lua b/homedecor/nightstands.lua index caf29880..7a03c049 100644 --- a/homedecor/nightstands.lua +++ b/homedecor/nightstands.lua @@ -24,6 +24,7 @@ homedecor.register("nightstand_"..w.."_one_drawer", { }, groups = { snappy = 3 }, sounds = default.node_sound_wood_defaults(), + selection_box = { type = "regular" }, infotext=S("One-drawer Nightstand"), inventory = { size=8, @@ -49,6 +50,7 @@ homedecor.register("nightstand_"..w.."_two_drawers", { }, groups = { snappy = 3 }, sounds = default.node_sound_wood_defaults(), + selection_box = { type = "regular" }, infotext=S("Two-drawer Nightstand"), inventory = { size=16, diff --git a/homedecor/slopes.lua b/homedecor/slopes.lua index fa0496dd..afa0302b 100644 --- a/homedecor/slopes.lua +++ b/homedecor/slopes.lua @@ -39,6 +39,8 @@ homedecor.register_outer_corner = function(modname, subname, groups, slope_image drawtype = "mesh", mesh = "homedecor_slope_outer_corner.obj", tiles = { "homedecor_slope_outer_corner_"..slope_image..".png" }, + paramtype = "light", + paramtype2 = "facedir", selection_box = ocorner_cbox, collision_box = ocorner_cbox, groups = groups, @@ -52,6 +54,8 @@ homedecor.register_inner_corner = function(modname, subname, groups, slope_image drawtype = "mesh", mesh = "homedecor_slope_inner_corner.obj", tiles = { "homedecor_slope_inner_corner_"..slope_image..".png" }, + paramtype = "light", + paramtype2 = "facedir", collision_box = icorner_cbox, groups = groups, on_place = minetest.rotate_node @@ -64,6 +68,8 @@ homedecor.register_slope = function(modname, subname, recipeitem, groups, slope_ drawtype = "mesh", mesh = "homedecor_slope.obj", tiles = { "homedecor_slope_"..slope_image..".png" }, + paramtype = "light", + paramtype2 = "facedir", selection_box = slope_cbox, collision_box = slope_cbox, groups = groups,