Fix various solution capability issues (syringes, drinks) (#4687)

* Fix syringe message stating you're attempting to draw from yourself when you aren't

* Fix various missing capabilities (syringes, beakers, drinks)

* And fix mug inject/dispense/etc, too!

* Injectors can now refill things, and switch over drinks and cups thereof to be refillable rather than injectable
This commit is contained in:
20kdc
2021-10-01 11:06:50 +01:00
committed by GitHub
parent 400a6277fc
commit 9600c8e983
5 changed files with 45 additions and 19 deletions

View File

@@ -58,6 +58,18 @@
damage:
types:
Blunt: 5
- type: FitsInDispenser
solution: drink
- type: DrawableSolution
solution: drink
- type: RefillableSolution
solution: drink
- type: SolutionTransfer
canChangeTransferAmount: true
- type: UserInterface
interfaces:
- key: enum.TransferAmountUiKey.Key
type: TransferAmountBoundUserInterface
# Transformable container - normal glass
- type: entity
@@ -72,15 +84,7 @@
solutions:
drink:
maxVol: 50
- type: FitsInDispenser
solution: drink
- type: SolutionTransfer
canChangeTransferAmount: true
- type: TransformableContainer
- type: UserInterface
interfaces:
- key: enum.TransferAmountUiKey.Key
type: TransferAmountBoundUserInterface
- type: entity
parent: DrinkGlassBase

View File

@@ -9,6 +9,12 @@
solutions:
drink:
maxVol: 10
- type: FitsInDispenser
solution: drink
- type: DrawableSolution
solution: drink
- type: RefillableSolution
solution: drink
- type: SolutionTransfer
canChangeTransferAmount: true
maxTransferAmount: 10

View File

@@ -29,6 +29,10 @@
solution: beaker
- type: ExaminableSolution
solution: beaker
- type: DrawableSolution
solution: beaker
- type: InjectableSolution
solution: beaker
- type: SolutionTransfer
canChangeTransferAmount: true
- type: UserInterface