mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
adds blackbox logging for revival (#19399)
This commit is contained in:
@@ -298,6 +298,7 @@ GLOBAL_LIST_INIT(cloner_biomass_items, list(\
|
||||
RegisterSignal(clonemind.current, COMSIG_LIVING_REVIVE, .proc/occupant_got_revived)
|
||||
RegisterSignal(clonemind, COMSIG_MIND_TRANSER_TO, .proc/occupant_got_revived)
|
||||
|
||||
SSblackbox.record_feedback("tally", "players_revived", 1, "cloned")
|
||||
update_icon()
|
||||
|
||||
H.suiciding = FALSE
|
||||
|
||||
@@ -493,6 +493,7 @@
|
||||
H.med_hud_set_status()
|
||||
defib.deductcharge(revivecost)
|
||||
add_attack_logs(user, M, "Revived with [src]")
|
||||
SSblackbox.record_feedback("tally", "players_revived", 1, "defibrillator")
|
||||
else
|
||||
if(tplus > tlimit|| !H.get_int_organ(/obj/item/organ/internal/heart))
|
||||
user.visible_message("<span class='boldnotice'>[defib] buzzes: Resuscitation failed - Heart tissue damage beyond point of no return for defibrillation.</span>")
|
||||
@@ -637,6 +638,7 @@
|
||||
var/mob/living/silicon/robot/R = user
|
||||
R.cell.use(revivecost)
|
||||
add_attack_logs(user, M, "Revived with [src]")
|
||||
SSblackbox.record_feedback("tally", "players_revived", 1, "defibrillator")
|
||||
else
|
||||
if(tplus > tlimit)
|
||||
user.visible_message("<span class='warning'>[user] buzzes: Resuscitation failed - Heart tissue damage beyond point of no return for defibrillation.</span>")
|
||||
|
||||
@@ -92,6 +92,7 @@
|
||||
podman.ckey = ckey_holder
|
||||
podman.gender = blood_gender
|
||||
podman.faction |= factions
|
||||
SSblackbox.record_feedback("tally", "players_revived", 1, "replica_pod")
|
||||
|
||||
else //else, one packet of seeds. maybe two
|
||||
var/seed_count = 1
|
||||
|
||||
@@ -797,6 +797,7 @@
|
||||
M.grab_ghost()
|
||||
M.update_revive()
|
||||
add_attack_logs(M, M, "Revived with strange reagent") //Yes, the logs say you revived yourself.
|
||||
SSblackbox.record_feedback("tally", "players_revived", 1, "strange_reagent")
|
||||
..()
|
||||
|
||||
/datum/reagent/medicine/mannitol
|
||||
|
||||
Reference in New Issue
Block a user