local tub_sbox = { type = "fixed", fixed = { -0.5, -0.5, -0.5, 1.5, 0.3125, 0.5 }, } local tub_cbox = { type = "fixed", fixed = { {-0.4375, -0.0625, -0.5, 1.4375, 0.5, -0.4375}, -- NodeBox1 {-0.4375, -0.0625, 0.4375, 1.4375, 0.5, 0.5}, -- NodeBox2 {-0.5, 0.1875, -0.4375, -0.4375, 0.5, 0.4375}, -- NodeBox3 {1.4375, -0.0625, -0.4375, 1.5, 0.5, 0.4375}, -- NodeBox4 {-0.3125, -0.3125, -0.4375, -0.125, -0.0625, 0.4375}, -- NodeBox5 {1.375, -0.3125, -0.4375, 1.4375, -0.0625, 0.4375}, -- NodeBox6 {-0.125, -0.3125, 0.375, 1.375, -0.0625, 0.4375}, -- NodeBox7 {-0.125, -0.3125, -0.4375, 1.375, -0.0625, -0.375}, -- NodeBox8 {-0.125, -0.5, -0.375, 1.375, -0.3125, 0.375}, -- NodeBox9 {-0.4375, -0.0625, -0.4375, -0.3125, 0.1875, 0.4375}, -- NodeBox10 } } homedecor.register("bathtub_clawfoot_brass_taps", { drawtype = "mesh", mesh = "homedecor_bathtub_clawfoot.b3d", tiles = { { name = "homedecor_generic_metal.png", color = homedecor.color_med_grey }, "homedecor_generic_metal_bright.png", "homedecor_generic_metal_bright.png", "homedecor_generic_metal_brass.png", "building_blocks_marble.png", "homedecor_bathtub_clawfoot_bottom_inside.png", }, description = "Bathtub, clawfoot, with brass taps" , groups = {cracky=3}, selection_box = tub_sbox, node_box = tub_cbox, sounds = default.node_sound_stone_defaults(), }) homedecor.register("bathtub_clawfoot_chrome_taps", { drawtype = "mesh", mesh = "homedecor_bathtub_clawfoot.b3d", tiles = { { name = "homedecor_generic_metal.png", color = homedecor.color_med_grey }, "homedecor_generic_metal_bright.png", "homedecor_generic_metal_bright.png", "homedecor_generic_metal_bright.png", "building_blocks_marble.png", "homedecor_bathtub_clawfoot_bottom_inside.png", }, description = "Bathtub, clawfoot, with chrome taps" , groups = {cracky=3}, selection_box = tub_sbox, node_box = tub_cbox, sounds = default.node_sound_stone_defaults(), })