]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Flippolighter_fix (#26846)
authorSkaldetSkaeg <impotekh@gmail.com>
Tue, 9 Apr 2024 22:20:57 +0000 (05:20 +0700)
committerGitHub <noreply@github.com>
Tue, 9 Apr 2024 22:20:57 +0000 (18:20 -0400)
Flippolighter has realy loud sound, no UseDelay and server errors

Resources/Prototypes/Entities/Objects/Tools/lighters.yml

index 631e2a247eac2f668108e2d21bce1b7a12a01cfa..d03cc725efe5fdcb9a465fadbee1cb8d956d7e44 100644 (file)
     predictable: false
     soundActivate:
       path: /Audio/Items/Lighters/zippo_open.ogg
+      params:
+        volume: -5
     soundDeactivate:
       path: /Audio/Items/Lighters/zippo_close.ogg
+      params:
+        volume: -5
   - type: ItemToggleMeleeWeapon
     activatedDamage:
         types:
     netsync: false
     radius: 1.2 #slightly stronger than the other lighters
     color: orange
+  - type: UseDelay
+  - type: IgnitionSource
+    ignited: false
 
 - type: entity
   name: flippo engraved lighter