From 57f245e789a262a18f6594290a60842961c808cd Mon Sep 17 00:00:00 2001 From: Trevor Day Date: Sat, 6 Jan 2024 01:22:35 -0800 Subject: [PATCH] Add whitelist to centrifuge, only allowing vials. (#23538) * Add whitelist to centrifuge, only allowing vials. * Better Tag Name * review --------- Co-authored-by: metalgearsloth --- .../Entities/Objects/Specific/chemistry-vials.yml | 1 + .../Structures/Machines/Medical/chemistry_machines.yml | 6 ++++++ Resources/Prototypes/tags.yml | 5 ++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/Entities/Objects/Specific/chemistry-vials.yml b/Resources/Prototypes/Entities/Objects/Specific/chemistry-vials.yml index 5a34eabb36..93881af7f9 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/chemistry-vials.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/chemistry-vials.yml @@ -9,6 +9,7 @@ - type: Tag tags: - Trash + - CentrifugeCompatible - type: PhysicalComposition materialComposition: Glass: 25 diff --git a/Resources/Prototypes/Entities/Structures/Machines/Medical/chemistry_machines.yml b/Resources/Prototypes/Entities/Structures/Machines/Medical/chemistry_machines.yml index 6a46064ac4..e2c210e7e6 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/Medical/chemistry_machines.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/Medical/chemistry_machines.yml @@ -115,5 +115,11 @@ enum.PowerDeviceVisualLayers.Powered: True: { visible: True } False: { visible: False } + - type: ItemSlots + slots: + mixer: + whitelist: + tags: + - CentrifugeCompatible - type: Machine board: CentrifugeMachineCircuitboard diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml index fd73e8adfc..c90c117bbf 100644 --- a/Resources/Prototypes/tags.yml +++ b/Resources/Prototypes/tags.yml @@ -225,7 +225,7 @@ - type: Tag id: BypassInteractionRangeChecks - + - type: Tag id: CableCoil @@ -293,6 +293,9 @@ - type: Tag id: Catwalk +- type: Tag + id: CentrifugeCompatible + - type: Tag id: Chicken -- 2.51.2