mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-06 07:23:16 +00:00
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
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user