diff --git a/src/data/help.tsx b/src/data/help.tsx index 071c349..d40fbcb 100644 --- a/src/data/help.tsx +++ b/src/data/help.tsx @@ -334,3 +334,89 @@ export function getPortalHelp() { { tabFamily } ); } + +export function getBoosterHelp() { + return createModal( + "Booster", + jsx(() => ( +
+

+ You've created the Booster (⌛)! This machine let's you increase the rate of + time of planes! This affects its resource gain, gen treasures, and any other + effects of time. +

+
+

+ Specify planes to boost by dragging their portals to the booster. You can only + select a single plane to start, but that can be increased using an action. +

+
+

+ Initially the booster will double the rate of time, but that can be increased + using an action. +

+
+ )) + ); +} + +export function getUpgraderHelp() { + return createModal( + "Upgrader", + jsx(() => ( +
+

+ You've created the Upgrader (🤖)! This machine let's you automatically purchase + upgrades within planes (includes prestiges but not repeatables or dimensions)! +

+
+

+ Specify planes to auto-purchase upgrades from by dragging their portals to the + booster. You can only select a single plane to start, but that can be increased + using an action. +

+
+ )) + ); +} + +export function getAutomatorHelp() { + return createModal( + "Automator", + jsx(() => ( +
+

+ You've created the Automator (🦾)! This machine let's you automatically purchase + repeatables and dimensions within planes! +

+
+

+ Specify planes to auto-purchase repeatables and dimensions from by dragging + their portals to the booster. You can only select a single plane to start, but + that can be increased using an action. +

+
+ )) + ); +} + +export function getInvestmentsHelp() { + return createModal( + "Investments", + jsx(() => ( +
+

+ You've created the Investments machine (💱)! This machine let's you + automatically gain the resources from conversions without spending the plane's + primary resource! +

+
+

+ Specify planes to gain converted resources from by dragging their portals to the + booster. You can only select a single plane to start, but that can be increased + using an action. +

+
+ )) + ); +} diff --git a/src/data/nodeTypes.tsx b/src/data/nodeTypes.tsx index 50501cd..326caf1 100644 --- a/src/data/nodeTypes.tsx +++ b/src/data/nodeTypes.tsx @@ -798,7 +798,8 @@ export const booster = { } } }, - togglePoweredAction + togglePoweredAction, + showHelpAction("booster") ], canAccept: canAcceptPortal, onDrop: onDropPortal, @@ -834,7 +835,8 @@ export const upgrader = { actions: [ deselectAllAction, getIncreaseConnectionsAction(x => x.add(4).pow_base(1e6)), - togglePoweredAction + togglePoweredAction, + showHelpAction("upgrader") ], canAccept: canAcceptPortal, onDrop: onDropPortal, @@ -870,7 +872,8 @@ export const automator = { actions: [ deselectAllAction, getIncreaseConnectionsAction(x => x.add(4).pow_base(1e6)), - togglePoweredAction + togglePoweredAction, + showHelpAction("automator") ], canAccept: canAcceptPortal, onDrop: onDropPortal, @@ -906,7 +909,8 @@ export const investments = { actions: [ deselectAllAction, getIncreaseConnectionsAction(x => x.add(3).pow_base(1e8)), - togglePoweredAction + togglePoweredAction, + showHelpAction("investments") ], canAccept: canAcceptPortal, onDrop: onDropPortal, diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx index 257b4bf..30ef4fb 100644 --- a/src/data/projEntry.tsx +++ b/src/data/projEntry.tsx @@ -59,12 +59,16 @@ import { tools } from "./data"; import { + getAutomatorHelp, + getBoosterHelp, getDowsingHelp, getEmpowererHelp, getForgeHelp, + getInvestmentsHelp, getMineHelp, getPortalHelp, - getQuarryHelp + getQuarryHelp, + getUpgraderHelp } from "./help"; import "./main.css"; import { @@ -786,7 +790,11 @@ export const main = createLayer("main", function (this: BaseLayer) { dowsing: getDowsingHelp(), quarry: getQuarryHelp(), empowerer: getEmpowererHelp(), - portalGenerator: getPortalHelp() + portalGenerator: getPortalHelp(), + booster: getBoosterHelp(), + upgrader: getUpgraderHelp(), + automator: getAutomatorHelp(), + investments: getInvestmentsHelp() }; helpModals.mine.showModal[DefaultValue] = true; helpModals.mine.showModal.value = true;