* Stop pAIs from being able to wipe each other/do other odd things they shouldn't * pAI: device changes name to indicate owner * Make PAIComponent networked (just in case) It'll be needed in future anyway
24 lines
928 B
C#
24 lines
928 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.PAI
|
|
{
|
|
/// <summary>
|
|
/// pAIs, or Personal AIs, are essentially portable ghost role generators.
|
|
/// In their current implementation in SS14, they create a ghost role anyone can access,
|
|
/// and that a player can also "wipe" (reset/kick out player).
|
|
/// Theoretically speaking pAIs are supposed to use a dedicated "offer and select" system,
|
|
/// with the player holding the pAI being able to choose one of the ghosts in the round.
|
|
/// This seems too complicated for an initial implementation, though,
|
|
/// and there's not always enough players and ghost roles to justify it.
|
|
/// All logic in PAISystem.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public class PAIComponent : Component
|
|
{
|
|
public override string Name => "PAI";
|
|
}
|
|
}
|
|
|