I'm gonna regret this. Adds stock parts (meaning cells) to the gripper list

This commit is contained in:
BlackMajor
2020-07-18 03:08:52 +12:00
parent eb9b3da581
commit 9b671b7dd1
2 changed files with 12 additions and 1 deletions
+10
View File
@@ -103,8 +103,18 @@
removecell()
/obj/machinery/cell_charger/attack_ai(mob/user)
if(!charging)
return
charging.forceMove(loc)
to_chat(user, "<span class='notice'>You remotely disconnect the battery port and eject [charging] from [src].</span>")
removecell()
return
/obj/machinery/cell_charger/attack_robot(mob/user)
attack_ai(user)
/obj/machinery/cell_charger/emp_act(severity)
. = ..()
+2 -1
View File
@@ -765,7 +765,8 @@
/obj/item/vending_refill,
/obj/item/stack/sheet,
/obj/item/stack/tile,
/obj/item/stack/rods
/obj/item/stack/rods,
/obj/item/stock_parts
)
//Basically a blacklist for any subtypes above we dont want
var/list/cannot_hold = list(