mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user