* save work * Adds Z levels * a * ladders + parallax scroll * zoom out not in * oops, sandbox * oops i broke the law * run ci * fuck --------- Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
21 lines
622 B
C#
21 lines
622 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server._Afterlight.ThirdDimension;
|
|
|
|
/// <summary>
|
|
/// This is used for ladders and traversing them.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed class LadderComponent : Component
|
|
{
|
|
[DataField("primary")]
|
|
public bool Primary = false;
|
|
|
|
[DataField("otherHalf")]
|
|
public EntityUid? OtherHalf = EntityUid.Invalid;
|
|
|
|
[DataField("otherHalfProto", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
public string OtherHalfProto = "LadderLower";
|
|
}
|