Verb icons now UI scale.

This commit is contained in:
Pieter-Jan Briers
2021-03-14 14:40:01 +01:00
parent 18c9851784
commit 70e2648fa0
104 changed files with 156 additions and 97 deletions

View File

@@ -216,7 +216,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Ammunition
data.Text = Loc.GetString("Dump 10");
data.Visibility = component.AmmoLeft > 0 ? VerbVisibility.Visible : VerbVisibility.Disabled;
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
}
protected override void Activate(IEntity user, AmmoBoxComponent component)

View File

@@ -294,7 +294,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Barrels
}
data.Visibility = component.ShotsLeft > 0 ? VerbVisibility.Visible : VerbVisibility.Disabled;
data.IconTexture = "/Textures/Interface/VerbIcons/refresh.svg.96dpi.png";
data.IconTexture = "/Textures/Interface/VerbIcons/refresh.svg.192dpi.png";
}
protected override void Activate(IEntity user, RevolverBarrelComponent component)

View File

@@ -308,7 +308,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Barrels
else
{
data.Text = Loc.GetString("Eject cell");
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
}
}

View File

@@ -463,7 +463,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Barrels
}
data.Text = Loc.GetString("Eject magazine");
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
if (component.MagNeedsOpenBolt)
{
data.Visibility = component.HasMagazine && component.BoltOpen