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
+1 -1
View File
@@ -455,7 +455,7 @@
throw_alert("handcuffed", /obj/screen/alert/restrained/handcuffed, new_master = handcuffed)
else
clear_alert("handcuffed")
update_action_buttons_icon() //some of our action buttons might be unusable when we're handcuffed.
update_mob_action_buttons() //some of our action buttons might be unusable when we're handcuffed.
update_inv_handcuffed()
// Clears blood overlays
+1 -1
View File
@@ -1,6 +1,6 @@
/mob/living/death(gibbed)
clear_fullscreens()
update_action_buttons_icon()
update_mob_action_buttons()
if(ai_holder)
ai_holder.go_sleep()
+1 -1
View File
@@ -973,7 +973,7 @@
if(lying != lying_prev)
lying_prev = lying
update_transform()
update_action_buttons_icon(status_only = TRUE)
update_mob_action_buttons()
//VOREStation Add
if(lying && LAZYLEN(buckled_mobs))
for(var/mob/living/L as anything in buckled_mobs)
+3 -2
View File
@@ -32,8 +32,9 @@
client.images = null //remove the images such as AIs being unable to see runes
client.screen = list() //remove hud items just in case
if(hud_used) qdel(hud_used) //remove the hud objects
hud_used = new /datum/hud(src)
if(hud_used)
qdel(hud_used) //remove the hud objects
new /datum/hud(src)
if(client.prefs && client.prefs.client_fps)
client.fps = client.prefs.client_fps