Yes (#8)
(cherry picked from commit 3d083befca212455cffcae56b84ee55050ad62be)
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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!;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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!;
|
||||
|
||||
@@ -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!;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
- type: entity # WD Engi Exclusive
|
||||
# WD Engi Exclusive
|
||||
- type: entity
|
||||
parent: ClothingOuterArmorBasic
|
||||
id: ClothingOuterArmorReflectiveGhetto
|
||||
name: makeshift reflective vest
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
- type: entity # WD Engi Exclusive
|
||||
# WD Engi Exclusive
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: FoodSnackSuhariki
|
||||
name: suhariki
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
- type: entity # WD Engi Exclusive
|
||||
# WD Engi Exclusive
|
||||
- type: entity
|
||||
name: makeshift mirror shield
|
||||
parent: BaseItem
|
||||
id: MirrorShieldGhetto
|
||||
|
||||
Reference in New Issue
Block a user