Janiborg Module Cleanup (#42330)

init
This commit is contained in:
ScarKy0 2026-01-11 05:06:06 +01:00 committed by BarryNorfolk
parent 96640650a0
commit dcf776afe4
4 changed files with 21 additions and 7 deletions

View File

@ -16,7 +16,7 @@ public sealed partial class ToolComponent : Component
/// For tool interactions that have a delay before action this will modify the rate, time to wait is divided by this value
/// </summary>
[DataField]
public float SpeedModifier = 1;
public float SpeedModifier = 1f;
[DataField]
public SoundSpecifier? UseSound;

View File

@ -378,3 +378,12 @@
Piercing: 3
soundHit:
path: "/Audio/Weapons/bladeslice.ogg"
- type: entity
parent: WireBrush
id: WireBrushElectrical
name: electrical wire brush
description: A bristly steel wire brush with a moving head, allowing for a way easier time cleaning.
components:
- type: Tool
speedModifier: 1.5

View File

@ -142,22 +142,25 @@
id: BorgMegaSprayBottle
name: adv. internal spray jet
suffix: Filled
description: An upgraded version of the integrated spray bottle, installed directly into a custodial cyborg. Typically filled with space cleaner for dealing with those nasty spills.
description: An upgraded version of the integrated spray bottle, installed directly into a custodial cyborg. This one is capable of creating space cleaner from moisture in the air.
components:
- type: SolutionContainerManager
solutions:
spray:
maxVol: 500
maxVol: 250
reagents:
- ReagentId: SpaceCleaner
Quantity: 500
- type: SolutionRegeneration # Delta-V - Refill borg's mega spray 1 full use per 5 seconds
Quantity: 250
- type: SolutionTransfer
canSend: false # No giving away infinite space cleaner!
- type: SolutionRegeneration
solution: spray
duration: 5 # Delta-V - Refill borg's mega spray 1 full use per 5 seconds
generated:
reagents:
- ReagentId: SpaceCleaner
Quantity: 10
duration: 5
Quantity: 10 # Delta-V - Refill borg's mega spray 1 full use per 5 seconds
# Vapor
- type: entity

View File

@ -833,6 +833,7 @@
- type: ItemBorgModule
hands:
- item: MopItem
- item: WireBrush
- item: BorgBucket
- item: BorgSprayBottle
- item: HoloprojectorBorg
@ -852,6 +853,7 @@
- type: ItemBorgModule
hands:
- item: AdvMopItem
- item: WireBrushElectrical
- item: BorgMegaSprayBottle
- item: WireBrush # DeltaV
- item: HoloprojectorBorg