mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-24 04:26:38 +01:00
Minor NIF and Soulcatcher Tweaks
- 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.
This commit is contained in:
@@ -125,6 +125,7 @@ var/list/admin_verbs_fun = list(
|
||||
/client/proc/toggle_random_events,
|
||||
/client/proc/editappear,
|
||||
/client/proc/roll_dices,
|
||||
/datum/admins/proc/quick_nif, //VOREStation Add,
|
||||
/datum/admins/proc/call_supply_drop,
|
||||
/datum/admins/proc/call_drop_pod
|
||||
)
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
/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!
|
||||
Reference in New Issue
Block a user