mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* Job weight rework Instead of global job priorities we do: - Fill up minimum job slots first by priority. Has same-department / anyone / never fallbacks. - Players get their jobs by pref, filling up up to roundstart values on gamemapprototype (AKA maximums) Default weights are used if the map doesn't specify. * a * I square to god
13 lines
353 B
C#
13 lines
353 B
C#
using Content.Shared.Roles;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Maps;
|
|
|
|
public sealed partial class GameMapPrototype
|
|
{
|
|
/// <summary>
|
|
/// Optional map-specific job weighting profile. Jobs omitted from it use the global default profile.
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<JobWeightPrototype>? JobWeights;
|
|
}
|