mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Makes Nanofrost Pretty (#28016)
* No more ugly * Resprites the cryo anomaly too * Update code/modules/mod/modules/modules_engineering.dm Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> --------- Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
co-authored by
Burzah
parent
4d7e14fc1f
commit
8e254c4c2a
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user