Buffed the uses to 5, made the stun 80% of a baton to 140% of a baton. Added additional info on examine/use.

This commit is contained in:
FreeStylaLT
2016-06-05 16:40:36 +03:00
parent 665dbc04e1
commit aa63118f9a
@@ -27,8 +27,14 @@ effective or pretty fucking useless.
origin_tech = "magnets=3;combat=3;syndicate=3"
var/times_used = 0 //Number of times it's been used.
var/max_uses = 2
var/max_uses = 5
/obj/item/device/batterer/examine(mob/user)
..(user)
if(times_used >= max_uses)
to_chat(user, "<span class='notice'>The [src] is out of charge.</span>")
if(times_used < max_uses)
to_chat(user, "<span class='notice'>The [src] has [max_uses-times_used] charges left.</span>")
/obj/item/device/batterer/attack_self(mob/living/carbon/user, flag = 0, emp = 0)
if(!user)
@@ -40,15 +46,15 @@ effective or pretty fucking useless.
for(var/mob/living/carbon/human/M in orange(10, user))
if(prob(50))
M.Weaken(rand(3,6))
M.Weaken(rand(4,7))
add_logs(M, user, "stunned", src)
to_chat(M, "<span class='danger'>You feel a tremendous, paralyzing wave flood your mind.</span>")
else
to_chat(M, "<span class='danger'>You feel a sudden, electric jolt travel through your head.</span>")
playsound(loc, 'sound/misc/interference.ogg', 50, 1)
to_chat(user, "<span class='notice'>You trigger [src].</span>")
times_used++
to_chat(user, "<span class='notice'>You trigger [src]. It has [max_uses-times_used] charges left.</span>")
if(times_used >= max_uses)
icon_state = "battererburnt"