Make wool and cotton bale paintable

This commit is contained in:
Wuzzy 2023-03-12 21:07:40 +01:00
parent 8a5da8c959
commit ae6b75fac6
2 changed files with 6 additions and 2 deletions

View File

@ -12,8 +12,10 @@ minetest.register_node(
description = S("Wool Bundle"),
tiles ={"mobs_wool.png"},
is_ground_content = false,
groups = {snappy = 2, oddly_breakable_by_hand = 3, fall_damage_add_percent = -25, fuzzy = 1, unmagnetic = 1},
groups = {snappy = 2, oddly_breakable_by_hand = 3, fall_damage_add_percent = -25, fuzzy = 1, unmagnetic = 1, paintable = 1},
sounds = rp_sounds.node_sound_fuzzy_defaults(),
paramtype2 = "color",
palette = "rp_paint_palette_256.png",
})
-- Raw meat

View File

@ -268,13 +268,15 @@ minetest.register_node(
is_ground_content = false,
groups = {snappy = 2, oddly_breakable_by_hand = 3,
fall_damage_add_percent = -15, fuzzy = 1,
unmagnetic = 1},
unmagnetic = 1, paintable = 1},
sounds = rp_sounds.node_sound_fuzzy_defaults({
footstep = { name = "rp_sounds_footstep_fuzzy", gain = 0.7, pitch = 1.3 },
dig = {name="rp_sounds_dig_fuzzy", gain=0.5, pitch = 1.3 },
dug = {name="rp_sounds_dug_fuzzy", gain=0.4, pitch = 1.3 },
place = {name="rp_sounds_place_fuzzy", gain=0.4, pitch = 1.3 },
}),
paramtype2 = "color",
palette = "rp_paint_palette_256.png",
}
)