diff --git a/data/sounds/event/thunderclap.ogg b/data/sounds/event/thunderclap.ogg new file mode 100644 index 00000000000..4735d72784d Binary files /dev/null and b/data/sounds/event/thunderclap.ogg differ diff --git a/data/sounds/lossless_sources/event/thunderclap.flac b/data/sounds/lossless_sources/event/thunderclap.flac new file mode 100644 index 00000000000..cd0457516b9 Binary files /dev/null and b/data/sounds/lossless_sources/event/thunderclap.flac differ diff --git a/doc/contributors.md b/doc/contributors.md index fa90234577c..46bc79976bf 100644 --- a/doc/contributors.md +++ b/doc/contributors.md @@ -997,6 +997,7 @@ The following people released their work to the public with a suitable license f * [YuriNikolai](https://opengameart.org/users/yurinikolai) * [Inchadney](http://inchadney.com/sounds.html) * [Gniffelbaf](https://freesound.org/people/Gniffelbaf/) +* [Kevin Luce (kevp888)](https://freesound.org/people/kevp888/) diff --git a/doc/contributors/contributors.json b/doc/contributors/contributors.json index 67199180cac..3c14d8f4bc7 100644 --- a/doc/contributors/contributors.json +++ b/doc/contributors/contributors.json @@ -4767,6 +4767,11 @@ { "name": "Gniffelbaf", "link": "https://freesound.org/people/Gniffelbaf/" + }, + { + "name": "kevp888", + "fullname": "Kevin Luce", + "link": "https://freesound.org/people/kevp888/" } ] } diff --git a/doc/sources/audio-sfx.txt b/doc/sources/audio-sfx.txt index 429a3c22345..2906cf6176b 100644 --- a/doc/sources/audio-sfx.txt +++ b/doc/sources/audio-sfx.txt @@ -2,6 +2,7 @@ data/sounds/ balloon/pop Gniffelbaf; CC0; https://opengameart.org/node/132360, https://freesound.org/s/82119/ +event/thunderclap Kevin Luce (kevp888); CC BY 4.0; https://freesound.org/s/639273/ alligator-1.ogg U.S. Fish and Wildlife Service; public domain; https://fws.gov/video/sound.htm arrow-hit-1.ogg Storyteller; GPL attack-fire-1.* Nic3_one; CC0; https://freesound.org/people/Nic3_one/sounds/166555/ diff --git a/src/js/stendhal/event/generic/KikaPunishmentEvent.ts b/src/js/stendhal/event/generic/KikaPunishmentEvent.ts index 142fd02961a..9cf5648f527 100644 --- a/src/js/stendhal/event/generic/KikaPunishmentEvent.ts +++ b/src/js/stendhal/event/generic/KikaPunishmentEvent.ts @@ -12,11 +12,21 @@ import { RPEvent } from "../RPEvent"; +import { SoundLayer } from "../../data/enum/SoundLayer"; + +import { SoundManager } from "../../ui/SoundManager"; + export class KikaPunishmentEvent extends RPEvent { override execute(entity: any) { - // TODO: + // DEBUG: console.log("Kika punishment!"); + + SoundManager.get().playGlobalizedEffect("event/thunderclap", SoundLayer.SFX.value); + + // TODO: + // - lightning flash + // - maybe make thunderclap louder } }