diff --git a/Content.Client/Chemistry/Visualizers/SolutionContainerVisualizer.cs b/Content.Client/Chemistry/Visualizers/SolutionContainerVisualizer.cs deleted file mode 100644 index f97e1b479c..0000000000 --- a/Content.Client/Chemistry/Visualizers/SolutionContainerVisualizer.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using Content.Shared.Chemistry; -using JetBrains.Annotations; -using Robust.Client.GameObjects; -using Robust.Shared.GameObjects; -using Robust.Shared.IoC; -using Robust.Shared.Maths; -using Robust.Shared.Serialization.Manager.Attributes; - -namespace Content.Client.Chemistry.Visualizers -{ - [UsedImplicitly] - public sealed class SolutionContainerVisualizer : AppearanceVisualizer - { - [DataField("maxFillLevels")] private int _maxFillLevels = 0; - [DataField("fillBaseName")] private string? _fillBaseName = null; - [DataField("layer")] private SolutionContainerLayers _layer = SolutionContainerLayers.Fill; - [DataField("changeColor")] private bool _changeColor = true; - [DataField("emptySpriteName")] private string? _emptySpriteName = null; - [DataField("emptySpriteColor")] private Color _emptySpriteColor = Color.White; - - public override void OnChangeData(AppearanceComponent component) - { - base.OnChangeData(component); - - if (!component.TryGetData(SolutionContainerVisuals.VisualState, - out SolutionContainerVisualState state)) return; - - var entities = IoCManager.Resolve(); - if (!entities.TryGetComponent(component.Owner, out ISpriteComponent? sprite)) return; - if (!sprite.LayerMapTryGet(_layer, out var fillLayer)) return; - - var fillPercent = state.FilledVolumePercent; - var closestFillSprite = (int) Math.Round(fillPercent * _maxFillLevels); - - if (closestFillSprite > 0) - { - if (_fillBaseName == null) return; - - sprite.LayerSetVisible(fillLayer, true); - - var stateName = _fillBaseName + closestFillSprite; - sprite.LayerSetState(fillLayer, stateName); - - if (_changeColor) - sprite.LayerSetColor(fillLayer, state.Color); - } - else - { - if (_emptySpriteName == null) - sprite.LayerSetVisible(fillLayer, false); - else - { - sprite.LayerSetState(fillLayer, _emptySpriteName); - if (_changeColor) - sprite.LayerSetColor(fillLayer, _emptySpriteColor); - } - } - } - } -} diff --git a/Content.Client/Chemistry/Visualizers/SolutionContainerVisualsComponent.cs b/Content.Client/Chemistry/Visualizers/SolutionContainerVisualsComponent.cs new file mode 100644 index 0000000000..d0301e3dea --- /dev/null +++ b/Content.Client/Chemistry/Visualizers/SolutionContainerVisualsComponent.cs @@ -0,0 +1,28 @@ +using System; +using Content.Shared.Chemistry; +using JetBrains.Annotations; +using Robust.Client.GameObjects; +using Robust.Shared.GameObjects; +using Robust.Shared.IoC; +using Robust.Shared.Maths; +using Robust.Shared.Serialization.Manager.Attributes; + +namespace Content.Client.Chemistry.Visualizers +{ + [RegisterComponent] + public sealed class SolutionContainerVisualsComponent : Component + { + [DataField("maxFillLevels")] + public int MaxFillLevels = 0; + [DataField("fillBaseName")] + public string? FillBaseName = null; + [DataField("layer")] + public SolutionContainerLayers Layer = SolutionContainerLayers.Fill; + [DataField("changeColor")] + public bool ChangeColor = true; + [DataField("emptySpriteName")] + public string? EmptySpriteName = null; + [DataField("emptySpriteColor")] + public Color EmptySpriteColor = Color.White; + } +} diff --git a/Content.Client/Chemistry/Visualizers/SolutionContainerVisualsSystem.cs b/Content.Client/Chemistry/Visualizers/SolutionContainerVisualsSystem.cs new file mode 100644 index 0000000000..0e1bd57be1 --- /dev/null +++ b/Content.Client/Chemistry/Visualizers/SolutionContainerVisualsSystem.cs @@ -0,0 +1,47 @@ +using Content.Shared.Chemistry; +using Robust.Client.GameObjects; + +namespace Content.Client.Chemistry.Visualizers; + +public sealed class SolutionContainerVisualsSystem : VisualizerSystem +{ + protected override void OnAppearanceChange(EntityUid uid, SolutionContainerVisualsComponent component, ref AppearanceChangeEvent args) + { + if (!args.Component.TryGetData(SolutionContainerVisuals.VisualState, out SolutionContainerVisualState state)) + return; + + if (args.Sprite == null) + return; + + if (!args.Sprite.LayerMapTryGet(component.Layer, out var fillLayer)) + return; + + var fillPercent = state.FilledVolumePercent; + var closestFillSprite = (int) Math.Round(fillPercent * component.MaxFillLevels); + + if (closestFillSprite > 0) + { + if (component.FillBaseName == null) + return; + + args.Sprite.LayerSetVisible(fillLayer, true); + + var stateName = component.FillBaseName + closestFillSprite; + args.Sprite.LayerSetState(fillLayer, stateName); + + if (component.ChangeColor) + args.Sprite.LayerSetColor(fillLayer, state.Color); + } + else + { + if (component.EmptySpriteName == null) + args.Sprite.LayerSetVisible(fillLayer, false); + else + { + args.Sprite.LayerSetState(fillLayer, component.EmptySpriteName); + if (component.ChangeColor) + args.Sprite.LayerSetColor(fillLayer, component.EmptySpriteColor); + } + } + } +} diff --git a/Content.Server/Entry/IgnoredComponents.cs b/Content.Server/Entry/IgnoredComponents.cs index 049f538fe2..e9238f295c 100644 --- a/Content.Server/Entry/IgnoredComponents.cs +++ b/Content.Server/Entry/IgnoredComponents.cs @@ -26,6 +26,7 @@ namespace Content.Server.Entry "HandheldGPS", "SpentAmmoVisuals", "MagazineVisuals", + "SolutionContainerVisuals", "PowerCellVisuals", "ToggleableLightVisuals", "CableVisualizer", diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_solutioncontainerexample.yml b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_solutioncontainerexample.yml index edc46d5860..3ed87fcf4d 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_solutioncontainerexample.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Drinks/drinks_solutioncontainerexample.yml @@ -25,10 +25,9 @@ # REMEMBER IF YOU'RE SPAWNING WITH LIQUID ALREADY IN IT YOU WANT THIS TRUE visible: true - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 6 - fillBaseName: fill- + - type: SolutionContainerVisuals + maxFillLevels: 6 + fillBaseName: fill- # Without (For food, non cut-out stuff) @@ -53,9 +52,8 @@ map: ["enum.SolutionContainerLayers.Fill"] visible: true - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 6 - fillBaseName: icon- - changeColor: false - emptySpriteName: icon + - type: SolutionContainerVisuals + maxFillLevels: 6 + fillBaseName: icon- + changeColor: false + emptySpriteName: icon diff --git a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/condiments.yml b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/condiments.yml index 33ec7899bc..100c6a0a2c 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/condiments.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/Food/Containers/condiments.yml @@ -58,10 +58,9 @@ - type: Icon state: packet-astrotame - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-trans- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-trans- - type: entity parent: FoodCondimentPacket @@ -85,10 +84,9 @@ - type: Icon state: packet-bbq - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-trans- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-trans- - type: entity parent: FoodCondimentPacket @@ -112,10 +110,9 @@ - type: Icon state: packet-cornoil - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-trans- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-trans- - type: entity parent: FoodCondimentPacket @@ -139,10 +136,9 @@ - type: Icon state: packet-frostoil - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-trans- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-trans- - type: entity parent: FoodCondimentPacket @@ -166,10 +162,9 @@ - type: Icon state: packet-greygoo - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-solid- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-solid- - type: entity parent: FoodCondimentPacket @@ -193,10 +188,9 @@ - type: Icon state: packet-hotsauce - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-trans- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-trans- - type: entity parent: FoodCondimentPacket @@ -219,10 +213,9 @@ - type: Icon state: packet-ketchup - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-solid- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-solid- - type: entity parent: FoodCondimentPacket @@ -245,10 +238,9 @@ - type: Icon state: packet-pepper - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-solid- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-solid- - type: entity parent: FoodCondimentPacket @@ -273,10 +265,9 @@ - type: Icon state: packet-salt - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-solid- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-solid- - type: entity parent: FoodCondimentPacket @@ -299,10 +290,9 @@ - type: Icon state: packet-soysauce - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-solid- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-solid- - type: entity parent: FoodCondimentPacket @@ -325,10 +315,9 @@ - type: Icon state: packet-sugar - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 2 - fillBaseName: packet-solid- + - type: SolutionContainerVisuals + maxFillLevels: 2 + fillBaseName: packet-solid- # Bottles @@ -355,10 +344,9 @@ sprite: Objects/Consumable/Food/condiments.rsi state: bottle-empty - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 6 - fillBaseName: bottle-alpha- + - type: SolutionContainerVisuals + maxFillLevels: 6 + fillBaseName: bottle-alpha- - type: TrashOnEmpty solution: food @@ -501,10 +489,9 @@ sprite: Objects/Consumable/Food/condiments.rsi state: bottle-s-empty - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 3 - fillBaseName: bottle-s-alpha- + - type: SolutionContainerVisuals + maxFillLevels: 3 + fillBaseName: bottle-s-alpha- - type: TrashOnEmpty solution: food diff --git a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml index 5c079f682a..7971baa74d 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Janitorial/janitor.yml @@ -32,7 +32,9 @@ sprite: Objects/Specific/Janitorial/janitorial.rsi layers: - state: mopbucket - - state: mopbucket_water + - state: mopbucket_water-1 + map: ["enum.SolutionContainerLayers.Fill"] + visible: false drawdepth: Objects - type: InteractionOutline - type: SolutionContainerManager @@ -47,6 +49,8 @@ solution: bucket - type: RefillableSolution solution: bucket + - type: ExaminableSolution + solution: bucket - type: Tag tags: - Wringer @@ -67,6 +71,10 @@ - type: Pullable - type: Drink isOpen: true + - type: Appearance + - type: SolutionContainerVisuals + maxFillLevels: 3 + fillBaseName: mopbucket_water- - type: entity name: wet floor sign @@ -96,8 +104,9 @@ sprite: Objects/Specific/Janitorial/janitorial_cart.rsi layers: - state: cart - - state: cart_water_1 + - state: cart_water-1 map: ["enum.SolutionContainerLayers.Fill"] + visible: false - type: Rotatable - type: InteractionOutline - type: Storage @@ -202,10 +211,9 @@ visuals: - type: MappedItemVisualizer sprite: Objects/Specific/Janitorial/janitorial_cart.rsi - - type: SolutionContainerVisualizer - maxFillLevels: 3 - fillBaseName: cart_water_ - changeColor: false + - type: SolutionContainerVisuals + maxFillLevels: 3 + fillBaseName: cart_water- - type: UserInterface interfaces: - key: enum.StorageUiKey.Key diff --git a/Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml b/Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml index 691b01edd2..212a0d981e 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Medical/hypospray.yml @@ -67,11 +67,10 @@ solutionName: pen transferAmount: 15 - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 1 - changeColor: false - emptySpriteName: medipen_empty + - type: SolutionContainerVisuals + maxFillLevels: 1 + changeColor: false + emptySpriteName: medipen_empty - type: Tag tags: - Trash @@ -126,11 +125,10 @@ - state: hypovolemic map: [ "enum.SolutionContainerLayers.Fill" ] - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 1 - changeColor: false - emptySpriteName: hypovolemic_empty + - type: SolutionContainerVisuals + maxFillLevels: 1 + changeColor: false + emptySpriteName: hypovolemic_empty - type: Hypospray solutionName: pen transferAmount: 30 diff --git a/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml b/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml index 7933ab2d8c..4cb5d83493 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml @@ -56,10 +56,9 @@ map: ["enum.SolutionContainerLayers.Fill"] visible: false - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 6 - fillBaseName: bottle-1- + - type: SolutionContainerVisuals + maxFillLevels: 6 + fillBaseName: bottle-1- - type: entity name: bottle @@ -74,10 +73,9 @@ map: ["enum.SolutionContainerLayers.Fill"] visible: false - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 6 - fillBaseName: bottle-2- + - type: SolutionContainerVisuals + maxFillLevels: 6 + fillBaseName: bottle-2- - type: entity name: bottle @@ -92,10 +90,9 @@ map: ["enum.SolutionContainerLayers.Fill"] visible: false - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 6 - fillBaseName: bottle-3- + - type: SolutionContainerVisuals + maxFillLevels: 6 + fillBaseName: bottle-3- - type: entity name: bottle @@ -110,10 +107,9 @@ map: ["enum.SolutionContainerLayers.Fill"] visible: false - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 6 - fillBaseName: bottle-4- + - type: SolutionContainerVisuals + maxFillLevels: 6 + fillBaseName: bottle-4- - type: entity id: EpinephrineChemistryBottle diff --git a/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml b/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml index 5f9a07e2a1..06b5589000 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/chemistry.yml @@ -41,10 +41,9 @@ - type: Drink isOpen: true - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 6 - fillBaseName: beaker + - type: SolutionContainerVisuals + maxFillLevels: 6 + fillBaseName: beaker - type: Damageable damageContainer: Inorganic damageModifierSet: Glass @@ -111,10 +110,9 @@ beaker: maxVol: 100 - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 6 - fillBaseName: beakerlarge + - type: SolutionContainerVisuals + maxFillLevels: 6 + fillBaseName: beakerlarge - type: entity name: cryostasis beaker @@ -204,10 +202,9 @@ - type: Item sprite: Objects/Specific/Chemistry/dropper.rsi - type: Appearance - visuals: - - type: SolutionContainerVisualizer - maxFillLevels: 1 - fillBaseName: dropper + - type: SolutionContainerVisuals + maxFillLevels: 1 + fillBaseName: dropper - type: entity name: syringe @@ -238,18 +235,9 @@ - type: TrashOnEmpty solution: injector - type: Appearance - visuals: - # this visualizer used for reagent inside - - type: SolutionContainerVisualizer - maxFillLevels: 4 - fillBaseName: syringe - # this one for syrigine itself (plunger) - - type: SolutionContainerVisualizer - maxFillLevels: 4 - fillBaseName: syringe_base - emptySpriteName: syringe_base0 - layer: Base - changeColor: false + - type: SolutionContainerVisuals + maxFillLevels: 4 + fillBaseName: syringe - type: entity name: pill diff --git a/Resources/Prototypes/Entities/Objects/Tools/bucket.yml b/Resources/Prototypes/Entities/Objects/Tools/bucket.yml index c98529e461..81c8d06b05 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/bucket.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/bucket.yml @@ -10,7 +10,11 @@ - type: Sprite netsync: false sprite: Objects/Tools/bucket.rsi - state: icon + layers: + - state: icon + - map: ["enum.SolutionContainerLayers.Fill"] + state: fill-1 + visible: false - type: Item size: 100 - type: Clothing @@ -38,3 +42,9 @@ solution: bucket - type: DrainableSolution solution: bucket + - type: Appearance + - type: SolutionContainerVisuals + maxFillLevels: 3 + fillBaseName: fill- + - type: ExaminableSolution + solution: bucket diff --git a/Resources/Prototypes/Reagents/Consumable/Drink/drinks.yml b/Resources/Prototypes/Reagents/Consumable/Drink/drinks.yml index 9415d67a75..78b5d5d9be 100644 --- a/Resources/Prototypes/Reagents/Consumable/Drink/drinks.yml +++ b/Resources/Prototypes/Reagents/Consumable/Drink/drinks.yml @@ -240,7 +240,7 @@ parent: BaseDrink desc: reagent-desc-water physicalDesc: reagent-physical-desc-translucent - color: "#c0e0ff20" + color: "#75b1f0" boilingPoint: 100.0 meltingPoint: 0.0 metabolisms: diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/meta.json b/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/meta.json index a52e53539a..138f9c25c7 100644 --- a/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/meta.json +++ b/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/meta.json @@ -14,7 +14,13 @@ "name": "mopbucket" }, { - "name": "mopbucket_water" + "name": "mopbucket_water-1" + }, + { + "name": "mopbucket_water-2" + }, + { + "name": "mopbucket_water-3" }, { "name": "inhand-left", diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water-1.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water-1.png new file mode 100644 index 0000000000..9cef7cdf97 Binary files /dev/null and b/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water-1.png differ diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water-2.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water-2.png new file mode 100644 index 0000000000..aa307200d6 Binary files /dev/null and b/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water-2.png differ diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water-3.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water-3.png new file mode 100644 index 0000000000..5d98ef2f04 Binary files /dev/null and b/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water-3.png differ diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water.png deleted file mode 100644 index 9fae1353e1..0000000000 Binary files a/Resources/Textures/Objects/Specific/Janitorial/janitorial.rsi/mopbucket_water.png and /dev/null differ diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water-1.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water-1.png new file mode 100644 index 0000000000..9250bb6fed Binary files /dev/null and b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water-1.png differ diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water-2.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water-2.png new file mode 100644 index 0000000000..6c5a601798 Binary files /dev/null and b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water-2.png differ diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water-3.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water-3.png new file mode 100644 index 0000000000..f7830945c8 Binary files /dev/null and b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water-3.png differ diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water_1.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water_1.png deleted file mode 100644 index 371b6ccfb5..0000000000 Binary files a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water_1.png and /dev/null differ diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water_2.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water_2.png deleted file mode 100644 index 153808e017..0000000000 Binary files a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water_2.png and /dev/null differ diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water_3.png b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water_3.png deleted file mode 100644 index 20298c57b0..0000000000 Binary files a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/cart_water_3.png and /dev/null differ diff --git a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/meta.json b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/meta.json index 5d2fd5515d..b0413325bd 100644 --- a/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/meta.json +++ b/Resources/Textures/Objects/Specific/Janitorial/janitorial_cart.rsi/meta.json @@ -44,7 +44,7 @@ "directions": 4 }, { - "name": "cart_water_1", + "name": "cart_water-1", "directions": 4, "delays": [ [ @@ -70,7 +70,7 @@ ] }, { - "name": "cart_water_2", + "name": "cart_water-2", "directions": 4, "delays": [ [ @@ -96,7 +96,7 @@ ] }, { - "name": "cart_water_3", + "name": "cart_water-3", "directions": 4, "delays": [ [ diff --git a/Resources/Textures/Objects/Tools/bucket.rsi/fill-1.png b/Resources/Textures/Objects/Tools/bucket.rsi/fill-1.png new file mode 100644 index 0000000000..f5067a9a9b Binary files /dev/null and b/Resources/Textures/Objects/Tools/bucket.rsi/fill-1.png differ diff --git a/Resources/Textures/Objects/Tools/bucket.rsi/fill-2.png b/Resources/Textures/Objects/Tools/bucket.rsi/fill-2.png new file mode 100644 index 0000000000..1be4b4d75d Binary files /dev/null and b/Resources/Textures/Objects/Tools/bucket.rsi/fill-2.png differ diff --git a/Resources/Textures/Objects/Tools/bucket.rsi/fill-3.png b/Resources/Textures/Objects/Tools/bucket.rsi/fill-3.png new file mode 100644 index 0000000000..6c597a01e6 Binary files /dev/null and b/Resources/Textures/Objects/Tools/bucket.rsi/fill-3.png differ diff --git a/Resources/Textures/Objects/Tools/bucket.rsi/meta.json b/Resources/Textures/Objects/Tools/bucket.rsi/meta.json index a8847188b7..0f89430388 100644 --- a/Resources/Textures/Objects/Tools/bucket.rsi/meta.json +++ b/Resources/Textures/Objects/Tools/bucket.rsi/meta.json @@ -10,6 +10,15 @@ { "name": "icon" }, + { + "name": "fill-1" + }, + { + "name": "fill-2" + }, + { + "name": "fill-3" + }, { "name": "equipped-HELMET", "directions": 4