Files
Bubberstation/code/datums/actions/items/set_internals.dm
SkyratBot 15faaa54f5 [MIRROR] Rewrites how action buttons icons are generated, makes them layer nicer. Allows observers to see a mob's action buttons. [MDB IGNORE] (#17907)
* 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>
2022-12-16 16:01:41 +00:00

9 lines
375 B
Plaintext

/datum/action/item_action/set_internals
name = "Set Internals"
default_button_position = SCRN_OBJ_INSERT_FIRST
overlay_icon_state = "ab_goldborder"
/datum/action/item_action/set_internals/is_action_active(atom/movable/screen/movable/action_button/current_button)
var/mob/living/carbon/carbon_owner = owner
return istype(carbon_owner) && target == carbon_owner.internal