adds a check for the buffer upgrade

This commit is contained in:
paprka
2015-01-24 01:49:07 -08:00
parent 279c2709d4
commit be925ebd62
+4 -3
View File
@@ -204,9 +204,10 @@
I.loc = src
mybag = I
else if(istype(I, /obj/item/janiupgrade))
floorbuffer = 1
qdel(I)
user << "<span class='notice'>You upgrade the [callme] with the floor buffer.</span>"
if(keytype == /obj/item/key/janitor)
floorbuffer = 1
qdel(I)
user << "<span class='notice'>You upgrade the [callme] with the floor buffer.</span>"
update_icon()
/obj/structure/stool/bed/chair/janicart/update_icon()