Remove battery from the handheld health analyzer (#42292)

* commit

* review

* review 2

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
This commit is contained in:
āda 2026-01-08 13:25:15 -06:00 committed by BarryNorfolk
parent eb51cc6861
commit 483989e1b1
4 changed files with 15 additions and 51 deletions

View File

@ -712,3 +712,7 @@ GlowstickBase: GlowstickGreen
FigureSpawner: MechFigurineSpawner50
ToySpawner: PlushieSpawner50
SpacemenFigureSpawner: SpacemenFigurineSpawner90
# 2026-01-07
HandheldHealthAnalyzerUnpowered: HandheldHealthAnalyzer
HandheldHealthAnalyzerEmpty: HandheldHealthAnalyzer

View File

@ -1,19 +1,15 @@
- type: entity
id: HandheldHealthAnalyzerUnpowered
parent: BaseItem
id: HandheldHealthAnalyzer
name: health analyzer
suffix: Always Powered
description: A hand-held body scanner capable of distinguishing vital signs of the subject.
components:
- type: Sprite
sprite: Objects/Specific/Medical/healthanalyzer.rsi
state: icon
layers:
- state: icon
- state: analyzer
shader: unshaded
visible: true
map: [ "enum.PowerDeviceVisualLayers.Powered" ]
- state: icon
- state: analyzer
shader: unshaded
- type: Item
heldPrefix: analyzer
storedRotation: -90
@ -31,43 +27,7 @@
path: "/Audio/Items/Medical/healthscanner.ogg"
- type: Tag
tags:
- DiscreteHealthAnalyzer
- type: Appearance
- type: GenericVisualizer
visuals:
enum.BatteryVisuals.State:
enum.PowerDeviceVisualLayers.Powered:
Full: { visible: true }
Neither: { visible: true }
Empty: { visible: false }
- DiscreteHealthAnalyzer
- type: GuideHelp
guides:
- MedicalDoctor
- type: entity
id: HandheldHealthAnalyzer
parent: [ HandheldHealthAnalyzerUnpowered, PowerCellSlotSmallItem]
suffix: ""
components:
- type: BatteryVisuals
- type: PowerCellDraw
drawRate: 1.2 #Calculated for 5 minutes on a small cell
- type: ToggleCellDraw
- type: ActivatableUIRequiresPowerCell
- type: entity
id: HandheldHealthAnalyzerEmpty
parent: HandheldHealthAnalyzer
suffix: Empty
components:
- type: ItemSlots
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default
- type: Sprite
layers:
- state: icon
- state: analyzer
shader: unshaded
visible: false
map: [ "enum.PowerDeviceVisualLayers.Powered" ]

View File

@ -879,7 +879,7 @@
- state: icon-diagnosis
- type: ItemBorgModule
hands:
- item: HandheldHealthAnalyzerUnpowered
- item: HandheldHealthAnalyzer
- item: ClothingNeckStethoscope
- type: BorgModuleIcon
icon: { sprite: Interface/Actions/actions_borg.rsi, state: diagnosis-module }
@ -895,7 +895,7 @@
- state: icon-treatment
- type: ItemBorgModule
hands:
- item: HandheldHealthAnalyzerUnpowered
- item: HandheldHealthAnalyzer
- item: Gauze
hand:
emptyLabel: borg-slot-topicals-empty
@ -938,7 +938,7 @@
- state: icon-defib
- type: ItemBorgModule
hands:
- item: HandheldHealthAnalyzerUnpowered
- item: HandheldHealthAnalyzer
- item: DefibrillatorOneHandedUnpowered
- item: HandheldCrewMonitorUnpowered # DeltaV
- item: Crowbar
@ -959,7 +959,7 @@
- state: icon-chem
- type: ItemBorgModule
hands:
- item: HandheldHealthAnalyzerUnpowered
- item: HandheldHealthAnalyzer
- item: JetInjector # DeltaV
- item: Syringe
- item: BorgDropper
@ -1025,7 +1025,7 @@
- state: icon-chemist
- type: ItemBorgModule
hands:
- item: HandheldHealthAnalyzerUnpowered
- item: HandheldHealthAnalyzer
- item: BorgHypo
- item: Syringe
- item: BorgDropper

View File

@ -74,7 +74,7 @@
- type: latheRecipe
id: HandheldHealthAnalyzer
result: HandheldHealthAnalyzerEmpty
result: HandheldHealthAnalyzer
categories:
- Tools
completetime: 4