TF refactor

This commit is contained in:
Cyantime
2017-08-12 20:53:52 -04:00
parent 0ffd4673e6
commit 9637c6a0eb
5 changed files with 392 additions and 407 deletions
@@ -29,6 +29,7 @@
create_objects_in_loc(src, will_contain)
if(!opened) // if closed, any item at the crate's loc is put in the contents
if(istype(loc, /mob/living)) return //VOREStation Edit - No collecting mob organs if spawned inside mob
var/obj/item/I
for(I in src.loc)
if(I.density || I.anchored || I == src) continue
@@ -18,7 +18,12 @@
src.dump_contents()
qdel(src)
/obj/structure/closet/secure_closet/egg/dump_contents()
var/datum/belly/belly = check_belly(src)
if(belly)
for(var/atom/movable/M in src)
belly.internal_contents += M
return ..()
/obj/structure/closet/secure_closet/egg/unathi
name = "unathi egg"