Reorganizes Resources/Constructible (#4252)
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Content.Client.Atmos.Visualizers
|
||||
public class PipeConnectorVisualizer : AppearanceVisualizer, ISerializationHooks
|
||||
{
|
||||
[DataField("rsi")]
|
||||
private string _rsi = "Constructible/Atmos/pipe.rsi";
|
||||
private string _rsi = "Structures/Piping/Atmospherics/pipe.rsi";
|
||||
|
||||
[DataField("baseState")]
|
||||
private string _baseState = "pipeConnector";
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Content.Client.Botany
|
||||
sprite.LayerMapReserveBlank(PlantHolderLayers.AlertLight);
|
||||
sprite.LayerMapReserveBlank(PlantHolderLayers.HarvestLight);
|
||||
|
||||
var hydroTools = new ResourcePath("Constructible/Hydroponics/overlays.rsi");
|
||||
var hydroTools = new ResourcePath("Structures/Hydroponics/overlays.rsi");
|
||||
|
||||
sprite.LayerSetSprite(PlantHolderLayers.HealthLight,
|
||||
new SpriteSpecifier.Rsi(hydroTools, "lowhealth3"));
|
||||
|
||||
@@ -465,7 +465,7 @@ namespace Content.Client.ParticleAccelerator.UI
|
||||
{
|
||||
_menu = menu;
|
||||
_baseState = name;
|
||||
_rsi = cache.GetResource<RSIResource>($"/Textures/Constructible/Specific/Engines/PA/{name}.rsi").RSI;
|
||||
_rsi = cache.GetResource<RSIResource>($"/Textures/Structures/Power/Generation/PA/{name}.rsi").RSI;
|
||||
|
||||
AddChild(_base = new TextureRect {Texture = _rsi[$"{state}"].Frame0});
|
||||
AddChild(_unlit = new TextureRect());
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace Content.Client.Singularity.Visualizers
|
||||
return;
|
||||
}
|
||||
|
||||
sprite.LayerSetRSI(Layer, "Constructible/Power/Singularity/singularity_" + level + ".rsi");
|
||||
sprite.LayerSetRSI(Layer, "Structures/Power/Generation/Singularity/singularity_" + level + ".rsi");
|
||||
sprite.LayerSetState(Layer, "singularity_" + level);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace Content.Client.Window
|
||||
if (_sprite != null)
|
||||
{
|
||||
var state0 = $"{_stateBase}0";
|
||||
const string cracksRSIPath = "/Textures/Constructible/Structures/Windows/cracks.rsi";
|
||||
const string cracksRSIPath = "/Textures/Structures/Windows/cracks.rsi";
|
||||
_sprite.LayerMapSet(CornerLayers.SE, _sprite.AddLayerState(state0));
|
||||
_sprite.LayerSetDirOffset(CornerLayers.SE, SpriteComponent.DirectionOffset.None);
|
||||
_sprite.LayerMapSet(WindowDamageLayers.DamageSE, _sprite.AddLayerState("0_1", cracksRSIPath));
|
||||
|
||||
Reference in New Issue
Block a user