Skip to content

Commit

Permalink
Syndicate Faction Comes From IFF Tags
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Nov 2, 2024
1 parent c5a40ee commit b6c556d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Content.Server/GameTicking/Rules/TraitorRuleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ public bool MakeTraitor(EntityUid traitor, TraitorRuleComponent component, bool
Briefing = briefing
}, mind, true);

// Change the faction
_npcFaction.RemoveFaction(traitor, component.NanoTrasenFaction, false);
_npcFaction.AddFaction(traitor, component.SyndicateFaction);
// Don't Change the faction, this was stupid.
//_npcFaction.RemoveFaction(traitor, component.NanoTrasenFaction, false);
//_npcFaction.AddFaction(traitor, component.SyndicateFaction);

RaiseLocalEvent(traitor, new MoodEffectEvent("TraitorFocused"));

Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,8 @@
whitelist:
components:
- Cartridge
- type: ClothingAddFaction
faction: Syndicate

- type: entity
parent: BasePDA
Expand Down Expand Up @@ -1229,3 +1231,5 @@
whitelist:
components:
- Cartridge
- type: ClothingAddFaction
faction: Syndicate
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,8 @@
type: AgentIDCardBoundUserInterface
enum.ChameleonUiKey.Key:
type: ChameleonBoundUserInterface
- type: ClothingAddFaction
faction: Syndicate

- type: entity
name: passenger ID card
Expand Down

0 comments on commit b6c556d

Please sign in to comment.