diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-04-01 11:02:18 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-04-01 11:02:18 +0100 |
commit | 2a6212020815e53540e0df28946e09a81546ff2b (patch) | |
tree | dc3ea6bcf5e4304eea4ad31df0bafd2f725cca0b /grapes.lua | |
parent | a084ab464eb332ca8c11b475cb625fbb8dc30d88 (diff) |
Play sound when planting crops
Diffstat (limited to 'grapes.lua')
-rw-r--r-- | grapes.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,7 +14,9 @@ minetest.register_craftitem("farming:grapes", { local nodename = minetest.get_node(pointed_thing.under).name if nodename == "farming:trellis" then - minetest.set_node(pointed_thing.under, {name="farming:grapes_1"}) + minetest.set_node(pointed_thing.under, {name = "farming:grapes_1"}) + + minetest.sound_play("default_place_node", {gain = 1.0}) else return end |