]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
space law book (#29392)
authorlzk <124214523+lzk228@users.noreply.github.com>
Tue, 2 Jul 2024 13:33:48 +0000 (15:33 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Jul 2024 13:33:48 +0000 (09:33 -0400)
* Space Law Book

* crate

Resources/Prototypes/Catalog/Fills/Books/bookshelf.yml
Resources/Prototypes/Catalog/Fills/Crates/service.yml
Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Resources/Prototypes/Catalog/VendingMachines/Inventories/lawdrobe.yml
Resources/Prototypes/Entities/Objects/Misc/books.yml
Resources/Prototypes/Roles/Jobs/Civilian/lawyer.yml

index 09c7e165bfa64752e9e2ac1ecb2fd3d3513aa8b5..a0b6b57ec17a4ab899ba6d345d822f96a748135c 100644 (file)
@@ -35,6 +35,8 @@
         orGroup: BookPool
       - id: BookChemicalCompendium
         orGroup: BookPool
+      - id: BookSpaceLaw
+        orGroup: BookPool
       - id: BookNarsieLegend
         prob: 0.1
         orGroup: BookAuthor
index f4c47cfe9e4ed3ccd187035fb8246385b9d9126b..3950c4f8fdd8284c0f689309e32600b2ae13bcae 100644 (file)
       - id: BookMedicalReferenceBook
       - id: BookHowToSurvive
       - id: BookChemicalCompendium
+      - id: BookSpaceLaw
 
 - type: entity
   id: CrateServiceSodaDispenser
index 11863ea51db626866a5dd11bb1c2216f308fc7ad..af45bdfc6ac6e40fbc2d131fba70774313b0113f 100644 (file)
       - id: BoxEncryptionKeySecurity
       - id: HoloprojectorSecurity
       - id: BookSecretDocuments
+      - id: BookSpaceLaw
 
 - type: entity
   id: LockerHeadOfSecurityFilled
       - id: BoxEncryptionKeySecurity
       - id: HoloprojectorSecurity
       - id: BookSecretDocuments
+      - id: BookSpaceLaw
 
 - type: entity
   id: LockerFreezerVaultFilled
index 2896494978a58b40f2983837b8db24a5b8f10b2b..002996330bb6db53e578182bb61722fb48349e74 100644 (file)
@@ -19,6 +19,7 @@
       - id: DoorRemoteArmory
       - id: ClothingOuterHardsuitWarden
       - id: HoloprojectorSecurity
+      - id: BookSpaceLaw
 
 - type: entity
   id: LockerWardenFilled
@@ -40,6 +41,7 @@
       - id: RubberStampWarden
       - id: DoorRemoteArmory
       - id: HoloprojectorSecurity
+      - id: BookSpaceLaw
 
 - type: entity
   id: LockerSecurityFilled
@@ -66,6 +68,8 @@
         prob: 0.1
       - id: HoloprojectorSecurity
         prob: 0.6
+      - id: BookSpaceLaw
+        prob: 0.5
 
 - type: entity
   id: LockerBrigmedicFilled
index 28f63e44e2034f16947c568f0b6187b802678123..75760ce5196b9fdb32e8d0953524285b1ca86bde 100644 (file)
@@ -15,6 +15,7 @@
     ClothingHeadsetService: 2
     ClothingNeckLawyerbadge: 2
     BriefcaseBrown: 2
+    BookSpaceLaw: 3
     LuxuryPen: 2
   contrabandInventory:
     ClothingOuterRobesJudge: 1
index fd4cac781baae52566d98175e41108743c0e78c3..d5cf78c65b96cd5f6d8be4ac55b99627d57c6f5b 100644 (file)
     guides:
     - Chemicals
 
+- type: entity
+  id: BookSpaceLaw
+  parent: BaseItem
+  name: space law
+  description: A set of Nanotrasen guidelines for keeping law and order on their space stations.
+  components:
+  - type: Sprite
+    sprite: Objects/Misc/books.rsi
+    layers:
+    - state: paper
+    - state: cover_strong
+      color: "#87011c"
+    - state: icon_law
+      color: "#f7d61a"
+  - type: Tag
+    tags:
+    - Book
+  - type: GuideHelp
+    openOnActivation: true
+    guides:
+    - SpaceLaw
+  - type: MeleeWeapon # so you can beat stupid cadets
+    soundHit:
+      collection: Punch
+    damage:
+      types:
+        Blunt: 1
+
 - type: entity
   parent: BookBase
   id: BookRandom
index 58a8ebece11a45a6868ee05f1a620bf58e6b457e..713cde0e0c3ea8f7656b6ca71edeb008f936de5b 100644 (file)
@@ -21,9 +21,9 @@
     shoes: ClothingShoesBootsLaceup
     id: LawyerPDA
     ears: ClothingHeadsetSecurity
-    # TODO add copy of space law
   inhand:
     - BriefcaseBrownFilled
   storage:
     back:
     - RubberStampLawyer
+    - BookSpaceLaw