Lockable body scans in charsetup

This commit is contained in:
Arokha Sieyes
2017-02-19 15:21:46 -05:00
parent 6262973afe
commit c3cd4600b7
3 changed files with 15 additions and 1 deletions

View File

@@ -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")