mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Makes CanReach default to blocking. (#52115)
This commit is contained in:
@@ -45,10 +45,6 @@
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
item_flags = NO_MAT_REDEMPTION
|
||||
|
||||
/obj/item/bodybag/bluespace/Initialize()
|
||||
. = ..()
|
||||
RegisterSignal(src, COMSIG_ATOM_CANREACH, .proc/CanReachReact)
|
||||
|
||||
/obj/item/bodybag/bluespace/examine(mob/user)
|
||||
. = ..()
|
||||
if(contents.len)
|
||||
@@ -62,9 +58,6 @@
|
||||
to_chat(A, "<span class='notice'>You suddenly feel the space around you torn apart! You're free!</span>")
|
||||
return ..()
|
||||
|
||||
/obj/item/bodybag/bluespace/proc/CanReachReact(atom/movable/source, list/next)
|
||||
return COMPONENT_BLOCK_REACH
|
||||
|
||||
/obj/item/bodybag/bluespace/deploy_bodybag(mob/user, atom/location)
|
||||
var/obj/structure/closet/body_bag/R = new unfoldedbag_path(location)
|
||||
for(var/atom/movable/A in contents)
|
||||
|
||||
@@ -46,11 +46,6 @@
|
||||
update_icon()
|
||||
PopulateContents()
|
||||
|
||||
RegisterSignal(src, COMSIG_ATOM_CANREACH, .proc/canreach_react)
|
||||
|
||||
/obj/structure/closet/proc/canreach_react(datum/source, list/next)
|
||||
return COMPONENT_BLOCK_REACH //closed block, open have nothing inside.
|
||||
|
||||
//USE THIS TO FILL IT, NOT INITIALIZE OR NEW
|
||||
/obj/structure/closet/proc/PopulateContents()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user