From: DocNight <69177241+DocNITE@users.noreply.github.com> Date: Mon, 27 Mar 2023 14:29:09 +0000 (+0300) Subject: desk bell from SS13 (tgstation) (#14870) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=57094966ce4dfda83316ec87570851eb62a6456e;p=space-station-14.git desk bell from SS13 (tgstation) (#14870) --- diff --git a/Resources/Audio/Items/attributions.yml b/Resources/Audio/Items/attributions.yml index b297c99428..08ba18afb0 100644 --- a/Resources/Audio/Items/attributions.yml +++ b/Resources/Audio/Items/attributions.yml @@ -27,3 +27,8 @@ license: "CC-BY-SA-3.0" copyright: "Taken from tgstation, modified by brainfood1183 (github) for ss14" source: "https://github.com/tgstation/tgstation/blob/529d97cb1c105bcd548e95a9c9070bbf5253dd81/sound/items/AirHorn.ogg" + +- files: ["desk_bell_ring.ogg"] + license: "CC0-1.0" + copyright: "Created by NicholasJudy567, converted to OGG and mono" + source: "https://freesound.org/people/NicholasJudy567/sounds/672185/" diff --git a/Resources/Audio/Items/desk_bell_ring.ogg b/Resources/Audio/Items/desk_bell_ring.ogg new file mode 100644 index 0000000000..098aa9cccb Binary files /dev/null and b/Resources/Audio/Items/desk_bell_ring.ogg differ diff --git a/Resources/Prototypes/Entities/Objects/Misc/desk_bell.yml b/Resources/Prototypes/Entities/Objects/Misc/desk_bell.yml new file mode 100644 index 0000000000..cd9d37f115 --- /dev/null +++ b/Resources/Prototypes/Entities/Objects/Misc/desk_bell.yml @@ -0,0 +1,41 @@ +- type: entity + parent: BaseItem + id: DeskBell + name: desk bell + description: The cornerstone of any customer service job. You feel an unending urge to ring it. + components: + - type: Sprite + sprite: Objects/Misc/desk_bell.rsi + state: "normal" + netsync: false + - type: EmitSoundOnUse + sound: + path: /Audio/Items/desk_bell_ring.ogg + params: + variation: 0.05 + maxdistance: 60 + volume: 2 + - type: EmitSoundOnActivate + sound: + path: /Audio/Items/desk_bell_ring.ogg + params: + variation: 0.05 + maxdistance: 60 + volume: 2 + - type: EmitSoundOnLand + sound: + path: /Audio/Items/desk_bell_ring.ogg + params: + variation: 0.05 + maxdistance: 60 + volume: 2 + - type: ItemCooldown + - type: UseDelay + delay: 0.5 + - type: MeleeWeapon + soundHit: + path: /Audio/Items/desk_bell_ring.ogg + damage: + types: + Blunt: 0.1 + - type: Anchorable diff --git a/Resources/Textures/Objects/Misc/desk_bell.rsi/meta.json b/Resources/Textures/Objects/Misc/desk_bell.rsi/meta.json new file mode 100644 index 0000000000..2202fd0650 --- /dev/null +++ b/Resources/Textures/Objects/Misc/desk_bell.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/blob/22e6ce8a6bed9356e312fabe5e7552f81b9bf19f/icons/obj/bureaucracy.dmi", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "normal" + } + ] +} diff --git a/Resources/Textures/Objects/Misc/desk_bell.rsi/normal.png b/Resources/Textures/Objects/Misc/desk_bell.rsi/normal.png new file mode 100644 index 0000000000..9080ac2421 Binary files /dev/null and b/Resources/Textures/Objects/Misc/desk_bell.rsi/normal.png differ