Fixes Robots putting things in rechargers

This commit is contained in:
Nalarac
2019-07-27 14:53:08 -05:00
parent f6ae1dc4e1
commit 5cda8072b7
4 changed files with 72 additions and 59 deletions

View File

@@ -38,17 +38,7 @@
// Research borg's version
/obj/item/weapon/melee/baton/slime/robot
hitcost = 200
/obj/item/weapon/melee/baton/slime/robot/attack_self(mob/user)
//try to find our power cell
var/mob/living/silicon/robot/R = loc
if (istype(R))
bcell = R.cell
return ..()
/obj/item/weapon/melee/baton/slime/robot/attackby(obj/item/weapon/W, mob/user)
return
use_external_power = TRUE
// Xeno stun gun + projectile
/obj/item/weapon/gun/energy/taser/xeno