mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
Add pool noodles. (#31664)
* Add pool noodles. * Apply suggestions from code review These are proper pool noodles now. Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Alan <alfalfascout@users.noreply.github.com> * Add hit sound. Allow zero-damage hit sounds. --------- Signed-off-by: Alan <alfalfascout@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -178,7 +178,7 @@
|
||||
to_chat(user, SPAN_WARNING("You don't want to harm other living beings!"))
|
||||
return FALSE
|
||||
|
||||
if(!force)
|
||||
if(!force && !("zero_damage_hitsound" in vars))
|
||||
playsound(loc, 'sound/weapons/tap.ogg', get_clamped_volume(), TRUE, -1)
|
||||
else
|
||||
SEND_SIGNAL(target, COMSIG_ATTACK)
|
||||
|
||||
Reference in New Issue
Block a user