This commit is contained in:
nickofolas
2022-03-22 17:53:57 -05:00
parent d6e0180116
commit 3df3e04f9c
6 changed files with 35 additions and 16 deletions
+11 -6
View File
@@ -41,8 +41,8 @@ export function WorkInProgressRoot(): React.ReactElement {
return (
<>
<Typography variant="h4" color="primary">
You have not joined {player.currentWorkFactionName || "(Faction not found)"} yet or cannot work at this time,
please try again if you think this should have worked
You have not joined {player.currentWorkFactionName || "(Faction not found)"} yet or cannot work at this
time, please try again if you think this should have worked
</Typography>
<Button onClick={() => router.toFactions()}>Back to Factions</Button>
</>
@@ -497,10 +497,15 @@ export function WorkInProgressRoot(): React.ReactElement {
<Grid item>
<Typography>
You are currently working on crafting {player.craftAugmentationName}.
<br /><br />
<br />
<br />
You have been working for {convertTimeMsToTimeElapsedString(player.timeWorked)}
<br /><br />
The augmentation will be done in {convertTimeMsToTimeElapsedString(player.timeNeededToCompleteWork - player.timeWorkedCraftAugmentation)}.<br />
<br />
<br />
The augmentation is{" "}
{((player.timeWorkedCraftAugmentation / player.timeNeededToCompleteWork) * 100).toFixed(2)}% done being
crafted.
<br />
If you cancel, your work will <b>not</b> be saved, and the money you spent will <b>not</b> be returned.
</Typography>
</Grid>
@@ -511,7 +516,7 @@ export function WorkInProgressRoot(): React.ReactElement {
<Button onClick={unfocus}>Do something else simultaneously</Button>
</Grid>
</Grid>
)
);
}
if (!player.workType) router.toTerminal();