mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
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:
@@ -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"].")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user