chainsaw fixups

This commit is contained in:
Fox-McCloud
2015-04-12 07:44:11 -04:00
parent ff0f29c5e5
commit 421c27b4e4
5 changed files with 34 additions and 13 deletions
+28 -13
View File
@@ -366,16 +366,17 @@ obj/item/weapon/twohanded/
throwforce = 15
throw_speed = 1
throw_range = 5
w_class = 4.0
force_unwielded = 15
force_wielded = 35
wieldsound = 'sound/weapons/drill.ogg'
w_class = 4.0 // can't fit in backpacks
force_unwielded = 15 //still pretty robust
force_wielded = 40 //you'll gouge their eye out! Or a limb...maybe even their entire body!
wieldsound = 'sound/weapons/chainsawstart.ogg'
hitsound = null
flags = NOSHIELD
origin_tech = "materials=3;syndicate=4"
attack_verb = list("sawed", "cut", "hacked", "carved", "cleave")
origin_tech = "materials=6;syndicate=4"
attack_verb = list("sawed", "cut", "hacked", "carved", "cleaved", "butchered", "felled", "timbered")
sharp = 1
edge = 1
no_embed = 1 // Like with the single-handed esword, this shouldn't be embedding in people.
no_embed = 1
/obj/item/weapon/twohanded/chainsaw/update_icon()
@@ -385,13 +386,27 @@ obj/item/weapon/twohanded/
icon_state = "chainsaw0"
/obj/item/weapon/twohanded/chainsaw/unwield()
..()
hitsound = "swing_hit"
/obj/item/weapon/twohanded/chainsaw/attack(mob/target as mob, mob/living/user as mob)
if(wielded)
playsound(loc, 'sound/weapons/chainsaw.ogg', 100, 1, -1) //incredibly loud; you ain't goin' for stealth with this thing. Credit to Lonemonk of Freesound for this sound.
if(isrobot(target))
..()
return
if(!isliving(target))
return
else
target.Weaken(4)
..()
return
else
playsound(loc, "swing_hit", 50, 1, -1)
return ..()
/obj/item/weapon/twohanded/chainsaw/wield()
..()
hitsound = 'sound/weapons/circsawhit.ogg'
/obj/item/weapon/twohanded/chainsaw/IsShield() //Disarming someone with a chainsaw should be difficult.
if(wielded)
return 1
else
return 0
// SINGULOHAMMER