Skip to content

Commit

Permalink
Added BaseJusticePDA and made every justice PDA inherit from it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Radezolid committed Nov 1, 2024
1 parent d9331df commit ad137d1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 48 deletions.
64 changes: 23 additions & 41 deletions Resources/Prototypes/DeltaV/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,27 @@

- type: entity
parent: BasePDA
id: BaseJusticePDA
abstract: true
components:
- type: Pda
penSlot:
startingItem: LuxuryPen
priority: -1
whitelist:
tags:
- Write
- type: CartridgeLoader
diskSpace: 7
preinstalled:
- CrewManifestCartridge
- NotekeeperCartridge
- NewsReaderCartridge
- CrimeAssistCartridge
- SecWatchCartridge

- type: entity
parent: BaseJusticePDA
id: ChiefJusticePDA
name: chief justice PDA
description: Whosoever bears this PDA is the law.
Expand All @@ -59,27 +80,14 @@
- type: Pda
id: ChiefJusticeIDCard
state: pda-chiefjustice
penSlot:
startingItem: LuxuryPen
priority: -1
whitelist:
tags:
- Write
- type: PdaBorderColor
borderColor: "#470823"
- type: Icon
sprite: DeltaV/Objects/Devices/pda.rsi
state: pda-chiefjustice
- type: CartridgeLoader
preinstalled:
- CrewManifestCartridge
- NotekeeperCartridge
- NewsReaderCartridge
- CrimeAssistCartridge
- SecWatchCartridge

- type: entity
parent: BasePDA
parent: BaseJusticePDA
id: ClerkPDA
name: clerk PDA
description: It has the stamp to prove it's been officially notarized!
Expand All @@ -99,27 +107,14 @@
- type: Pda
id: ClerkIDCard
state: pda-clerk
penSlot:
startingItem: LuxuryPen
priority: -1
whitelist:
tags:
- Write
- type: PdaBorderColor
borderColor: "#611528"
- type: Icon
sprite: DeltaV/Objects/Devices/pda.rsi
state: pda-clerk
- type: CartridgeLoader
preinstalled:
- CrewManifestCartridge
- NotekeeperCartridge
- NewsReaderCartridge
- CrimeAssistCartridge
- SecWatchCartridge

- type: entity
parent: BasePDA
parent: BaseJusticePDA
id: ProsecutorPDA
name: prosecutor PDA
description: Sharp. Looks like it could prosecute you all on its own.
Expand All @@ -139,24 +134,11 @@
- type: Pda
id: ProsecutorIDCard
state: pda-prosecutor
penSlot:
startingItem: LuxuryPen
priority: -1
whitelist:
tags:
- Write
- type: PdaBorderColor
borderColor: "#6f6192"
- type: Icon
sprite: DeltaV/Objects/Devices/pda.rsi
state: pda-prosecutor
- type: CartridgeLoader # DeltaV - Crime Assist
preinstalled:
- CrewManifestCartridge
- NotekeeperCartridge
- NewsReaderCartridge
- CrimeAssistCartridge
- SecWatchCartridge

- type: entity
parent: SyndiPDA
Expand Down
8 changes: 1 addition & 7 deletions Resources/Prototypes/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -479,20 +479,14 @@
state: pda-library

- type: entity
parent: BaseSecurityPDA
parent: BaseJusticePDA # DeltaV - Added secwatch to justice. Was BaseSecurityPDA.
id: LawyerPDA
name: lawyer PDA
description: For lawyers to poach dubious clients.
components:
- type: Pda
id: LawyerIDCard
state: pda-lawyer
penSlot:
startingItem: LuxuryPen
priority: -1
whitelist:
tags:
- Write
- type: PdaBorderColor
borderColor: "#6f6192"
- type: Icon
Expand Down

0 comments on commit ad137d1

Please sign in to comment.