mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-19 05:26:28 +00:00
-Adjusts pressure resistance, which determines how easily things can get pushed around by atmos. -Most items (handheld stuff) are less resistant, while most larger items (mobs, structures, machinery) are more resistant. -Removes the cooldown on air pushing stuff, which should make it feel more 'responsive', as opposed to the current push->pause->push->pause effect it does now. -MAGBOOTS/NOSLIPS NOW PREVENT SPACEWIND PUSHING! !!! -Adds a little wooshy breeze sound to when you would get pushed
21 lines
706 B
Plaintext
21 lines
706 B
Plaintext
/obj/structure/mopbucket
|
|
name = "mop bucket"
|
|
desc = "Fill it with water, but don't forget a mop!"
|
|
icon = 'icons/obj/janitor.dmi'
|
|
icon_state = "mopbucket"
|
|
density = 1
|
|
flags = OPENCONTAINER
|
|
var/amount_per_transfer_from_this = 5 //shit I dunno, adding this so syringes stop runtime erroring. --NeoFite
|
|
|
|
|
|
/obj/structure/mopbucket/New()
|
|
create_reagents(100)
|
|
|
|
/obj/structure/mopbucket/attackby(obj/item/I, mob/user, params)
|
|
if(istype(I, /obj/item/weapon/mop))
|
|
if(reagents.total_volume < 1)
|
|
user << "[src] is out of water!</span>"
|
|
else
|
|
reagents.trans_to(I, 5)
|
|
user << "<span class='notice'>You wet [I] in [src].</span>"
|
|
playsound(loc, 'sound/effects/slosh.ogg', 25, 1) |