[no gbp] few more repairbot fixes (#88344)

## About The Pull Request
repairbots now gain the ability to deconstruct when hacked by an AI. ive
also updated their crafting menu requirements and they now drop their
toolboxes when they're destroyed

## Why It's Good For The Game
closes #88336

## Changelog
🆑
fix: repairbots now gain their destructive abilities when hacked by an
AI
fix: repairbot crafting recipes have been updated
/🆑
This commit is contained in:
Ben10Omintrix
2024-12-04 01:34:01 +01:00
committed by GitHub
parent cf80264086
commit 28847a6ab3
7 changed files with 25 additions and 20 deletions
@@ -199,15 +199,11 @@
if(var_name == NAMEOF(src, base_icon))
update_appearance(UPDATE_ICON)
/mob/living/basic/bot/cleanbot/emag_act(mob/user, obj/item/card/emag/emag_card)
. = ..()
if(!(bot_access_flags & BOT_COVER_EMAGGED))
return
/mob/living/basic/bot/cleanbot/emag_effects(mob/user)
if(weapon)
weapon.force = initial(weapon.force)
balloon_alert(user, "safeties disabled")
audible_message(span_danger("[src] buzzes oddly!"))
return TRUE
/mob/living/basic/bot/cleanbot/explode()
var/atom/drop_loc = drop_location()