]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
funny damage
authoriaada <iaada@users.noreply.github.com>
Sat, 26 Jul 2025 08:30:43 +0000 (03:30 -0500)
committeriaada <iaada@users.noreply.github.com>
Sat, 26 Jul 2025 08:30:43 +0000 (03:30 -0500)
Resources/Prototypes/Damage/modifier_sets.yml
Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_base_materials.yml

index 35a5f491340213a3b7f1af1b8ed8e4ed91a6c7ec..cfae9d916a48404e37087a054c0f1b6c32dd2c5d 100644 (file)
   flatReductions:
     Blunt: 5
 
+- type: damageModifierSet
+  id: FlimsyWood # aka Cardboard
+  coefficients:
+    Blunt: 0.8
+    Slash: 2.0
+    Piercing: 0.5 # poking holes in cardboard doesn't do much
+    Heat: 2.0
+
 - type: damageModifierSet
   id: Web # Very flammable, can be easily hacked and slashed, but shooting or hitting it is another story.
   coefficients:
index 0a9e2d6756336109466cd79a9a99c38e71116d04..6b178107f50deb9b12e5aa1877c7dc6ed7d99179 100644 (file)
@@ -47,6 +47,7 @@
   components:
   - type: Damageable
     damageContainer: Inorganic
+#TODO    damageModifierSet:
   - type: Destructible
     thresholds:
     - trigger:
@@ -69,6 +70,7 @@
   components:
   - type: Damageable
     damageContainer: Inorganic
+    damageModifierSet: FlimsyWood
   - type: Destructible
     thresholds:
     - trigger: