POrts over tg soullinks

This commit is contained in:
Crazylemon64
2017-06-04 02:08:05 -07:00
parent ae8cad31df
commit e3b6f79920
5 changed files with 172 additions and 5 deletions
@@ -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()
+8
View File
@@ -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)
+3 -2
View File
@@ -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