mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user