From: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Date: Sun, 11 Jan 2026 04:06:06 +0000 (+0100) Subject: Janiborg Module Cleanup (#42330) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=5025e0d28695f01fcb049dc61ddaded2dde72a8b;p=space-station-14.git Janiborg Module Cleanup (#42330) init --- diff --git a/Content.Shared/Tools/Components/ToolComponent.cs b/Content.Shared/Tools/Components/ToolComponent.cs index a7210c6fa0..67806e3e16 100644 --- a/Content.Shared/Tools/Components/ToolComponent.cs +++ b/Content.Shared/Tools/Components/ToolComponent.cs @@ -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 /// [DataField] - public float SpeedModifier = 1; + public float SpeedModifier = 1f; [DataField] public SoundSpecifier? UseSound; diff --git a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml index 9ee5bcd61a..a4b7f604f6 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml @@ -371,3 +371,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 diff --git a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/spray.yml b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/spray.yml index b4e6b72446..5c3cd25d6e 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/spray.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/spray.yml @@ -142,15 +142,23 @@ 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 + Quantity: 250 + - type: SolutionTransfer + canSend: false # No giving away infinite space cleaner! + - type: SolutionRegeneration + solution: spray + generated: + reagents: + - ReagentId: SpaceCleaner + Quantity: 1 # Vapor - type: entity diff --git a/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml b/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml index 9e45de1c11..f8661051bc 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml @@ -811,6 +811,7 @@ - type: ItemBorgModule hands: - item: MopItem + - item: WireBrush - item: BorgBucket - item: BorgSprayBottle - item: HoloprojectorBorg @@ -830,6 +831,7 @@ - type: ItemBorgModule hands: - item: AdvMopItem + - item: WireBrushElectrical - item: BorgMegaSprayBottle - item: HoloprojectorBorg - item: BorgDropper