using Content.Server.Codewords;
using Robust.Shared.Prototypes;
namespace Content.Server.Traitor.Components;
///
/// Paper with written traitor codewords on it.
///
[RegisterComponent]
public sealed partial class TraitorCodePaperComponent : Component
{
///
/// The faction to get codewords for.
///
[DataField]
public ProtoId CodewordFaction = "Traitor";
///
/// The generator to use for the fake words.
///
[DataField]
public ProtoId CodewordGenerator = "TraitorCodewordGenerator";
///
/// The number of codewords that should be generated on this paper.
/// Will not extend past the max number of available codewords.
///
[DataField]
public int CodewordAmount = 1;
///
/// Whether the codewords should be faked if there is no traitor gamerule set.
///
[DataField]
public bool FakeCodewords = true;
///
/// Whether all codewords added to the round should be used. Overrides CodewordAmount if true.
///
[DataField]
public bool CodewordShowAll = false;
}