Rework the ChemMaster's output handling (#11207)
* Fix doc comment on FitsInDispenserComponent It's clearly intended to be a doc comment, but wasn't. * Allow the ChemMaster to accept canisters and bottles * Give the ChemMaster an output container slot * Tweak ChemMaster UI layout * Make more ChemMaster UI tweaks * Update ChemMaster SpinBox max handling * Rework the ChemMaster * Apply suggestions from code review Co-authored-by: Flipp Syder <76629141+vulppine@users.noreply.github.com> * Implement PR feedback * Switch ChemMaster to a tabbed UI layout * Rename Amount to Dosage for clarity * Replace Amount with Dosage in messages * Clarify dose in UI Co-authored-by: Flipp Syder <76629141+vulppine@users.noreply.github.com>
This commit is contained in:
@@ -18,8 +18,7 @@
|
||||
sprite: Structures/Machines/mixer.rsi
|
||||
state: mixer_loaded
|
||||
- type: ChemMaster
|
||||
pillProductionLimit: 10
|
||||
bottleProductionLimit: 10
|
||||
pillDosageLimit: 50
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
@@ -61,15 +60,21 @@
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
beakerSlot: !type:ContainerSlot
|
||||
outputSlot: !type:ContainerSlot
|
||||
machine_board: !type:Container
|
||||
machine_parts: !type:Container
|
||||
- type: ItemSlots
|
||||
slots:
|
||||
beakerSlot:
|
||||
whitelistFailPopup: chem-master-component-cannot-put-entity-message
|
||||
whitelist:
|
||||
components:
|
||||
- FitsInDispenser
|
||||
outputSlot:
|
||||
whitelistFailPopup: chem-master-component-cannot-put-entity-message
|
||||
whitelist:
|
||||
tags:
|
||||
- Bottle
|
||||
- PillCanister
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
buffer: {}
|
||||
|
||||
Reference in New Issue
Block a user