Re-add 'glorious death' text to cables. (#114)

* Re-add 'glorious death' text to cables.

* Fix indentation
This commit is contained in:
ReddeyfishVor
2018-04-16 00:45:08 -07:00
committed by GitHub
parent 7298cb7a9a
commit 13d853abb5
+7 -7
View File
@@ -497,13 +497,13 @@ obj/structure/cable/proc/cableColor(var/colorC)
uses_charge = 1
charge_costs = list(1)
// /obj/item/stack/cable_coil/suicide_act(mob/user)
// var/datum/gender/TU = gender_datums[user.get_visible_gender()]
// if(locate(/obj/item/weapon/stool) in user.loc)
// user.visible_message("<span class='suicide'>[user] is making a noose with the [src.name]! It looks like [TU.he] [TU.is] trying to commit suicide.</span>")
// else
// user.visible_message("<span class='suicide'>[user] is strangling [TU.himself] with the [src.name]! It looks like [TU.he] [TU.is] trying to commit suicide.</span>")
// return(OXYLOSS)
/obj/item/stack/cable_coil/suicide_act(mob/user)
var/datum/gender/TU = gender_datums[user.get_visible_gender()]
if(locate(/obj/item/weapon/stool) in user.loc)
user.visible_message("<span class='suicide'>[user] is making a noose with the [src.name]! It looks like [TU.he] [TU.is] trying to commit suicide.</span>")
else
user.visible_message("<span class='suicide'>[user] is strangling [TU.himself] with the [src.name]! It looks like [TU.he] [TU.is] trying to commit suicide.</span>")
return(OXYLOSS)
/obj/item/stack/cable_coil/New(loc, length = MAXCOIL, var/param_color = null)
..()