]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
[Tweak] Janibucket buffs (#15422)
authorEnDecc <33369477+Endecc@users.noreply.github.com>
Sat, 15 Apr 2023 22:46:00 +0000 (18:46 -0400)
committerGitHub <noreply@github.com>
Sat, 15 Apr 2023 22:46:00 +0000 (16:46 -0600)
* Improves Janitor trolley significantly by adding bucket slot with sprite overlay, and 300 extra water capacity. Improves Janitor bucket slightly by adding 100 extra water capacity.

* Reduces janitor trolley density by 100 to it's pull a bit faster

Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml
Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_bucket.png [new file with mode: 0644]
Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/meta.json

index a26852684f149e5cb7eb197710dbf7a4dc6a99b2..9a4c09a6840a0f20f63174ec9edfbdef5a3c893d 100644 (file)
@@ -85,7 +85,7 @@
   - type: SolutionContainerManager
     solutions:
       bucket:
-        maxVol: 500
+        maxVol: 600
   - type: Spillable
     spillDelay: 3.0
   - type: DrainableSolution
     - type: SolutionContainerManager
       solutions:
         bucket:
-          maxVol: 500
+          maxVol: 600
           reagents:
             - ReagentId: Water
-              Quantity: 500
+              Quantity: 600
 
 - type: entity
   name: wet floor sign
         tags:
           - Mop
           - TrashBag
+          - Bucket
     - type: ItemSlots
       slots:
         mop_slot:
             tags:
               - Mop
           insertOnInteract: false # or it conflicts with bucket logic
+          priority: 5 # Higher than bucket slot
+        bucket_slot:
+          name: Bucket
+          whitelist:
+            tags:
+              - Bucket
+          insertOnInteract: false # or it also conflicts with bucket logic
           priority: 4 # Higher than trash bag slot
         trashbag_slot:
           name: Bag
       - shape:
           !type:PhysShapeCircle
           radius: 0.3
-        density: 350
+        density: 250
         layer:
         - MobLayer
         mask:
     - type: SolutionContainerManager
       solutions:
         bucket:
-          maxVol: 500
+          maxVol: 800
           reagents:
             - ReagentId: Water
-              Quantity: 250 # half-full at roundstart to leave room for puddles
+              Quantity: 600 # 3 quarters full at roundstart to make it more appealing
     - type: DrainableSolution
       solution: bucket
     - type: RefillableSolution
                 path: /Audio/Effects/metalbreak.ogg
     - type: ItemMapper
       mapLayers:
-        cart_mop:
-          whitelist:
-            tags:
-              - Mop
-        cart_garbage:
-          whitelist:
-            tags:
-              - TrashBag
-        cart_replacer:
-          whitelist:
-            components:
-              - LightReplacer
-        cart_spray:
-          whitelist:
-            tags:
-              - Spray
         cart_sign1: # this is like stack of floor signs
           minCount: 1
           whitelist:
           whitelist:
             tags:
               - WetFloorSign
+        cart_spray:
+          whitelist:
+            tags:
+              - Spray
+        cart_garbage:
+          whitelist:
+            tags:
+              - TrashBag
+        cart_replacer:
+          whitelist:
+            components:
+              - LightReplacer
+        cart_bucket:
+          whitelist:
+            tags:
+              - Bucket
+        cart_mop:
+          whitelist:
+            tags:
+              - Mop
       sprite: Objects/Specific/Janitorial/janitorial_cart.rsi
     - type: Appearance
     - type: SolutionContainerVisuals
           ents: []
         mop_slot: !type:ContainerSlot {}
         trashbag_slot: !type:ContainerSlot {}
+        bucket_slot: !type:ContainerSlot {}
 
 - type: entity
   id: FloorDrain
diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_bucket.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_bucket.png
new file mode 100644 (file)
index 0000000..3c05550
Binary files /dev/null and b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_bucket.png differ
index b0413325bd56b192ebe89c8dc1b2697b1a79394b..846a3157a544f0e8c1451d582f7820eb2f72c069 100644 (file)
             "name": "cart_mop",
             "directions": 4
         },
+        {
+            "name": "cart_bucket",
+            "directions": 4
+        },
         {
             "name": "cart_replacer",
             "directions": 4
             ]
         }
     ]
-}
\ No newline at end of file
+}