Ghetto Mindshield Icon (#20958)
* Looks like shit frfr * White for sure * New icon --------- Co-authored-by: coolmankid12345 <coolmankid12345@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
using Content.Shared.Access.Components;
|
using Content.Shared.Access.Components;
|
||||||
using Content.Shared.Access.Systems;
|
using Content.Shared.Access.Systems;
|
||||||
|
using Content.Shared.Mindshield.Components;
|
||||||
using Content.Shared.Overlays;
|
using Content.Shared.Overlays;
|
||||||
using Content.Shared.PDA;
|
using Content.Shared.PDA;
|
||||||
using Content.Shared.StatusIcon;
|
using Content.Shared.StatusIcon;
|
||||||
@@ -66,6 +67,12 @@ public sealed class ShowSecurityIconsSystem : EquipmentHudSystem<ShowSecurityIco
|
|||||||
else
|
else
|
||||||
Log.Error($"Invalid job icon prototype: {jobIcon}");
|
Log.Error($"Invalid job icon prototype: {jobIcon}");
|
||||||
|
|
||||||
|
if (TryComp<MindShieldComponent>(uid, out var comp))
|
||||||
|
{
|
||||||
|
if (_prototypeMan.TryIndex<StatusIconPrototype>(comp.MindShieldStatusIcon.Id, out var icon))
|
||||||
|
result.Add(icon);
|
||||||
|
}
|
||||||
|
|
||||||
// Add arrest icons here, WYCI.
|
// Add arrest icons here, WYCI.
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
using Content.Shared.Revolutionary;
|
using Content.Shared.Revolutionary;
|
||||||
using Robust.Shared.GameStates;
|
using Robust.Shared.GameStates;
|
||||||
|
using Content.Shared.StatusIcon;
|
||||||
|
using Robust.Shared.Prototypes;
|
||||||
|
|
||||||
namespace Content.Shared.Mindshield.Components;
|
namespace Content.Shared.Mindshield.Components;
|
||||||
|
|
||||||
@@ -9,4 +11,6 @@ namespace Content.Shared.Mindshield.Components;
|
|||||||
[RegisterComponent, NetworkedComponent, Access(typeof(SharedRevolutionarySystem))]
|
[RegisterComponent, NetworkedComponent, Access(typeof(SharedRevolutionarySystem))]
|
||||||
public sealed partial class MindShieldComponent : Component
|
public sealed partial class MindShieldComponent : Component
|
||||||
{
|
{
|
||||||
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||||
|
public ProtoId<StatusIconPrototype> MindShieldStatusIcon = "MindShieldIcon";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,14 @@
|
|||||||
sprite: Interface/Misc/job_icons.rsi
|
sprite: Interface/Misc/job_icons.rsi
|
||||||
state: HeadRevolutionary
|
state: HeadRevolutionary
|
||||||
|
|
||||||
|
- type: statusIcon
|
||||||
|
id: MindShieldIcon
|
||||||
|
priority: 2
|
||||||
|
locationPreference: Right
|
||||||
|
icon:
|
||||||
|
sprite: Interface/Misc/job_icons.rsi
|
||||||
|
state: MindShield
|
||||||
|
|
||||||
- type: statusIcon
|
- type: statusIcon
|
||||||
id: SyndicateFaction
|
id: SyndicateFaction
|
||||||
priority: 0
|
priority: 0
|
||||||
|
|||||||
BIN
Resources/Textures/Interface/Misc/job_icons.rsi/MindShield.png
Normal file
BIN
Resources/Textures/Interface/Misc/job_icons.rsi/MindShield.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 198 B |
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"license": "CC-BY-SA-3.0",
|
"license": "CC-BY-SA-3.0",
|
||||||
"copyright": "Taken from https://github.com/vgstation-coders/vgstation13/blob/e71d6c4fba5a51f99b81c295dcaec4fc2f58fb19/icons/mob/screen1.dmi | Brigmedic icon made by PuroSlavKing (Github) | Zombie icon made by RamZ | Zookeper by netwy (discort) | Rev and Head Rev icon taken from https://tgstation13.org/wiki/HUD and edited by coolmankid12345 (Discord)",
|
"copyright": "Taken from https://github.com/vgstation-coders/vgstation13/blob/e71d6c4fba5a51f99b81c295dcaec4fc2f58fb19/icons/mob/screen1.dmi | Brigmedic icon made by PuroSlavKing (Github) | Zombie icon made by RamZ | Zookeper by netwy (discort) | Rev and Head Rev icon taken from https://tgstation13.org/wiki/HUD and edited by coolmankid12345 (Discord) | Mindshield icon made by Psychpsyo (Github)",
|
||||||
|
|
||||||
"size": {
|
"size": {
|
||||||
"x": 8,
|
"x": 8,
|
||||||
@@ -170,6 +170,9 @@
|
|||||||
{
|
{
|
||||||
"name": "HeadRevolutionary"
|
"name": "HeadRevolutionary"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "MindShield"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Syndicate"
|
"name": "Syndicate"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user