empty weapon click

This commit is contained in:
paprka
2014-08-11 22:56:05 -07:00
parent 9cfb19f511
commit e97f21a24a
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -157,7 +157,8 @@
return
src.add_fingerprint(user)
if (src.bullets < 1)
user.show_message("\red *click* *click*", 2)
user.show_message("\red *click*", 2)
playsound(user, 'sound/weapons/empty.ogg', 100, 1)
return
playsound(user, 'sound/weapons/Gunshot.ogg', 100, 1)
src.bullets--
+2 -1
View File
@@ -29,7 +29,8 @@
return 1
/obj/item/weapon/gun/proc/shoot_with_empty_chamber(mob/living/user as mob|obj)
user << "<span class='warning'>*click*</span>"
user.visible_message("*click*", "\red <b>*click*</b>")
playsound(user, 'sound/weapons/empty.ogg', 100, 1)
return
/obj/item/weapon/gun/proc/shoot_live_shot(mob/living/user as mob|obj, var/pointblank = 0, var/mob/pbtarget = null)
Binary file not shown.