forked from mtcontrib/homedecor_modpack
Merge pull request #8 from kaeza/master
Changed sounds from leaves to wood
This commit is contained in:
commit
86c3bb1d26
@ -22,7 +22,7 @@ minetest.register_node('homedecor:kitchen_cabinet', {
|
|||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(pos)
|
local meta = minetest.env:get_meta(pos)
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
@ -80,7 +80,7 @@ minetest.register_node('homedecor:kitchen_cabinet_half', {
|
|||||||
fixed = { -0.5, 0, -0.5, 0.5, 0.5, 0.5 }
|
fixed = { -0.5, 0, -0.5, 0.5, 0.5, 0.5 }
|
||||||
},
|
},
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(pos)
|
local meta = minetest.env:get_meta(pos)
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
@ -130,7 +130,7 @@ minetest.register_node('homedecor:kitchen_cabinet_with_sink', {
|
|||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(pos)
|
local meta = minetest.env:get_meta(pos)
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
|
24
lighting.lua
24
lighting.lua
@ -37,7 +37,7 @@ minetest.register_node('homedecor:glowlight_thick_yellow', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX,
|
light_source = LIGHT_MAX,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:glowlight_thick_yellow_wall', {
|
minetest.register_node('homedecor:glowlight_thick_yellow_wall', {
|
||||||
@ -65,7 +65,7 @@ minetest.register_node('homedecor:glowlight_thick_yellow_wall', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX,
|
light_source = LIGHT_MAX,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:glowlight_thin_yellow', {
|
minetest.register_node('homedecor:glowlight_thin_yellow', {
|
||||||
@ -93,7 +93,7 @@ minetest.register_node('homedecor:glowlight_thin_yellow', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX-1,
|
light_source = LIGHT_MAX-1,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:glowlight_thin_yellow_wall', {
|
minetest.register_node('homedecor:glowlight_thin_yellow_wall', {
|
||||||
@ -121,7 +121,7 @@ minetest.register_node('homedecor:glowlight_thin_yellow_wall', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX-1,
|
light_source = LIGHT_MAX-1,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:glowlight_small_cube_yellow', {
|
minetest.register_node('homedecor:glowlight_small_cube_yellow', {
|
||||||
@ -149,7 +149,7 @@ minetest.register_node('homedecor:glowlight_small_cube_yellow', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX-1,
|
light_source = LIGHT_MAX-1,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:glowlight_small_cube_yellow_ceiling', {
|
minetest.register_node('homedecor:glowlight_small_cube_yellow_ceiling', {
|
||||||
@ -177,7 +177,7 @@ minetest.register_node('homedecor:glowlight_small_cube_yellow_ceiling', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX-1,
|
light_source = LIGHT_MAX-1,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
-- White
|
-- White
|
||||||
@ -207,7 +207,7 @@ minetest.register_node('homedecor:glowlight_thick_white', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX,
|
light_source = LIGHT_MAX,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:glowlight_thick_white_wall', {
|
minetest.register_node('homedecor:glowlight_thick_white_wall', {
|
||||||
@ -235,7 +235,7 @@ minetest.register_node('homedecor:glowlight_thick_white_wall', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX,
|
light_source = LIGHT_MAX,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:glowlight_thin_white', {
|
minetest.register_node('homedecor:glowlight_thin_white', {
|
||||||
@ -263,7 +263,7 @@ minetest.register_node('homedecor:glowlight_thin_white', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX-1,
|
light_source = LIGHT_MAX-1,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:glowlight_thin_white_wall', {
|
minetest.register_node('homedecor:glowlight_thin_white_wall', {
|
||||||
@ -291,7 +291,7 @@ minetest.register_node('homedecor:glowlight_thin_white_wall', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX-1,
|
light_source = LIGHT_MAX-1,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:glowlight_small_cube_white', {
|
minetest.register_node('homedecor:glowlight_small_cube_white', {
|
||||||
@ -319,7 +319,7 @@ minetest.register_node('homedecor:glowlight_small_cube_white', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX-1,
|
light_source = LIGHT_MAX-1,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node('homedecor:glowlight_small_cube_white_ceiling', {
|
minetest.register_node('homedecor:glowlight_small_cube_white_ceiling', {
|
||||||
@ -347,5 +347,5 @@ minetest.register_node('homedecor:glowlight_small_cube_white_ceiling', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
light_source = LIGHT_MAX-1,
|
light_source = LIGHT_MAX-1,
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
@ -38,7 +38,7 @@ minetest.register_node('homedecor:nightstand_oak_one_drawer', {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(pos)
|
local meta = minetest.env:get_meta(pos)
|
||||||
@ -102,7 +102,7 @@ minetest.register_node('homedecor:nightstand_oak_two_drawers', {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(pos)
|
local meta = minetest.env:get_meta(pos)
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
@ -167,7 +167,7 @@ minetest.register_node('homedecor:nightstand_mahogany_one_drawer', {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(pos)
|
local meta = minetest.env:get_meta(pos)
|
||||||
@ -231,7 +231,7 @@ minetest.register_node('homedecor:nightstand_mahogany_two_drawers', {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(pos)
|
local meta = minetest.env:get_meta(pos)
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
|
2
oven.lua
2
oven.lua
@ -24,7 +24,7 @@ minetest.register_node("homedecor:oven", {
|
|||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {cracky=2},
|
groups = {cracky=2},
|
||||||
legacy_facedir_simple = true,
|
legacy_facedir_simple = true,
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(pos)
|
local meta = minetest.env:get_meta(pos)
|
||||||
meta:set_string("formspec", default.oven_inactive_formspec)
|
meta:set_string("formspec", default.oven_inactive_formspec)
|
||||||
|
@ -36,7 +36,7 @@ minetest.register_node('homedecor:refrigerator', {
|
|||||||
fixed = { -0.5, -0.5, -0.5, 0.5, 1.5, 0.5 }
|
fixed = { -0.5, -0.5, -0.5, 0.5, 1.5, 0.5 }
|
||||||
},
|
},
|
||||||
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.env:get_meta(pos)
|
local meta = minetest.env:get_meta(pos)
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
|
@ -31,6 +31,6 @@ minetest.register_node('homedecor:television', {
|
|||||||
walkable = true,
|
walkable = true,
|
||||||
light_source = LIGHT_MAX - 1,
|
light_source = LIGHT_MAX - 1,
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3 },
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user