spacing, src/loc consistency in playsound, reverted the weapon hitsound change, removed silicon/damage_procs.dm as it's unrelated and wasn't even included in the .dme, fixed some typos

This commit is contained in:
uraniummeltdown
2018-03-05 02:07:31 +05:00
parent ba4571ae7f
commit b09e3ae6f6
11 changed files with 24 additions and 44 deletions
+1 -1
View File
@@ -988,7 +988,7 @@
if(sharpness)
to_chat(user, "<span class='notice'>You begin to butcher [src]...</span>")
playsound(loc, 'sound/weapons/slice.ogg', 50, 1, -1)
if(do_mob(user, src, 80/sharpness) && Adjacent(I))
if(do_mob(user, src, 80 / sharpness) && Adjacent(I))
harvest(user)
return 1
@@ -1,13 +0,0 @@
/mob/living/silicon/apply_damage(damage = 0,damagetype = BRUTE, def_zone = null, blocked = FALSE)
blocked = (100-blocked)/100
if(!damage || (blocked <= 0))
return 0
switch(damagetype)
if(BRUTE)
adjustBruteLoss(damage * blocked)
if(BURN)
adjustFireLoss(damage * blocked)
else
return 1
updatehealth()
return 1