mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-13 10:23:15 +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
19 lines
384 B
Plaintext
19 lines
384 B
Plaintext
/obj/structure
|
|
icon = 'icons/obj/structures.dmi'
|
|
pressure_resistance = 8
|
|
|
|
/obj/structure/blob_act()
|
|
if(prob(50))
|
|
qdel(src)
|
|
|
|
/obj/structure/Destroy()
|
|
if(opacity)
|
|
UpdateAffectingLights()
|
|
..()
|
|
|
|
/obj/structure/mech_melee_attack(obj/mecha/M)
|
|
if(M.damtype == "brute")
|
|
visible_message("<span class='danger'>[M.name] has hit [src].</span>")
|
|
return 1
|
|
return 0
|