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>
This commit is contained in:
Qwertytoforty
2024-07-03 03:44:15 +00:00
committed by GitHub
co-authored by CRUNCH
parent 6de5e76549
commit 9dcf6ee91c
3 changed files with 10 additions and 0 deletions
+4
View File
@@ -579,6 +579,10 @@
to_chat(user, "<span class='danger'>You cannot install a computer brain into a meat enclosure.</span>")
return SURGERY_BEGINSTEP_SKIP
if(!ismachineperson(target))
to_chat(user, "<span class='danger'>[tool] cannot be installed into an organic body, as it is not designed to operate the complex biological systems of one!</span>")
return SURGERY_BEGINSTEP_SKIP
if(!target.dna.species)
to_chat(user, "<span class='danger'>You have no idea what species this person is. Report this on the bug tracker.</span>")
return SURGERY_BEGINSTEP_SKIP