diff --git a/Content.Client/_CorvaxNext/Footprints/FootprintsVisualizerSystem.cs b/Content.Client/_CorvaxNext/Footprints/FootprintsVisualizerSystem.cs new file mode 100644 index 00000000000..2eed78b04ae --- /dev/null +++ b/Content.Client/_CorvaxNext/Footprints/FootprintsVisualizerSystem.cs @@ -0,0 +1,75 @@ +using Content.Shared._CorvaxNext.Footprints; +using Content.Shared._CorvaxNext.Footprints.Components; +using Robust.Client.GameObjects; +using Robust.Shared.Random; + +namespace Content.Client._CorvaxNext.Footprints; + +public sealed class FootprintsVisualizerSystem : VisualizerSystem +{ + [Dependency] private readonly SharedAppearanceSystem _appearance = default!; + [Dependency] private readonly IRobustRandom _random = default!; + + public override void Initialize() + { + base.Initialize(); + + SubscribeLocalEvent(OnInitialized); + SubscribeLocalEvent(OnShutdown); + } + + private void OnInitialized(EntityUid uid, FootprintComponent comp, ComponentInit args) + { + if (!TryComp(uid, out var sprite)) + return; + + sprite.LayerMapReserveBlank(FootprintVisualLayers.Print); + UpdateAppearance(uid, comp, sprite); + } + + private void OnShutdown(EntityUid uid, FootprintComponent comp, ComponentShutdown args) + { + if (!TryComp(uid, out var sprite)) + return; + + if (!sprite.LayerMapTryGet(FootprintVisualLayers.Print, out var layer)) + return; + + sprite.RemoveLayer(layer); + } + + private void UpdateAppearance(EntityUid uid, FootprintComponent component, SpriteComponent sprite) + { + if (!sprite.LayerMapTryGet(FootprintVisualLayers.Print, out var layer)) + return; + + if (!TryComp(component.FootprintsVisualizer, out var printsComponent)) + return; + + if (!TryComp(uid, out var appearance)) + return; + + if (!_appearance.TryGetData(uid, FootprintVisualState.State, out var printVisuals, appearance)) + return; + + sprite.LayerSetState(layer, new(printVisuals switch + { + FootprintVisuals.BareFootprint => printsComponent.RightStep ? printsComponent.RightBarePrint : printsComponent.LeftBarePrint, + FootprintVisuals.ShoesPrint => printsComponent.ShoesPrint, + FootprintVisuals.SuitPrint => printsComponent.SuitPrint, + FootprintVisuals.Dragging => _random.Pick(printsComponent.DraggingPrint), + _ => throw new ArgumentOutOfRangeException($"Unknown {printVisuals} parameter.") + }), printsComponent.RsiPath); + + if (_appearance.TryGetData(uid, FootprintVisualState.Color, out var printColor, appearance)) + sprite.LayerSetColor(layer, printColor); + } + + protected override void OnAppearanceChange(EntityUid uid, FootprintComponent component, ref AppearanceChangeEvent args) + { + if (args.Sprite is null) + return; + + UpdateAppearance(uid, component, args.Sprite); + } +} diff --git a/Content.Server/_CorvaxNext/Footprints/EntitySystems/FootprintsSystem.cs b/Content.Server/_CorvaxNext/Footprints/EntitySystems/FootprintsSystem.cs new file mode 100644 index 00000000000..c4017351366 --- /dev/null +++ b/Content.Server/_CorvaxNext/Footprints/EntitySystems/FootprintsSystem.cs @@ -0,0 +1,125 @@ +using Content.Server.Atmos.Components; +using Content.Shared.Inventory; +using Content.Shared.Mobs; +using Content.Shared.Mobs.Components; +using Content.Shared.Chemistry.Components.SolutionManager; +using Content.Shared.Chemistry.EntitySystems; +using Robust.Shared.Map; +using Robust.Shared.Random; +using Content.Shared._CorvaxNext.Footprints; +using Content.Shared._CorvaxNext.Footprints.Components; + +namespace Content.Server._CorvaxNext.Footprints.EntitySystems; + +public sealed class FootprintsSystem : EntitySystem +{ + [Dependency] private readonly IRobustRandom _random = default!; + [Dependency] private readonly InventorySystem _inventory = default!; + [Dependency] private readonly IMapManager _map = default!; + + [Dependency] private readonly SharedSolutionContainerSystem _solution = default!; + [Dependency] private readonly SharedAppearanceSystem _appearance = default!; + [Dependency] private readonly SharedTransformSystem _transform = default!; + + private EntityQuery _transformQuery; + private EntityQuery _mobThresholdQuery; + private EntityQuery _appearanceQuery; + + public override void Initialize() + { + _transformQuery = GetEntityQuery(); + _mobThresholdQuery = GetEntityQuery(); + _appearanceQuery = GetEntityQuery(); + + SubscribeLocalEvent(OnStartupComponent); + SubscribeLocalEvent(OnMove); + } + + private void OnStartupComponent(EntityUid uid, FootprintVisualizerComponent component, ComponentStartup args) + { + component.StepSize = Math.Max(0f, component.StepSize + _random.NextFloat(-0.05f, 0.05f)); + } + + private void OnMove(EntityUid uid, FootprintVisualizerComponent component, ref MoveEvent args) + { + if (component.PrintsColor.A <= 0f) + return; + + if (!_transformQuery.TryComp(uid, out var transform)) + return; + + if (!_mobThresholdQuery.TryComp(uid, out var mobThreshHolds)) + return; + + if (!_map.TryFindGridAt(_transform.GetMapCoordinates((uid, transform)), out var gridUid, out _)) + return; + + var dragging = mobThreshHolds.CurrentThresholdState is MobState.Critical or MobState.Dead; + var distance = (transform.LocalPosition - component.StepPos).Length(); + var stepSize = dragging ? component.DragSize : component.StepSize; + + if (distance <= stepSize) + return; + + component.RightStep = !component.RightStep; + + var entity = Spawn(component.StepProtoId, CalcCoords(gridUid, component, transform, dragging)); + var footPrintComponent = EnsureComp(entity); + + footPrintComponent.FootprintsVisualizer = uid; + Dirty(entity, footPrintComponent); + + if (_appearanceQuery.TryComp(entity, out var appearance)) + { + _appearance.SetData(entity, FootprintVisualState.State, PickState(uid, dragging), appearance); + _appearance.SetData(entity, FootprintVisualState.Color, component.PrintsColor, appearance); + } + + if (!_transformQuery.TryComp(entity, out var stepTransform)) + return; + + stepTransform.LocalRotation = dragging + ? (transform.LocalPosition - component.StepPos).ToAngle() + Angle.FromDegrees(-90f) + : transform.LocalRotation + Angle.FromDegrees(180f); + + component.PrintsColor = component.PrintsColor.WithAlpha(Math.Max(0f, component.PrintsColor.A - component.ColorReduceAlpha)); + component.StepPos = transform.LocalPosition; + + if (!TryComp(entity, out var solutionContainer)) + return; + + if (!_solution.ResolveSolution((entity, solutionContainer), footPrintComponent.SolutionName, ref footPrintComponent.Solution, out var solution)) + return; + + if (string.IsNullOrWhiteSpace(component.ReagentToTransfer) || solution.Volume >= 1) + return; + + _solution.TryAddReagent(footPrintComponent.Solution.Value, component.ReagentToTransfer, 1, out _); + } + + private EntityCoordinates CalcCoords(EntityUid uid, FootprintVisualizerComponent component, TransformComponent transform, bool state) + { + if (state) + return new EntityCoordinates(uid, transform.LocalPosition); + + var offset = component.RightStep + ? new Angle(Angle.FromDegrees(180f) + transform.LocalRotation).RotateVec(component.OffsetPrint) + : new Angle(transform.LocalRotation).RotateVec(component.OffsetPrint); + + return new EntityCoordinates(uid, transform.LocalPosition + offset); + } + + private FootprintVisuals PickState(EntityUid uid, bool dragging) + { + var state = FootprintVisuals.BareFootprint; + + if (dragging) + state = FootprintVisuals.Dragging; + else if (_inventory.TryGetSlotEntity(uid, "outerClothing", out var suit) && TryComp(suit, out _)) + state = FootprintVisuals.SuitPrint; + else if (_inventory.TryGetSlotEntity(uid, "shoes", out _)) + state = FootprintVisuals.ShoesPrint; + + return state; + } +} diff --git a/Content.Server/_CorvaxNext/Footprints/EntitySystems/PuddleFootprintsSystem.cs b/Content.Server/_CorvaxNext/Footprints/EntitySystems/PuddleFootprintsSystem.cs new file mode 100644 index 00000000000..03a57312b29 --- /dev/null +++ b/Content.Server/_CorvaxNext/Footprints/EntitySystems/PuddleFootprintsSystem.cs @@ -0,0 +1,58 @@ +using System.Linq; +using Content.Shared._CorvaxNext.Footprints.Components; +using Content.Shared.Chemistry.Components.SolutionManager; +using Content.Shared.Chemistry.EntitySystems; +using Content.Shared.Fluids; +using Content.Shared.Fluids.Components; +using Robust.Shared.Physics.Events; + +namespace Content.Server._CorvaxNext.Footprints.EntitySystems; + +public sealed class PuddleFootprintsSystem : EntitySystem +{ + [Dependency] private readonly SharedAppearanceSystem _appearance = default!; + [Dependency] private readonly SharedSolutionContainerSystem _solutionContainer = default!; + + public override void Initialize() + { + SubscribeLocalEvent(OnStepTrigger); + } + + private void OnStepTrigger(EntityUid uid, PuddleFootprintsComponent component, ref EndCollideEvent args) + { + if (!TryComp(uid, out var appearance)) + return; + + if (!TryComp(uid, out var puddle)) + return; + + if (!TryComp(args.OtherEntity, out var tripper)) + return; + + if (!TryComp(uid, out var solutionManager)) + return; + + if (!_solutionContainer.ResolveSolution((uid, solutionManager), puddle.SolutionName, ref puddle.Solution, out var solutions)) + return; + + var totalSolutionQuantity = solutions.Contents.Sum(sol => (float)sol.Quantity); + var waterQuantity = (float)solutions.Contents.Where(solution => solution.Reagent.Prototype == "Water").FirstOrDefault().Quantity; + + if (waterQuantity / (totalSolutionQuantity / 100f) > component.OffPercent || solutions.Contents.Count <= 0) + return; + + tripper.ReagentToTransfer = solutions.Contents.Aggregate((l, r) => l.Quantity > r.Quantity ? l : r).Reagent.Prototype; + + if (_appearance.TryGetData(uid, PuddleVisuals.SolutionColor, out var color, appearance) + && _appearance.TryGetData(uid, PuddleVisuals.CurrentVolume, out var volume, appearance)) + AddColor((Color)color, (float)volume * component.SizeRatio, tripper); + + _solutionContainer.RemoveEachReagent(puddle.Solution.Value, 1); + } + + private void AddColor(Color col, float quantity, FootprintVisualizerComponent component) + { + component.PrintsColor = component.ColorQuantity == 0 ? col : Color.InterpolateBetween(component.PrintsColor, col, component.ColorInterpolationFactor); + component.ColorQuantity += quantity; + } +} diff --git a/Content.Shared/_CorvaxNext/Footprints/Components/FootprintComponent.cs b/Content.Shared/_CorvaxNext/Footprints/Components/FootprintComponent.cs new file mode 100644 index 00000000000..72aff01cd81 --- /dev/null +++ b/Content.Shared/_CorvaxNext/Footprints/Components/FootprintComponent.cs @@ -0,0 +1,23 @@ +using Content.Shared.Chemistry.Components; +using Robust.Shared.GameStates; + +namespace Content.Shared._CorvaxNext.Footprints.Components; + +/// +/// This is used for marking footsteps, handling footprint drawing. +/// +[RegisterComponent, NetworkedComponent, AutoGenerateComponentState] +public sealed partial class FootprintComponent : Component +{ + /// + /// Owner (with ) of a print (this component). + /// + [AutoNetworkedField] + public EntityUid FootprintsVisualizer; + + [DataField] + public string SolutionName = "step"; + + [DataField] + public Entity? Solution; +} diff --git a/Content.Shared/_CorvaxNext/Footprints/Components/FootprintVisualizerComponent.cs b/Content.Shared/_CorvaxNext/Footprints/Components/FootprintVisualizerComponent.cs new file mode 100644 index 00000000000..966e0d75cd6 --- /dev/null +++ b/Content.Shared/_CorvaxNext/Footprints/Components/FootprintVisualizerComponent.cs @@ -0,0 +1,88 @@ +using System.Numerics; +using Robust.Shared.Prototypes; +using Robust.Shared.Utility; + +namespace Content.Shared._CorvaxNext.Footprints.Components; + +[RegisterComponent] +public sealed partial class FootprintVisualizerComponent : Component +{ + [ViewVariables(VVAccess.ReadOnly), DataField] + public ResPath RsiPath = new("/Textures/_CorvaxNext/Effects/footprints.rsi"); + + // all of those are set as a layer + [ViewVariables(VVAccess.ReadOnly), DataField] + public string LeftBarePrint = "footprint-left-bare-human"; + + [ViewVariables(VVAccess.ReadOnly), DataField] + public string RightBarePrint = "footprint-right-bare-human"; + + [ViewVariables(VVAccess.ReadOnly), DataField] + public string ShoesPrint = "footprint-shoes"; + + [ViewVariables(VVAccess.ReadOnly), DataField] + public string SuitPrint = "footprint-suit"; + + [ViewVariables(VVAccess.ReadOnly), DataField] + public string[] DraggingPrint = + [ + "dragging-1", + "dragging-2", + "dragging-3", + "dragging-4", + "dragging-5", + ]; + // yea, those + + [ViewVariables(VVAccess.ReadOnly), DataField] + public EntProtoId StepProtoId = "Footstep"; + + [ViewVariables(VVAccess.ReadOnly), DataField] + public Color PrintsColor = Color.FromHex("#00000000"); + + /// + /// The size scaling factor for footprint steps. Must be positive. + /// + [DataField] + public float StepSize = 0.7f; + + /// + /// The size scaling factor for drag marks. Must be positive. + /// + [DataField] + public float DragSize = 0.5f; + + /// + /// The amount of color to transfer from the source (e.g., puddle) to the footprint. + /// + [DataField] + public float ColorQuantity; + + /// + /// The factor by which the alpha channel is reduced in subsequent footprints. + /// + [DataField] + public float ColorReduceAlpha = 0.1f; + + [DataField] + public string? ReagentToTransfer; + + [DataField] + public Vector2 OffsetPrint = new(0.1f, 0f); + + /// + /// Tracks which foot should make the next print. True for right foot, false for left. + /// + public bool RightStep = true; + + /// + /// The position of the last footprint in world coordinates. + /// + public Vector2 StepPos = Vector2.Zero; + + /// + /// Controls how quickly the footprint color transitions between steps. + /// Value between 0 and 1, where higher values mean faster color changes. + /// + public float ColorInterpolationFactor = 0.2f; +} diff --git a/Content.Shared/_CorvaxNext/Footprints/Components/PuddleFootprintsComponent.cs b/Content.Shared/_CorvaxNext/Footprints/Components/PuddleFootprintsComponent.cs new file mode 100644 index 00000000000..b61ad1dc9fb --- /dev/null +++ b/Content.Shared/_CorvaxNext/Footprints/Components/PuddleFootprintsComponent.cs @@ -0,0 +1,11 @@ +namespace Content.Shared._CorvaxNext.Footprints.Components; + +[RegisterComponent] +public sealed partial class PuddleFootprintsComponent : Component +{ + [ViewVariables(VVAccess.ReadWrite)] + public float SizeRatio = 0.2f; + + [ViewVariables(VVAccess.ReadWrite)] + public float OffPercent = 80f; +} diff --git a/Content.Shared/_CorvaxNext/Footprints/FootprintVisuals.cs b/Content.Shared/_CorvaxNext/Footprints/FootprintVisuals.cs new file mode 100644 index 00000000000..91ff0bc643e --- /dev/null +++ b/Content.Shared/_CorvaxNext/Footprints/FootprintVisuals.cs @@ -0,0 +1,25 @@ +using Robust.Shared.Serialization; + +namespace Content.Shared._CorvaxNext.Footprints; + +[Serializable, NetSerializable] +public enum FootprintVisuals : byte +{ + BareFootprint, + ShoesPrint, + SuitPrint, + Dragging +} + +[Serializable, NetSerializable] +public enum FootprintVisualState : byte +{ + State, + Color +} + +[Serializable, NetSerializable] +public enum FootprintVisualLayers : byte +{ + Print +} diff --git a/Resources/Prototypes/Entities/Effects/puddle.yml b/Resources/Prototypes/Entities/Effects/puddle.yml index 36f0faa1df1..c8c130d3ccc 100644 --- a/Resources/Prototypes/Entities/Effects/puddle.yml +++ b/Resources/Prototypes/Entities/Effects/puddle.yml @@ -165,3 +165,4 @@ - type: Tag tags: - DNASolutionScannable + - type: PuddleFootprints # Corvax-Next-Footprints diff --git a/Resources/Prototypes/Entities/Mobs/Player/arachnid.yml b/Resources/Prototypes/Entities/Mobs/Player/arachnid.yml index d9dea3c18d9..2cb3a3da3e5 100644 --- a/Resources/Prototypes/Entities/Mobs/Player/arachnid.yml +++ b/Resources/Prototypes/Entities/Mobs/Player/arachnid.yml @@ -10,4 +10,4 @@ Asphyxiation: 1.5 # This makes space and crit more lethal to arachnids. damageRecovery: types: - Asphyxiation: -0.5 + Asphyxiation: -0.5 \ No newline at end of file diff --git a/Resources/Prototypes/Entities/Mobs/Species/arachnid.yml b/Resources/Prototypes/Entities/Mobs/Species/arachnid.yml index 0d7f7717586..2bdcde14fa9 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/arachnid.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/arachnid.yml @@ -115,7 +115,9 @@ visible: false - type: Inventory templateId: arachnid - + - type: FootprintVisualizer # Corvax-Next-Footprints + leftBarePrint: "footprint-left-bare-spider" + rightBarePrint: "footprint-right-bare-spider" - type: entity parent: BaseSpeciesDummy diff --git a/Resources/Prototypes/Entities/Mobs/Species/diona.yml b/Resources/Prototypes/Entities/Mobs/Species/diona.yml index abbce8995c0..0bea1ad6b86 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/diona.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/diona.yml @@ -110,6 +110,9 @@ 32: sprite: Mobs/Species/Human/displacement.rsi state: jumpsuit-female + - type: FootprintVisualizer # Corvax-Next-Footprints + leftBarePrint: "footprint-left-bare-diona" + rightBarePrint: "footprint-right-bare-diona" - type: entity parent: BaseSpeciesDummy diff --git a/Resources/Prototypes/Entities/Mobs/Species/dwarf.yml b/Resources/Prototypes/Entities/Mobs/Species/dwarf.yml index 6ce9c80a250..64262958c34 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/dwarf.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/dwarf.yml @@ -63,6 +63,9 @@ 32: sprite: Mobs/Species/Human/displacement.rsi state: jumpsuit-female + - type: FootprintVisualizer # Corvax-Next-Footprints + leftBarePrint: "footprint-left-bare-dwarf" + rightBarePrint: "footprint-right-bare-dwarf" - type: entity parent: BaseSpeciesDummy diff --git a/Resources/Prototypes/Entities/Mobs/Species/human.yml b/Resources/Prototypes/Entities/Mobs/Species/human.yml index bf357e1f102..cf7fd51dde3 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/human.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/human.yml @@ -27,6 +27,7 @@ 32: sprite: Mobs/Species/Human/displacement.rsi state: jumpsuit-female + - type: FootprintVisualizer # Corvax-Next-Footprints - type: entity @@ -40,4 +41,4 @@ sizeMaps: 32: sprite: Mobs/Species/Human/displacement.rsi - state: jumpsuit-female \ No newline at end of file + state: jumpsuit-female diff --git a/Resources/Prototypes/Entities/Mobs/Species/moth.yml b/Resources/Prototypes/Entities/Mobs/Species/moth.yml index ad09fd57578..2a790fd5660 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/moth.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/moth.yml @@ -122,7 +122,7 @@ 32: sprite: Mobs/Species/Human/displacement.rsi state: jumpsuit-female - + - type: FootprintVisualizer # Corvax-Next-Footprints - type: entity parent: BaseSpeciesDummy diff --git a/Resources/Prototypes/Entities/Mobs/Species/reptilian.yml b/Resources/Prototypes/Entities/Mobs/Species/reptilian.yml index f172f631c1d..dca6172e0a6 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/reptilian.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/reptilian.yml @@ -76,7 +76,9 @@ 32: sprite: Mobs/Species/Human/displacement.rsi state: jumpsuit-female - + - type: FootprintVisualizer # Corvax-Next-Footprints + leftBarePrint: "footprint-left-bare-lizard" + rightBarePrint: "footprint-right-bare-lizard" - type: entity parent: BaseSpeciesDummy diff --git a/Resources/Prototypes/Entities/Mobs/Species/skeleton.yml b/Resources/Prototypes/Entities/Mobs/Species/skeleton.yml index 229c2da027e..1185d61c4b4 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/skeleton.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/skeleton.yml @@ -109,6 +109,7 @@ 32: sprite: Mobs/Species/Human/displacement.rsi state: jumpsuit-female + - type: FootprintVisualizer # Corvax-Next-Footprints - type: entity parent: BaseSpeciesDummy diff --git a/Resources/Prototypes/Entities/Mobs/Species/slime.yml b/Resources/Prototypes/Entities/Mobs/Species/slime.yml index 56acf52fb71..4287d6ba56d 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/slime.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/slime.yml @@ -116,6 +116,9 @@ 32: sprite: Mobs/Species/Human/displacement.rsi state: jumpsuit-female + - type: FootprintVisualizer # Corvax-Next-Footprints + leftBarePrint: "footprint-left-bare-slime" + rightBarePrint: "footprint-right-bare-slime" - type: entity parent: MobHumanDummy diff --git a/Resources/Prototypes/Entities/Mobs/Species/vox.yml b/Resources/Prototypes/Entities/Mobs/Species/vox.yml index 899673d59e9..7e06e2062b0 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/vox.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/vox.yml @@ -130,6 +130,9 @@ 32: sprite: Mobs/Species/Vox/displacement.rsi state: shoes + - type: FootprintVisualizer # Corvax-Next-Footprints + leftBarePrint: "footprint-left-bare-lizard" + rightBarePrint: "footprint-right-bare-lizard" - type: entity parent: BaseSpeciesDummy diff --git a/Resources/Prototypes/_CorvaxNext/Entities/Effects/footstep.yml b/Resources/Prototypes/_CorvaxNext/Entities/Effects/footstep.yml new file mode 100644 index 00000000000..2bf3df9bdb0 --- /dev/null +++ b/Resources/Prototypes/_CorvaxNext/Entities/Effects/footstep.yml @@ -0,0 +1,37 @@ +- type: entity + name: Footstep + id: Footstep + save: false + description: Trace of liquid + components: + - type: Clickable + - type: FootstepModifier + footstepSoundCollection: + collection: FootstepWater + params: + volume: 3 + - type: Transform + noRot: false + - type: Sprite + drawdepth: FloorObjects + color: "#FFFFFF80" + - type: Physics + bodyType: Static + - type: Fixtures + fixtures: + slipFixture: + shape: + !type:PhysShapeAabb + bounds: "-0.4,-0.4,0.4,0.4" + mask: + - ItemMask + layer: + - SlipLayer + hard: false + - type: SolutionContainerManager + solutions: + step: { maxVol: 2 } + - type: Footprint + - type: Puddle + solution: step + - type: Appearance \ No newline at end of file diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-1.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-1.png new file mode 100644 index 00000000000..74d2aeb0743 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-1.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-2.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-2.png new file mode 100644 index 00000000000..cc45f4f8ae8 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-2.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-3.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-3.png new file mode 100644 index 00000000000..d0f7274dd3c Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-3.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-4.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-4.png new file mode 100644 index 00000000000..5eb34b5d570 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-4.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-5.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-5.png new file mode 100644 index 00000000000..6b1b34d1456 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-5.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-test.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-test.png new file mode 100644 index 00000000000..b8c9ba50a7d Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/dragging-test.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-diona.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-diona.png new file mode 100644 index 00000000000..fa40e0f2977 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-diona.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-dwarf.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-dwarf.png new file mode 100644 index 00000000000..43b88aa1646 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-dwarf.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-human.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-human.png new file mode 100644 index 00000000000..f7ab3257c58 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-human.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-lizard.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-lizard.png new file mode 100644 index 00000000000..e53ba99227e Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-lizard.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-slime.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-slime.png new file mode 100644 index 00000000000..87561cb1619 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-slime.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-spider.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-spider.png new file mode 100644 index 00000000000..4939e72c4b5 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-left-bare-spider.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-diona.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-diona.png new file mode 100644 index 00000000000..21f3a117741 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-diona.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-dwarf.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-dwarf.png new file mode 100644 index 00000000000..e493ddbdf6a Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-dwarf.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-human.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-human.png new file mode 100644 index 00000000000..4de70b5c1ea Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-human.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-lizard.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-lizard.png new file mode 100644 index 00000000000..e53ba99227e Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-lizard.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-slime.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-slime.png new file mode 100644 index 00000000000..c10fe24f0b0 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-slime.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-spider.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-spider.png new file mode 100644 index 00000000000..e9f3a88776c Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-right-bare-spider.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-shoes.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-shoes.png new file mode 100644 index 00000000000..6cf329a9b6f Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-shoes.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-suit.png b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-suit.png new file mode 100644 index 00000000000..6bc32d343c7 Binary files /dev/null and b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/footprint-suit.png differ diff --git a/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/meta.json b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/meta.json new file mode 100644 index 00000000000..0ce2e096ac5 --- /dev/null +++ b/Resources/Textures/_CorvaxNext/Effects/footprints.rsi/meta.json @@ -0,0 +1,71 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-SA-3.0", + "copyright": "IMPERIAL SPACE", + "states": [ + { + "name": "footprint-left-bare-diona" + }, + { + "name": "footprint-left-bare-dwarf" + }, + { + "name": "footprint-left-bare-human" + }, + { + "name": "footprint-left-bare-lizard" + }, + { + "name": "footprint-left-bare-slime" + }, + { + "name": "footprint-left-bare-spider" + }, + { + "name": "footprint-right-bare-diona" + }, + { + "name": "footprint-right-bare-dwarf" + }, + { + "name": "footprint-right-bare-human" + }, + { + "name": "footprint-right-bare-lizard" + }, + { + "name": "footprint-right-bare-slime" + }, + { + "name": "footprint-right-bare-spider" + }, + { + "name": "footprint-shoes" + }, + { + "name": "footprint-suit" + }, + { + "name": "dragging-1" + }, + { + "name": "dragging-2" + }, + { + "name": "dragging-3" + }, + { + "name": "dragging-4" + }, + { + "name": "dragging-5" + }, + { + "name": "dragging-test" + } + ] +}