]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add whitelist to centrifuge, only allowing vials. (#23538)
authorTrevor Day <tday93@users.noreply.github.com>
Sat, 6 Jan 2024 09:22:35 +0000 (01:22 -0800)
committerGitHub <noreply@github.com>
Sat, 6 Jan 2024 09:22:35 +0000 (20:22 +1100)
* Add whitelist to centrifuge, only allowing vials.

* Better Tag Name

* review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Resources/Prototypes/Entities/Objects/Specific/chemistry-vials.yml
Resources/Prototypes/Entities/Structures/Machines/Medical/chemistry_machines.yml
Resources/Prototypes/tags.yml

index 5a34eabb362bd3170668be8f9053358510e4c588..93881af7f96253575fe153a57aac20e5079f34b6 100644 (file)
@@ -9,6 +9,7 @@
   - type: Tag
     tags:
     - Trash
+    - CentrifugeCompatible
   - type: PhysicalComposition
     materialComposition:
       Glass: 25
index 6a46064ac447dea1c79985f7a02012cc051bf210..e2c210e7e6bed4d0d0f9757cdcb6cf0434f4ea1e 100644 (file)
         enum.PowerDeviceVisualLayers.Powered:
           True: { visible: True }
           False: { visible: False }
+  - type: ItemSlots
+    slots:
+      mixer:
+        whitelist:
+          tags:
+            - CentrifugeCompatible
   - type: Machine
     board: CentrifugeMachineCircuitboard
index fd73e8adfcc6ad098cc3c4fb62fcabd7736144e0..c90c117bbfd66451761c4ae7e0f012ae7949711e 100644 (file)
 
 - type: Tag
   id: BypassInteractionRangeChecks
-  
+
 - type: Tag
   id: CableCoil
 
 - type: Tag
   id: Catwalk
 
+- type: Tag
+  id: CentrifugeCompatible
+
 - type: Tag
   id: Chicken