1
0
mirror of https://github.com/Sokomine/cottages.git synced 2026-01-14 13:05:30 +01:00

corrected bug with sounds

This commit is contained in:
Sokomine
2019-02-17 14:27:49 +01:00
parent bd257ee16e
commit 479e76b854
10 changed files with 47 additions and 38 deletions

View File

@@ -20,7 +20,7 @@ minetest.register_node("cottages:straw_mat", {
paramtype2 = "facedir",
walkable = false,
groups = { hay = 3, snappy = 2, oddly_breakable_by_hand = 2, flammable=3 },
sounds = default.node_sound_leaves_defaults,
sounds = cottages.sounds.leaves,
node_box = {
type = "fixed",
fixed = {
@@ -46,7 +46,7 @@ minetest.register_node("cottages:straw_bale", {
tiles = {"cottages_darkage_straw_bale.png"},
paramtype = "light",
groups = { hay = 3, snappy = 2, oddly_breakable_by_hand = 2, flammable=3 },
sounds = default.node_sound_wood_defaults,
sounds = cottages.sounds.leaves,
-- the bale is slightly smaller than a full node
node_box = {
type = "fixed",
@@ -69,7 +69,7 @@ minetest.register_node("cottages:straw", {
description = S("straw"),
tiles = {"cottages_darkage_straw.png"},
groups = { hay = 3, snappy = 2, oddly_breakable_by_hand = 2, flammable=3 },
sounds = default.node_sound_wood_defaults,
sounds = cottages.sounds.leaves,
-- the bale is slightly smaller than a full node
is_ground_content = false,
})