(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

@@ -136,7 +136,7 @@ namespace Content.Server.Strip
}
// WD EDIT END
// WD ENGI EXCLUSIVE START EDIT
// WD ENGI EXCLUSIVE EDIT START
if (args.Slot == "ears" && TryComp(strippable, out PreventStrippingFromEarsComponent? _))
{
var message = Loc.GetString("buckethelmet-cant-strip");

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!;

View File

@@ -1,8 +1,8 @@
// WD Engi Exclusive
namespace Content.Shared._White.BucketHelmet;
/// <summary>
/// This is used for bucket helmet.
/// WD Engi Exclusive.
/// </summary>
[RegisterComponent]
public sealed partial class BucketHelmetComponent : Component

View File

@@ -1,8 +1,8 @@
// WD Engi Exclusive
namespace Content.Shared._White.BucketHelmet;
/// <summary>
/// This is used to block stripping headsets when bucket helmet is on.
/// WD Engi Exclusive.
/// </summary>
[RegisterComponent]
public sealed partial class PreventStrippingFromEarsComponent : Component

View File

@@ -1,10 +1,11 @@
using Content.Shared.Damage;
using Robust.Shared.GameStates;
// WD Engi Exclusive
namespace Content.Shared.DamageableClothing;
/// <summary>
/// This component goes on an equippable item that should take damage while in use.
/// WD Engi Exclusive.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class DamageableClothingComponent : Component

View File

@@ -1,8 +1,8 @@
// WD Engi Exclusive
namespace Content.Shared.DamageableClothing;
/// <summary>
/// This component gets dynamically added to an Entity via the <see cref="DamageableClothing"/>
/// This component gets dynamically added to an Entity via the <see cref="DamageableClothing"/>.
/// WD Engi Exclusive.
/// </summary>
[RegisterComponent]
public sealed partial class DamageableClothingUserComponent : Component

View File

@@ -1,8 +1,11 @@
using Robust.Shared.Timing;
using Content.Shared.Inventory.Events;
// WD Engi Exclusive
namespace Content.Shared.DamageableClothing;
/// <summary>
/// WD Engi Exclusive.
/// </summary>
public sealed partial class DamageableClothingSystem : EntitySystem
{
[Dependency] private readonly IGameTiming _gameTiming = default!;

View File

@@ -1,7 +1,10 @@
using Content.Shared.Damage;
// WD Engi Exclusive
namespace Content.Shared.DamageableClothing;
/// <summary>
/// WD Engi Exclusive.
/// </summary>
public sealed partial class DamageableClothingSystem
{
[Dependency] private readonly DamageableSystem _damageable = default!;

View File

@@ -1,4 +1,5 @@
- type: entity # WD Engi Exclusive
# WD Engi Exclusive
- type: entity
parent: ClothingOuterArmorBasic
id: ClothingOuterArmorReflectiveGhetto
name: makeshift reflective vest

View File

@@ -1,4 +1,5 @@
- type: entity # WD Engi Exclusive
# WD Engi Exclusive
- type: entity
parent: BaseItem
id: FoodSnackSuhariki
name: suhariki

View File

@@ -1,4 +1,5 @@
- type: entity # WD Engi Exclusive
# WD Engi Exclusive
- type: entity
name: makeshift mirror shield
parent: BaseItem
id: MirrorShieldGhetto