diff --git a/src/data/help.tsx b/src/data/help.tsx index a43af15..2787ad4 100644 --- a/src/data/help.tsx +++ b/src/data/help.tsx @@ -92,3 +92,43 @@ export function getDowsingHelp() { )) ); } + +export function getQuarryHelp() { + return createModal( + "Quarry", + jsx(() => ( +
+

+ You've created the Quarry (⛏️)! This machine let's you gather specified + resources. Unlike the mine, this machine will always output the same resources. + However, rarer resources will take longer to gather. +

+
+

+ Specify resources to gather by dragging them to the quarry. You can only select + a single resource to start, but that can be increased using an action. +

+
+ )) + ); +} + +export function getEmpowererHelp() { + return createModal( + "Tool Empowerer", + jsx(() => ( +
+

+ You've created the Tool Empowerer (🔌)! This machine let's you increase the + effect of specified passives. Experimenting with which passives to empower can + really help you progress! +

+
+

+ Specify passives to empower by dragging them to the empowerer. You can only + select a single passive to start, but that can be increased using an action. +

+
+ )) + ); +} diff --git a/src/data/nodeTypes.tsx b/src/data/nodeTypes.tsx index ecd615e..fe9383b 100644 --- a/src/data/nodeTypes.tsx +++ b/src/data/nodeTypes.tsx @@ -379,7 +379,8 @@ export const quarry = { actions: [ deselectAllAction, getIncreaseConnectionsAction(x => x.add(2).pow_base(10000), 16), - togglePoweredAction + togglePoweredAction, + showHelpAction("quarry") ], progress: node => isPowered(node) @@ -428,7 +429,8 @@ export const empowerer = { actions: [ deselectAllAction, getIncreaseConnectionsAction(x => x.add(3).pow_base(1000), 24), - togglePoweredAction + togglePoweredAction, + showHelpAction("empowerer") ], canAccept: canAcceptTool, onDrop: onDropTool, diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx index e4a0f6c..60ccd4f 100644 --- a/src/data/projEntry.tsx +++ b/src/data/projEntry.tsx @@ -58,6 +58,7 @@ import { resourceNames, tools } from "./data"; +import { getDowsingHelp, getEmpowererHelp, getForgeHelp, getMineHelp, getQuarryHelp } from "./help"; import "./main.css"; import { automator, @@ -78,7 +79,6 @@ import { upgrader } from "./nodeTypes"; import { GenericPlane, createPlane } from "./planes"; -import { getDowsingHelp, getForgeHelp, getMineHelp } from "./help"; const toast = useToast(); @@ -776,7 +776,9 @@ export const main = createLayer("main", function (this: BaseLayer) { const helpModals = { mine: getMineHelp(), factory: getForgeHelp(), - dowsing: getDowsingHelp() + dowsing: getDowsingHelp(), + quarry: getQuarryHelp(), + empowerer: getEmpowererHelp() }; helpModals.mine.showModal[DefaultValue] = true; helpModals.mine.showModal.value = true;