mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 09:02:27 +00:00
Janitor slot and janicart tweaks (#612)
Adds an extra janitor slot and some mapping work to support it, reworks the janicart a fair bit. changes: rscadd: "Increased number of janitor slots to two." rscadd: "Janitorial carts can now be constructed with metal sheets, and deconstructed with a wrench, welder or plasmacutter if empty." tweak: "Janicarts now come without a bucket. Click and drag a mop bucket onto a cart to mount it, and you can unmount it from the janicart interface." tweak: "Placing a mop into a janicart, and pouring containers into the bucket, is now done with alt-click. A leftclick will now always wet the mop, and throw objects into the trashbag, respectively." rscadd: "Janicarts can now be climbed over like tables - Click and drag your sprite onto it." tweak: "Custodial closet's Spraycleaner, cleaning grenades, and spare lights, are now inside the janitorial locker instead of on table/floor." tweak: "Added an extra janitorial locker in the custodial closet." bugfix: "Fixed the Captain's deluxe soap being unuseable for cleaning" tweak: "Soap can now clean more tiles when wetted" tweak: "Soap and rags can now be wetted in buckets, mopbuckets, watertanks and janicarts"
This commit is contained in:
@@ -155,3 +155,15 @@
|
||||
tesla_zap(src, 5, power_bounced)
|
||||
spawn(10)
|
||||
being_shocked = 0
|
||||
|
||||
|
||||
//To be called from things that spill objects on the floor.
|
||||
//Makes an object move around randomly for a couple of tiles
|
||||
/obj/proc/tumble(var/dist)
|
||||
if (dist >= 1)
|
||||
spawn()
|
||||
dist += rand(0,1)
|
||||
for(var/i = 1, i <= dist, i++)
|
||||
if(src)
|
||||
step(src, pick(NORTH,SOUTH,EAST,WEST))
|
||||
sleep(rand(2,4))
|
||||
|
||||
Reference in New Issue
Block a user