From: PotentiallyTom <67602105+PotentiallyTom@users.noreply.github.com> Date: Sun, 19 Oct 2025 20:59:42 +0000 (+0100) Subject: Silicon lawset book and Law boards can now point to the list of lawsets. (#40944) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=e44083b2806a8d981a0fa446283b428d463ae298;p=space-station-14.git Silicon lawset book and Law boards can now point to the list of lawsets. (#40944) * AI compendium book proto added * added BaseSiliconLawboard and have silicon boards parent it * color tweaks * requested change --- diff --git a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/law_boards.yml b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/law_boards.yml index 45fa107108..c54fb770e5 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/law_boards.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/law_boards.yml @@ -1,144 +1,123 @@ - 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 @@ -147,38 +126,29 @@ - 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 diff --git a/Resources/Prototypes/Entities/Objects/Misc/books.yml b/Resources/Prototypes/Entities/Objects/Misc/books.yml index 7b3f474025..0f8450a5e3 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/books.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/books.yml @@ -329,6 +329,25 @@ - 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