Desouls Hivelord (#78213)

## About The Pull Request


![dreammaker_RJz4brjobM](https://github.com/tgstation/tgstation/assets/7483112/e5e4a3e9-ea6b-47f9-887c-3339d24d3fa8)

Replaces the sprite of the hivelord with a new one, in my continuing
quest to annihilate the old asteroid mob sprites.
A (never completed) asteroid mob resprite was actually my first PR, this
one is my 200th.
I am also planning on fucking with basic mob versions of these mobs some
time but the sprites can be atomised out.

In addition to replacing the old-ass MSPaint sprites, this PR also adds
a short death animation effect to the hivelord brood (from hivelords or
legions) which looks nicer than them just vanishing instantly upon
death.

Look at this video for an example of the animation:
https://www.youtube.com/watch?v=cKaskN5-y2A

## Why It's Good For The Game

Looks nicer.

## Changelog

🆑
image: Hivelords have a new sprite.
image: Hivelord and Legion brood have a death animation.
/🆑
This commit is contained in:
Jacquerel
2023-09-10 00:42:07 -04:00
committed by GitHub
parent 9802d89345
commit ed10226825
3 changed files with 56 additions and 23 deletions
@@ -652,3 +652,31 @@
/obj/effect/temp_visual/crit/Initialize(mapload)
. = ..()
animate(src, pixel_y = pixel_y + 16, alpha = 0, time = duration)
/// Plays a dispersing animation on hivelord and legion minions so they don't just vanish
/obj/effect/temp_visual/hive_spawn_wither
name = "withering spawn"
duration = 1 SECONDS
/obj/effect/temp_visual/hive_spawn_wither/Initialize(mapload, atom/copy_from)
if (isnull(copy_from))
. = ..()
return INITIALIZE_HINT_QDEL
icon = copy_from.icon
icon_state = copy_from.icon_state
pixel_x = copy_from.pixel_x
pixel_y = copy_from.pixel_y
duration = rand(0.5 SECONDS, 1 SECONDS)
var/matrix/transformation = matrix(transform)
transformation.Turn(rand(-70, 70))
transformation.Scale(0.7, 0.7)
animate(
src,
pixel_x = rand(-5, 5),
pixel_y = -5,
transform = transformation,
color = "#44444400",
time = duration,
flags = ANIMATION_RELATIVE,
)
return ..()