mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
it's borging time (#20282)
This commit is contained in:
@@ -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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user