Cleans up Hydroponics content. (#3025)

* Adds to IgnoredComponents.cs

* Jackboots

* Half Done

* Moved to diff PR

* Everything functional

* Fixed Sprays

* Nice

* Fixed

* Update submodule

* Fix tests

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
Swept
2021-02-17 12:59:15 +00:00
committed by GitHub
parent 48eea211bc
commit 83f102ea75
102 changed files with 545 additions and 178 deletions

View File

@@ -1,4 +1,4 @@
using Content.Shared.GameObjects.Components.Botany;
using Content.Shared.GameObjects.Components.Botany;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Shared.GameObjects;
@@ -22,18 +22,18 @@ namespace Content.Client.GameObjects.Components.Botany
sprite.LayerMapReserveBlank(PlantHolderLayers.AlertLight);
sprite.LayerMapReserveBlank(PlantHolderLayers.HarvestLight);
var hydroTools = new ResourcePath("Constructible/Hydroponics/hydro_tools.rsi");
var hydroTools = new ResourcePath("Constructible/Hydroponics/overlays.rsi");
sprite.LayerSetSprite(PlantHolderLayers.HealthLight,
new SpriteSpecifier.Rsi(hydroTools, "over_lowhealth3"));
new SpriteSpecifier.Rsi(hydroTools, "lowhealth3"));
sprite.LayerSetSprite(PlantHolderLayers.WaterLight,
new SpriteSpecifier.Rsi(hydroTools, "over_lowwater3"));
new SpriteSpecifier.Rsi(hydroTools, "lowwater3"));
sprite.LayerSetSprite(PlantHolderLayers.NutritionLight,
new SpriteSpecifier.Rsi(hydroTools, "over_lownutri3"));
new SpriteSpecifier.Rsi(hydroTools, "lownutri3"));
sprite.LayerSetSprite(PlantHolderLayers.AlertLight,
new SpriteSpecifier.Rsi(hydroTools, "over_alert3"));
new SpriteSpecifier.Rsi(hydroTools, "alert3"));
sprite.LayerSetSprite(PlantHolderLayers.HarvestLight,
new SpriteSpecifier.Rsi(hydroTools, "over_harvest3"));
new SpriteSpecifier.Rsi(hydroTools, "harvest3"));
// Let's make those invisible for now.
sprite.LayerSetVisible(PlantHolderLayers.Plant, false);