gun suicide messages

This commit is contained in:
dannno
2015-02-01 11:04:40 -05:00
parent 9cfaa3cadc
commit a0b2e72b4c
3 changed files with 17 additions and 2 deletions
+6 -1
View File
@@ -89,4 +89,9 @@
return
/obj/item/weapon/gun/energy/ui_action_click()
toggle_gunlight()
toggle_gunlight()
/obj/item/weapon/gun/energy/suicide_act(mob/user)
user.visible_message("<span class='suicide'>[user] is aiming the [src.name] at themself! It looks like \he's trying to commit suicide.</span>")
playsound(loc, fire_sound, 50, 1, -1)
return (FIRELOSS)
+6 -1
View File
@@ -70,4 +70,9 @@
/obj/item/weapon/gun/magic/shoot_with_empty_chamber(mob/living/user as mob|obj)
user << "<span class='warning'>The [name] whizzles quietly.<span>"
return
return
/obj/item/weapon/gun/magic/suicide_act(mob/user)
user.visible_message("<span class='suicide'>[user] is casting a spell on themself with the [src.name]! It looks like \he's trying to commit suicide.</span>")
playsound(loc, fire_sound, 50, 1, -1)
return (FIRELOSS)
@@ -132,6 +132,11 @@
boolets += magazine.ammo_count()
return boolets
/obj/item/weapon/gun/projectile/suicide_act(mob/user)
user.visible_message("<span class='suicide'>[user] is aiming the [src.name] at themself! It looks like \he's trying to commit suicide.</span>")
playsound(loc, fire_sound, 50, 1, -1)
return (BRUTELOSS)
/obj/item/weapon/suppressor
name = "suppressor"
desc = "A universal syndicate small-arms suppressor for maximum espionage."