]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Janiborg Module Cleanup (#42330)
authorScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Sun, 11 Jan 2026 04:06:06 +0000 (05:06 +0100)
committerGitHub <noreply@github.com>
Sun, 11 Jan 2026 04:06:06 +0000 (04:06 +0000)
init

Content.Shared/Tools/Components/ToolComponent.cs
Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml
Resources/Prototypes/Entities/Objects/Specific/Janitorial/spray.yml
Resources/Prototypes/Entities/Objects/Specific/Robotics/borg_modules.yml

index a7210c6fa07bbd69a282cb8640574e9b7c6d0f0e..67806e3e16f340f6aabcf1a1a1f4d369f7a9a306 100644 (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;
index 9ee5bcd61a3af26f33aba21ff8395e3a732bdbf1..a4b7f604f6f208bff4aff2149a5fb003b41c9544 100644 (file)
         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
index b4e6b72446f4a9ba9332a89c2c3add8f741ebdce..5c3cd25d6e362dd15b7374afe9c9c74a1db68bb2 100644 (file)
   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
index 9e45de1c11c599a0ab0573d5addaeaed41c15d41..f8661051bc494348d4297e9ddffe43d33a267b8a 100644 (file)
   - type: ItemBorgModule
     hands:
     - item: MopItem
+    - item: WireBrush
     - item: BorgBucket
     - item: BorgSprayBottle
     - item: HoloprojectorBorg
   - type: ItemBorgModule
     hands:
     - item: AdvMopItem
+    - item: WireBrushElectrical
     - item: BorgMegaSprayBottle
     - item: HoloprojectorBorg
     - item: BorgDropper