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$YU6c_eaE>3@LVFec-?z- z#sbBjpg&SZ+-B>9xFuk%VLWo$jRvj6n(N17nPG0^2blO2w5y!Q4qXZG2n%~F%6Lat niuvy)6w#>w^l{~>eXg&H>t05_lPj!W27raBtx2V^N8G;vdCxtp diff --git a/tgui/packages/tgui/interfaces/FTLComputer.js b/tgui/packages/tgui/interfaces/FTLComputer.js index 6464f7cb455..fe9c3699f0e 100644 --- a/tgui/packages/tgui/interfaces/FTLComputer.js +++ b/tgui/packages/tgui/interfaces/FTLComputer.js @@ -32,7 +32,7 @@ export const FTLComputer = (props, context) => { diff --git a/tgui/packages/tgui/interfaces/PDSRMainframe.js b/tgui/packages/tgui/interfaces/PDSRMainframe.js index d6a6c0b3b60..92512e5684c 100644 --- a/tgui/packages/tgui/interfaces/PDSRMainframe.js +++ b/tgui/packages/tgui/interfaces/PDSRMainframe.js @@ -126,6 +126,10 @@ export const PDSRMainframe = (props, context) => { fillValue={data.r_injection_rate} minValue={0} maxValue={25} + ranges={{ + bad: [0, 5], + average: [20, 25], + }} step={1} stepPixelSize={27} onDrag={(e, value) => act('injection_allocation', { @@ -140,11 +144,13 @@ export const PDSRMainframe = (props, context) => { minvalue={0} maxvalue={1000} value={data.r_temp} - range={{ - blue: [-Infinity, 30], - good: [30, 200], + color={data.r_temp === 0 ? "default" : null} + ranges={{ + blue: [25, 70], + good: [70, 175], + yellow: [175, 200], average: [200, 600], - bad: [600, Infinity], + bad: [-Infinity, Infinity], }}> {toFixed(data.r_temp) + ' °C'} @@ -161,7 +167,7 @@ export const PDSRMainframe = (props, context) => { value={data.r_energy_output} minValue={0} maxValue={50} - color="yellow" > + color={(data.r_energy_output === 0 && data.r_temp > 0) ? "red" : "yellow"} > {data.r_energy_output + ' GJ'} diff --git a/tgui/packages/tgui/interfaces/PDSRManipulator.js b/tgui/packages/tgui/interfaces/PDSRManipulator.js index 03b7e3bc75d..5537ee62b18 100644 --- a/tgui/packages/tgui/interfaces/PDSRManipulator.js +++ b/tgui/packages/tgui/interfaces/PDSRManipulator.js @@ -70,7 +70,7 @@ export const PDSRManipulator = (props, context) => { value={data.available_power} minValue={0} maxValue={data.r_max_power_input * 1.25} - color="yellow"> + color={(data.r_temp !== 0 && !data.r_has_enough_power) ? "bad" : "yellow"}> {data.available_power / 1e+6 + ' MW'} @@ -81,7 +81,11 @@ export const PDSRManipulator = (props, context) => { maxValue={data.r_max_power_input * 1.25} step={1} stepPixelSize={0.000004} - color="white" + ranges={{ + white: [data.r_min_power_input, data.r_max_power_input], + yellow: [data.r_max_power_input, data.r_max_power_input * 1.25], + red: [-Infinity, Infinity], + }} onDrag={(e, value) => act('power_allocation', { adjust: value, })}> @@ -93,7 +97,7 @@ export const PDSRManipulator = (props, context) => { value={data.r_max_power_input} minValue={0} maxValue={data.r_max_power_input} - color="teal"> + color={data.r_relay_count === 0 ? "bad" : "teal"}> {data.r_max_power_input / 1e+6 + ' MW'} @@ -119,13 +123,13 @@ export const PDSRManipulator = (props, context) => { - Screen Strength: {data.s_integrity} + Screen Strength: {data.s_integrity + ' | ' + data.s_max_integrity} From 34eafea0425d473550bafe6585b96e51ad7b5612 Mon Sep 17 00:00:00 2001 From: DeltaFire <46569814+DeltaFire15@users.noreply.github.com> Date: Wed, 8 Nov 2023 00:54:37 +0100 Subject: [PATCH 3/5] post-Revision --- nsv13/code/modules/overmap/pdsr.dm | 6 +++--- nsv13/code/modules/overmap/weapons/projectiles_fx.dm | 2 +- tgui/packages/tgui/interfaces/PDSRMainframe.js | 11 ++++++++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/nsv13/code/modules/overmap/pdsr.dm b/nsv13/code/modules/overmap/pdsr.dm index 782d3ff8ac3..6c52dcb62d7 100644 --- a/nsv13/code/modules/overmap/pdsr.dm +++ b/nsv13/code/modules/overmap/pdsr.dm @@ -173,7 +173,7 @@ state = REACTOR_STATE_RUNNING if(state == REACTOR_STATE_RUNNING) - if(nuc_in >= reaction_injection_rate) //If we are running in nominal conditions... + if(nuc_in >= reaction_injection_rate && reaction_injection_rate >= 2.5) //If we are running in nominal conditions... nucleium_input.adjust_moles(GAS_NUCLEIUM, -reaction_injection_rate) //Handle reaction rate adjustments here var/target_reaction_rate = ((0.5 + (1e-03 * (reaction_injection_rate ** 2))) + (current_uptime / 2000)) * 16 @@ -182,7 +182,7 @@ reaction_temperature += reaction_rate * 0.35 //Function goes handle_polarity(TRUE) - else if(nuc_in < reaction_injection_rate) //If we are running without sufficient nucleium... + else //If we are running without sufficient nucleium... if(nuc_in <= 0) //...and none at all var/target_reaction_rate = 0 var/delta_reaction_rate = target_reaction_rate - reaction_rate @@ -201,7 +201,7 @@ handle_polarity(TRUE) if(reaction_rate > 5) //TEMP USE FUNCTIONS - reaction_energy_output = (reaction_rate + (reaction_injection_rate / 2)) * (2 - (current_uptime / 20000)) //FUNCTIONS + reaction_energy_output = (reaction_rate + (min(nuc_in, reaction_injection_rate) / 2)) * (2 - (current_uptime / 20000)) //FUNCTIONS radiation_pulse(src, reaction_energy_output) else diff --git a/nsv13/code/modules/overmap/weapons/projectiles_fx.dm b/nsv13/code/modules/overmap/weapons/projectiles_fx.dm index f986e03a4c1..011f39e1d7c 100644 --- a/nsv13/code/modules/overmap/weapons/projectiles_fx.dm +++ b/nsv13/code/modules/overmap/weapons/projectiles_fx.dm @@ -1,5 +1,5 @@ -///Special proj for hitting overmap hips only used by NSV projectiles. +///Special proc for hitting overmap ships only used by NSV projectiles. /obj/item/projectile/proc/spec_overmap_hit(obj/structure/overmap/target) return diff --git a/tgui/packages/tgui/interfaces/PDSRMainframe.js b/tgui/packages/tgui/interfaces/PDSRMainframe.js index 92512e5684c..6f84e90f642 100644 --- a/tgui/packages/tgui/interfaces/PDSRMainframe.js +++ b/tgui/packages/tgui/interfaces/PDSRMainframe.js @@ -127,8 +127,9 @@ export const PDSRMainframe = (props, context) => { minValue={0} maxValue={25} ranges={{ - bad: [0, 5], - average: [20, 25], + default: [5, 20], + yellow: [2.5, Infinity], + bad: [-Infinity, 2.5], }} step={1} stepPixelSize={27} @@ -159,7 +160,11 @@ export const PDSRMainframe = (props, context) => { value={data.r_reaction_rate} minValue={0} maxValue={25} - color="teal" > + color={data.r_temp === 0 ? "default" : null} + ranges={{ + bad: [-Infinity, 5], + teal: [5, Infinity], + }}> {data.r_reaction_rate + ' mol/s'} Screen Capacity: From 1c7cc1de443ed608f08db6d4c2de15fc157ad238 Mon Sep 17 00:00:00 2001 From: DeltaFire <46569814+DeltaFire15@users.noreply.github.com> Date: Sat, 11 Nov 2023 11:40:46 +0100 Subject: [PATCH 4/5] UI gore --- nsv13/code/datums/holocall.dm | 4 ++-- tgui/packages/tgui/interfaces/PDSRMainframe.js | 1 + tgui/packages/tgui/interfaces/PDSRManipulator.js | 9 +++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/nsv13/code/datums/holocall.dm b/nsv13/code/datums/holocall.dm index 59a064e2b80..8b6d7711b09 100644 --- a/nsv13/code/datums/holocall.dm +++ b/nsv13/code/datums/holocall.dm @@ -26,7 +26,7 @@ DELAY 20 PRESET /datum/preset_holoimage/corgi NAME Burst Data - LANGUAGE /datum/language/eal + LANGUAGE /datum/language/machine SAY START NTINTEL METADATA SAY RECORDED 12-17-0000 SAY SECURITY CLASS UNCLASSIFIED @@ -328,7 +328,7 @@ DELAY 50 SAY Do your duty. This tape should be destroyed after use. Shield technology does not exist. Glory to Nanotrasen. NAME Burst Data - LANGUAGE /datum/language/eal + LANGUAGE /datum/language/machine DELAY 20 SAY START METADATA SAY RECORDED 5-25-0000 diff --git a/tgui/packages/tgui/interfaces/PDSRMainframe.js b/tgui/packages/tgui/interfaces/PDSRMainframe.js index 6f84e90f642..ea6ac7aad09 100644 --- a/tgui/packages/tgui/interfaces/PDSRMainframe.js +++ b/tgui/packages/tgui/interfaces/PDSRMainframe.js @@ -54,6 +54,7 @@ export const PDSRMainframe = (props, context) => { fillColor="rgba(33, 133, 208, 0)" /> +
Screen Integrity:@@ -134,9 +138,9 @@ export const PDSRManipulator = (props, context) => { value={data.s_stability} minValue={0} maxValue={100} - color={data.s_regen === 100 ? "blue" : null} - range={{ - cyan: [66, Infinity], + color={(data.s_regen === 100 ? "blue" : null) || (data.r_temp === 0 ? "default" : null)} + ranges={{ + teal: [66, Infinity], average: [33, 66], bad: [-Infinity, 33], }} /> @@ -168,9 +172,9 @@ export const PDSRManipulator = (props, context) => { Screen Particle Density: diff --git a/tgui/packages/tgui/interfaces/PDSRManipulator.js b/tgui/packages/tgui/interfaces/PDSRManipulator.js index 5537ee62b18..74a8cb7585d 100644 --- a/tgui/packages/tgui/interfaces/PDSRManipulator.js +++ b/tgui/packages/tgui/interfaces/PDSRManipulator.js @@ -38,30 +38,31 @@ export const PDSRManipulator = (props, context) => { - ++ From 1d73db854ade57374d06da47af4370cacc884fe8 Mon Sep 17 00:00:00 2001 From: DeltaFire <46569814+DeltaFire15@users.noreply.github.com> Date: Sat, 11 Nov 2023 13:55:17 +0100 Subject: [PATCH 5/5] micro UI touch --- tgui/packages/tgui/interfaces/PDSRManipulator.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tgui/packages/tgui/interfaces/PDSRManipulator.js b/tgui/packages/tgui/interfaces/PDSRManipulator.js index 74a8cb7585d..6804b95fe13 100644 --- a/tgui/packages/tgui/interfaces/PDSRManipulator.js +++ b/tgui/packages/tgui/interfaces/PDSRManipulator.js @@ -44,21 +44,21 @@ export const PDSRManipulator = (props, context) => { data={r_power_inputData} rangeX={[0, r_power_inputData.length - 1]} rangeY={[0, 30000000]} - strokeColor="rgba(255, 255, 255, 1)" + strokeColor="rgba(255, 255, 255, 0.8)" fillColor="rgba(255, 255, 255, 0)" />