mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 02:24:11 +01:00
[MIRROR] improves fire extinguisher code, and makes fire extinguisher water go through machinery, lockers, and crates (#3560)
* improves fire extinguisher code, and makes fire extinguisher water go through machinery, lockers, and crates (#57004) * improves fire extinguisher code, and makes fire extinguisher water go through machinery, lockers, and crates Co-authored-by: Tlaltecuhtli <33834933+Tlaltecuhtli@users.noreply.github.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
/obj/effect/particle_effect/water
|
||||
name = "water"
|
||||
icon_state = "extinguish"
|
||||
pass_flags = PASSTABLE | PASSMACHINE | PASSSTRUCTURE | PASSGRILLE
|
||||
var/life = 15
|
||||
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||
|
||||
@@ -15,8 +16,6 @@
|
||||
if (--src.life < 1)
|
||||
qdel(src)
|
||||
return FALSE
|
||||
if(newloc.density)
|
||||
return FALSE
|
||||
return ..()
|
||||
|
||||
/obj/effect/particle_effect/water/Bump(atom/A)
|
||||
|
||||
Reference in New Issue
Block a user