Fix cyborg flash / Makes cyborgs use item interaction (#89274)

## About The Pull Request

Fixes #89272

- Adds an argument to `is_wire_tool` to fail if the item is secured,
which assemblies are by default. (They must be screwdriver'd to attach
to things)

Makes cyborg use item interaction

- Cleaner, non-deprecated attack chain. 
- Also changes to chats to balloon alerts.

## Changelog

🆑 Melbert
qol: Using items on cyborgs now use balloon alerts instead of chat
messages.
fix: You can flash cyborgs again
refactor: Refactored item interaction on cyborgs. 
/🆑
This commit is contained in:
MrMelbert
2025-01-30 06:07:15 -06:00
committed by GitHub
parent beb525e67b
commit fca806da0c
4 changed files with 236 additions and 184 deletions
@@ -926,6 +926,8 @@
if(inserted_disk)
user.put_in_hands(inserted_disk)
balloon_alert(user, "disks swapped")
else
balloon_alert(user, "disk inserted")
inserted_disk = disk
playsound(src, 'sound/machines/card_slide.ogg', 50)
return ITEM_INTERACT_SUCCESS