Small UI refactor pieces (#11026)

* ActionType rename Name to DisplayName

* Gameplay State rename+move
This commit is contained in:
wrexbe
2022-09-04 17:21:14 -07:00
committed by GitHub
parent 2c0dd52776
commit c55a015b77
27 changed files with 61 additions and 56 deletions

View File

@@ -188,7 +188,7 @@ namespace Content.Server.Polymorph.Systems
{
Prototype = polyproto,
},
Name = Loc.GetString("polymorph-self-action-name", ("target", entproto.Name)),
DisplayName = Loc.GetString("polymorph-self-action-name", ("target", entproto.Name)),
Description = Loc.GetString("polymorph-self-action-description", ("target", entproto.Name)),
Icon = new SpriteSpecifier.EntityPrototype(polyproto.Entity),
ItemIconStyle = ItemActionIconStyle.NoItem,

View File

@@ -114,7 +114,7 @@ namespace Content.Server.Polymorph.Systems
{
Event = new RevertPolymorphActionEvent(),
EntityIcon = component.Parent,
Name = Loc.GetString("polymorph-revert-action-name"),
DisplayName = Loc.GetString("polymorph-revert-action-name"),
Description = Loc.GetString("polymorph-revert-action-description"),
UseDelay = TimeSpan.FromSeconds(component.Prototype.Delay),
};