mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
BSA impact animation (#91085)
This commit is contained in:
@@ -193,6 +193,17 @@
|
||||
if(EAST)
|
||||
icon_state = "beam_splash_e"
|
||||
|
||||
/obj/effect/temp_visual/bsa_impact
|
||||
name = "\improper Bluespace Artillery detonation"
|
||||
desc = "Tearing into conventional space once more, the immense energy of the beam is delivered directly into the target and its surroundings."
|
||||
icon = 'icons/effects/96x160.dmi'
|
||||
icon_state = "bsa_impact_ex"
|
||||
layer = ABOVE_ALL_MOB_LAYER
|
||||
plane = ABOVE_GAME_PLANE
|
||||
pixel_y = -32
|
||||
pixel_x = -32
|
||||
duration = 10
|
||||
|
||||
/obj/effect/temp_visual/wizard
|
||||
name = "water"
|
||||
icon = 'icons/mob/simple/mob.dmi'
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
. = ..()
|
||||
|
||||
explosion(target.loc, explosion_cause = src)
|
||||
|
||||
new /obj/effect/temp_visual/bsa_impact(target.loc)
|
||||
var/turf/open/floor/target_turf = get_turf(target)
|
||||
if (istype(target_turf))
|
||||
if (prob(BSA_CHANCE_TO_BREAK_TILE_TO_PLATING))
|
||||
|
||||
@@ -241,6 +241,7 @@ GLOBAL_VAR_INIT(bsa_unlock, FALSE)
|
||||
message_admins("[ADMIN_LOOKUPFLW(user)] has launched a bluespace artillery strike targeting [ADMIN_VERBOSEJMP(bullseye)].")
|
||||
user.log_message("has launched a bluespace artillery strike targeting [AREACOORD(bullseye)].", LOG_GAME)
|
||||
explosion(bullseye, devastation_range = ex_power, heavy_impact_range = ex_power*2, light_impact_range = ex_power*4, explosion_cause = src)
|
||||
new /obj/effect/temp_visual/bsa_impact(bullseye)
|
||||
else
|
||||
message_admins("[ADMIN_LOOKUPFLW(user)] has launched a bluespace artillery strike targeting [ADMIN_VERBOSEJMP(bullseye)] but it was blocked by [blocker] at [ADMIN_VERBOSEJMP(target)].")
|
||||
user.log_message("has launched a bluespace artillery strike targeting [AREACOORD(bullseye)] but it was blocked by [blocker] at [AREACOORD(target)].", LOG_GAME)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user