General synthetic and mecha fixes (#3936)

This commit is contained in:
Alberyk
2017-12-14 12:09:47 -06:00
committed by Lohikar
parent 6ce3b7519a
commit 913209fbfe
9 changed files with 30 additions and 9 deletions
+4
View File
@@ -389,6 +389,10 @@
user << "<span class='danger'>You cannot install a computer brain into a meat skull.</span>"
return SURGERY_FAILURE
if(!target.isSynthetic())
user << "<span class='danger'>You cannot install a computer brain into an organic body.</span>"
return SURGERY_FAILURE
if(!target.species)
user << "<span class='danger'>You have no idea what species this person is. Report this on the bug tracker.</span>"
return SURGERY_FAILURE