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
View File
@@ -1269,6 +1269,7 @@ var/global/enabled_spooking = 0
log_admin("[key_name(usr)] stuffed [frommob.ckey] into [tomob.name].")
feedback_add_details("admin_verb","CGD")
tomob.ckey = frommob.ckey
tomob.client.init_verbs()
qdel(frommob)
return 1
+1 -1
View File
@@ -32,7 +32,7 @@ var/list/localhost_addresses = list(
// asset_cache
var/asset_cache_job
if(href_list["asset_cache_confirm_arrival"])
to_chat(src, "ASSET JOB [href_list["asset_cache_confirm_arrival"]] ARRIVED.")
//to_chat(src, "ASSET JOB [href_list["asset_cache_confirm_arrival"]] ARRIVED.")
//because we skip the limiter, we have to make sure this is a valid arrival and not somebody tricking us
// into letting append to a list without limit.
asset_cache_job = asset_cache_confirm_arrival(href_list["asset_cache_confirm_arrival"])
@@ -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)
@@ -321,7 +321,7 @@
if(.)
return TRUE
if(href == "Reply")
if(href_list["Reply"])
var/mob/living/user = usr
var/datum/ntnet_conversation/conv = locate(href_list["Reply"])
var/message = input(user, "Enter message or leave blank to cancel: ")
@@ -44,7 +44,8 @@
data["platform_directions"] = list("NORTH", "NORTHEAST", "EAST", "SOUTHEAST", "SOUTH", "SOUTHWEST", "WEST", "NORTHWEST")
if(linked.targeting)
for(var/obj/machinery/ship_weapon/SW in linked.ship_weapons)
data["guns"] += list(get_gun_data(SW))
if(!SW.special_firing_mechanism)
data["guns"] += list(get_gun_data(SW))
data["targeting"] = list(
"name" = linked.targeting.name,
"shiptype" = linked.targeting.shiptype,
@@ -112,7 +113,10 @@
if(!params["entrypoint"])
return
var/our_entrypoint = params["entrypoint"]
selected_entrypoint = names_to_entries[our_entrypoint]
if(our_entrypoint == SHIP_HAZARD_TARGET)
selected_entrypoint = our_entrypoint
else
selected_entrypoint = names_to_entries[our_entrypoint]
. = TRUE
if("select_gun")
@@ -9,7 +9,7 @@
var/obj/machinery/mecha_part_fabricator/mechfab = fabricator
for(var/model_path in subtypesof(build_path))
var/obj/item/organ/external/E = new model_path
if(E.robotize_type == mechfab.manufacturer)
if(E.robotize_type == mechfab.limb_manufacturer)
qdel(E)
return new model_path(newloc)
qdel(E)
@@ -68,4 +68,4 @@
name = "Prosthetic Groin Cap"
build_path = /obj/item/organ/external/groin/ipc/unbranded/cap
use_direct_buildpath = TRUE
materials = list(DEFAULT_WALL_MATERIAL = 25000)
materials = list(DEFAULT_WALL_MATERIAL = 25000)