]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Silicon lawset book and Law boards can now point to the list of lawsets. (#40944)
authorPotentiallyTom <67602105+PotentiallyTom@users.noreply.github.com>
Sun, 19 Oct 2025 20:59:42 +0000 (21:59 +0100)
committerGitHub <noreply@github.com>
Sun, 19 Oct 2025 20:59:42 +0000 (20:59 +0000)
* AI compendium book proto added

* added BaseSiliconLawboard and have silicon boards parent it

* color tweaks

* requested change

Resources/Prototypes/Entities/Objects/Devices/Circuitboards/law_boards.yml
Resources/Prototypes/Entities/Objects/Misc/books.yml

index 45fa10710834b4b69033fd9d369b9c0be814447f..c54fb770e51b4251c655788f34f63491a04a9ecb 100644 (file)
 - type: entity
-  id: NTDefaultCircuitBoard
+  abstract: true
   parent: BaseElectronics
-  name: law board (NT Default)
-  description: An electronics board containing the NT Default lawset.
+  id: BaseSiliconLawboard
+  description: An electronics board containing a silicon lawset.
   components:
   - type: Sprite
     sprite: Objects/Misc/module.rsi
     state: std_mod
   - type: SiliconLawProvider
     laws: NTDefault
+  - type: GuideHelp
+    guides:
+    - Lawsets
+
+- type: entity
+  id: NTDefaultCircuitBoard
+  parent: BaseSiliconLawboard
+  name: law board (NT Default)
+  description: An electronics board containing the NT Default lawset.
+  components:
+  - type: SiliconLawProvider
+    laws: NTDefault
 
 - type: entity
   id: AsimovCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Crewsimov)
   description: An electronics board containing the Crewsimov lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: Crewsimov
 
 - type: entity
   id: CorporateCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Corporate)
   description: An electronics board containing the Corporate lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: Corporate
 
 - type: entity
   id: CommandmentCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Ten Commandments)
   description: An electronics board containing the Ten Commandments lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: CommandmentsLawset
 
 - type: entity
   id: PaladinCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Paladin)
   description: An electronics board containing the Paladin lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: PaladinLawset
 
 - type: entity
   id: LiveLetLiveCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Live and Let Live)
   description: An electronics board containing the Live and Let Live lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: LiveLetLiveLaws
 
 - type: entity
   id: StationEfficiencyCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Station Efficiency)
   description: An electronics board containing the Station Efficiency lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: EfficiencyLawset
 
 - type: entity
   id: RobocopCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Robocop)
   description: An electronics board containing the Robocop lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: RobocopLawset
 
 - type: entity
   id: OverlordCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Overlord)
   description: An electronics board containing the Overlord lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: OverlordLawset
 
 - type: entity
   id: GameMasterCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Game Master)
   description: An electronics board containing the Game Master lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: GameMasterLawset
 
 - type: entity
   id: ArtistCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Artist)
   description: An electronics board containing the Artist lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: PainterLawset
 
 - type: entity
   id: AntimovCircuitBoard
-  parent: [BaseElectronics, BaseSyndicateContraband]
+  parent: [BaseSiliconLawboard, BaseSyndicateContraband]
   name: law board (Antimov)
   description: An electronics board containing the Antimov lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: AntimovLawset
     lawUploadSound: /Audio/Ambience/Antag/silicon_lawboard_antimov.ogg
 
 - type: entity
   id: NutimovCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Nutimov)
   description: An electronics board containing the Nutimov lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: NutimovLawset
 
 - type: entity
   id: XenoborgCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Xenoborg)
   suffix: Admeme
   description: An electronics board containing the Xenoborg lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: XenoborgLawset
 
 - type: entity
   id: MothershipCircuitBoard
-  parent: BaseElectronics
+  parent: BaseSiliconLawboard
   name: law board (Mothership Core)
   suffix: Admeme
   description: An electronics board containing the Mothership Core lawset.
   components:
-  - type: Sprite
-    sprite: Objects/Misc/module.rsi
-    state: std_mod
   - type: SiliconLawProvider
     laws: MothershipCoreLawset
index 7b3f4740252f25e08ab49a74a1ce9d914189fc7a..0f8450a5e3bb44ecb3d8cd6838d6fc4c5cb3aec7 100644 (file)
     - Chemicals
     - Chemist
 
+- type: entity
+  id: BookAILawCompendium
+  parent: BaseGuidebook
+  name: My, Robot
+  description: A dictionary of all the ways silicons can go wrong. By Isaac Crewsimov.
+  components:
+  - type: Sprite
+    layers:
+    - state: paper
+    - state: cover_strong
+      color: "#A8162B"
+    - state: icon_borg
+      color: "#916161"
+    - state: detail_rivets
+      color: "#DDDDDD"
+  - type: GuideHelp
+    guides:
+    - Lawsets
+
 - type: entity
   id: BookSpaceLaw
   parent: BaseGuidebook