1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-08-02 19:50:17 +02:00

Switch Shower Head and Skateboard to mesh

with changes by VanessaE
This commit is contained in:
kilbith
2015-03-28 16:22:47 +01:00
committed by Vanessa Ezekowitz
parent ad74a7257e
commit 73aa4b2614
12 changed files with 840 additions and 43 deletions

View File

@ -141,31 +141,25 @@ homedecor.register("shower_tray", {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, -0.4, 0.5 },
},
groups = {cracky=2,},
groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
})
--Shower Head
local sh_cbox = {
type = "fixed",
fixed = { -0.2, -0.4, -0.1, 0.2, 0.1, 0.5 }
}
homedecor.register("shower_head", {
description = S("Shower Head"),
tiles = { "forniture_metal.png" },
inventory_image="3dforniture_inv_shower_head.png",
sunlight_propagates = true,
node_box = {
type = "fixed",
fixed = {
{ -0.10, -0.50, 0.10, 0.10, -0.40, 0.30, },
{ -0.05, -0.40, 0.15, 0.05, -0.30, 0.25, },
{ -0.05, -0.35, 0.25, 0.05, -0.30, 0.50, },
{ -0.10, -0.40, 0.49, 0.10, -0.25, 0.50, },
},
},
selection_box = {
type = "fixed",
fixed = { -0.1, -0.5, 0.1, 0.1, -0.25, 0.5 },
},
groups = {cracky=2,},
sounds = default.node_sound_stone_defaults(),
drawtype = "mesh",
mesh = "homedecor_shower_head.obj",
tiles = { "homedecor_shower_head.png" },
inventory_image = "homedecor_shower_head_inv.png",
description = "Shower Head",
groups = {snappy=3},
selection_box = sh_cbox,
collision_box = sh_cbox,
})
minetest.register_alias("3dforniture:toilet", "homedecor:toilet")