diff --git a/code/game/objects/effects/anomalies.dm b/code/game/objects/effects/anomalies.dm index 1d213eb825e..47df4e68266 100644 --- a/code/game/objects/effects/anomalies.dm +++ b/code/game/objects/effects/anomalies.dm @@ -418,7 +418,7 @@ shootAt(H) if(prob(10)) - var/obj/effect/nanofrost_container/A = new /obj/effect/nanofrost_container(get_turf(src)) + var/obj/effect/nanofrost_container/A = new /obj/effect/nanofrost_container/anomaly(get_turf(src)) for(var/i in 1 to 5) step_towards(A, pick(turf_targets)) sleep(2) diff --git a/code/game/objects/items/weapons/tanks/watertank.dm b/code/game/objects/items/weapons/tanks/watertank.dm index ac334cfbacc..4722417ad46 100644 --- a/code/game/objects/items/weapons/tanks/watertank.dm +++ b/code/game/objects/items/weapons/tanks/watertank.dm @@ -299,9 +299,8 @@ var/obj/effect/nanofrost_container/A = new /obj/effect/nanofrost_container(get_turf(src)) log_game("[key_name(user)] used Nanofrost at [get_area(user)] ([user.x], [user.y], [user.z]).") playsound(src,'sound/items/syringeproj.ogg', 40, TRUE) - for(var/a in 1 to 6) - step_towards(A, target) - sleep(2) + A.throw_at(target, 6, 2, user) + sleep(2) A.Smoke() addtimer(VARSET_CALLBACK(src, nanofrost_cooldown, FALSE)) if(METAL_FOAM) @@ -334,6 +333,11 @@ playsound(src, 'sound/effects/bamf.ogg', 100, TRUE) qdel(src) +/obj/effect/nanofrost_container/anomaly + name = "nanofrost anomaly" + desc = "A frozen shell of ice containing nanofrost that freezes the surrounding area." + icon_state = "frozen_smoke_anomaly" + #undef EXTINGUISHER #undef NANOFROST #undef METAL_FOAM diff --git a/code/modules/mod/modules/modules_engineering.dm b/code/modules/mod/modules/modules_engineering.dm index 230f9d16341..2efd024af58 100644 --- a/code/modules/mod/modules/modules_engineering.dm +++ b/code/modules/mod/modules/modules_engineering.dm @@ -239,10 +239,9 @@ reagents.remove_any(100) var/obj/effect/nanofrost_container/A = new /obj/effect/nanofrost_container(get_turf(src)) log_game("[key_name(user)] used Nanofrost at [get_area(user)] ([user.x], [user.y], [user.z]).") - playsound(src, 'sound/items/syringeproj.ogg', 40, 1) - for(var/counter in 1 to 5) - step_towards(A, target) - sleep(2) + playsound(src, 'sound/items/syringeproj.ogg', 40, TRUE) + A.throw_at(target, 6, 2, user) + sleep(2) A.Smoke() if(METAL_FOAM) diff --git a/icons/effects/effects.dmi b/icons/effects/effects.dmi index 6bb68da79e7..0439814e310 100644 Binary files a/icons/effects/effects.dmi and b/icons/effects/effects.dmi differ