]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Throw the book at em! The space law book now does 1 blunt projectile damage (#31387)
authorMoomoobeef <62638182+Moomoobeef@users.noreply.github.com>
Mon, 2 Sep 2024 11:07:56 +0000 (04:07 -0700)
committerGitHub <noreply@github.com>
Mon, 2 Sep 2024 11:07:56 +0000 (13:07 +0200)
* you can now throw the space law book for 1 blunt damage

* made book damage a feature of all books

Resources/Prototypes/Entities/Objects/Misc/books.yml

index 1f1bd0b2afcfd5e85954dfcb24ca27b7d0bf0580..92fc454114268c7f8100796e1c60a22c5f61f688 100644 (file)
     backgroundImagePath: "/Textures/Interface/Paper/paper_background_book.svg.96dpi.png"
     backgroundPatchMargin: 23.0, 16.0, 14.0, 15.0
     contentMargin: 20.0, 20.0, 20.0, 20.0
+  - type: MeleeWeapon  # This was originally a feature exclusive to the law book but maintainers decided it should apply to all books for consistency. I frankly disagree but :P
+    soundHit:
+      collection: Punch
+    damage:
+      types:
+        Blunt: 1
+  - type: DamageOtherOnHit
+    damage:
+      types:
+        Blunt: 1
 
 - type: entity
   id: BookSpaceEncyclopedia
     openOnActivation: true
     guides:
     - SpaceLaw
-  - type: MeleeWeapon # so you can beat stupid cadets
-    soundHit:
-      collection: Punch
-    damage:
-      types:
-        Blunt: 1
 
 - type: entity
   parent: BookBase