]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Desk Bell fix, Poster Rise fix, Happyhonk Mime inhand fix. (#14973)
authorbrainfood1183 <113240905+brainfood1183@users.noreply.github.com>
Fri, 31 Mar 2023 04:32:57 +0000 (05:32 +0100)
committerGitHub <noreply@github.com>
Fri, 31 Mar 2023 04:32:57 +0000 (22:32 -0600)
* deskbell, poster rise fix, happyhonk mime inhand fix.

* cancollide: false

Resources/Audio/Items/attributions.yml
Resources/Audio/Items/desk_bell_ring.ogg
Resources/Prototypes/Entities/Objects/Misc/desk_bell.yml
Resources/Prototypes/Entities/Structures/Wallmounts/Signs/posters.yml
Resources/Prototypes/SoundCollections/bike_horn.yml
Resources/Textures/Objects/Storage/happyhonk/mime.rsi/box-inhand-left.png

index 08ba18afb02e33189b850981cedf9fab3a083442..277dcc01f7ce8e741019753004f2eeddac30960f 100644 (file)
@@ -29,6 +29,6 @@
   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/"
+  license: "CC-BY-SA-3.0"
+  copyright: "Created by SamKolber, shortened and converted to OGG and mono"
+  source: "https://freesound.org/people/SamKolber/sounds/210022/"
index 098aa9cccbc8d72cb1b9d0094b74309ecbb4eb37..5222801dc18f9ed01d899bd97149998a586e147d 100644 (file)
Binary files a/Resources/Audio/Items/desk_bell_ring.ogg and b/Resources/Audio/Items/desk_bell_ring.ogg differ
index cd9d37f115554875cbb09670a04a772b99809783..d4c8a8ca4dce607338cd4367e599a94a8491cec3 100644 (file)
@@ -8,34 +8,45 @@
     sprite: Objects/Misc/desk_bell.rsi
     state: "normal"
     netsync: false
+  - type: InteractionPopup
+    successChance: 1
+    interactSuccessSound:
+      collection: DeskBell
+    params:
+      variation: 0.03
+      volume: 3
   - type: EmitSoundOnUse
     sound:
-      path: /Audio/Items/desk_bell_ring.ogg
+      collection: DeskBell
       params:
-          variation: 0.05
-          maxdistance: 60
-          volume: 2
-  - type: EmitSoundOnActivate
+          variation: 0.03
+          volume: 3
+  - type: EmitSoundOnTrigger
     sound:
-      path: /Audio/Items/desk_bell_ring.ogg
+      collection: DeskBell
       params:
-          variation: 0.05
-          maxdistance: 60
-          volume: 2
+          variation: 0.03
+          volume: 3
   - type: EmitSoundOnLand
     sound:
-      path: /Audio/Items/desk_bell_ring.ogg
+      collection: DeskBell
       params:
-          variation: 0.05
-          maxdistance: 60
-          volume: 2
+          variation: 0.03
+          volume: 3
   - type: ItemCooldown
   - type: UseDelay
     delay: 0.5
   - type: MeleeWeapon
     soundHit:
-      path: /Audio/Items/desk_bell_ring.ogg
+      collection: DeskBell
+      params:
+          variation: 0.03
+          volume: 3
     damage:
       types:
-        Blunt: 0.1
+        Blunt: 4
   - type: Anchorable
+  - type: Transform
+    anchored: true
+  - type: Physics
+    canCollide: false
index ef9299e8d3eebcee7a94fa321478980841e52c10..5f3184eab1e74853fa7589c6b617abbdd013b1cd 100644 (file)
   parent: PosterBase
   id: PosterContrabandRise
   name: "Rise Up"
-  description: "A poster depicting a grey shirted man holding a crowbar with the words Rise written above it."
+  description: "A poster depicting a grey shirted man holding a crowbar with the word Rise written below it."
   components:
   - type: Sprite
     state: poster55_contraband
index 7fab2d63e9f9932fcb1eaaabe4f03e9b1e6d70b8..e7e33ca725d133aba01995e46c774843bd024ee0 100644 (file)
@@ -8,3 +8,8 @@
   files:
   - /Audio/Items/brokenbikehorn.ogg
 
+- type: soundCollection
+  id: DeskBell
+  files:
+  - /Audio/Items/desk_bell_ring.ogg
+
index 2d67cfa091ea3e7e91c071d93e82c0c6b079840b..b4d2d6801c74a370080109ac4feb1080a9081936 100644 (file)
Binary files a/Resources/Textures/Objects/Storage/happyhonk/mime.rsi/box-inhand-left.png and b/Resources/Textures/Objects/Storage/happyhonk/mime.rsi/box-inhand-left.png differ