Fixes SiliConnect not being able to download logs (#89408)

## About The Pull Request

Closes #89329
Also added a balloon_alert

## Changelog
🆑
qol: SiliConnect now informs you that you're successfully downloading
logs
fix: Fixes SiliConnect not being able to download logs
/🆑
This commit is contained in:
SmArtKar
2025-02-17 00:59:24 +01:00
committed by GitHub
parent a439e2379a
commit 2c3e3b6e59
8 changed files with 32 additions and 27 deletions
@@ -193,12 +193,12 @@
physical = null
return ..()
/obj/item/modular_computer/pre_attack_secondary(atom/A, mob/living/user, params)
if(active_program?.tap(A, user, params))
user.do_attack_animation(A) //Emulate this animation since we kill the attack in three lines
/obj/item/modular_computer/interact_with_atom_secondary(atom/interacting_with, mob/living/user, list/modifiers)
if(active_program?.tap(interacting_with, user, modifiers))
user.do_attack_animation(interacting_with) //Emulate this animation since we kill the attack in three lines
playsound(loc, 'sound/items/weapons/tap.ogg', get_clamped_volume(), TRUE, -1) //Likewise for the tap sound
addtimer(CALLBACK(src, PROC_REF(play_ping)), 0.5 SECONDS, TIMER_UNIQUE) //Slightly delayed ping to indicate success
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
return ITEM_INTERACT_SUCCESS
return ..()
// shameless copy of newscaster photo saving