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:
@@ -0,0 +1,7 @@
|
||||
namespace Content.Shared._Amour.RoleplayInfo;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed partial class RoleplayInfoComponent : Component
|
||||
{
|
||||
[DataField] public List<RoleplayInfo> Data = new();
|
||||
}
|
||||
22
Content.Shared/_Amour/RoleplayInfo/RoleplayInfoData.cs
Normal file
22
Content.Shared/_Amour/RoleplayInfo/RoleplayInfoData.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared._Amour.RoleplayInfo;
|
||||
|
||||
[Serializable, NetSerializable, DataDefinition]
|
||||
public sealed partial class RoleplayInfo
|
||||
{
|
||||
[DataField] public string Name ;
|
||||
[DataField] public RoleplaySelection RoleplaySelection;
|
||||
public RoleplayInfo(string name, RoleplaySelection roleplaySelection)
|
||||
{
|
||||
Name = name;
|
||||
RoleplaySelection = roleplaySelection;
|
||||
}
|
||||
}
|
||||
|
||||
public enum RoleplaySelection
|
||||
{
|
||||
No = 0,
|
||||
Maybe = 1,
|
||||
Yes = 2
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared._Amour.RoleplayInfo;
|
||||
|
||||
[Prototype]
|
||||
public sealed class RoleplayInfoPrototype : IPrototype
|
||||
{
|
||||
[IdDataField] public string ID { get; private set; } = default!;
|
||||
}
|
||||
19
Content.Shared/_Amour/RoleplayInfo/SharedRoleplaySystem.cs
Normal file
19
Content.Shared/_Amour/RoleplayInfo/SharedRoleplaySystem.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Linq;
|
||||
using Content.Shared._Amour.HumanoidAppearanceExtension;
|
||||
using Content.Shared.Examine;
|
||||
using Content.Shared.Humanoid;
|
||||
|
||||
namespace Content.Shared._Amour.RoleplayInfo;
|
||||
|
||||
public abstract class SharedRoleplaySystem : EntitySystem
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
SubscribeLocalEvent<RoleplayInfoComponent, HumanoidAppearanceLoadingEvent>(OnHumanoidLoading);
|
||||
}
|
||||
|
||||
private void OnHumanoidLoading(EntityUid uid, RoleplayInfoComponent component, HumanoidAppearanceLoadingEvent args)
|
||||
{
|
||||
component.Data = new List<RoleplayInfo>(args.Profile.RoleplayInfoData.Select(p => p.Value));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user