TGUI bug roundup part 6 (#16630)

* taj chat colours

* ah, I finally said it for real - I love you

* cl

* lost my halo, now I'm my own antichrist

* and I say hey...

* doing htat is probably a good idea

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-07-04 12:38:03 +00:00
committed by GitHub
co-authored by Matt Atlas
parent 6b6b91638e
commit 20304206f3
21 changed files with 112 additions and 29 deletions
@@ -1,12 +1,18 @@
/mob/living/silicon/robot/set_intent(var/set_intent)
a_intent = set_intent
cut_overlay(eye_overlay)
if(!length(module_sprites))
return
if(!length(cached_eye_overlays))
setup_eye_cache()
if(!stat)
eye_overlay = cached_eye_overlays[a_intent]
add_overlay(eye_overlay)
/mob/living/silicon/robot/proc/handle_panel_overlay()
cut_overlay(panel_overlay)
if(!length(cached_panel_overlays))
setup_panel_cache()
if(opened)
if(wires_exposed)
panel_overlay = cached_panel_overlays[ROBOT_PANEL_EXPOSED]
@@ -45,6 +51,8 @@
add_overlay(eye_overlay)
/mob/living/silicon/robot/proc/setup_panel_cache()
if(!length(module_sprites))
return
if(!module_sprites[icontype][ROBOT_PANEL])
return
var/panelprefix = custom_sprite ? src.ckey : module_sprites[icontype][ROBOT_PANEL] // Shoutout to Geeves.
@@ -187,6 +187,7 @@
/mob/living/simple_animal/hostile/lesser_changeling/Initialize()
. = ..()
add_verb(src, /mob/living/proc/ventcrawl)
add_verb(src, /mob/living/simple_animal/hostile/lesser_changeling/verb/untransform)
/mob/living/simple_animal/hostile/lesser_changeling/mind_initialize()
..()
@@ -200,6 +201,7 @@
occupant.status_flags &= ~GODMODE
if(mind)
mind.transfer_to(occupant)
occupant.client.init_verbs()
visible_message("<span class='warning'>\The [src] explodes into a shower of gore!</span>")
gibs(src.loc)
@@ -228,6 +230,7 @@
occupant.status_flags &= ~GODMODE
if(mind)
mind.transfer_to(occupant)
occupant.client.init_verbs()
visible_message("<span class='warning'>\The [src] explodes into a shower of gore!</span>")
gibs(src.loc)
qdel(src)