From 9d7f0cf31e4bf993bd9a44f84b449ace02df67f3 Mon Sep 17 00:00:00 2001 From: Darius <5933805+LeDrascol@users.noreply.github.com> Date: Thu, 16 Feb 2023 19:42:52 -0500 Subject: [PATCH] Prevent researching Infective Exo-Locomotion Prevents researching the Infective Exo-Locomotion nanite type, listed in the techweb as `spreading_nanites`, due to conflicts with server rules. --- .../modules/research/techweb/nodes/nanites_nodes.dm | 12 ++++++++++++ tgstation.dme | 1 + 2 files changed, 13 insertions(+) create mode 100644 modular_splurt/code/modules/research/techweb/nodes/nanites_nodes.dm diff --git a/modular_splurt/code/modules/research/techweb/nodes/nanites_nodes.dm b/modular_splurt/code/modules/research/techweb/nodes/nanites_nodes.dm new file mode 100644 index 0000000000..a662a03f7f --- /dev/null +++ b/modular_splurt/code/modules/research/techweb/nodes/nanites_nodes.dm @@ -0,0 +1,12 @@ +// Harmful nanites node +/datum/techweb_node/nanite_hazard/New() + // Define designs to remove + var/list/rem_designs = list( + "spreading_nanites" + ) + + // Remove designs from the list + LAZYREMOVE(design_ids, rem_designs) + + // Return + . = ..() diff --git a/tgstation.dme b/tgstation.dme index 830a88ec91..96d8852e37 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -4785,6 +4785,7 @@ #include "modular_splurt\code\modules\research\techweb\nodes\bluespace_nodes.dm" #include "modular_splurt\code\modules\research\techweb\nodes\mecha_nodes.dm" #include "modular_splurt\code\modules\research\techweb\nodes\medical_nodes.dm" +#include "modular_splurt\code\modules\research\techweb\nodes\nanites_nodes.dm" #include "modular_splurt\code\modules\research\techweb\nodes\robotic_nodes.dm" #include "modular_splurt\code\modules\resize\smallsprite_action.dm" #include "modular_splurt\code\modules\ruins\objects_and_mobs\ash_walker_den.dm"