Syndicate Names (#8692)
* Syndicate Names * Update syndicate.yml * Update NukeopsRuleSystem.cs Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -10,6 +10,7 @@ using Content.Server.Station.Components;
|
||||
using Content.Server.Station.Systems;
|
||||
using Content.Shared.CCVar;
|
||||
using Content.Shared.MobState;
|
||||
using Content.Shared.Dataset;
|
||||
using Content.Shared.Roles;
|
||||
using Robust.Server.Maps;
|
||||
using Robust.Server.Player;
|
||||
@@ -213,6 +214,8 @@ public sealed class NukeopsRuleSystem : GameRuleSystem
|
||||
var commanderGear = _prototypeManager.Index<StartingGearPrototype>("SyndicateCommanderGearFull");
|
||||
var starterGear = _prototypeManager.Index<StartingGearPrototype>("SyndicateOperativeGearFull");
|
||||
var medicGear = _prototypeManager.Index<StartingGearPrototype>("SyndicateOperativeMedicFull");
|
||||
var syndicateNamesElite = new List<string>(_prototypeManager.Index<DatasetPrototype>("SyndicateNamesElite").Values);
|
||||
var syndicateNamesNormal = new List<string>(_prototypeManager.Index<DatasetPrototype>("SyndicateNamesNormal").Values);
|
||||
|
||||
var spawns = new List<EntityCoordinates>();
|
||||
|
||||
@@ -239,15 +242,15 @@ public sealed class NukeopsRuleSystem : GameRuleSystem
|
||||
switch (i)
|
||||
{
|
||||
case 0:
|
||||
name = $"Commander";
|
||||
name = $"Commander " + _random.PickAndTake<string>(syndicateNamesElite);
|
||||
gear = commanderGear;
|
||||
break;
|
||||
case 1:
|
||||
name = $"Operator #{i}";
|
||||
name = $"Agent " + _random.PickAndTake<string>(syndicateNamesNormal);
|
||||
gear = medicGear;
|
||||
break;
|
||||
default:
|
||||
name = $"Operator #{i}";
|
||||
name = $"Operator " + _random.PickAndTake<string>(syndicateNamesNormal);
|
||||
gear = starterGear;
|
||||
break;
|
||||
}
|
||||
|
||||
55
Resources/Prototypes/Datasets/Names/syndicate.yml
Normal file
55
Resources/Prototypes/Datasets/Names/syndicate.yml
Normal file
@@ -0,0 +1,55 @@
|
||||
- type: dataset
|
||||
id: SyndicateNamesNormal
|
||||
values:
|
||||
- Alfa
|
||||
- Bravo
|
||||
- Charlie
|
||||
- Delta
|
||||
- Echo
|
||||
- Foxtrot
|
||||
- Golf
|
||||
- Hotel
|
||||
- India
|
||||
- Juliett
|
||||
- Kilo
|
||||
- Lima
|
||||
- Mike
|
||||
- November
|
||||
- Oscar
|
||||
- Papa
|
||||
- Quebec
|
||||
- Romeo
|
||||
- Sierra
|
||||
- Tango
|
||||
- Uniform
|
||||
- Victor
|
||||
- Whiskey
|
||||
- X-Ray
|
||||
- Zulu
|
||||
|
||||
- type: dataset
|
||||
id: SyndicateNamesElite
|
||||
values:
|
||||
- Alpha
|
||||
- Beta
|
||||
- Gamma
|
||||
- Delta
|
||||
- Epsilon
|
||||
- Zeta
|
||||
- Eta
|
||||
- Theta
|
||||
- Iota
|
||||
- Lambda
|
||||
- Mu
|
||||
- Nu
|
||||
- Xi
|
||||
- Omicron
|
||||
- Pi
|
||||
- Rho
|
||||
- Sigma
|
||||
- Tau
|
||||
- Upsilon
|
||||
- Phi
|
||||
- Chi
|
||||
- Psi
|
||||
- Omega
|
||||
Reference in New Issue
Block a user