mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user