diff --git a/Resources/Audio/_CP14/Effects/attributions.yml b/Resources/Audio/_CP14/Effects/attributions.yml index 245e46c181..303e241a78 100644 --- a/Resources/Audio/_CP14/Effects/attributions.yml +++ b/Resources/Audio/_CP14/Effects/attributions.yml @@ -77,3 +77,8 @@ license: "CC0-1.0" copyright: 'by IENBA on Freesound.org' source: "https://freesound.org/people/IENBA/sounds/752275/" + +- files: ["bell.ogg", "bell_short"] + license: "CC0-1.0" + copyright: 'Created by Fenodyrie on Freesound.org' + source: "https://freesound.org/people/Fenodyrie/sounds/583950/" diff --git a/Resources/Audio/_CP14/Effects/bell.ogg b/Resources/Audio/_CP14/Effects/bell.ogg new file mode 100644 index 0000000000..b2ca39fc86 Binary files /dev/null and b/Resources/Audio/_CP14/Effects/bell.ogg differ diff --git a/Resources/Audio/_CP14/Effects/bell_short.ogg b/Resources/Audio/_CP14/Effects/bell_short.ogg new file mode 100644 index 0000000000..00d5ad571b Binary files /dev/null and b/Resources/Audio/_CP14/Effects/bell_short.ogg differ diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Misc/bell.yml b/Resources/Prototypes/_CP14/Entities/Objects/Misc/bell.yml new file mode 100644 index 0000000000..65c630a8c0 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Objects/Misc/bell.yml @@ -0,0 +1,51 @@ +- type: entity + parent: BaseItem + id: CP14Bell + name: bell + description: A regular bell with a handle to attract attention. + categories: [ ForkFiltered ] + components: + - type: Sprite + sprite: _CP14/Objects/Misc/bell.rsi + state: icon + - type: Tag + tags: + - Payload + - type: InteractionPopup + successChance: 1 + interactSuccessSound: + path: /Audio/_CP14/Effects/bell.ogg + params: + variation: 0.03 + volume: 3 + onActivate: true + - type: EmitSoundOnUse + sound: + path: /Audio/_CP14/Effects/bell.ogg + params: + variation: 0.03 + volume: 3 + - type: EmitSoundOnTrigger + sound: + path: /Audio/_CP14/Effects/bell.ogg + params: + variation: 0.03 + volume: 3 + - type: EmitSoundOnLand + sound: + path: /Audio/_CP14/Effects/bell_short.ogg + params: + variation: 0.03 + volume: 3 + - type: UseDelay + delay: 1.5 + - type: MeleeWeapon + wideAnimationRotation: 180 + soundHit: + path: /Audio/_CP14/Effects/bell_short.ogg + params: + variation: 0.03 + volume: 3 + damage: + types: + Blunt: 4 diff --git a/Resources/Prototypes/_CP14/SoundCollections/misc.yml b/Resources/Prototypes/_CP14/SoundCollections/misc.yml index ed415d56ec..730f7550f3 100644 --- a/Resources/Prototypes/_CP14/SoundCollections/misc.yml +++ b/Resources/Prototypes/_CP14/SoundCollections/misc.yml @@ -33,4 +33,4 @@ files: - /Audio/_CP14/Effects/Wendigo/ritual1.ogg - /Audio/_CP14/Effects/Wendigo/ritual2.ogg - - /Audio/_CP14/Effects/Wendigo/ritual3.ogg \ No newline at end of file + - /Audio/_CP14/Effects/Wendigo/ritual3.ogg diff --git a/Resources/Textures/_CP14/Objects/Misc/bell.rsi/icon.png b/Resources/Textures/_CP14/Objects/Misc/bell.rsi/icon.png new file mode 100644 index 0000000000..eddba593b0 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Misc/bell.rsi/icon.png differ diff --git a/Resources/Textures/_CP14/Objects/Misc/bell.rsi/inhand-left.png b/Resources/Textures/_CP14/Objects/Misc/bell.rsi/inhand-left.png new file mode 100644 index 0000000000..908a54affa Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Misc/bell.rsi/inhand-left.png differ diff --git a/Resources/Textures/_CP14/Objects/Misc/bell.rsi/inhand-right.png b/Resources/Textures/_CP14/Objects/Misc/bell.rsi/inhand-right.png new file mode 100644 index 0000000000..819f4d8177 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Misc/bell.rsi/inhand-right.png differ diff --git a/Resources/Textures/_CP14/Objects/Misc/bell.rsi/meta.json b/Resources/Textures/_CP14/Objects/Misc/bell.rsi/meta.json new file mode 100644 index 0000000000..16efb50ea2 --- /dev/null +++ b/Resources/Textures/_CP14/Objects/Misc/bell.rsi/meta.json @@ -0,0 +1,22 @@ +{ + "version": 1, + "license": "All right reserved", + "copyright": "Created by Jaraten", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "inhand-left", + "directions": 4 + }, + { + "name": "inhand-right", + "directions": 4 + } + ] +}