hotplate, kitcken grille bugfixes (#34776)

* commit

* cleanup
This commit is contained in:
āda
2025-04-21 10:38:23 -05:00
committed by GitHub
parent 92a9740081
commit 4acb92791a
2 changed files with 14 additions and 14 deletions

View File

@@ -17,7 +17,7 @@
- type: ApcPowerReceiver
powerLoad: 0 # off by default
- type: EntityHeater
settingSound:
settingSound:
path: /Audio/Weapons/click.ogg
params:
volume: -6
@@ -29,6 +29,7 @@
- type: PlaceableSurface
- type: Machine
board: ElectricGrillMachineCircuitboard
- type: Appearance
- type: GenericVisualizer
visuals:
enum.EntityHeaterVisuals.Setting:

View File

@@ -1,31 +1,29 @@
# heats an entity or solution placed on it
- type: entity
abstract: true
parent: [ BaseMachinePowered, ConstructibleMachine ]
parent: [ BaseMachinePowered, SmallConstructibleMachine ]
id: BaseHeaterMachine
components:
- type: Transform
anchored: true
- type: ItemPlacer
- type: Fixtures
fixtures:
itemcollide:
shape:
!type:PhysShapeAabb
bounds: "-0.14,-0.05,0.15,0.25"
layer:
- HighImpassable
hard: false
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.08,-0.35,0.15,0.25"
bounds: "-0.14,-0.05,0.15,0.25"
mask:
- TabletopMachineMask
layer:
- Impassable
- MidImpassable
- LowImpassable
hard: false
- TabletopMachineLayer
- type: ApcPowerReceiver
powerLoad: 300
- type: Appearance
- type: ContainerContainer
containers:
machine_board: !type:Container
machine_parts: !type:Container
- type: entity
parent: BaseHeaterMachine
@@ -53,6 +51,7 @@
positionOffset: 0, 0.25
- type: Machine
board: HotplateMachineCircuitboard
- type: Appearance
- type: GenericVisualizer
visuals:
enum.SolutionHeaterVisuals.IsOn: