(cherry picked from commit 3d083befca212455cffcae56b84ee55050ad62be)
This commit is contained in:
BIGZi0348
2024-09-21 18:09:12 +03:00
committed by keslik
parent bd1e379903
commit 1d571f78e6
13 changed files with 35 additions and 18 deletions

View File

@@ -1,14 +1,14 @@
using Content.Shared.Inventory.Events;
using Content.Shared._White.BucketHelmet;
// WD Engi Exclusive
namespace Content.Server._White.BucketHelmet;
/// <summary>
/// This handles placemet of PreventStrippingFromEarsComponent when bucket helmet is in use.
/// WD Engi Exclusive.
/// </summary>
public sealed class BucketHelmetSystem : EntitySystem
{
/// <inheritdoc/>
public override void Initialize()
{
SubscribeLocalEvent<BucketHelmetComponent, GotEquippedEvent>(OnGotEquipped);

View File

@@ -3,9 +3,13 @@ using Content.Shared.Damage;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Content.Shared.Chat.Prototypes;
using Robust.Shared.Audio;
// WD Engi Exclusive
namespace Content.Server._White.Other.Suhariki;
/// <summary>
/// Makes you loose your tooth and have funny accent.
/// WD Engi Exclusive.
/// </summary>
[RegisterComponent, Access(typeof(SuharikiSystem))]
public sealed partial class SuharikiComponent : Component
@@ -32,13 +36,13 @@ public sealed partial class SuharikiComponent : Component
/// <summary>
/// The prototype that will be spawned on event.
/// </summary>
[DataField("holdingPrototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>)), ViewVariables(VVAccess.ReadWrite)]
[DataField(customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>)), ViewVariables(VVAccess.ReadWrite)]
public string HoldingPrototype = "SuharikiTooth";
/// <summary>
/// Emote triggered on event.
/// </summary>
[DataField("emote", customTypeSerializer: typeof(PrototypeIdSerializer<EmotePrototype>))]
[DataField(customTypeSerializer: typeof(PrototypeIdSerializer<EmotePrototype>))]
public string EmoteId = "Scream";
/// <summary>

View File

@@ -19,10 +19,13 @@ using Robust.Shared.Utility;
using Content.Shared.Body.Components;
using Content.Server.Body.Systems;
using Content.Server.Body.Components;
using Content.Server.Speech.EntitySystems;
using Content.Server.Speech.Components;
// WD Engi Exclusive
namespace Content.Server._White.Other.Suhariki;
/// <summary>
/// WD Engi Exclusive.
/// </summary>
public sealed class SuharikiSystem : EntitySystem
{
[Dependency] private readonly PopupSystem _popup = default!;