ding sound
This commit is contained in:
parent
e7a690da3e
commit
385f0e60ca
|
@ -0,0 +1,6 @@
|
||||||
|
- chmodsayshello (creator of mod)
|
||||||
|
- debiankaios (testing and some suggestions)
|
||||||
|
-andersmmg ([ding sound](https://freesound.org/people/andersmmg/sounds/523422/ "ding sound")) | Licsense CC BY 4.0
|
||||||
|
-zughy (creator of arenalib)
|
||||||
|
-eidy (creator of the walkover mod)
|
||||||
|
-[many more]
|
Binary file not shown.
|
@ -22,6 +22,10 @@ function after_goal(arena) --global because its called once outside of this file
|
||||||
player:set_hp(20)
|
player:set_hp(20)
|
||||||
player:set_pos(arena_lib.get_random_spawner(arena, team_id_red))
|
player:set_pos(arena_lib.get_random_spawner(arena, team_id_red))
|
||||||
update_huds(arena,player)
|
update_huds(arena,player)
|
||||||
|
minetest.sound_play("ding", {
|
||||||
|
to_player = player:get_player_name(),
|
||||||
|
gain = 2.0,
|
||||||
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
for player_index in ipairs(players_team_blue) do
|
for player_index in ipairs(players_team_blue) do
|
||||||
|
@ -30,6 +34,10 @@ function after_goal(arena) --global because its called once outside of this file
|
||||||
player:set_hp(20)
|
player:set_hp(20)
|
||||||
player:set_pos(arena_lib.get_random_spawner(arena, team_id_blue))
|
player:set_pos(arena_lib.get_random_spawner(arena, team_id_blue))
|
||||||
update_huds(arena,player)
|
update_huds(arena,player)
|
||||||
|
minetest.sound_play("ding", {
|
||||||
|
to_player = player:get_player_name(),
|
||||||
|
gain = 2.0,
|
||||||
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue