The final action buttons PR (#16514)

* Make action button target datum

* Initial working action palette

* Action related refactors

* tgstation/tgstation/pull/71339
This commit is contained in:
ShadowLarkens
2024-10-26 13:20:54 +02:00
committed by GitHub
parent ed3bcd746c
commit dc3fd79427
46 changed files with 1374 additions and 453 deletions
@@ -102,7 +102,7 @@
STOP_PROCESSING(SSobj, src)
playsound(src, 'sound/weapons/empty.ogg', 15, 1, -3) // VOREStation Edit
update_brightness()
user.update_action_buttons_icon()
user.update_mob_action_buttons()
return 1
/obj/item/flashlight/emp_act(severity)
@@ -64,7 +64,7 @@
set_light(0)
light_applied = 0
update_icon(user)
user.update_action_buttons_icon()
user.update_mob_action_buttons()
playsound(src, 'sound/weapons/empty.ogg', 15, 1, -3)
/obj/item/shield/riot/explorer/update_icon()
@@ -55,7 +55,7 @@
if (ismob(usr))
var/mob/M = usr
M.update_inv_back()
M.update_action_buttons_icon()
M.update_mob_action_buttons()
to_chat(usr, "You toggle the thrusters [on? "on":"off"].")