mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-02-02 12:20:27 +00:00
- Brainmob can understand galcom so they can understand radio announcements if they're allowed to hear things. - Adds admin verb in Fun tab for "Quick NIF" to quickly implant someone with a NIF, if for example they lost theirs via bug, or for antags in events. - Some tweaks in Persist VR to not 'hard crash' just in case runtiming prevents other things. - Added titles to top of *nsay and *nme boxes so you can remember what you're doing.
32 lines
924 B
Plaintext
32 lines
924 B
Plaintext
/datum/admins/proc/quick_nif()
|
|
set category = "Fun"
|
|
set name = "Quick NIF"
|
|
set desc = "Spawns a NIF into someone in quick-implant mode."
|
|
|
|
if(!check_rights(R_FUN))
|
|
return
|
|
|
|
var/mob/living/carbon/human/H = input("Pick a humanoid","Quick NIF") as null|anything in human_mob_list
|
|
|
|
if(!H)
|
|
return
|
|
|
|
if(!H.get_organ(BP_HEAD))
|
|
to_chat(usr,"<span class='warning'>Target is unsuitable.</span>")
|
|
return
|
|
|
|
if(H.nif)
|
|
to_chat(usr,"<span class='warning'>Target already has a NIF.</span>")
|
|
return
|
|
|
|
if(H.species.flags & NO_SCAN)
|
|
new /obj/item/device/nif/bioadap(H)
|
|
else
|
|
new /obj/item/device/nif(H)
|
|
|
|
to_chat(usr,"<span class='notice'>Implanted NIF in [H].</span>")
|
|
|
|
log_admin("[key_name(src)] Quick NIF'd [H.real_name].")
|
|
message_admins("[key_name_admin(src)] Quick NIF'd [H.real_name].")
|
|
feedback_add_details("admin_verb","QNIF") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|