Hotplate overhaul (#17586)
* Hotplate overhaul - Beakers are now placed on top of the hotplate instead of itemslot. - Hotplate LED now only lights up if it's heating something. - More comments/xmldoc. - Some other minor tweaks. * Actually remove the beaker slot
This commit is contained in:
@@ -15,7 +15,10 @@
|
||||
mask:
|
||||
- TabletopMachineMask
|
||||
layer:
|
||||
- TabletopMachineLayer
|
||||
- Impassable
|
||||
- MidImpassable
|
||||
- LowImpassable
|
||||
hard: false
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/hotplate.rsi
|
||||
drawdepth: SmallObjects
|
||||
@@ -23,16 +26,10 @@
|
||||
layers:
|
||||
- state: icon
|
||||
- state: on
|
||||
map: ["enum.PowerDeviceVisualLayers.Powered"]
|
||||
map: ["enum.SolutionHeaterVisuals.IsOn"]
|
||||
shader: unshaded
|
||||
- type: ApcPowerReceiver
|
||||
powerLoad: 300
|
||||
- type: ItemSlots
|
||||
slots:
|
||||
beakerSlot:
|
||||
whitelist:
|
||||
components:
|
||||
- FitsInDispenser
|
||||
- type: ItemMapper
|
||||
sprite: Structures/Machines/hotplate.rsi
|
||||
mapLayers:
|
||||
@@ -41,17 +38,22 @@
|
||||
components:
|
||||
- FitsInDispenser
|
||||
- type: SolutionHeater
|
||||
whitelist:
|
||||
components:
|
||||
- FitsInDispenser
|
||||
- type: PlaceableSurface
|
||||
placeCentered: true
|
||||
positionOffset: 0, 0.25
|
||||
- type: Machine
|
||||
board: HotplateMachineCircuitboard
|
||||
- type: Appearance
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
beakerSlot: !type:ContainerSlot
|
||||
machine_board: !type:Container
|
||||
machine_parts: !type:Container
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.PowerDeviceVisuals.Powered:
|
||||
enum.PowerDeviceVisualLayers.Powered:
|
||||
enum.SolutionHeaterVisuals.IsOn:
|
||||
enum.SolutionHeaterVisuals.IsOn:
|
||||
True: { visible: true }
|
||||
False: { visible: false }
|
||||
|
||||
Reference in New Issue
Block a user