mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 18:40:42 +00:00
* Rewrites how action buttons icons are generated, makes them layer nicer. Allows observers to see a mob's action buttons. * conflicts * Modular! * update modular * icon icon icon icon icon Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com> Co-authored-by: Funce <funce.973@gmail.com>
16 lines
648 B
Plaintext
16 lines
648 B
Plaintext
/datum/action/item_action/vortex_recall
|
|
name = "Vortex Recall"
|
|
desc = "Recall yourself, and anyone nearby, to an attuned hierophant beacon at any time.<br>If the beacon is still attached, will detach it."
|
|
button_icon = 'icons/mob/actions/actions_items.dmi'
|
|
button_icon_state = "vortex_recall"
|
|
|
|
/datum/action/item_action/vortex_recall/IsAvailable(feedback = FALSE)
|
|
var/area/current_area = get_area(target)
|
|
if(!current_area || current_area.area_flags & NOTELEPORT)
|
|
return FALSE
|
|
if(istype(target, /obj/item/hierophant_club))
|
|
var/obj/item/hierophant_club/teleport_stick = target
|
|
if(teleport_stick.teleporting)
|
|
return FALSE
|
|
return ..()
|