]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
make meat sizzle when cooked (#20877)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Thu, 19 Oct 2023 03:49:51 +0000 (04:49 +0100)
committerGitHub <noreply@github.com>
Thu, 19 Oct 2023 03:49:51 +0000 (23:49 -0400)
* make meat sizzle when cooked

* fixy

* better sound

* vorbis ops

* fade out

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Resources/Audio/Effects/attributions.yml
Resources/Audio/Effects/sizzle.ogg [new file with mode: 0644]
Resources/Prototypes/Recipes/Construction/Graphs/food/steak.yml

index 556c4603a5a49ba22035cf2933584fc90fb31063..7fd46a02417471aa874dc913fe60ee2cee4c98cc 100644 (file)
@@ -67,3 +67,8 @@
   license: "CC-BY-4.0"
   copyright: "Taken from InspectorJ via freesound.org and mixed from stereo to mono."
   source: "https://freesound.org/people/InspectorJ/sounds/411642/"
+
+- files: ["sizzle.ogg"]
+  license: "CC-BY-SA-3.0"
+  copyright: "Recorded by deltanedas for SS14"
+  source: "https://github.com/deltanedas"
diff --git a/Resources/Audio/Effects/sizzle.ogg b/Resources/Audio/Effects/sizzle.ogg
new file mode 100644 (file)
index 0000000..2c39b87
Binary files /dev/null and b/Resources/Audio/Effects/sizzle.ogg differ
index a2fa2ec6b03923325c1fba28ee1e323cfa434c32..bbf8f5ef54deb0998df143bcd649f423c114de58 100644 (file)
@@ -7,6 +7,9 @@
   - node: start
     edges:
     - to: meat steak
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 335
 
@@ -22,6 +25,9 @@
   - node: start
     edges:
     - to: cooked penguin
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 345
 
@@ -37,6 +43,9 @@
   - node: start
     edges:
     - to: cooked chicken
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 345
 
@@ -52,6 +61,9 @@
   - node: start
     edges:
     - to: cooked duck
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 335 #duck is actually culinarily red meat IRL and has a lower min temp than other poultry
 
@@ -67,6 +79,9 @@
   - node: start
     edges:
     - to: lizard steak
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 345
 
@@ -82,6 +97,9 @@
   - node: start
     edges:
     - to: filet migrawr
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 345 #apparently trichinellosis is a concern
 
   - node: start
     edges:
     - to: cooked crab
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 335
 
   - node: start
     edges:
     - to: goliath steak
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 345 #I dunno what this is but I don't want whatever parasites are inside
 
   - node: start
     edges:
     - to: rouny steak
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 445 #rouny
   - node: rouny steak
   - node: start
     edges:
     - to: bacon
+      completed:
+      - !type:PlaySound
+        sound: /Audio/Effects/sizzle.ogg
       steps:
       - minTemperature: 345
   - node: bacon