From 4fecb6817071e88e5b519da062318da92577328a Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 14 May 2023 14:02:23 -0500 Subject: [PATCH] Make influences appear as discovered --- src/data/help.tsx | 159 +++++++++++++++++++++++++++++----------------- 1 file changed, 99 insertions(+), 60 deletions(-) diff --git a/src/data/help.tsx b/src/data/help.tsx index f939556..7e3efc6 100644 --- a/src/data/help.tsx +++ b/src/data/help.tsx @@ -4,6 +4,7 @@ import { createTab } from "features/tabs/tab"; import { createTabFamily } from "features/tabs/tabFamily"; import { Persistent, persistent } from "game/persistence"; import { renderJSX } from "util/vue"; +import { main } from "./projEntry"; export interface ModalData { modal: JSXFunction; @@ -217,66 +218,104 @@ export function getPortalHelp() { influence will multiply the energy cost of creating the portal.


- Influences: - + {Object.keys(main.influenceNodes.value).length > 0 ? ( +
+ Discovered influences: + +
+ ) : ( +
+ Once you discover influences, summaries will appear here describing + their effects. +
+ )} )) }))