Added briefings to character menu & the traitor briefing (codewords) (#5971)
This commit is contained in:
@@ -186,6 +186,9 @@ public class TraitorRuleSystem : GameRuleSystem
|
||||
if (traitor.Mind.TryAddObjective(objective))
|
||||
difficulty += objective.Difficulty;
|
||||
}
|
||||
|
||||
//give traitors their codewords to keep in their character info menu
|
||||
traitor.Mind.Briefing = Loc.GetString("traitor-role-codewords", ("codewords", string.Join(", ",codewords)));
|
||||
}
|
||||
|
||||
SoundSystem.Play(Filter.Empty().AddWhere(s => ((IPlayerSession)s).Data.ContentData()?.Mind?.HasRole<TraitorRole>() ?? false), _addedSound.GetSound(), AudioParams.Default);
|
||||
|
||||
Reference in New Issue
Block a user