mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 13:18:09 +01:00
Soulcatcher improvements
- Multiple minds at once, gotta catch 'em all, they can all talk to each other, etc - A setting to enable mind backups for all minds in there like an implant - Notifications to the already-in-there minds when one comes or goes - If YOU get put in YOUR soulcatcher, it does ONE backup right then and stops, so medical will be notified
This commit is contained in:
@@ -21,14 +21,12 @@
|
||||
if(!SC)
|
||||
to_chat(src,"<span class='warning'>You need the Soulcatcher software to use *nme.</span>")
|
||||
return 1
|
||||
if(!SC.brainmob.mind)
|
||||
if(!SC.brainmobs.len)
|
||||
to_chat(src,"<span class='warning'>You need a loaded mind to use *nme.</span>")
|
||||
return 1
|
||||
var/nifmessage = sanitize(input("Type a message to say.","Speak into NIF") as text|null)
|
||||
if(nifmessage)
|
||||
nifmessage = "<b>\[\icon[nif.big_icon]NIF\]</b> <b>[src]</b> speaks, \"[nifmessage]\""
|
||||
to_chat(SC.brainmob,nifmessage)
|
||||
to_chat(src,nifmessage)
|
||||
SC.say_into(nifmessage,src.real_name)
|
||||
return 1
|
||||
|
||||
if ("nme")
|
||||
@@ -39,14 +37,12 @@
|
||||
if(!SC)
|
||||
to_chat(src,"<span class='warning'>You need the Soulcatcher software to use *nme.</span>")
|
||||
return 1
|
||||
if(!SC.brainmob.mind)
|
||||
if(!SC.brainmobs.len)
|
||||
to_chat(src,"<span class='warning'>You need a loaded mind to use *nme.</span>")
|
||||
return 1
|
||||
var/nifmessage = sanitize(input("Type an action to perform.","Emote into NIF") as text|null)
|
||||
if(nifmessage)
|
||||
nifmessage = "<b>\[\icon[nif.big_icon]NIF\]</b> <b>[src]</b> [nifmessage]"
|
||||
to_chat(SC.brainmob,nifmessage)
|
||||
to_chat(src,nifmessage)
|
||||
SC.emote_into(nifmessage,src.real_name)
|
||||
return 1
|
||||
|
||||
if ("flip")
|
||||
|
||||
Reference in New Issue
Block a user