Janitor Update (I'm bad at code edition) (#6928)

This commit is contained in:
alsoandanswer
2019-09-06 21:23:55 +02:00
committed by Werner
parent 2ac922a8ce
commit 9b478773c4
22 changed files with 335 additions and 132 deletions
@@ -86,6 +86,7 @@
new /obj/item/weapon/reagent_containers/spray/cleaner(src)
new /obj/item/weapon/reagent_containers/glass/rag(src)
new /obj/item/weapon/soap/nanotrasen(src)
new /obj/item/weapon/reagent_containers/glass/rag/advanced(src)
/*
* Lawyer
+1
View File
@@ -271,6 +271,7 @@
if(mybucket)
mybucket.forceMove(get_turf(user))
to_chat(user, "<span class='notice'>You unmount [mybucket] from [src].</span>")
mybucket.update_icon()
mybucket = null
update_icon()
+4 -4
View File
@@ -7,11 +7,11 @@
w_class = 3
flags = OPENCONTAINER
var/amount_per_transfer_from_this = 5 //shit I dunno, adding this so syringes stop runtime erroring. --NeoFite
var/bucketsize = 360 //about 3x the size relative to a regular bucket.
/obj/structure/mopbucket/New()
..()
create_reagents(100)
/obj/structure/mopbucket/Initialize()
. = ..()
create_reagents(bucketsize)
janitorial_supplies |= src
/obj/structure/mobbucket/Destroy()