Skip to content

Commit

Permalink
space law book (#29392)
Browse files Browse the repository at this point in the history
* Space Law Book

* crate
  • Loading branch information
lzk228 authored Jul 2, 2024
1 parent 2a6b7db commit c0a1e6e
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Books/bookshelf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
orGroup: BookPool
- id: BookChemicalCompendium
orGroup: BookPool
- id: BookSpaceLaw
orGroup: BookPool
- id: BookNarsieLegend
prob: 0.1
orGroup: BookAuthor
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Catalog/Fills/Crates/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@
- id: BookMedicalReferenceBook
- id: BookHowToSurvive
- id: BookChemicalCompendium
- id: BookSpaceLaw

- type: entity
id: CrateServiceSodaDispenser
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
- id: BoxEncryptionKeySecurity
- id: HoloprojectorSecurity
- id: BookSecretDocuments
- id: BookSpaceLaw

- type: entity
id: LockerHeadOfSecurityFilled
Expand All @@ -301,6 +302,7 @@
- id: BoxEncryptionKeySecurity
- id: HoloprojectorSecurity
- id: BookSecretDocuments
- id: BookSpaceLaw

- type: entity
id: LockerFreezerVaultFilled
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- id: DoorRemoteArmory
- id: ClothingOuterHardsuitWarden
- id: HoloprojectorSecurity
- id: BookSpaceLaw

- type: entity
id: LockerWardenFilled
Expand All @@ -40,6 +41,7 @@
- id: RubberStampWarden
- id: DoorRemoteArmory
- id: HoloprojectorSecurity
- id: BookSpaceLaw

- type: entity
id: LockerSecurityFilled
Expand All @@ -66,6 +68,8 @@
prob: 0.1
- id: HoloprojectorSecurity
prob: 0.6
- id: BookSpaceLaw
prob: 0.5

- type: entity
id: LockerBrigmedicFilled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
ClothingHeadsetService: 2
ClothingNeckLawyerbadge: 2
BriefcaseBrown: 2
BookSpaceLaw: 3
LuxuryPen: 2
contrabandInventory:
ClothingOuterRobesJudge: 1
Expand Down
28 changes: 28 additions & 0 deletions Resources/Prototypes/Entities/Objects/Misc/books.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,34 @@
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
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Roles/Jobs/Civilian/lawyer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
shoes: ClothingShoesBootsLaceup
id: LawyerPDA
ears: ClothingHeadsetSecurity
# TODO add copy of space law
inhand:
- BriefcaseBrownFilled
storage:
back:
- RubberStampLawyer
- BookSpaceLaw

0 comments on commit c0a1e6e

Please sign in to comment.