mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Removes BoH retrieving mechanic (#46773)
This commit is contained in:
@@ -20,47 +20,17 @@
|
||||
/obj/singularity/boh_tear/Initialize()
|
||||
. = ..()
|
||||
old_loc = loc
|
||||
addtimer(CALLBACK(src, /atom/movable.proc/moveToNullspace), 5 SECONDS) // vanishes after 5 seconds
|
||||
QDEL_IN(src, 10 MINUTES)
|
||||
|
||||
/// Retrieve all the items consumed
|
||||
/obj/singularity/boh_tear/proc/retrieve_consumed_items()
|
||||
for(var/atom/movable/content in contents)
|
||||
content.forceMove(old_loc)
|
||||
if(ismob(content))
|
||||
var/mob/M = content
|
||||
if(!M.mind)
|
||||
continue
|
||||
for(var/mob/dead/observer/ghost in ghosts)
|
||||
if(ghost.mind == M.mind)
|
||||
ghosts -= ghost
|
||||
ghost.can_reenter_corpse = TRUE
|
||||
ghost.reenter_corpse()
|
||||
break
|
||||
qdel(src)
|
||||
QDEL_IN(src, 5 SECONDS) // vanishes after 5 seconds
|
||||
|
||||
/obj/singularity/boh_tear/process()
|
||||
eat()
|
||||
|
||||
/obj/singularity/boh_tear/consume(atom/A)
|
||||
if(isturf(A))
|
||||
A.singularity_act()
|
||||
return
|
||||
var/atom/movable/AM = A
|
||||
if(!istype(AM))
|
||||
return
|
||||
if(isliving(AM))
|
||||
var/mob/living/M = AM
|
||||
var/turf/T = get_turf(src)
|
||||
investigate_log("([key_name(A)]) has been consumed by the BoH tear at [AREACOORD(T)].", INVESTIGATE_SINGULO)
|
||||
M.ghostize(FALSE)
|
||||
else if(!isobj(AM))
|
||||
return
|
||||
AM.forceMove(src)
|
||||
A.singularity_act(current_size, src)
|
||||
|
||||
/obj/singularity/boh_tear/admin_investigate_setup()
|
||||
var/turf/T = get_turf(src)
|
||||
message_admins("A BoH tear has been created at [ADMIN_VERBOSEJMP(T)]. [ADMIN_RETRIEVE_BOH_ITEMS(src)]")
|
||||
message_admins("A BoH tear has been created at [ADMIN_VERBOSEJMP(T)].")
|
||||
investigate_log("was created at [AREACOORD(T)].", INVESTIGATE_SINGULO)
|
||||
|
||||
/obj/singularity/boh_tear/attack_tk(mob/living/user)
|
||||
|
||||
Reference in New Issue
Block a user