Change some items to zero damage hitsounds. (#31854)

* Change some items to use zero_damage_hitsound.

* Remove duplicate var. Thanks, linters!

* Use Contra's method for zero damage hitsounds.
This commit is contained in:
Alan
2026-04-28 23:38:50 +00:00
committed by GitHub
parent 68fb77a19a
commit 01b55e0f21
2 changed files with 5 additions and 4 deletions
@@ -158,8 +158,6 @@
icon = 'icons/obj/stacks/miscellaneous.dmi'
icon_state = "c_tube"
hitsound = 'sound/items/cardboard_tube.ogg'
throwforce = 1
force = 1
attack_verb = list("bonked", "thunked")
w_class = WEIGHT_CLASS_TINY
throw_speed = 4
@@ -169,7 +167,8 @@
qdel(src)
return TRUE
/obj/item/c_tube/should_play_hitsound(damage)
return TRUE
/obj/item/fan
name = "desk fan"