From c2324ed052c679386b783657d4f17755873a3dd7 Mon Sep 17 00:00:00 2001
From: Morb0 <14136326+Morb0@users.noreply.github.com>
Date: Tue, 26 Dec 2023 00:13:13 +0300
Subject: [PATCH] Make thieves not pacifist
---
.../GameTicking/Rules/Components/ThiefRuleComponent.cs | 1 +
Resources/Prototypes/GameRules/roundstart.yml | 2 ++
2 files changed, 3 insertions(+)
diff --git a/Content.Server/GameTicking/Rules/Components/ThiefRuleComponent.cs b/Content.Server/GameTicking/Rules/Components/ThiefRuleComponent.cs
index a7ad4e2d203..f8a65b8ddf2 100644
--- a/Content.Server/GameTicking/Rules/Components/ThiefRuleComponent.cs
+++ b/Content.Server/GameTicking/Rules/Components/ThiefRuleComponent.cs
@@ -15,6 +15,7 @@ public sealed partial class ThiefRuleComponent : Component
///
/// Add a Pacified comp to thieves
///
+ [DataField] // Corvax-MRP
public bool PacifistThieves = true;
///
diff --git a/Resources/Prototypes/GameRules/roundstart.yml b/Resources/Prototypes/GameRules/roundstart.yml
index 066bf9b6269..cf7709b12ee 100644
--- a/Resources/Prototypes/GameRules/roundstart.yml
+++ b/Resources/Prototypes/GameRules/roundstart.yml
@@ -76,6 +76,7 @@
- type: TraitorRule
- type: ThiefRule #the thieves come as an extension of another gamemode
ruleChance: 0.5
+ pacifistThieves: false # Corvax-MRP
- type: entity
id: Revolutionary
@@ -85,6 +86,7 @@
- type: RevolutionaryRule
- type: ThiefRule #the thieves come as an extension of another gamemode
ruleChance: 0.5
+ pacifistThieves: false # Corvax-MRP
- type: entity
id: Sandbox