Inline Description

This commit is contained in:
Vera Aguilera Puerto
2021-12-03 11:15:12 +01:00
parent 70bbd8c502
commit f06bfc22ce
9 changed files with 16 additions and 11 deletions

View File

@@ -55,7 +55,7 @@ namespace Content.Server.Atmos.Components
return;
}
Owner.Description = _type switch
var val = _type switch
{
PlaqueType.Zumos =>
"This plaque commemorates the rise of the Atmos ZUM division. May they carry the torch that the Atmos ZAS, LINDA and FEA divisions left behind.",
@@ -68,6 +68,7 @@ namespace Content.Server.Atmos.Components
PlaqueType.Unset => "Uhm",
_ => "Uhm",
};
IoCManager.Resolve<IEntityManager>().GetComponent<MetaDataComponent>(Owner.Uid).EntityDescription = val;
Owner.Name = _type switch
{