NukeOps game rule tweaks (#10005)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
TekuNut
2022-09-01 03:36:27 +01:00
committed by GitHub
parent 195cf7a429
commit d946ed5009
8 changed files with 436 additions and 119 deletions

View File

@@ -0,0 +1,20 @@
namespace Content.Server.GameTicking.Rules.Components;
/// <summary>
/// This is used for tagging a spawn point as a nuke operative spawn point
/// and providing loadout + name for the operative on spawn.
/// TODO: Remove once systems can request spawns from the ghost role system directly.
/// </summary>
[RegisterComponent]
[Access(typeof(NukeopsRuleSystem))]
public sealed class NukeOperativeSpawnerComponent : Component
{
[DataField("name")]
public string OperativeName = "";
[DataField("rolePrototype")]
public string OperativeRolePrototype = "";
[DataField("startingGearPrototype")]
public string OperativeStartingGear = "";
}