Gripper attackby fixes (#13571)

This cannot go wrong, can it?
This commit is contained in:
mikomyazaki
2022-04-20 22:15:15 +02:00
committed by GitHub
parent d8497aa4cb
commit e59589ec8a
184 changed files with 975 additions and 894 deletions
@@ -270,6 +270,7 @@
else
to_chat(user, "<span class='warning'>\The [src] isn't open, so you can't fiddle with the internal components. \
Try using a crowbar.</span>")
return TRUE
else if(istype(I, /obj/item/cell/device))
if(!opened)
@@ -295,6 +296,7 @@
var/obj/item/device/integrated_electronics/detailer/D = I
detail_color = D.detail_color
update_icon()
return TRUE
else
for(var/obj/item/integrated_circuit/insert_slot/S in contents) //Attempt to insert the item into any contained insert_slots