mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
POrts over tg soullinks
This commit is contained in:
@@ -143,9 +143,9 @@
|
||||
return ..(gibbed)
|
||||
|
||||
/mob/living/carbon/human/update_revive()
|
||||
..()
|
||||
. = ..()
|
||||
// Update healthdoll
|
||||
if(healthdoll)
|
||||
if(. && healthdoll)
|
||||
// We're alive again, so re-build the entire healthdoll
|
||||
healthdoll.cached_healthdoll_overlays.Cut()
|
||||
|
||||
|
||||
@@ -3,4 +3,12 @@
|
||||
|
||||
clear_fullscreens()
|
||||
update_action_buttons_icon()
|
||||
|
||||
for(var/s in ownedSoullinks)
|
||||
var/datum/soullink/S = s
|
||||
S.ownerDies(gibbed)
|
||||
for(var/s in sharedSoullinks)
|
||||
var/datum/soullink/S = s
|
||||
S.sharerDies(gibbed)
|
||||
|
||||
..(gibbed)
|
||||
|
||||
@@ -37,9 +37,9 @@
|
||||
// handles revival through other means than cloning or adminbus (defib, IPC repair)
|
||||
/mob/living/proc/update_revive(updating = TRUE)
|
||||
if(stat != DEAD)
|
||||
return
|
||||
return 0
|
||||
if(!can_be_revived())
|
||||
return
|
||||
return 0
|
||||
add_logs(src, null, "came back to life at [atom_loc_line(get_turf(src))]", admin=0, print_attack_log = 0)
|
||||
stat = CONSCIOUS
|
||||
dead_mob_list -= src
|
||||
@@ -49,3 +49,4 @@
|
||||
update_canmove()
|
||||
// update_blind_effects()
|
||||
updatehealth()
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user