mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Update bodybag.dm
This commit is contained in:
@@ -16,6 +16,9 @@
|
|||||||
if(isopenturf(target))
|
if(isopenturf(target))
|
||||||
deploy_bodybag(user, target)
|
deploy_bodybag(user, target)
|
||||||
|
|
||||||
|
/obj/item/bodybag/canReachInto(atom/user, atom/target, list/next, view_only, obj/item/tool)
|
||||||
|
return (user in src)
|
||||||
|
|
||||||
/obj/item/bodybag/proc/deploy_bodybag(mob/user, atom/location)
|
/obj/item/bodybag/proc/deploy_bodybag(mob/user, atom/location)
|
||||||
var/obj/structure/closet/body_bag/R = new unfoldedbag_path(location)
|
var/obj/structure/closet/body_bag/R = new unfoldedbag_path(location)
|
||||||
R.open(user)
|
R.open(user)
|
||||||
|
|||||||
Reference in New Issue
Block a user