Added bucket lid sprite and functionality

Buckets can be lidded, however there is no change in the sprite when
this happens. This adds a lid and it's functional in game.
This commit is contained in:
Brian Cook
2014-04-22 01:57:01 -07:00
parent 0c10b63114
commit 182be1a8d3
2 changed files with 7 additions and 0 deletions

View File

@@ -280,6 +280,13 @@
user.put_in_hands(new /obj/item/weapon/bucket_sensor)
user.drop_from_inventory(src)
del(src)
update_icon()
overlays.Cut()
if (!is_open_container())
var/image/lid = image(icon, src, "lid_[initial(icon_state)]")
overlays += lid
// vials are defined twice, what?
/*