Add a prompt for cyborg created with Roborgers/Nanomachines (#23618)

* Add a prompt for cyborgs created with Roborgers/Nanomachines

Fixes #23616 : Oversight where cyborgs created with Roborgers/Nanomachines were not prompted to change their name.

* Update code/datums/diseases/transformation.dm

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

---------

Co-authored-by: Pierre-Louis <hernandezpierrelouis@protonmail.com>
Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
Pierre-Louis
2024-01-08 15:26:48 -08:00
committed by GitHub
co-authored by Ryan Pierre-Louis
parent e8d2b06d6f
commit 5d0ef1e3d9
+2
View File
@@ -69,6 +69,8 @@
new_mob.a_intent = "harm"
if(affected_mob.mind)
affected_mob.mind.transfer_to(new_mob)
if(isrobot(new_mob))
new_mob.rename_self("Cyborg", TRUE, TRUE)
else
new_mob.key = affected_mob.key
qdel(affected_mob)