mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Conflicts: code/game/objects/items/weapons/stunbaton.dm Made all obj/item/weapons have "swing_hit" as their default hitsound. Made hitsound not play when the attack misses.
9 lines
151 B
Plaintext
9 lines
151 B
Plaintext
/obj/item/weapon
|
|
name = "weapon"
|
|
icon = 'icons/obj/weapons.dmi'
|
|
hitsound = "swing_hit"
|
|
|
|
/obj/item/weapon/Bump(mob/M as mob)
|
|
spawn(0)
|
|
..()
|
|
return |