Skip to content

Commit

Permalink
Cherry-picked commit a0cc87c from space-wizards/space-station-14/master
Browse files Browse the repository at this point in the history
  • Loading branch information
SimpleStation14 authored and SphiraI committed Mar 25, 2024
1 parent b68ed3c commit 5f6feac
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Resources/Audio/Effects/attributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@
license: Custom
source: https://gdc.sonniss.com

- files: ["church_bell1.ogg", "church_bell2.ogg", "church_bell3.ogg", "church_bell4.ogg"]
copyright: '"the bell of my schools church.wav" by fonografico https://freesound.org/s/636113/". Pitch variations created via edits by Sphiral.'
license: "CC0-1.0"
source: https://freesound.org/people/fonografico/sounds/636113/?

- files: ["pop.ogg"]
copyright: '"pop.ogg" by mirrorcult of GitHub.com'
license: "CC0-1.0"
Expand Down
Binary file added Resources/Audio/Effects/church_bell1.ogg
Binary file not shown.
Binary file added Resources/Audio/Effects/church_bell2.ogg
Binary file not shown.
Binary file added Resources/Audio/Effects/church_bell3.ogg
Binary file not shown.
Binary file added Resources/Audio/Effects/church_bell4.ogg
Binary file not shown.
41 changes: 41 additions & 0 deletions Resources/Prototypes/Entities/Structures/Specific/church-bell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
- type: entity
id: ChurchBell
name: church bell
description: You feel your soul grow ever closer to the realms beyond for every chime this bell tolls...
placement:
mode: SnapgridCenter
components:
- type: Transform
anchored: true
- type: Sprite
noRot: true
sprite: Structures/Specific/church-bell.rsi
layers:
- state: church-bell
- type: InteractionPopup
interactDelay: 1
successChance: 1
interactSuccessSound:
collection: ChurchBell
- type: Clickable
- type: Rotatable
- type: CollisionWake
enabled: false
- type: Physics
canCollide: false
bodyType: Static
- type: Fixtures
- type: InteractionOutline
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
collection: MetalBreak
7 changes: 7 additions & 0 deletions Resources/Prototypes/SoundCollections/church_bell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- type: soundCollection
id: ChurchBell
files:
- /Audio/Effects/church_bell1.ogg
- /Audio/Effects/church_bell2.ogg
- /Audio/Effects/church_bell3.ogg
- /Audio/Effects/church_bell4.ogg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions Resources/Textures/Structures/Specific/church-bell.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Made by Kezu for ss14",
"states": [
{
"name": "church-bell",
"directions": 4
}
]
}

0 comments on commit 5f6feac

Please sign in to comment.