mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Creates a "busy" animation for players (#82416)
## About The Pull Request Little indicator above a player when they're currently doing something. <details> <summary>vids</summary> Perspective: You are the moth  Hides under runechat  </details> Todo: - [x] Feedback? - [x] Sneaky params so it doesn't spoil your stealth run - [x] Possible refactor - [x] Probably missed some "sneaky" actions - [x] coggers ## Why It's Good For The Game <details> <summary>sound on:</summary> https://github.com/tgstation/tgstation/assets/42397676/ad71c567-0202-4158-ba50-c2946375f988 </details> ## Changelog 🆑 jlsnow301, infraredbaron add: Added a new UI element over players that are interacting, building, etc. /🆑 --------- Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
co-authored by
Zephyr
LemonInTheDark
san7890
parent
d0c1ecd6ef
commit
c448745976
@@ -43,7 +43,7 @@
|
||||
return
|
||||
var/datum/looping_sound/typing/typing_sounds = new(src, start_immediately = TRUE)
|
||||
balloon_alert(user, "synchronizing...")
|
||||
if(!do_after(user = user, delay = 3 SECONDS, target = src, interaction_key = REF(src)))
|
||||
if(!do_after(user = user, delay = 3 SECONDS, target = src, interaction_key = REF(src), hidden = TRUE))
|
||||
typing_sounds.stop()
|
||||
return
|
||||
typing_sounds.stop()
|
||||
@@ -52,7 +52,7 @@
|
||||
/obj/structure/syndicate_uplink_beacon/screwdriver_act_secondary(mob/living/user, obj/item/tool)
|
||||
tool.play_tool_sound(src)
|
||||
balloon_alert(user, "deconstructing...")
|
||||
if (!do_after(user, 5 SECONDS, target = src))
|
||||
if (!do_after(user, 5 SECONDS, target = src, hidden = TRUE))
|
||||
return FALSE
|
||||
var/turf/beacon_tile = get_turf(src)
|
||||
new /obj/item/stack/sheet/iron/five(beacon_tile)
|
||||
|
||||
Reference in New Issue
Block a user