mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
[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:
co-authored by
DrTuxedo
Tom
parent
8916bbbfad
commit
637ac53109
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user