mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-03 21:42:06 +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>
9 lines
375 B
Plaintext
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
|