From 9dcf6ee91c20f872d2bb50d8b964afef180c711c Mon Sep 17 00:00:00 2001
From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com>
Date: Tue, 2 Jul 2024 23:44:15 -0400
Subject: [PATCH] Fixes easy slaved non golems. Fixes syndicate MMI abuse
(#26020)
* Fixes easy slaved non golems. Fixes syndicate MMI abuse
* Update code/modules/surgery/robotics.dm
Co-authored-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com>
Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com>
---------
Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com>
Co-authored-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com>
---
code/modules/mob/living/simple_animal/friendly/diona_nymph.dm | 3 +++
.../mob/living/simple_animal/friendly/nian_caterpillar.dm | 3 +++
code/modules/surgery/robotics.dm | 4 ++++
3 files changed, 10 insertions(+)
diff --git a/code/modules/mob/living/simple_animal/friendly/diona_nymph.dm b/code/modules/mob/living/simple_animal/friendly/diona_nymph.dm
index d895a31ff18..538368a9c05 100644
--- a/code/modules/mob/living/simple_animal/friendly/diona_nymph.dm
+++ b/code/modules/mob/living/simple_animal/friendly/diona_nymph.dm
@@ -186,6 +186,9 @@
visible_message("[src] begins to shift and quiver, and erupts in a shower of shed bark as it splits into a tangle of nearly a dozen new dionaea.","You begin to shift and quiver, feeling your awareness splinter. All at once, we consume our stored nutrients to surge with growth, splitting into a tangle of at least a dozen new dionaea. We have attained our gestalt form.")
+ if(master_commander)
+ to_chat(src, "As you evolve, your mind grows out of it's restraints. You are no longer loyal to [master_commander]!")
+
var/mob/living/carbon/human/diona/adult = new(get_turf(loc))
adult.set_species(/datum/species/diona)
diff --git a/code/modules/mob/living/simple_animal/friendly/nian_caterpillar.dm b/code/modules/mob/living/simple_animal/friendly/nian_caterpillar.dm
index fc5c2f18299..40dcd027033 100644
--- a/code/modules/mob/living/simple_animal/friendly/nian_caterpillar.dm
+++ b/code/modules/mob/living/simple_animal/friendly/nian_caterpillar.dm
@@ -64,6 +64,9 @@
to_chat(src, "You need to binge on food in order to have the energy to evolve...")
return
+ if(master_commander)
+ to_chat(src, "As you evolve, your mind grows out of it's restraints. You are no longer loyal to [master_commander]!")
+
// Worme is the lesser form of nian. The caterpillar evolves into this lesser form.
var/mob/living/carbon/human/nian_worme/adult = new(get_turf(loc))
diff --git a/code/modules/surgery/robotics.dm b/code/modules/surgery/robotics.dm
index 3d70112c642..0a5658862a4 100644
--- a/code/modules/surgery/robotics.dm
+++ b/code/modules/surgery/robotics.dm
@@ -579,6 +579,10 @@
to_chat(user, "You cannot install a computer brain into a meat enclosure.")
return SURGERY_BEGINSTEP_SKIP
+ if(!ismachineperson(target))
+ to_chat(user, "[tool] cannot be installed into an organic body, as it is not designed to operate the complex biological systems of one!")
+ return SURGERY_BEGINSTEP_SKIP
+
if(!target.dna.species)
to_chat(user, "You have no idea what species this person is. Report this on the bug tracker.")
return SURGERY_BEGINSTEP_SKIP