From 26a5c4179dc33aeb68d581cbf184b396e92320d4 Mon Sep 17 00:00:00 2001 From: Raphael Bertoche Date: Mon, 19 Feb 2024 16:48:41 -0300 Subject: [PATCH] Removes all blocks from research (#107) Pirateia as tecnologias da pesquisa --- Content.Shared/Research/Prototypes/TechDisciplinePrototype.cs | 2 +- Content.Shared/Research/Systems/SharedResearchSystem.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Shared/Research/Prototypes/TechDisciplinePrototype.cs b/Content.Shared/Research/Prototypes/TechDisciplinePrototype.cs index b48d8256b73..ea0a2f282ef 100644 --- a/Content.Shared/Research/Prototypes/TechDisciplinePrototype.cs +++ b/Content.Shared/Research/Prototypes/TechDisciplinePrototype.cs @@ -44,5 +44,5 @@ public sealed partial class TechDisciplinePrototype : IPrototype /// Purchasing this tier of technology causes a server to become "locked" to this discipline. /// [DataField("lockoutTier")] - public int LockoutTier = 3; + public int LockoutTier = 4; } diff --git a/Content.Shared/Research/Systems/SharedResearchSystem.cs b/Content.Shared/Research/Systems/SharedResearchSystem.cs index 12f27d0b9c9..30c6e354718 100644 --- a/Content.Shared/Research/Systems/SharedResearchSystem.cs +++ b/Content.Shared/Research/Systems/SharedResearchSystem.cs @@ -216,6 +216,7 @@ public bool IsTechnologyUnlocked(EntityUid uid, string technologyId, TechnologyD public void TrySetMainDiscipline(TechnologyPrototype prototype, EntityUid uid, TechnologyDatabaseComponent? component = null) { + return; if (!Resolve(uid, ref component)) return;