From 3b9b2c6a012bfa40a01e7a814bb07299c23bf3d7 Mon Sep 17 00:00:00 2001 From: Peptide90 <78795277+Peptide90@users.noreply.github.com> Date: Thu, 13 Jan 2022 15:04:30 +0000 Subject: [PATCH] Personnel crate (ID cards and PDAs) (#6111) --- .../Catalog/Cargo/cargo_service.yml | 12 ++++++++++ .../Catalog/Fills/Boxes/general.yml | 23 ++++++++++++++++++- .../Catalog/Fills/Crates/service.yml | 13 +++++++++++ .../Machines/Computers/computers.yml | 1 + 4 files changed, 48 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_service.yml b/Resources/Prototypes/Catalog/Cargo/cargo_service.yml index efad9651eb..d879f5d80a 100644 --- a/Resources/Prototypes/Catalog/Cargo/cargo_service.yml +++ b/Resources/Prototypes/Catalog/Cargo/cargo_service.yml @@ -57,3 +57,15 @@ cost: 1000 category: Service group: market + +- type: cargoProduct + name: "personnel crate" + id: ServicePersonnel + description: "Contains a box of blank ID cards and PDAs" + icon: + sprite: Objects/Misc/id_cards.rsi + state: default + product: CrateServicePersonnel + cost: 1000 + category: Service + group: market diff --git a/Resources/Prototypes/Catalog/Fills/Boxes/general.yml b/Resources/Prototypes/Catalog/Fills/Boxes/general.yml index 0b3a4fdb80..85b02d66fe 100644 --- a/Resources/Prototypes/Catalog/Fills/Boxes/general.yml +++ b/Resources/Prototypes/Catalog/Fills/Boxes/general.yml @@ -76,7 +76,7 @@ - LightBulb - type: entity - name: pda box + name: PDA box parent: BoxCardboard id: BoxPDA description: A box of spare PDA microcomputers. @@ -95,6 +95,27 @@ components: - PDA +- type: entity + name: ID card box + parent: BoxCardboard + id: BoxID + description: A box of spare blank ID cards. + components: + - type: StorageFill + contents: + - id: AssistantIDCard + amount: 6 + - type: Sprite + layers: + - state: box + - state: pda + - type: Storage + capacity: 60 + whitelist: + components: + - IdCard + + - type: entity name: meson box parent: BoxCardboard diff --git a/Resources/Prototypes/Catalog/Fills/Crates/service.yml b/Resources/Prototypes/Catalog/Fills/Crates/service.yml index 966d1f1fa6..1b6227fe0c 100644 --- a/Resources/Prototypes/Catalog/Fills/Crates/service.yml +++ b/Resources/Prototypes/Catalog/Fills/Crates/service.yml @@ -87,3 +87,16 @@ amount: 15 - id: Pen amount: 2 + +- type: entity + id: CrateServicePersonnel + name: personnel crate + description: Contains a box of blank ID cards and PDAs. + parent: CrateGenericSteel + components: + - type: StorageFill + contents: + - id: BoxPDA + amount: 1 + - id: BoxID + amount: 1 diff --git a/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml b/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml index bd35c3ab85..e58a972998 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/Computers/computers.yml @@ -316,6 +316,7 @@ - ServiceSmokeables - ServiceCustomSmokable - ServiceBureaucracy + - ServicePersonnel - EngineeringCableLv - EngineeringCableMv - EngineeringCableHv