mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
TGUI fixes part 8 (#16641)
* TGUI fixes part 8 * b --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -320,6 +320,7 @@ var/datum/controller/subsystem/processing/tgui/SStgui
|
||||
// If the user exists, remove it from them too.
|
||||
if(ui.user)
|
||||
ui.user.tgui_open_uis.Remove(ui)
|
||||
ui.user.unset_machine()
|
||||
var/list/uis = open_uis_by_src[key]
|
||||
uis.Remove(ui)
|
||||
if(length(uis) == 0)
|
||||
|
||||
@@ -272,7 +272,7 @@
|
||||
if(!console_overlay)
|
||||
console_overlay = make_screen_overlay(icon, "body_scannerconsole-screen")
|
||||
add_overlay(console_overlay)
|
||||
set_light(1.4, 1, COLOR_RED)
|
||||
set_light(1.4, 1, COLOR_PURPLE)
|
||||
|
||||
/obj/machinery/body_scanconsole/proc/get_collapsed_lung_desc()
|
||||
if (!connected || !connected.occupant)
|
||||
@@ -430,7 +430,7 @@
|
||||
data["toxLoss"] = get_severity(occupant.getToxLoss(), TRUE)
|
||||
|
||||
data["paralysis"] = occupant.paralysis
|
||||
data["bodytemp"] = occupant.bodytemperature
|
||||
data["bodytemp"] = round(occupant.bodytemperature - T0C)
|
||||
data["inaprovaline_amount"] = REAGENT_VOLUME(R, /singleton/reagent/inaprovaline)
|
||||
data["soporific_amount"] = REAGENT_VOLUME(R, /singleton/reagent/soporific)
|
||||
data["bicaridine_amount"] = REAGENT_VOLUME(R, /singleton/reagent/bicaridine)
|
||||
@@ -675,7 +675,7 @@
|
||||
dat += text("[]\tRadiation Level %: []</font><br>", ("<font color='[occ["rads"] < 10 ? "blue" : "red"]'>"), occ["rads"])
|
||||
dat += text("Genetic Tissue Damage: []<br>", occ["cloneloss"])
|
||||
dat += text("Paralysis Summary %: [] ([] seconds left!)<br>", occ["paralysis"], round(occ["paralysis"] / 4))
|
||||
dat += text("Body Temperature: [occ["bodytemp"]-T0C]°C ([occ["bodytemp"]*1.8-459.67]°F)<br><HR>")
|
||||
dat += text("Body Temperature: [occ["bodytemp"] - T0C]°C ([occ["bodytemp"]]°K)<br><HR>")
|
||||
|
||||
if(occ["borer_present"])
|
||||
dat += "Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended.<br>"
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
################################
|
||||
# Example Changelog File
|
||||
#
|
||||
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
|
||||
#
|
||||
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
|
||||
# When it is, any changes listed below will disappear.
|
||||
#
|
||||
# Valid Prefixes:
|
||||
# bugfix
|
||||
# wip (For works in progress)
|
||||
# tweak
|
||||
# soundadd
|
||||
# sounddel
|
||||
# rscadd (general adding of nice things)
|
||||
# rscdel (general deleting of nice things)
|
||||
# imageadd
|
||||
# imagedel
|
||||
# maptweak
|
||||
# spellcheck (typo fixes)
|
||||
# experiment
|
||||
# balance
|
||||
# admin
|
||||
# backend
|
||||
# security
|
||||
# refactor
|
||||
#################################
|
||||
|
||||
# Your name.
|
||||
author: MattAtlas
|
||||
|
||||
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
|
||||
delete-after: True
|
||||
|
||||
# Any changes you've made. See valid prefix list above.
|
||||
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
|
||||
# SCREW THIS UP AND IT WON'T WORK.
|
||||
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
|
||||
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
|
||||
changes:
|
||||
- bugfix: "Fixes the look up/down verbs not working. Note that you can't use them if you have a UI opened."
|
||||
- bugfix: "Fixes bodyscanner temperature readouts, and makes the body scan console light purple."
|
||||
@@ -534,7 +534,19 @@ em {
|
||||
color: #00ced1;
|
||||
}
|
||||
.vaurca {
|
||||
color: #9e9e39;
|
||||
color: #b9b943;
|
||||
}
|
||||
.vaurca_zora {
|
||||
color: #c74444;
|
||||
}
|
||||
.vaurca_cthur {
|
||||
color: #438eb9;
|
||||
}
|
||||
.vaurca_klax {
|
||||
color: #43b97e;
|
||||
}
|
||||
.vaurca_liidra {
|
||||
color: #af43b9;
|
||||
}
|
||||
.soghun {
|
||||
color: #228b22;
|
||||
|
||||
Reference in New Issue
Block a user