mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-19 14:02:26 +00:00
updates attack and defense code adds missing sounds to some items, code cleanup, lowered volume for some sounds (from /tg/) hitsound and attack_verb updates, weapons given hitsound on New() according to damage type
11 lines
224 B
Plaintext
11 lines
224 B
Plaintext
/obj/item/weapon
|
|
name = "weapon"
|
|
icon = 'icons/obj/weapons.dmi'
|
|
|
|
/obj/item/weapon/New()
|
|
..()
|
|
if(!hitsound)
|
|
if(damtype == "fire")
|
|
hitsound = 'sound/items/welder.ogg'
|
|
if(damtype == "brute")
|
|
hitsound = "swing_hit" |