Most of mobcode is a badly organized mess, don't feel bad :P


On Wed, Jan 15, 2014 at 6:04 PM, Perakp <notifications@github.com> wrote:

> In code/modules/power/cable.dm:
>
> > @@ -220,6 +220,28 @@
> >  		return(OXYLOSS)
> >
> >
> > +/obj/item/weapon/cable_coil/attack(mob/living/carbon/human/H, mob/user)
> > +
> > +	if(istype(H))
> > +		var/obj/item/organ/limb/affecting = H.get_organ(check_zone(user.zone_sel.selecting))
> > +
> > +		if(affecting.status == ORGAN_ROBOTIC)
> > +			if(affecting.burn_dam > 0)
> > +				affecting.heal_damage(0,30,1)
> > +				H.updatehealth()
> > +				src.use(1)
>
> I'm pretty sure if there is just one cable piece, the item will be deleted
> and this proc stopped at use(1), and the message will be left out.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/tgstation/-tg-station/pull/2373/files#r8903300>
> .
>