mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-12 08:12:23 +01:00
medical scanner animation
This commit is contained in:
@@ -729,6 +729,17 @@
|
||||
remove_atom_colour(TEMPORARY_COLOUR_PRIORITY, "#000000")
|
||||
cut_overlay(MA)
|
||||
|
||||
//medical scan animation
|
||||
/mob/living/carbon/human/proc/scan_animation()
|
||||
var/mutable_appearance/scan_anim
|
||||
scan_anim = mutable_appearance(icon, "mediscan")
|
||||
add_overlay(scan_anim)
|
||||
addtimer(CALLBACK(src, .proc/end_scan_animation, scan_anim), 10)
|
||||
flick(icon,src)
|
||||
|
||||
/mob/living/carbon/human/proc/end_scan_animation(mutable_appearance/MA)
|
||||
cut_overlay(MA)
|
||||
|
||||
/mob/living/carbon/human/canUseTopic(atom/movable/M, be_close=FALSE, no_dextery=FALSE, no_tk=FALSE)
|
||||
if(incapacitated() || lying )
|
||||
to_chat(src, "<span class='warning'>You can't do that right now!</span>")
|
||||
|
||||
Reference in New Issue
Block a user