mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
Refactors the atmos watertank backpack (#24177)
* Refactors the atmos watertank backpack * Update code/game/objects/items/weapons/tanks/watertank.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Update code/game/objects/items/weapons/tanks/watertank.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Adds spans * Henri review --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
@@ -77,6 +77,11 @@
|
||||
icon = 'icons/effects/effects.dmi'
|
||||
icon_state = "flour"
|
||||
|
||||
/obj/effect/decal/cleanable/flour/nanofrost
|
||||
name = "nanofrost residue"
|
||||
desc = "Residue left behind from a nanofrost detonation. Perhaps there was a fire here?"
|
||||
color = "#B2FFFF"
|
||||
|
||||
/obj/effect/decal/cleanable/flour/foam
|
||||
name = "Fire fighting foam"
|
||||
desc = "It's foam."
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
var/expand = 1
|
||||
var/metal = 0
|
||||
|
||||
/obj/effect/particle_effect/foam/New(loc, ismetal=0)
|
||||
/obj/effect/particle_effect/foam/New(loc, ismetal = FALSE)
|
||||
..(loc)
|
||||
icon_state = "[ismetal ? "m":""]foam"
|
||||
if(!ismetal && reagents)
|
||||
color = mix_color_from_reagents(reagents.reagent_list)
|
||||
metal = ismetal
|
||||
playsound(src, 'sound/effects/bubbles2.ogg', 80, 1, -3)
|
||||
spawn(3 + metal*3)
|
||||
playsound(src, 'sound/effects/bubbles2.ogg', 80, TRUE, -3)
|
||||
spawn(3 + metal * 3)
|
||||
process()
|
||||
spawn(120)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
for(var/obj/item/Item in T)
|
||||
Item.extinguish()
|
||||
|
||||
/datum/effect_system/smoke_spread/freezing/set_up(amount = 5, only_cardinals = FALSE, source, desired_direction, blasting = 0)
|
||||
/datum/effect_system/smoke_spread/freezing/set_up(amount = 5, only_cardinals = FALSE, source, desired_direction, blasting = FALSE)
|
||||
..()
|
||||
blast = blasting
|
||||
|
||||
|
||||
Reference in New Issue
Block a user