[Antag] Lone Ops (#14647)

* loneops event, prototype stuff, striker shuttle, and nukeops rule changes

* newline

* shuttle attributions

* optimizations and tweaks

* bugfix and mutually exclusive with nukeops

* bugfix but better

* fix nukie planet spawning when defaulting to extended

* remove hypospray protection references

* ghost_roles.yml edit thingy

* remove .orig file
This commit is contained in:
Scribbles0
2023-04-16 23:00:43 -07:00
committed by GitHub
parent 308a64a5c9
commit e24d0b4e44
8 changed files with 3865 additions and 9 deletions

View File

@@ -26,6 +26,24 @@ public sealed class NukeopsRuleConfiguration : GameRuleConfiguration
[DataField("maxOps")]
public int MaxOperatives = 5;
/// <summary>
/// Whether or not all of the nuclear operatives dying will end the round. Used by LoneOpsSpawn event.
/// </summary>
[DataField("endsRound")]
public bool EndsRound = true;
/// <summary>
/// Whether or not to spawn the nuclear operative outpost. Used by LoneOpsSpawn event.
/// </summary>
[DataField("spawnOutpost")]
public bool SpawnOutpost = true;
/// <summary>
/// Whether or not loneops can spawn. Set to false if a normal nukeops round is occurring.
/// </summary>
[DataField("canLoneOpsSpawn")]
public bool CanLoneOpsSpawn = true;
[DataField("randomHumanoidSettings", customTypeSerializer: typeof(PrototypeIdSerializer<RandomHumanoidSettingsPrototype>))]
public string RandomHumanoidSettingsPrototype = "NukeOp";