From d03ecde8ff3dc5cb0cd1056b70c7b81e07c8af16 Mon Sep 17 00:00:00 2001 From: "n3ophyt3@gmail.com" Date: Sat, 26 Feb 2011 18:31:07 +0000 Subject: [PATCH] The captain's antique laser is now moderately more valuable than simply being old and made with assistant leather, so as to make more sense as a traitor target. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1138 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/items/weapons/guns_ammo.dm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/game/objects/items/weapons/guns_ammo.dm b/code/game/objects/items/weapons/guns_ammo.dm index 346080dd908..2d9affff796 100644 --- a/code/game/objects/items/weapons/guns_ammo.dm +++ b/code/game/objects/items/weapons/guns_ammo.dm @@ -569,6 +569,16 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/us src.icon_state = text("laser[]", ratio) return +/obj/item/weapon/gun/energy/laser_gun/captain/New() + charge() + +/obj/item/weapon/gun/energy/laser_gun/captain/proc/charge() + if(charges < maximum_charges) + charges++ + update_icon() + spawn(50) charge() + + /obj/item/weapon/gun/energy/laser_gun/afterattack(atom/target as mob|obj|turf|area, mob/user as mob, flag) if ((usr.mutations & 16) && prob(50)) usr << "\red The laser gun blows up in your face."