mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
Merge pull request #7615 from Crazylemon64/no_suicide_clone
No more cloning suiciders
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
|
||||
// the world.time since the mob has been brigged, or -1 if not at all
|
||||
var/brigged_since = -1
|
||||
var/suicided = FALSE
|
||||
|
||||
New(var/key)
|
||||
src.key = key
|
||||
|
||||
@@ -203,6 +203,9 @@
|
||||
if(clonemind.active) //somebody is using that mind
|
||||
if(ckey(clonemind.key) != R.ckey)
|
||||
return 0
|
||||
if(clonemind.suicided) // and stay out!
|
||||
malfunction(go_easy = 0)
|
||||
return -1 // Flush the record
|
||||
else
|
||||
// get_ghost() will fail if they're unable to reenter their body
|
||||
var/mob/dead/observer/G = clonemind.get_ghost()
|
||||
|
||||
@@ -372,7 +372,7 @@
|
||||
scantemp = "<span class=\"bad\">Error: No signs of intelligence detected.</span>"
|
||||
nanomanager.update_uis(src)
|
||||
return
|
||||
if(subject.suiciding == 1 && src.scanner.scan_level < 2)
|
||||
if(subject.suiciding)
|
||||
scantemp = "<span class=\"bad\">Error: Subject's brain is not responding to scanning stimuli.</span>"
|
||||
nanomanager.update_uis(src)
|
||||
return
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
/mob/living/death(gibbed)
|
||||
blinded = max(blinded, 1)
|
||||
|
||||
if(suiciding)
|
||||
mind.suicided = TRUE
|
||||
|
||||
clear_fullscreens()
|
||||
update_action_buttons_icon()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user