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
@@ -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")