mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
Moved, renamed sounds, and added code for them
- Added code pieces for handling sounds - Moved sounds and renamed them using the naming convention - Added soundset as dependency for returnmirror and awards
This commit is contained in:
@ -310,6 +310,7 @@ function awards.give_achievement(name, award)
|
||||
|
||||
-- save playertable
|
||||
awards.save()
|
||||
minetest.sound_play("award_award_won", {to_player = name, gain = 0.5*soundset.get_gain(name,"other")})
|
||||
end
|
||||
end
|
||||
|
||||
|
1
mods/awards/depends.txt
Normal file
1
mods/awards/depends.txt
Normal file
@ -0,0 +1 @@
|
||||
soundset
|
Reference in New Issue
Block a user