Allows players to commit seppuku with any katana, adds slash SFX to

katana suicide
This commit is contained in:
El Presidente P
2018-05-28 19:07:11 -04:00
parent b6e608cb4c
commit e4c63ac25a
3 changed files with 11 additions and 0 deletions
+5
View File
@@ -348,6 +348,11 @@
attack_verb = list("attacked", "slashed", "stabbed", "sliced")
hitsound = 'sound/weapons/bladeslice.ogg'
/obj/item/toy/katana/suicide_act(mob/living/carbon/user)
user.visible_message("<span class='suicide'>[user] is slitting [user.p_their()] stomach open with [src]! It looks like [user.p_theyre()] trying to commit seppuku!</span>")
playsound(src, 'sound/weapons/bladeslice.ogg', 50, 1)
return(BRUTELOSS)
/*
* Snap pops
*/
+1
View File
@@ -223,6 +223,7 @@
/obj/item/katana/suicide_act(mob/user)
user.visible_message("<span class='suicide'>[user] is slitting [user.p_their()] stomach open with [src]! It looks like [user.p_theyre()] trying to commit seppuku!</span>")
playsound(src, 'sound/weapons/bladeslice.ogg', 50, 1)
return(BRUTELOSS)
/obj/item/wirerod
+5
View File
@@ -32,6 +32,11 @@
dash_toggled = !dash_toggled
to_chat(user, "<span class='notice'>You [dash_toggled ? "enable" : "disable"] the dash function on [src].</span>")
/obj/item/energy_katana/suicide_act(mob/living/carbon/user)
user.visible_message("<span class='suicide'>[user] is slitting [user.p_their()] stomach open with [src]! It looks like [user.p_theyre()] trying to commit cyber-seppuku!</span>")
playsound(src, 'sound/weapons/blade1.ogg', 50, 1)
return(BRUTELOSS)
/obj/item/energy_katana/afterattack(atom/target, mob/user, proximity_flag, click_parameters)
if(dash_toggled)
jaunt.Teleport(user, target)