mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Logging prio changes (#13174)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
else if(stat == UNCONSCIOUS)
|
||||
return 0
|
||||
create_attack_log("<font color='red'>Fallen unconscious at [atom_loc_line(get_turf(src))]</font>")
|
||||
add_attack_logs(src, null, "Fallen unconscious")
|
||||
add_attack_logs(src, null, "Fallen unconscious", ATKLOG_ALL)
|
||||
log_game("[key_name(src)] fell unconscious at [atom_loc_line(get_turf(src))]")
|
||||
stat = UNCONSCIOUS
|
||||
if(updating)
|
||||
@@ -23,7 +23,7 @@
|
||||
else if(stat == CONSCIOUS)
|
||||
return 0
|
||||
create_attack_log("<font color='red'>Woken up at [atom_loc_line(get_turf(src))]</font>")
|
||||
add_attack_logs(src, null, "Woken up")
|
||||
add_attack_logs(src, null, "Woken up", ATKLOG_ALL)
|
||||
log_game("[key_name(src)] woke up at [atom_loc_line(get_turf(src))]")
|
||||
stat = CONSCIOUS
|
||||
if(updating)
|
||||
@@ -47,7 +47,7 @@
|
||||
if(!can_be_revived())
|
||||
return 0
|
||||
create_attack_log("<font color='red'>Came back to life at [atom_loc_line(get_turf(src))]</font>")
|
||||
add_attack_logs(src, null, "Came back to life")
|
||||
add_attack_logs(src, null, "Came back to life", ATKLOG_ALL)
|
||||
log_game("[key_name(src)] came back to life at [atom_loc_line(get_turf(src))]")
|
||||
stat = CONSCIOUS
|
||||
GLOB.dead_mob_list -= src
|
||||
@@ -76,4 +76,4 @@
|
||||
return 1
|
||||
|
||||
/mob/living/proc/check_death_method()
|
||||
return TRUE
|
||||
return TRUE
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
user.visible_message("<span class='danger'>[user] zaps [user.p_them()]self with [src].</span>")
|
||||
playsound(user, fire_sound, 50, 1)
|
||||
user.create_attack_log("<b>[key_name(user)]</b> zapped [user.p_them()]self with a <b>[src]</b>")
|
||||
add_attack_logs(null, user, "zapped [user.p_them()]self with a [src]")
|
||||
add_attack_logs(null, user, "zapped [user.p_them()]self with a [src]", ATKLOG_ALL)
|
||||
|
||||
/////////////////////////////////////
|
||||
//WAND OF DEATH
|
||||
|
||||
@@ -263,7 +263,7 @@
|
||||
return
|
||||
|
||||
M.create_attack_log("<font color='orange'>[key_name(M)] became [new_mob.real_name].</font>")
|
||||
add_attack_logs(null, M, "became [new_mob.real_name]")
|
||||
add_attack_logs(null, M, "became [new_mob.real_name]", ATKLOG_ALL)
|
||||
|
||||
new_mob.a_intent = INTENT_HARM
|
||||
if(M.mind)
|
||||
@@ -346,4 +346,4 @@
|
||||
to_chat(target, "<span class='notice'>You get splatted by [src].</span>")
|
||||
M.Weaken(slip_weaken)
|
||||
M.Stun(slip_stun)
|
||||
. = ..()
|
||||
. = ..()
|
||||
|
||||
@@ -221,7 +221,7 @@
|
||||
|
||||
user.visible_message("<span class='notice'>[user] wraps [target].</span>")
|
||||
user.create_attack_log("<font color='blue'>Has used [name] on [target]</font>")
|
||||
add_attack_logs(user, target, "used [name]")
|
||||
add_attack_logs(user, target, "used [name]", ATKLOG_ALL)
|
||||
|
||||
if(amount <= 0 && !src.loc) //if we used our last wrapping paper, drop a cardboard tube
|
||||
new /obj/item/c_tube( get_turf(user) )
|
||||
|
||||
Reference in New Issue
Block a user