mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 04:57:47 +01:00
TF refactor
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user