Spiders Buff and critters change (#13377)

This commit is contained in:
Jackrost
2023-01-23 01:50:05 +03:00
committed by GitHub
parent 4915ff6f5b
commit 12fb4b2097
18 changed files with 332 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
using Content.Shared.Actions;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared.Spider;
[RegisterComponent, NetworkedComponent]
[Access(typeof(SharedSpiderSystem))]
public sealed class SpiderComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("webPrototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string WebPrototype = "SpiderWeb";
[ViewVariables(VVAccess.ReadWrite)]
[DataField("webActionName")]
public string WebActionName = "SpiderWebAction";
}
public sealed class SpiderWebActionEvent : InstantActionEvent { }