Fixes (#73)
* - fix: Genitals sprite shit and meow for tajaran * - add: fart sound if kicked from server * - tweak: vulpies and tajaran now for donaters!!! * - fix: Fart on exit * - add: roleplay think * - fix: database shit and loc * - add: ears for slime * - fix: LOC interaction fix * - add: height setting * - fix: height for felinids * - fix: nigga fix * - fix: no bitches on captain * - fix: interaction panel animation shit
This commit is contained in:
28
Content.Server/_Amour/RoleplayInfo/RoleplayInfoSystem.cs
Normal file
28
Content.Server/_Amour/RoleplayInfo/RoleplayInfoSystem.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Content.Server.Humanoid;
|
||||
using Content.Shared._Amour.RoleplayInfo;
|
||||
using Content.Shared.Examine;
|
||||
|
||||
namespace Content.Server._Amour.RoleplayInfo;
|
||||
|
||||
public sealed class RoleplayInfoSystem : SharedRoleplaySystem
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
SubscribeLocalEvent<RoleplayInfoComponent,ExaminedEvent>(OnExamined);
|
||||
}
|
||||
|
||||
private void OnExamined(EntityUid uid, RoleplayInfoComponent component, ExaminedEvent args)
|
||||
{
|
||||
if(component.Data.Count == 0)
|
||||
return;
|
||||
|
||||
|
||||
args.PushText($"\n{Loc.GetString("roleplay-info")}",-1);
|
||||
|
||||
foreach (var data in component.Data)
|
||||
{
|
||||
args.PushMarkup($"[bold]{Loc.GetString("roleplay-name-" + data.Name.ToLower())}[/bold] - {Loc.GetString("roleplay-" + data.RoleplaySelection.ToString().ToLower())}",-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user