Fixes a bug where core samplers dispensed bags that you could not take rock slivers out of.

This commit is contained in:
MagmaRam
2014-11-20 00:41:43 -05:00
parent 0eed2c2fa6
commit 72b0000f6a
2 changed files with 3 additions and 2 deletions

View File

@@ -77,7 +77,7 @@
/obj/item/weapon/evidencebag/attack_self(mob/user as mob)
if(contents.len)
var/obj/item/I = stored_item
var/obj/item/I = contents[1]
user.visible_message("[user] takes [I] out of [src]", "You take [I] out of [src].",\
"You hear someone rustle around in a plastic bag, and remove something.")
overlays.Cut() //remove the overlays

View File

@@ -79,7 +79,8 @@
//update the sample bag
filled_bag.icon_state = "evidence"
var/image/I = image("icon"=R, "layer"=FLOAT_LAYER)
filled_bag.underlays += I
filled_bag.overlays += I
filled_bag.overlays += "evidence"
filled_bag.w_class = 1
user << "\blue You take a core sample of the [item_to_sample]."