]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Church Bells (#26030)
authorSphiral <145869023+SphiraI@users.noreply.github.com>
Mon, 25 Mar 2024 13:24:00 +0000 (08:24 -0500)
committerGitHub <noreply@github.com>
Mon, 25 Mar 2024 13:24:00 +0000 (00:24 +1100)
* Adds Church Bells

* I'm dumb.

* The bell is no longer haunted.

* forgot attributions

* change sounds so scary law no hunt

* One day I'll stop needing to make an immediate micro-commit. One day.

* God damn it.

Resources/Audio/Effects/attributions.yml
Resources/Audio/Effects/church_bell1.ogg [new file with mode: 0644]
Resources/Audio/Effects/church_bell2.ogg [new file with mode: 0644]
Resources/Audio/Effects/church_bell3.ogg [new file with mode: 0644]
Resources/Audio/Effects/church_bell4.ogg [new file with mode: 0644]
Resources/Prototypes/Entities/Structures/Specific/church-bell.yml [new file with mode: 0644]
Resources/Prototypes/SoundCollections/church_bell.yml [new file with mode: 0644]
Resources/Textures/Structures/Specific/church-bell.rsi/church-bell.png [new file with mode: 0644]
Resources/Textures/Structures/Specific/church-bell.rsi/meta.json [new file with mode: 0644]

index 4d2ba44925dcefbb9fe0ba43480ead4d286b4328..6f18510d17b9b8069f21c6a5243370c0d2861a72 100644 (file)
   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"
diff --git a/Resources/Audio/Effects/church_bell1.ogg b/Resources/Audio/Effects/church_bell1.ogg
new file mode 100644 (file)
index 0000000..9713bd3
Binary files /dev/null and b/Resources/Audio/Effects/church_bell1.ogg differ
diff --git a/Resources/Audio/Effects/church_bell2.ogg b/Resources/Audio/Effects/church_bell2.ogg
new file mode 100644 (file)
index 0000000..1d0f58b
Binary files /dev/null and b/Resources/Audio/Effects/church_bell2.ogg differ
diff --git a/Resources/Audio/Effects/church_bell3.ogg b/Resources/Audio/Effects/church_bell3.ogg
new file mode 100644 (file)
index 0000000..97567be
Binary files /dev/null and b/Resources/Audio/Effects/church_bell3.ogg differ
diff --git a/Resources/Audio/Effects/church_bell4.ogg b/Resources/Audio/Effects/church_bell4.ogg
new file mode 100644 (file)
index 0000000..c6f6aab
Binary files /dev/null and b/Resources/Audio/Effects/church_bell4.ogg differ
diff --git a/Resources/Prototypes/Entities/Structures/Specific/church-bell.yml b/Resources/Prototypes/Entities/Structures/Specific/church-bell.yml
new file mode 100644 (file)
index 0000000..837a7bc
--- /dev/null
@@ -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
diff --git a/Resources/Prototypes/SoundCollections/church_bell.yml b/Resources/Prototypes/SoundCollections/church_bell.yml
new file mode 100644 (file)
index 0000000..909bb9f
--- /dev/null
@@ -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
diff --git a/Resources/Textures/Structures/Specific/church-bell.rsi/church-bell.png b/Resources/Textures/Structures/Specific/church-bell.rsi/church-bell.png
new file mode 100644 (file)
index 0000000..dc95f2c
Binary files /dev/null and b/Resources/Textures/Structures/Specific/church-bell.rsi/church-bell.png differ
diff --git a/Resources/Textures/Structures/Specific/church-bell.rsi/meta.json b/Resources/Textures/Structures/Specific/church-bell.rsi/meta.json
new file mode 100644 (file)
index 0000000..e6161e6
--- /dev/null
@@ -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
+    }
+  ]
+}