From: Trevor Day Date: Sat, 6 Jan 2024 09:22:35 +0000 (-0800) Subject: Add whitelist to centrifuge, only allowing vials. (#23538) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=57f245e789a262a18f6594290a60842961c808cd;p=space-station-14.git Add whitelist to centrifuge, only allowing vials. (#23538) * Add whitelist to centrifuge, only allowing vials. * Better Tag Name * review --------- Co-authored-by: metalgearsloth --- 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