mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 23:10:17 +01:00
Farming: Add quiet sounds to seeds
This commit is contained in:
parent
16fe1efcd8
commit
f32a3ff57c
@ -220,9 +220,14 @@ farming.register_plant = function(name, def)
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
|
||||
},
|
||||
fertility = def.fertility,
|
||||
sounds = default.node_sound_dirt_defaults({
|
||||
dug = {name = "default_grass_footstep", gain = 0.2},
|
||||
place = {name = "default_place_node", gain = 0.25},
|
||||
}),
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, mname .. ":seed_" .. pname)
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
-- Register harvest
|
||||
|
Loading…
Reference in New Issue
Block a user