From 5d0ef1e3d904c2bcb67d0dd5d291ae3451a064d6 Mon Sep 17 00:00:00 2001 From: Pierre-Louis <44984704+PIerreLouisH@users.noreply.github.com> Date: Tue, 9 Jan 2024 00:26:48 +0100 Subject: [PATCH] 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 Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> --- code/datums/diseases/transformation.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/datums/diseases/transformation.dm b/code/datums/diseases/transformation.dm index 0a23b014a59..fd4944ac4f1 100644 --- a/code/datums/diseases/transformation.dm +++ b/code/datums/diseases/transformation.dm @@ -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)