[PORT/SPRITES] New BSA beam sprite (#26925)

* Better BSA beam sprite

* Changed front_turf finding

---------

Co-authored-by: Adrer <adrermail@gmail.com>
This commit is contained in:
Chap
2024-10-22 09:18:24 +00:00
committed by GitHub
co-authored by Adrer
parent 1c994ad3d9
commit c4cc00400d
4 changed files with 20 additions and 2 deletions
@@ -520,3 +520,20 @@
icon = 'icons/effects/96x96.dmi'
icon_state = "warning"
duration = 3 SECONDS
/obj/effect/temp_visual/bsa_splash
name = "\improper Bluespace energy wave"
desc = "A massive, rippling wave of bluepace energy, all rapidly exhausting itself the moment it leaves the concentrated beam of light."
icon = 'icons/effects/beam_splash.dmi'
icon_state = "beam_splash_l"
layer = ABOVE_ALL_MOB_LAYER
pixel_y = -16
duration = 50
/obj/effect/temp_visual/bsa_splash/Initialize(mapload, dir)
. = ..()
switch(dir)
if(WEST)
icon_state = "beam_splash_w"
if(EAST)
icon_state = "beam_splash_e"
+3 -2
View File
@@ -146,9 +146,9 @@
/obj/machinery/bsa/full/proc/get_front_turf()
switch(dir)
if(WEST)
return locate(x - 6,y,z)
return locate(x - 7,y,z)
if(EAST)
return locate(x + 4,y,z)
return locate(x + 5,y,z)
return get_turf(src)
/obj/machinery/bsa/full/proc/get_back_turf()
@@ -206,6 +206,7 @@
A.ex_act(EXPLODE_DEVASTATE)
point.Beam(get_target_turf(), icon_state = "bsa_beam", time = 50, maxdistance = world.maxx, beam_type = /obj/effect/ebeam/deadly) //ZZZAP
new /obj/effect/temp_visual/bsa_splash(point, dir)
playsound(src, 'sound/machines/bsa_fire.ogg', 100, 1)
if(istype(target, /obj/item/gps))
var/obj/item/gps/G = target
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB