]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Buff metal foam grenades (#37476)
authorArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Sat, 17 May 2025 05:21:24 +0000 (22:21 -0700)
committerGitHub <noreply@github.com>
Sat, 17 May 2025 05:21:24 +0000 (15:21 +1000)
* Buff metal foam grenades

* oh and cant forget my main

* Yeah, no, trolling someone because they didn't powergame a crowbar shiftstart is bad

Resources/Prototypes/Catalog/Fills/Lockers/engineer.yml
Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Resources/Prototypes/Entities/Effects/chemistry_effects.yml
Resources/Prototypes/Entities/Objects/Weapons/Throwable/grenades.yml

index 188259d50bb361203bb315b926e8ae7a0dd8ccf7..cac3eab0430d6139ee4707c2a644c221be9df7f0 100644 (file)
       - id: ClothingShoesBootsMag
       - id: RCD
       - id: RCDAmmo
+      - id: MetalFoamGrenade
 
 - type: entity
   id: LockerEngineerFilled
       - id: trayScanner
       - id: RCD
       - id: RCDAmmo
+      - id: MetalFoamGrenade
 
 - type: entity
   id: ClosetRadiationSuitFilled
index a3303939b40862f0436c1f57c9b0923c079165f6..4407b3fca2a19ca9b0f1cea0ce5e62b14193e89b 100644 (file)
     - id: RCD
     - id: RCDAmmo
     - id: RubberStampCE
+    - id: MetalFoamGrenade
 
 # Hardsuit table, used for suit storage as well
 - type: entityTable
index 2f4646e001ea4dca846fdce4554a8e1e237a6c1e..650179d182e76ef38bd921eaec8b422d9e4422b5 100644 (file)
 - type: entity
   id: FoamedAluminiumMetal
   name: foamed aluminium metal
-  description: "For sealing hull breaches."
+  description: "Leftover sparse foam from an aluminum foam grenade. Easily destroyed."
   parent: BaseFoamedMetal
   components:
   - type: Sprite
       state: metal_foam-north
     - map: [ "enum.EdgeLayer.West" ]
       state: metal_foam-west
+  - type: Damageable
+    damageContainer: StructuralInorganic
+    damageModifierSet: FlimsyMetallic
+  - type: Destructible
+    thresholds:
+    - trigger:
+        !type:DamageTrigger
+        damage: 1 # Intentionally very weak to encourage speedy repair, think of it as thin webbing
+      behaviors:
+      - !type:DoActsBehavior
+        acts: [ "Destruction" ]
 
 - type: entity
   id: ReactionFlash
index b76a1c2554bb546d43a11634683d8f22175fc11c..66dc50c5c663fadb27163a651d430b142921bc64 100644 (file)
   parent: [ BaseEngineeringContraband, SmokeGrenade ]
   id: MetalFoamGrenade
   name: metal foam grenade
-  description: An emergency tool used for patching breaches with special quick-set metal foam. Almost as good as real walls.
+  description: An emergency tool used for patching hull breaches with special quick-set metal foam. Almost as good as real floors!
   components:
   - type: Sprite
     sprite: Objects/Weapons/Grenades/metalfoam.rsi
   - type: OnUseTimerTrigger
-    delay: 1.5
+    delay: 5
   - type: SmokeOnTrigger
-    duration: 2
-    spreadAmount: 5
+    duration: 10
+    spreadAmount: 20
     smokePrototype: AluminiumMetalFoam
   - type: StaticPrice
     price: 350