Goodbye Microwave, Hello Hot Plates! (#13061)

* hot plates

* sprite fix AND i spelled it wrong AND forgot upgrade examine

* fix license

* IGameTiming is shit like yo mamma

* active comp
This commit is contained in:
Nemanja
2022-12-24 20:59:51 -05:00
committed by GitHub
parent 5eadce16ec
commit 6d97764e9d
13 changed files with 174 additions and 0 deletions

View File

@@ -0,0 +1 @@
solution-heater-upgrade-heat = Heat strength

View File

@@ -103,6 +103,7 @@
- Dropper
- Syringe
- ReagentGrinderMachineCircuitboard
- HotplateMachineCircuitboard
- PillCanister
- ChemistryEmptyBottle01
- ChemicalPayload

View File

@@ -507,6 +507,19 @@
DefaultPrototype: Beaker
ExamineName: Glass Beaker
- type: entity
id: HotplateMachineCircuitboard
parent: BaseMachineCircuitboard
name: hotplate machine board
description: A machine printed circuit board for a hotplate
components:
- type: MachineBoard
prototype: ChemistryHotplate
requirements:
Laser: 2
materialRequirements:
Steel: 2
- type: entity
id: StasisBedMachineCircuitboard
parent: BaseMachineCircuitboard

View File

@@ -0,0 +1,57 @@
- type: entity
id: ChemistryHotplate
parent: [ BaseMachinePowered, ConstructibleMachine ]
name: hotplate
description: "The descendent of the microwaves, our newest invention in beaker heating technology: the hotplate!"
components:
- type: Transform
anchored: true
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.08,-0.35,0.15,0.25"
mask:
- TabletopMachineMask
layer:
- TabletopMachineLayer
- type: Sprite
netsync: false
sprite: Structures/Machines/hotplate.rsi
drawdepth: SmallObjects
snapCardinals: true
layers:
- state: icon
- state: on
map: ["enum.PowerDeviceVisualLayers.Powered"]
shader: unshaded
- type: ApcPowerReceiver
powerLoad: 300
- type: ItemSlots
slots:
beakerSlot:
whitelist:
components:
- FitsInDispenser
- type: ItemMapper
sprite: Structures/Machines/hotplate.rsi
mapLayers:
beaker:
whitelist:
components:
- FitsInDispenser
- type: SolutionHeater
- 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:
True: { visible: true }
False: { visible: false }

View File

@@ -287,6 +287,7 @@
- AutolatheMachineCircuitboard
- ProtolatheMachineCircuitboard
- ReagentGrinderMachineCircuitboard
- HotplateMachineCircuitboard
- MicrowaveMachineCircuitboard
- UniformPrinterMachineCircuitboard
- ShuttleConsoleCircuitboard

View File

@@ -223,6 +223,15 @@
Steel: 100
Glass: 900
- type: latheRecipe
id: HotplateMachineCircuitboard
icon: { sprite: Objects/Misc/module.rsi, state: id_mod }
result: HotplateMachineCircuitboard
completetime: 4
materials:
Steel: 100
Glass: 900
- type: latheRecipe
id: AnalysisComputerCircuitboard
icon: { sprite: Objects/Misc/module.rsi, state: cpu_science }

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

View File

@@ -0,0 +1 @@
{"license": "CC0-1.0", "copyright": "Created by EmoGarbage","version": 1, "size": {"x": 32, "y": 32}, "states": [{"name": "icon"}, {"name": "beaker"}, {"name": "on"}]}

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B