[MIRROR] Now blocking is more noticeable! New blocking and parrying sounds [MDB IGNORE] (#21090)

* Now blocking is more noticeable! New blocking and parrying sounds

* Update code/game/objects/items/dualsaber.dm

---------

Co-authored-by: DrTuxedo <42353186+DrDiasyl@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-05-15 18:07:25 +01:00
committed by GitHub
co-authored by DrTuxedo Tom
parent 8916bbbfad
commit 637ac53109
27 changed files with 58 additions and 24 deletions
@@ -598,3 +598,15 @@
modsuit_image.loc = looker.loc
modsuit_image.pixel_x = ((creature.x - looker.x) * 32)
modsuit_image.pixel_y = ((creature.y - looker.y) * 32)
/obj/effect/temp_visual/block //color is white by default, set to whatever is needed
name = "blocking glow"
icon_state = "block"
duration = 6.7
/obj/effect/temp_visual/block/Initialize(mapload, set_color)
if(set_color)
add_atom_colour(set_color, FIXED_COLOUR_PRIORITY)
. = ..()
pixel_x = rand(-12, 12)
pixel_y = rand(-9, 0)