Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"

This commit is contained in:
Novacat
2022-08-27 08:49:56 -04:00
committed by GitHub
parent 0be7af4774
commit 1aa4c73e8d
599 changed files with 3329 additions and 4983 deletions
+4 -3
View File
@@ -27,10 +27,8 @@
var/corpseidaccess = null //This is for access. See access.dm for which jobs give what access. Again, put in quotes. Use "Captain" if you want it to be all access.
var/corpseidicon = null //For setting it to be a gold, silver, CentCom etc ID
/obj/effect/landmark/mobcorpse/Initialize()
..()
/obj/effect/landmark/mobcorpse/New()
createCorpse()
return INITIALIZE_HINT_QDEL
/obj/effect/landmark/mobcorpse/proc/createCorpse() //Creates a mob and checks for gear in each slot before attempting to equip it.
var/mob/living/carbon/human/M = new /mob/living/carbon/human (src.loc)
@@ -81,6 +79,9 @@
W.registered_name = M.real_name
M.equip_to_slot_or_del(W, slot_wear_id)
delete_me = 1
qdel(src)
//List of different corpse types
+3 -8
View File
@@ -88,9 +88,8 @@
var/last_revive_notification = null // world.time of last notification, used to avoid spamming players from defibs or cloners.
var/cleanup_timer // Refernece to a timer that will delete this mob if no client returns
/mob/observer/dead/Initialize()
/mob/observer/dead/New(mob/body)
var/mob/body = loc
appearance = body
invisibility = INVISIBILITY_OBSERVER
layer = BELOW_MOB_LAYER
@@ -125,7 +124,7 @@
var/mob/living/carbon/human/H = body
add_overlay(H.overlays_standing)
if(!T && length(latejoin))
if(!T)
T = pick(latejoin) //Safety in case we cannot find the body's position
if(T)
forceMove(T)
@@ -138,11 +137,7 @@
real_name = name
animate(src, pixel_y = 2, time = 10, loop = -1)
observer_mob_list += src
. = ..()
exonet = new(src)
init_exonet()
..()
/mob/observer/dead/Topic(href, href_list)
if (href_list["track"])