Files
tbd-station-14/Content.Server/Coordinates/SpawnRandomOffsetComponent.cs
Vera Aguilera Puerto 3d693c20c8 Spawn with Random Offset component (#10969)
Adds SpawnRandomOffsetComponent, which can be used to randomly move a component on map init

Co-authored-by: wrexbe <wrexbe@protonmail.com>
2022-09-16 13:01:31 -07:00

9 lines
216 B
C#

namespace Content.Server.Coordinates;
[RegisterComponent]
public sealed class SpawnRandomOffsetComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("offset")] public float Offset = 0.5f;
}