* basic religion vision * block god interactions * skill tree mob specify * silvania setup?? * clustering shader optimization * gods department & job * random gods jobs * Luxian god * Update Nature.png * Update sphere_of_light.yml * god chat * Update ChatSystem.cs * OBSERVATION * public observation and basic follower api * shader tweaks * improve shaders * spawning and praying on altars * altars ppvs override * move pvs overridiation from altars to observers * shader coloration * spectral z mover * god magic radius restricted * guide how to believe in god * sends messages to god when smoeone wanna become follower * follower doAfter * goodbye luxian, welcome lumera * goodbye silvania, welcome merkas * som polish and renamings * gods fast travel * Update altar.ftl * some lumera sfx * renouncing patrons! * renounce followers * followewr percentage calculation * remove from player-facing * fix * Update sphere_of_light.yml * Update base.yml
34 lines
755 B
C#
34 lines
755 B
C#
using Content.Shared.Roles;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Spawners.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class SpawnPointComponent : Component, ISpawnPoint
|
|
{
|
|
[DataField("job_id")]
|
|
public ProtoId<JobPrototype>? Job;
|
|
|
|
/// <summary>
|
|
/// The type of spawn point
|
|
/// </summary>
|
|
[DataField("spawn_type"), ViewVariables(VVAccess.ReadWrite)]
|
|
public SpawnPointType SpawnType { get; set; } = SpawnPointType.Unset;
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"{Job} {SpawnType}";
|
|
}
|
|
}
|
|
|
|
public enum SpawnPointType
|
|
{
|
|
Unset = 0,
|
|
LateJoin,
|
|
Job,
|
|
Observer,
|
|
//CP14
|
|
Always, //Always use only these spawn point, and latejoin, and roundstart
|
|
//CP14 end
|
|
}
|