mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Removes Brain Traumas (#11558)
This commit is contained in:
@@ -135,8 +135,6 @@ var/list/admin_verbs_fun = list(
|
||||
/client/proc/show_tip,
|
||||
/client/proc/fab_tip,
|
||||
/client/proc/apply_sunstate,
|
||||
/client/proc/cure_traumas,
|
||||
/client/proc/add_traumas,
|
||||
/datum/admins/proc/ccannoucment
|
||||
)
|
||||
|
||||
@@ -350,8 +348,6 @@ var/list/admin_verbs_hideable = list(
|
||||
/datum/admins/proc/spawn_plant,
|
||||
/client/proc/show_plant_genes,
|
||||
/datum/admins/proc/spawn_atom,
|
||||
/client/proc/cure_traumas,
|
||||
/client/proc/add_traumas,
|
||||
/client/proc/respawn_character,
|
||||
/client/proc/spawn_chemdisp_cartridge,
|
||||
/client/proc/jobbans,
|
||||
@@ -710,52 +706,6 @@ var/list/admin_verbs_cciaa = list(
|
||||
message_admins("<span class='notice'>[ckey] creating an admin explosion at [epicenter.loc].</span>")
|
||||
feedback_add_details("admin_verb","DB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/cure_traumas(mob/T as mob in mob_list)
|
||||
set category = "Fun"
|
||||
set name = "Cure Traumas"
|
||||
set desc = "Cure the traumas of a given mob."
|
||||
|
||||
if(!istype(T,/mob/living/carbon/human))
|
||||
to_chat(usr, "This can only be done to instances of type /mob/living/carbon/human")
|
||||
return
|
||||
|
||||
var/mob/living/carbon/human/C = T
|
||||
|
||||
C.cure_all_traumas(TRUE, CURE_ADMIN)
|
||||
log_and_message_admins("<span class='notice'>cured [key_name(C)]'s traumas.</span>")
|
||||
feedback_add_details("admin_verb","TB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/add_traumas(mob/T as mob in mob_list)
|
||||
set category = "Fun"
|
||||
set name = "Add Traumas"
|
||||
set desc = "Induces traumas on a given mob."
|
||||
|
||||
if(!istype(T,/mob/living/carbon/human))
|
||||
to_chat(usr, "This can only be done to instances of type /mob/living/carbon/human")
|
||||
return
|
||||
|
||||
var/mob/living/carbon/human/C = T
|
||||
|
||||
var/list/traumas = subtypesof(/datum/brain_trauma)
|
||||
var/result = input(usr, "Choose the brain trauma to apply","Traumatize") as null|anything in traumas
|
||||
if(!result) return
|
||||
var/permanent = alert("Do you want to make the trauma unhealable?", "Permanently Traumatize", "Yes", "No")
|
||||
if(permanent == "Yes")
|
||||
permanent = TRUE
|
||||
else
|
||||
permanent = FALSE
|
||||
if(!usr)
|
||||
return
|
||||
if(!C)
|
||||
to_chat(usr, "Mob doesn't exist anymore")
|
||||
return
|
||||
|
||||
if(result)
|
||||
C.gain_trauma(result, permanent)
|
||||
|
||||
log_and_message_admins("<span class='notice'>gave [key_name(C)] [result].</span>")
|
||||
feedback_add_details("admin_verb","BT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/make_sound(var/obj/O in range(world.view)) // -- TLE
|
||||
set category = "Special Verbs"
|
||||
set name = "Make Sound"
|
||||
|
||||
Reference in New Issue
Block a user