forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make all nukies humans (space-wizards#29693)
- Loading branch information
1 parent
223ade9
commit 3e3e050
Showing
3 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 11 additions & 1 deletion
12
Content.Server/GameTicking/Rules/Components/AntagLoadProfileRuleCOmponent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
using Content.Shared.Humanoid.Prototypes; | ||
using Robust.Shared.Prototypes; | ||
|
||
namespace Content.Server.GameTicking.Rules.Components; | ||
|
||
/// <summary> | ||
/// Makes this rules antags spawn a humanoid, either from the player's profile or a random one. | ||
/// </summary> | ||
[RegisterComponent] | ||
public sealed partial class AntagLoadProfileRuleComponent : Component; | ||
public sealed partial class AntagLoadProfileRuleComponent : Component | ||
{ | ||
/// <summary> | ||
/// If specified, the profile loaded will be made into this species. | ||
/// </summary> | ||
[DataField] | ||
public ProtoId<SpeciesPrototype>? SpeciesOverride; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters