mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 20:23:26 +00:00
Lockable body scans in charsetup
This commit is contained in:
@@ -156,6 +156,7 @@
|
||||
"speciesname" = active_br.speciesname, \
|
||||
"gender" = active_br.bodygender, \
|
||||
"synthetic" = active_br.synthetic ? "Yes" : "No", \
|
||||
"locked" = active_br.locked, \
|
||||
"cando" = can_grow_active)
|
||||
else
|
||||
data["activeRecord"] = null
|
||||
@@ -290,6 +291,10 @@
|
||||
if(!sleever.occupant)
|
||||
temp = "Error: Resleeving pod is not occupied."
|
||||
|
||||
//OOC body lock thing.
|
||||
if(sleever.occupant.resleeve_lock && active_mr.ckey != sleever.occupant.resleeve_lock)
|
||||
temp = "Error: Mind incompatible with body."
|
||||
|
||||
//Body to sleeve into, but mind is in another living body.
|
||||
else if(active_mr.mind.current && active_mr.mind.current.stat != DEAD) //Mind is in a body already that's alive
|
||||
var/answer = alert(active_mr.mind.current,"Someone is attempting to restore a backup of your mind into another body. Do you want to move to that body? You MAY suffer memory loss! (Same rules as CMD apply)","Resleeving","Yes","No")
|
||||
|
||||
Reference in New Issue
Block a user