Add sound for jewelling
This commit is contained in:
parent
2f0320d2ba
commit
ab5ed60d31
@ -4,5 +4,7 @@ By Kaadmy
|
|||||||
|
|
||||||
Adds tools with different stats via a Jeweler's Workbench.
|
Adds tools with different stats via a Jeweler's Workbench.
|
||||||
|
|
||||||
Asset license: CC BY-SA 4.0
|
Media license: CC BY-SA 4.0
|
||||||
Source license: LGPLv2.1
|
* jewels_jewelling_a_tool.ogg: InspectorJ, CC BY 3.0 <https://freesound.org/people/InspectorJ/sounds/354140/>
|
||||||
|
|
||||||
|
Source code license: LGPLv2.1
|
||||||
|
@ -222,6 +222,9 @@ minetest.register_node(
|
|||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
minetest.sound_play({name="jewels_jewelling_a_tool"}, {gain=0.8, pos=pos, max_hear_distance=8})
|
||||||
|
-- TODO: Graphical effect
|
||||||
|
|
||||||
achievements.trigger_achievement(player, "jeweler")
|
achievements.trigger_achievement(player, "jeweler")
|
||||||
achievements.trigger_achievement(player, "master_jeweler")
|
achievements.trigger_achievement(player, "master_jeweler")
|
||||||
end
|
end
|
||||||
|
BIN
mods/jewels/sounds/jewels_jewelling_a_tool.ogg
Normal file
BIN
mods/jewels/sounds/jewels_jewelling_a_tool.ogg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user