oh, and lets add a length check real quick to make sure the sleeper actually has shit in it
This commit is contained in:
@@ -583,6 +583,8 @@
|
||||
/mob/living/silicon/robot/crowbar_act(mob/living/user, obj/item/I) //TODO: make fucking everything up there in that attackby() proc use the proper tool_act() procs. But honestly, who has time for that? 'cause I know for sure that you, the person reading this, sure as hell doesn't.
|
||||
var/validbreakout = FALSE
|
||||
for(var/obj/item/dogborg/sleeper/S in held_items)
|
||||
if(!LAZYLEN(S.contents))
|
||||
continue
|
||||
if(!validbreakout)
|
||||
visible_message("<span class='notice'>[user] wedges [I] into the crevice separating [S] from [src]'s chassis, and begins to pry...</span>", "<span class='notice'>You wedge [I] into the crevice separating [S] from [src]'s chassis, and begin to pry...</span>")
|
||||
validbreakout = TRUE
|
||||
|
||||
Reference in New Issue
Block a user