Merge remote-tracking branch 'citadel/master' into backend_sync

This commit is contained in:
silicons
2021-06-10 22:36:26 -07:00
314 changed files with 7991 additions and 2751 deletions
+1 -1
View File
@@ -9,6 +9,6 @@
"glob": "^7.1.6",
"source-map": "^0.7.3",
"stacktrace-parser": "^0.1.10",
"ws": "^7.4.4"
"ws": "^7.4.6"
}
}
@@ -7,7 +7,7 @@ import { Window } from '../layouts';
export const ForbiddenLore = (props, context) => {
const { act, data } = useBackend(context);
const {
charges,
charges, total_sacs,
} = data;
const to_know = flow([
sortBy(to_know => to_know.state !== "Research",
@@ -21,6 +21,8 @@ export const ForbiddenLore = (props, context) => {
<Window.Content scrollable>
<Section title="Research Eldritch Knowledge">
Charges left : {charges}
<br />
Completed Sacrifices : {total_sacs}
{to_know!== null ? (
to_know.map(knowledge => (
<Section
@@ -39,7 +41,8 @@ export const ForbiddenLore = (props, context) => {
cost: knowledge.cost,
})} />
{' '}
Cost : {knowledge.cost}
Cost : {knowledge.cost}
| Sacrifices Required : {knowledge.sacs}
</Box >
<Box italic my={1}>
{knowledge.flavour}
+1 -1
View File
@@ -165,7 +165,7 @@ export const Orbit = (props, context) => {
</Flex>
</Section>
{antagonists.length > 0 && (
<Section title="Ghost-Visible Antagonists">
<Section title="Visible Antagonists">
{sortedAntagonists.map(([name, antags]) => (
<Section key={name} title={name} level={2}>
{antags
File diff suppressed because one or more lines are too long