it's borging time (#20282)

This commit is contained in:
GDN
2023-02-05 11:10:36 -06:00
committed by GitHub
parent ce59b7b712
commit 2d71218bb2
2 changed files with 5 additions and 2 deletions
@@ -925,12 +925,14 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
if(!remove || !Adjacent(user) || !opened)
return
if(module && (remove in module.custom_removals))
module.handle_custom_removal(remove, user, I)
return
var/datum/robot_component/C = components[remove]
if(C.is_missing()) // Somebody else removed it during the input
return
if(module && module.handle_custom_removal(remove, user, I))
return
if(!I.use_tool(src, user, 0, volume = I.tool_volume))
return
var/obj/item/robot_parts/robot_component/thing = C.wrapped
@@ -575,6 +575,7 @@
if(component_id == "KA modkits")
for(var/obj/item/gun/energy/kinetic_accelerator/cyborg/D in src)
D.crowbar_act(user, W)
to_chat(user, "You remove the KPA modkits.")
return TRUE
return ..()