mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
yay
This commit is contained in:
@@ -31,11 +31,6 @@
|
|||||||
return 1
|
return 1
|
||||||
return !density
|
return !density
|
||||||
|
|
||||||
/obj/structure/closet/crate/crowbar_act(mob/user,obj/item/tool)
|
|
||||||
if (manifest)
|
|
||||||
tear_manifest(user)
|
|
||||||
return ..()
|
|
||||||
|
|
||||||
/obj/structure/closet/crate/update_icon()
|
/obj/structure/closet/crate/update_icon()
|
||||||
icon_state = "[initial(icon_state)][opened ? "open" : ""]"
|
icon_state = "[initial(icon_state)][opened ? "open" : ""]"
|
||||||
|
|
||||||
@@ -50,6 +45,13 @@
|
|||||||
if(manifest)
|
if(manifest)
|
||||||
tear_manifest(user)
|
tear_manifest(user)
|
||||||
|
|
||||||
|
/obj/structure/closet/crate/tool_interact(obj/item/W, mob/user)
|
||||||
|
if(istype(W, /obj/item/crowbar))
|
||||||
|
if (manifest)
|
||||||
|
tear_manifest(user)
|
||||||
|
return TRUE
|
||||||
|
return ..()
|
||||||
|
|
||||||
/obj/structure/closet/crate/open(mob/living/user)
|
/obj/structure/closet/crate/open(mob/living/user)
|
||||||
. = ..()
|
. = ..()
|
||||||
if(. && manifest)
|
if(. && manifest)
|
||||||
|
|||||||
Reference in New Issue
Block a user