Verb icons now UI scale.
@@ -365,7 +365,8 @@ namespace Content.Client.GameObjects.EntitySystems
|
|||||||
(_icon = new TextureRect
|
(_icon = new TextureRect
|
||||||
{
|
{
|
||||||
MinSize = (32, 32),
|
MinSize = (32, 32),
|
||||||
Stretch = TextureRect.StretchMode.KeepCentered
|
Stretch = TextureRect.StretchMode.KeepCentered,
|
||||||
|
TextureScale = (0.5f, 0.5f)
|
||||||
}),
|
}),
|
||||||
(_label = new Label()),
|
(_label = new Label()),
|
||||||
// Padding
|
// Padding
|
||||||
@@ -424,6 +425,7 @@ namespace Content.Client.GameObjects.EntitySystems
|
|||||||
(_icon = new TextureRect
|
(_icon = new TextureRect
|
||||||
{
|
{
|
||||||
MinSize = (32, 32),
|
MinSize = (32, 32),
|
||||||
|
TextureScale = (0.5f, 0.5f),
|
||||||
Stretch = TextureRect.StretchMode.KeepCentered
|
Stretch = TextureRect.StretchMode.KeepCentered
|
||||||
}),
|
}),
|
||||||
|
|
||||||
@@ -438,7 +440,8 @@ namespace Content.Client.GameObjects.EntitySystems
|
|||||||
new TextureRect
|
new TextureRect
|
||||||
{
|
{
|
||||||
Texture = IoCManager.Resolve<IResourceCache>()
|
Texture = IoCManager.Resolve<IResourceCache>()
|
||||||
.GetTexture("/Textures/Interface/VerbIcons/group.svg.96dpi.png"),
|
.GetTexture("/Textures/Interface/VerbIcons/group.svg.192dpi.png"),
|
||||||
|
TextureScale = (0.5f, 0.5f),
|
||||||
Stretch = TextureRect.StretchMode.KeepCentered,
|
Stretch = TextureRect.StretchMode.KeepCentered,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ namespace Content.Client.GlobalVerbs
|
|||||||
{
|
{
|
||||||
data.Visibility = VerbVisibility.Visible;
|
data.Visibility = VerbVisibility.Visible;
|
||||||
data.Text = Loc.GetString("Examine");
|
data.Text = Loc.GetString("Examine");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/examine.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/examine.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Activate(IEntity user, IEntity target)
|
public override void Activate(IEntity user, IEntity target)
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ namespace Content.Client.GlobalVerbs
|
|||||||
|
|
||||||
data.Text = "View Variables";
|
data.Text = "View Variables";
|
||||||
data.CategoryData = VerbCategories.Debug;
|
data.CategoryData = VerbCategories.Debug;
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/vv.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/vv.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Activate(IEntity user, IEntity target)
|
public override void Activate(IEntity user, IEntity target)
|
||||||
|
|||||||
@@ -147,7 +147,8 @@ namespace Content.Client.UserInterface.ContextMenu
|
|||||||
},
|
},
|
||||||
new TextureRect
|
new TextureRect
|
||||||
{
|
{
|
||||||
Texture = IoCManager.Resolve<IResourceCache>().GetTexture("/Textures/Interface/VerbIcons/group.svg.96dpi.png"),
|
Texture = IoCManager.Resolve<IResourceCache>().GetTexture("/Textures/Interface/VerbIcons/group.svg.192dpi.png"),
|
||||||
|
TextureScale = (0.5f, 0.5f),
|
||||||
Stretch = TextureRect.StretchMode.KeepCentered,
|
Stretch = TextureRect.StretchMode.KeepCentered,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -263,7 +263,7 @@ namespace Content.Server.GameObjects.Components.Access
|
|||||||
}
|
}
|
||||||
|
|
||||||
data.Text = Loc.GetString("Eject Privileged ID");
|
data.Text = Loc.GetString("Eject Privileged ID");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
|
||||||
data.Visibility = component.PrivilegedIDEmpty ? VerbVisibility.Invisible : VerbVisibility.Visible;
|
data.Visibility = component.PrivilegedIDEmpty ? VerbVisibility.Invisible : VerbVisibility.Visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -289,7 +289,7 @@ namespace Content.Server.GameObjects.Components.Access
|
|||||||
|
|
||||||
data.Text = Loc.GetString("Eject Target ID");
|
data.Text = Loc.GetString("Eject Target ID");
|
||||||
data.Visibility = component.TargetIDEmpty ? VerbVisibility.Invisible : VerbVisibility.Visible;
|
data.Visibility = component.TargetIDEmpty ? VerbVisibility.Invisible : VerbVisibility.Visible;
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, IdCardConsoleComponent component)
|
protected override void Activate(IEntity user, IdCardConsoleComponent component)
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ namespace Content.Server.GameObjects.Components
|
|||||||
}
|
}
|
||||||
|
|
||||||
data.Text = Loc.GetString("Open Configuration");
|
data.Text = Loc.GetString("Open Configuration");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/settings.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/settings.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, ConfigurationComponent component)
|
protected override void Activate(IEntity user, ConfigurationComponent component)
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ namespace Content.Server.GameObjects.Components.Construction
|
|||||||
|
|
||||||
data.CategoryData = VerbCategories.Construction;
|
data.CategoryData = VerbCategories.Construction;
|
||||||
data.Text = Loc.GetString("Begin deconstructing");
|
data.Text = Loc.GetString("Begin deconstructing");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/rotate_ccw.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/rotate_ccw.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, ConstructionComponent component)
|
protected override void Activate(IEntity user, ConstructionComponent component)
|
||||||
|
|||||||
@@ -792,7 +792,7 @@ namespace Content.Server.GameObjects.Components.Disposal
|
|||||||
|
|
||||||
data.Visibility = VerbVisibility.Visible;
|
data.Visibility = VerbVisibility.Visible;
|
||||||
data.Text = Loc.GetString("Flush");
|
data.Text = Loc.GetString("Flush");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, DisposalMailingUnitComponent component)
|
protected override void Activate(IEntity user, DisposalMailingUnitComponent component)
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ namespace Content.Server.GameObjects.Components.Disposal
|
|||||||
}
|
}
|
||||||
|
|
||||||
data.Text = Loc.GetString("Open Configuration");
|
data.Text = Loc.GetString("Open Configuration");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/settings.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/settings.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, DisposalRouterComponent component)
|
protected override void Activate(IEntity user, DisposalRouterComponent component)
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ namespace Content.Server.GameObjects.Components.Disposal
|
|||||||
}
|
}
|
||||||
|
|
||||||
data.Text = Loc.GetString("Open Configuration");
|
data.Text = Loc.GetString("Open Configuration");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/settings.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/settings.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, DisposalTaggerComponent component)
|
protected override void Activate(IEntity user, DisposalTaggerComponent component)
|
||||||
|
|||||||
@@ -703,7 +703,7 @@ namespace Content.Server.GameObjects.Components.Disposal
|
|||||||
|
|
||||||
data.Visibility = VerbVisibility.Visible;
|
data.Visibility = VerbVisibility.Visible;
|
||||||
data.Text = Loc.GetString("Flush");
|
data.Text = Loc.GetString("Flush");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, DisposalUnitComponent component)
|
protected override void Activate(IEntity user, DisposalUnitComponent component)
|
||||||
|
|||||||
@@ -666,7 +666,7 @@ namespace Content.Server.GameObjects.Components.GUI
|
|||||||
data.Visibility = VerbVisibility.Visible;
|
data.Visibility = VerbVisibility.Visible;
|
||||||
data.Text = Loc.GetString("Set Outfit");
|
data.Text = Loc.GetString("Set Outfit");
|
||||||
data.CategoryData = VerbCategories.Debug;
|
data.CategoryData = VerbCategories.Debug;
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/outfit.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/outfit.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, InventoryComponent component)
|
protected override void Activate(IEntity user, InventoryComponent component)
|
||||||
|
|||||||
@@ -472,7 +472,7 @@ namespace Content.Server.GameObjects.Components.Items.Storage
|
|||||||
}
|
}
|
||||||
|
|
||||||
data.Text = Loc.GetString(component.Open ? "Close" : "Open");
|
data.Text = Loc.GetString(component.Open ? "Close" : "Open");
|
||||||
data.IconTexture = component.Open ? "/Textures/Interface/VerbIcons/close.svg.96dpi.png" : "/Textures/Interface/VerbIcons/open.svg.96dpi.png";
|
data.IconTexture = component.Open ? "/Textures/Interface/VerbIcons/close.svg.96dpi.png" : "/Textures/Interface/VerbIcons/open.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
void IExAct.OnExplosion(ExplosionEventArgs eventArgs)
|
void IExAct.OnExplosion(ExplosionEventArgs eventArgs)
|
||||||
|
|||||||
@@ -380,7 +380,7 @@ namespace Content.Server.GameObjects.Components.PDA
|
|||||||
|
|
||||||
data.Text = Loc.GetString("Eject ID");
|
data.Text = Loc.GetString("Eject ID");
|
||||||
data.Visibility = component.IdSlotEmpty ? VerbVisibility.Invisible : VerbVisibility.Visible;
|
data.Visibility = component.IdSlotEmpty ? VerbVisibility.Invisible : VerbVisibility.Visible;
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, PDAComponent component)
|
protected override void Activate(IEntity user, PDAComponent component)
|
||||||
@@ -402,7 +402,7 @@ namespace Content.Server.GameObjects.Components.PDA
|
|||||||
|
|
||||||
data.Text = Loc.GetString("Eject Pen");
|
data.Text = Loc.GetString("Eject Pen");
|
||||||
data.Visibility = component.PenSlotEmpty ? VerbVisibility.Invisible : VerbVisibility.Visible;
|
data.Visibility = component.PenSlotEmpty ? VerbVisibility.Invisible : VerbVisibility.Visible;
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, PDAComponent component)
|
protected override void Activate(IEntity user, PDAComponent component)
|
||||||
@@ -423,7 +423,7 @@ namespace Content.Server.GameObjects.Components.PDA
|
|||||||
}
|
}
|
||||||
|
|
||||||
data.Text = Loc.GetString("Toggle flashlight");
|
data.Text = Loc.GetString("Toggle flashlight");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/light.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/light.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, PDAComponent component)
|
protected override void Activate(IEntity user, PDAComponent component)
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ namespace Content.Server.GameObjects.Components.Power.ApcNetComponents.PowerRece
|
|||||||
var heldItemName = Loc.GetString(handsComponent.GetActiveHand.Owner.Name);
|
var heldItemName = Loc.GetString(handsComponent.GetActiveHand.Owner.Name);
|
||||||
|
|
||||||
data.Text = Loc.GetString("Insert {0}", heldItemName);
|
data.Text = Loc.GetString("Insert {0}", heldItemName);
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/insert.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/insert.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, BaseCharger component)
|
protected override void Activate(IEntity user, BaseCharger component)
|
||||||
@@ -180,7 +180,7 @@ namespace Content.Server.GameObjects.Components.Power.ApcNetComponents.PowerRece
|
|||||||
var containerItemName = Loc.GetString(component._container.ContainedEntity.Name);
|
var containerItemName = Loc.GetString(component._container.ContainedEntity.Name);
|
||||||
|
|
||||||
data.Text = Loc.GetString("Eject {0}", containerItemName);
|
data.Text = Loc.GetString("Eject {0}", containerItemName);
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, BaseCharger component)
|
protected override void Activate(IEntity user, BaseCharger component)
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ namespace Content.Server.GameObjects.Components.Power
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
data.Text = Loc.GetString("Eject cell");
|
data.Text = Loc.GetString("Eject cell");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (component.Cell == null || !component.CanRemoveCell)
|
if (component.Cell == null || !component.CanRemoveCell)
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ namespace Content.Server.GameObjects.Components.Rotatable
|
|||||||
|
|
||||||
data.CategoryData = VerbCategories.Rotate;
|
data.CategoryData = VerbCategories.Rotate;
|
||||||
data.Text = Loc.GetString("Rotate clockwise");
|
data.Text = Loc.GetString("Rotate clockwise");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/rotate_cw.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/rotate_cw.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, RotatableComponent component)
|
protected override void Activate(IEntity user, RotatableComponent component)
|
||||||
@@ -73,7 +73,7 @@ namespace Content.Server.GameObjects.Components.Rotatable
|
|||||||
|
|
||||||
data.CategoryData = VerbCategories.Rotate;
|
data.CategoryData = VerbCategories.Rotate;
|
||||||
data.Text = Loc.GetString("Rotate counter-clockwise");
|
data.Text = Loc.GetString("Rotate counter-clockwise");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/rotate_ccw.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/rotate_ccw.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Activate(IEntity user, RotatableComponent component)
|
protected override void Activate(IEntity user, RotatableComponent component)
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ namespace Content.Server.GameObjects.Components.Strap
|
|||||||
}
|
}
|
||||||
|
|
||||||
data.Visibility = VerbVisibility.Visible;
|
data.Visibility = VerbVisibility.Visible;
|
||||||
data.IconTexture = buckle.BuckledTo == null ? "/Textures/Interface/VerbIcons/buckle.svg.96dpi.png" : "/Textures/Interface/VerbIcons/unbuckle.svg.96dpi.png";
|
data.IconTexture = buckle.BuckledTo == null ? "/Textures/Interface/VerbIcons/buckle.svg.96dpi.png" : "/Textures/Interface/VerbIcons/unbuckle.svg.192dpi.png";
|
||||||
data.Text = Loc.GetString(buckle.BuckledTo == null ? "Buckle" : "Unbuckle");
|
data.Text = Loc.GetString(buckle.BuckledTo == null ? "Buckle" : "Unbuckle");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -216,7 +216,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Ammunition
|
|||||||
|
|
||||||
data.Text = Loc.GetString("Dump 10");
|
data.Text = Loc.GetString("Dump 10");
|
||||||
data.Visibility = component.AmmoLeft > 0 ? VerbVisibility.Visible : VerbVisibility.Disabled;
|
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)
|
protected override void Activate(IEntity user, AmmoBoxComponent component)
|
||||||
|
|||||||
@@ -294,7 +294,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Barrels
|
|||||||
}
|
}
|
||||||
|
|
||||||
data.Visibility = component.ShotsLeft > 0 ? VerbVisibility.Visible : VerbVisibility.Disabled;
|
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)
|
protected override void Activate(IEntity user, RevolverBarrelComponent component)
|
||||||
|
|||||||
@@ -308,7 +308,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Barrels
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
data.Text = Loc.GetString("Eject cell");
|
data.Text = Loc.GetString("Eject cell");
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -463,7 +463,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Barrels
|
|||||||
}
|
}
|
||||||
|
|
||||||
data.Text = Loc.GetString("Eject magazine");
|
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)
|
if (component.MagNeedsOpenBolt)
|
||||||
{
|
{
|
||||||
data.Visibility = component.HasMagazine && component.BoltOpen
|
data.Visibility = component.HasMagazine && component.BoltOpen
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ namespace Content.Server.GlobalVerbs
|
|||||||
data.Text = Loc.GetString("Delete");
|
data.Text = Loc.GetString("Delete");
|
||||||
data.CategoryData = VerbCategories.Debug;
|
data.CategoryData = VerbCategories.Debug;
|
||||||
data.Visibility = VerbVisibility.Visible;
|
data.Visibility = VerbVisibility.Visible;
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/delete.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/delete.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Activate(IEntity user, IEntity target)
|
public override void Activate(IEntity user, IEntity target)
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ namespace Content.Server.GlobalVerbs
|
|||||||
data.Visibility = VerbVisibility.Visible;
|
data.Visibility = VerbVisibility.Visible;
|
||||||
data.Text = Loc.GetString("Make Sentient");
|
data.Text = Loc.GetString("Make Sentient");
|
||||||
data.CategoryData = VerbCategories.Debug;
|
data.CategoryData = VerbCategories.Debug;
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/sentient.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/sentient.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ namespace Content.Server.GlobalVerbs
|
|||||||
public override void GetData(IEntity user, IEntity target, VerbData data)
|
public override void GetData(IEntity user, IEntity target, VerbData data)
|
||||||
{
|
{
|
||||||
data.Visibility = VerbVisibility.Invisible;
|
data.Visibility = VerbVisibility.Invisible;
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/point.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/point.svg.192dpi.png";
|
||||||
|
|
||||||
if (!user.HasComponent<IActorComponent>())
|
if (!user.HasComponent<IActorComponent>())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ namespace Content.Server.GlobalVerbs
|
|||||||
data.Text = Loc.GetString("Rejuvenate");
|
data.Text = Loc.GetString("Rejuvenate");
|
||||||
data.CategoryData = VerbCategories.Debug;
|
data.CategoryData = VerbCategories.Debug;
|
||||||
data.Visibility = VerbVisibility.Invisible;
|
data.Visibility = VerbVisibility.Invisible;
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/rejuvenate.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/rejuvenate.svg.192dpi.png";
|
||||||
|
|
||||||
var groupController = IoCManager.Resolve<IConGroupController>();
|
var groupController = IoCManager.Resolve<IConGroupController>();
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace Content.Server.GlobalVerbs
|
|||||||
{
|
{
|
||||||
data.CategoryData = VerbCategories.Debug;
|
data.CategoryData = VerbCategories.Debug;
|
||||||
data.Visibility = VerbVisibility.Invisible;
|
data.Visibility = VerbVisibility.Invisible;
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/anchor.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/anchor.svg.192dpi.png";
|
||||||
|
|
||||||
var groupController = IoCManager.Resolve<IConGroupController>();
|
var groupController = IoCManager.Resolve<IConGroupController>();
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ namespace Content.Server
|
|||||||
{
|
{
|
||||||
data.Visibility = VerbVisibility.Visible;
|
data.Visibility = VerbVisibility.Visible;
|
||||||
data.Text = "Rotate CCW";
|
data.Text = "Rotate CCW";
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/rotate_ccw.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/rotate_ccw.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Activate(IEntity user, IEntity target)
|
public override void Activate(IEntity user, IEntity target)
|
||||||
@@ -36,7 +36,7 @@ namespace Content.Server
|
|||||||
{
|
{
|
||||||
data.Visibility = VerbVisibility.Visible;
|
data.Visibility = VerbVisibility.Visible;
|
||||||
data.Text = "Rotate CW";
|
data.Text = "Rotate CW";
|
||||||
data.IconTexture = "/Textures/Interface/VerbIcons/rotate_cw.svg.96dpi.png";
|
data.IconTexture = "/Textures/Interface/VerbIcons/rotate_cw.svg.192dpi.png";
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Activate(IEntity user, IEntity target)
|
public override void Activate(IEntity user, IEntity target)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace Content.Shared.GameObjects.Verbs
|
|||||||
public static class VerbCategories
|
public static class VerbCategories
|
||||||
{
|
{
|
||||||
public static readonly VerbCategoryData Debug =
|
public static readonly VerbCategoryData Debug =
|
||||||
("Debug", "/Textures/Interface/VerbIcons/debug.svg.96dpi.png");
|
("Debug", "/Textures/Interface/VerbIcons/debug.svg.192dpi.png");
|
||||||
|
|
||||||
public static readonly VerbCategoryData Rotate = ("Rotate", null);
|
public static readonly VerbCategoryData Rotate = ("Rotate", null);
|
||||||
public static readonly VerbCategoryData Construction = ("Construction", null);
|
public static readonly VerbCategoryData Construction = ("Construction", null);
|
||||||
|
|||||||
BIN
Resources/Textures/Interface/VerbIcons/anchor.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 635 B |
BIN
Resources/Textures/Interface/VerbIcons/buckle.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 656 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 545 B |
BIN
Resources/Textures/Interface/VerbIcons/close.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 487 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 303 B |
@@ -7,16 +7,16 @@
|
|||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
width="24"
|
width="32"
|
||||||
height="24"
|
height="32"
|
||||||
viewBox="0 0 6.3499998 6.3500002"
|
viewBox="0 0 8.4666664 8.4666669"
|
||||||
version="1.1"
|
version="1.1"
|
||||||
id="svg8"
|
id="svg8"
|
||||||
sodipodi:docname="debug.svg"
|
sodipodi:docname="debug.svg"
|
||||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
||||||
inkscape:export-filename="/home/pj/Projects/space-station-14/Resources/Textures/Interface/VerbIcons/debug.svg.96dpi.png"
|
inkscape:export-filename="C:\Users\Pieter-Jan Briers\Projects\space-station-14\Resources\Textures\Interface\VerbIcons\debug.svg.192dpi.png"
|
||||||
inkscape:export-xdpi="96"
|
inkscape:export-xdpi="192"
|
||||||
inkscape:export-ydpi="96">
|
inkscape:export-ydpi="192">
|
||||||
<defs
|
<defs
|
||||||
id="defs2" />
|
id="defs2" />
|
||||||
<sodipodi:namedview
|
<sodipodi:namedview
|
||||||
@@ -26,9 +26,9 @@
|
|||||||
borderopacity="1.0"
|
borderopacity="1.0"
|
||||||
inkscape:pageopacity="0"
|
inkscape:pageopacity="0"
|
||||||
inkscape:pageshadow="2"
|
inkscape:pageshadow="2"
|
||||||
inkscape:zoom="23.470348"
|
inkscape:zoom="16.596042"
|
||||||
inkscape:cx="10.081453"
|
inkscape:cx="16.492689"
|
||||||
inkscape:cy="13.861109"
|
inkscape:cy="15.2842"
|
||||||
inkscape:document-units="px"
|
inkscape:document-units="px"
|
||||||
inkscape:current-layer="layer1"
|
inkscape:current-layer="layer1"
|
||||||
inkscape:document-rotation="0"
|
inkscape:document-rotation="0"
|
||||||
@@ -36,9 +36,9 @@
|
|||||||
inkscape:pagecheckerboard="false"
|
inkscape:pagecheckerboard="false"
|
||||||
units="px"
|
units="px"
|
||||||
inkscape:window-width="1920"
|
inkscape:window-width="1920"
|
||||||
inkscape:window-height="1043"
|
inkscape:window-height="1051"
|
||||||
inkscape:window-x="0"
|
inkscape:window-x="-9"
|
||||||
inkscape:window-y="0"
|
inkscape:window-y="-9"
|
||||||
inkscape:window-maximized="1" />
|
inkscape:window-maximized="1" />
|
||||||
<metadata
|
<metadata
|
||||||
id="metadata5">
|
id="metadata5">
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
<dc:format>image/svg+xml</dc:format>
|
<dc:format>image/svg+xml</dc:format>
|
||||||
<dc:type
|
<dc:type
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
<dc:title />
|
<dc:title></dc:title>
|
||||||
</cc:Work>
|
</cc:Work>
|
||||||
</rdf:RDF>
|
</rdf:RDF>
|
||||||
</metadata>
|
</metadata>
|
||||||
@@ -57,6 +57,9 @@
|
|||||||
inkscape:groupmode="layer"
|
inkscape:groupmode="layer"
|
||||||
id="layer1"
|
id="layer1"
|
||||||
transform="translate(-0.35898988,-0.29466516)">
|
transform="translate(-0.35898988,-0.29466516)">
|
||||||
|
<g
|
||||||
|
id="g846"
|
||||||
|
transform="translate(1.0465357,1.1201506)">
|
||||||
<path
|
<path
|
||||||
transform="matrix(0.26458333,0,0,0.26458333,0.35898988,0.29466516)"
|
transform="matrix(0.26458333,0,0,0.26458333,0.35898988,0.29466516)"
|
||||||
d="m 12,4.1367188 a 6.7719046,8.6036511 0 0 0 -6.7714844,8.6035152 6.7719046,8.6036511 0 0 0 5.4921874,8.449219 1.2499994,1.2499994 0 0 1 0,-0.04687 l 0.05859,-10.179687 a 1.2499994,1.2499994 0 0 1 1.253906,-1.2402348 1.2499994,1.2499994 0 0 1 1.240235,1.2558598 l -0.05078,10.179687 a 1.2499994,1.2499994 0 0 1 -0.002,0.04687 6.7719046,8.6036511 0 0 0 5.550781,-8.464844 A 6.7719046,8.6036511 0 0 0 12,4.1367188 Z"
|
d="m 12,4.1367188 a 6.7719046,8.6036511 0 0 0 -6.7714844,8.6035152 6.7719046,8.6036511 0 0 0 5.4921874,8.449219 1.2499994,1.2499994 0 0 1 0,-0.04687 l 0.05859,-10.179687 a 1.2499994,1.2499994 0 0 1 1.253906,-1.2402348 1.2499994,1.2499994 0 0 1 1.240235,1.2558598 l -0.05078,10.179687 a 1.2499994,1.2499994 0 0 1 -0.002,0.04687 6.7719046,8.6036511 0 0 0 5.550781,-8.464844 A 6.7719046,8.6036511 0 0 0 12,4.1367188 Z"
|
||||||
@@ -100,4 +103,5 @@
|
|||||||
rx="0.89334828"
|
rx="0.89334828"
|
||||||
ry="0.8606078" />
|
ry="0.8606078" />
|
||||||
</g>
|
</g>
|
||||||
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.3 KiB |
BIN
Resources/Textures/Interface/VerbIcons/debug.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 590 B |
BIN
Resources/Textures/Interface/VerbIcons/delete.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 710 B |
BIN
Resources/Textures/Interface/VerbIcons/eject.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 457 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 312 B |
BIN
Resources/Textures/Interface/VerbIcons/examine.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 986 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 498 B |
BIN
Resources/Textures/Interface/VerbIcons/group.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 415 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 280 B |
@@ -56,7 +56,7 @@
|
|||||||
objecttolerance="10"
|
objecttolerance="10"
|
||||||
gridtolerance="10"
|
gridtolerance="10"
|
||||||
guidetolerance="10"
|
guidetolerance="10"
|
||||||
inkscape:pageopacity="1"
|
inkscape:pageopacity="0"
|
||||||
inkscape:pageshadow="2"
|
inkscape:pageshadow="2"
|
||||||
inkscape:window-width="1920"
|
inkscape:window-width="1920"
|
||||||
inkscape:window-height="1051"
|
inkscape:window-height="1051"
|
||||||
@@ -68,7 +68,8 @@
|
|||||||
inkscape:window-x="-9"
|
inkscape:window-x="-9"
|
||||||
inkscape:window-y="-9"
|
inkscape:window-y="-9"
|
||||||
inkscape:window-maximized="1"
|
inkscape:window-maximized="1"
|
||||||
inkscape:current-layer="g859">
|
inkscape:current-layer="g859"
|
||||||
|
inkscape:document-rotation="0">
|
||||||
<inkscape:grid
|
<inkscape:grid
|
||||||
type="xygrid"
|
type="xygrid"
|
||||||
id="grid841"
|
id="grid841"
|
||||||
@@ -80,7 +81,7 @@
|
|||||||
<path
|
<path
|
||||||
id="path4"
|
id="path4"
|
||||||
style="fill:#ffffff;fill-opacity:1;stroke-width:0.191043"
|
style="fill:#ffffff;fill-opacity:1;stroke-width:0.191043"
|
||||||
d="m 28.071396,20.975328 -7.999998,-8.000003 -8.000003,8.000003 2.234378,2.234373 3.765622,-3.755857 0,8.521481 4.000001,0 0,-8.521481 3.763673,3.755857 z"
|
d="m 28.071396,20.975328 -7.999998,-8.000003 -8.000003,8.000003 2.234378,2.234373 3.765622,-3.755857 v 8.521481 h 4.000001 v -8.521481 l 3.763673,3.755857 z"
|
||||||
sodipodi:nodetypes="cccccccccc" />
|
sodipodi:nodetypes="cccccccccc" />
|
||||||
<path
|
<path
|
||||||
id="rect10"
|
id="rect10"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.1 KiB |
BIN
Resources/Textures/Interface/VerbIcons/in.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 574 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 404 B |
@@ -56,7 +56,7 @@
|
|||||||
objecttolerance="10"
|
objecttolerance="10"
|
||||||
gridtolerance="10"
|
gridtolerance="10"
|
||||||
guidetolerance="10"
|
guidetolerance="10"
|
||||||
inkscape:pageopacity="1"
|
inkscape:pageopacity="0"
|
||||||
inkscape:pageshadow="2"
|
inkscape:pageshadow="2"
|
||||||
inkscape:window-width="1920"
|
inkscape:window-width="1920"
|
||||||
inkscape:window-height="1051"
|
inkscape:window-height="1051"
|
||||||
@@ -68,7 +68,9 @@
|
|||||||
inkscape:window-x="-9"
|
inkscape:window-x="-9"
|
||||||
inkscape:window-y="-9"
|
inkscape:window-y="-9"
|
||||||
inkscape:window-maximized="1"
|
inkscape:window-maximized="1"
|
||||||
inkscape:current-layer="g859">
|
inkscape:current-layer="g859"
|
||||||
|
inkscape:document-rotation="0"
|
||||||
|
inkscape:pagecheckerboard="true">
|
||||||
<inkscape:grid
|
<inkscape:grid
|
||||||
type="xygrid"
|
type="xygrid"
|
||||||
id="grid841"
|
id="grid841"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.1 KiB |
BIN
Resources/Textures/Interface/VerbIcons/insert.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 543 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 429 B |
BIN
Resources/Textures/Interface/VerbIcons/light.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 764 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 407 B |
BIN
Resources/Textures/Interface/VerbIcons/open.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 481 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 305 B |
BIN
Resources/Textures/Interface/VerbIcons/outfit.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 558 B |
BIN
Resources/Textures/Interface/VerbIcons/point.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 821 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 447 B |
BIN
Resources/Textures/Interface/VerbIcons/refresh.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 610 B |
BIN
Resources/Textures/Interface/VerbIcons/rejuvenate.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 719 B |
BIN
Resources/Textures/Interface/VerbIcons/rotate_ccw.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 724 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 417 B |
BIN
Resources/Textures/Interface/VerbIcons/rotate_cw.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 713 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 427 B |
BIN
Resources/Textures/Interface/VerbIcons/sentient.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 676 B |
BIN
Resources/Textures/Interface/VerbIcons/settings.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 548 B |
BIN
Resources/Textures/Interface/VerbIcons/smite.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 766 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 422 B |
BIN
Resources/Textures/Interface/VerbIcons/spill.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 872 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||
|
Before Width: | Height: | Size: 451 B |
BIN
Resources/Textures/Interface/VerbIcons/unbuckle.svg.192dpi.png
Normal file
|
After Width: | Height: | Size: 730 B |
@@ -0,0 +1,2 @@
|
|||||||
|
sample:
|
||||||
|
filter: true
|
||||||