Skip to content

Commit

Permalink
tgui hell
Browse files Browse the repository at this point in the history
  • Loading branch information
Pockets-byte committed Jun 5, 2024
1 parent 5ff9d82 commit 9ef2982
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions tgui/packages/tgui/interfaces/EnergyWeapons.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export const EnergyWeapons = (props, context) => {
const goal = data.goal;
const powerAlloc = data.powerAlloc;
const maxPower = data.maxPower;
const maxheat = data.maxheat
const heat = data.heat
const alignment = data.alignment
const frequency = data.frequency
const maxheat = data.maxheat;
const heat = data.heat;
const alignment = data.alignment;
const frequency = data.frequency;
return (
<Window
resizable
Expand Down Expand Up @@ -49,7 +49,7 @@ export const EnergyWeapons = (props, context) => {
good: [-Infinity, 0.2],
average: [0.2, 0.5],
bad: [0.5, Infinity],
}}>
}}/>
</ProgressBar>
Charge:
<br />
Expand All @@ -60,25 +60,25 @@ export const EnergyWeapons = (props, context) => {
average: [0.15, 0.50],
bad: [-Infinity, 0.15],
}} />
</Section>
<Section title="Lens Alignment:">
<ProgressBar
value={data.alignment* 0.01}
ranges={{
good: [0.5, Infinity],
average: [0.15, 0.5],
bad: [-Infinity, 0.15],
}} />
</Section>
<Section title="Frequency Alignment:">
<ProgressBar
value={data.frequency* 0.01}
ranges={{
good: [0.5, Infinity],
average: [0.15, 0.5],
bad: [-Infinity, 0.15],
}} />
</Section>
<Section title="Lens Alignment:">
<ProgressBar
value={data.alignment* 0.01}
ranges={{
good: [0.5, Infinity],
average: [0.15, 0.5],
bad: [-Infinity, 0.15],
}} />
</Section>
<Section title="Frequency Alignment:">
<ProgressBar
value={data.frequency* 0.01}
ranges={{
good: [0.5, Infinity],
average: [0.15, 0.5],
bad: [-Infinity, 0.15],
}} />
</Section>
<Section title="Settings:">
Power Input Level:
<Slider
Expand Down

0 comments on commit 9ef2982

Please sign in to comment.