]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make stun batons be thrown like a throwing weapon (#29883)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Fri, 12 Jul 2024 09:19:24 +0000 (11:19 +0200)
committerGitHub <noreply@github.com>
Fri, 12 Jul 2024 09:19:24 +0000 (19:19 +1000)
* make stun batons be thrown like a throwing weapon

* stun prods too

* pies too

Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/pie.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/stunprod.yml
Resources/Prototypes/Entities/Objects/Weapons/security.yml

index f97d87a9c5031aad5d47b72e750e0bcfd88bba09..cb04869c2c7346cb2b157107b8025c38e5e1ae44 100644 (file)
     - state: tin
     - state: plain
   - type: CreamPie
+  - type: LandAtCursor
   - type: ContainerContainer
     containers:
       payloadSlot: !type:ContainerSlot
index 9e187651ec554e65826bd703c19fd1b1c50aaa75..437cd8994ef6d83eced65253aa76c4aec04921e8 100644 (file)
@@ -41,6 +41,7 @@
   - type: StaminaDamageOnCollide
     damage: 35
     sound: /Audio/Weapons/egloves.ogg
+  - type: LandAtCursor # it deals stamina damage when thrown
   - type: Battery
     maxCharge: 360
     startingCharge: 360
index 24bc21c43679577e242fb78ea6cf442434a076c1..307584e1161fa0759cc43bb003e631ba0808ec4f 100644 (file)
@@ -43,6 +43,7 @@
   - type: StaminaDamageOnCollide
     damage: 35
     sound: /Audio/Weapons/egloves.ogg
+  - type: LandAtCursor # it deals stamina damage when thrown
   - type: Battery
     maxCharge: 1000
     startingCharge: 1000
   - type: Item
     size: Normal
   - type: Tag
-    tags: 
+    tags:
     - Truncheon
   - type: Clothing
     sprite: Objects/Weapons/Melee/truncheon.rsi