* 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
27 lines
647 B
C#
27 lines
647 B
C#
|
|
using Content.Shared.Destructible.Thresholds;
|
|
using Content.Shared.Roles;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server._CP14.RandomJobs;
|
|
|
|
[RegisterComponent, Access(typeof(CP14StationRandomJobsSystem))]
|
|
public sealed partial class CP14StationRandomJobsComponent : Component
|
|
{
|
|
[DataField]
|
|
public List<CP14RandomJobEntry> Entries = new();
|
|
}
|
|
|
|
[Serializable, DataDefinition]
|
|
public sealed partial class CP14RandomJobEntry
|
|
{
|
|
[DataField(required: true)]
|
|
public List<ProtoId<JobPrototype>> Jobs = default!;
|
|
|
|
[DataField(required: true)]
|
|
public MinMax Count = new(1, 1);
|
|
|
|
[DataField]
|
|
public float Prob = 1f;
|
|
}
|