Files
tbd-station-14/Content.Server/zlevels/ThirdDimension/LadderComponent.cs
Moony 1f6663912b Moony z level hack (#15031)
* 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>
2023-03-31 21:49:10 -05:00

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";
}