fixes mantis blade implant surgery (#28073)

* removed a internal organ check

* equality for IPCs

---------

Co-authored-by: Toastical <toastical@toaster.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
Toastical
2025-01-25 21:30:52 +02:00
committed by GitHub
parent 9c9bdabca5
commit 9de6d5b4e7
2 changed files with 0 additions and 8 deletions
-4
View File
@@ -425,10 +425,6 @@
to_chat(user, "<span class='notice'>[I] is in no state to be transplanted.</span>")
return SURGERY_BEGINSTEP_SKIP
if(target.get_int_organ(I))
to_chat(user, "<span class='warning'>[target] already has [I].</span>")
return SURGERY_BEGINSTEP_SKIP
if(affected)
user.visible_message(
"[user] starts transplanting [tool] into [target]'s [affected.name].",
-4
View File
@@ -444,10 +444,6 @@
to_chat(user, "<span class='notice'>[I] is in no state to be transplanted.</span>")
return SURGERY_BEGINSTEP_SKIP
if(target.get_int_organ(I))
to_chat(user, "<span class='warning'>[target] already has [I].</span>")
return SURGERY_BEGINSTEP_SKIP
user.visible_message(
"[user] begins reattaching [target]'s [tool].",
"You start reattaching [target]'s [tool]."