mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-22 00:21:31 +00:00
Make influences appear as discovered
This commit is contained in:
parent
ca110a22f5
commit
4fecb68170
1 changed files with 99 additions and 60 deletions
|
@ -4,6 +4,7 @@ import { createTab } from "features/tabs/tab";
|
||||||
import { createTabFamily } from "features/tabs/tabFamily";
|
import { createTabFamily } from "features/tabs/tabFamily";
|
||||||
import { Persistent, persistent } from "game/persistence";
|
import { Persistent, persistent } from "game/persistence";
|
||||||
import { renderJSX } from "util/vue";
|
import { renderJSX } from "util/vue";
|
||||||
|
import { main } from "./projEntry";
|
||||||
|
|
||||||
export interface ModalData {
|
export interface ModalData {
|
||||||
modal: JSXFunction;
|
modal: JSXFunction;
|
||||||
|
@ -217,67 +218,105 @@ export function getPortalHelp() {
|
||||||
influence will multiply the energy cost of creating the portal.
|
influence will multiply the energy cost of creating the portal.
|
||||||
</p>
|
</p>
|
||||||
<br />
|
<br />
|
||||||
Influences:
|
{Object.keys(main.influenceNodes.value).length > 0 ? (
|
||||||
|
<div>
|
||||||
|
Discovered influences:
|
||||||
<ul style="list-style-type: unset">
|
<ul style="list-style-type: unset">
|
||||||
|
{main.influenceNodes.value.increaseResources == null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">+resource</b>: Can be connected to
|
<b style="color: var(--bought)">+resource</b>: Can be
|
||||||
resources and will cause any treasures that reference resources
|
connected to resources and will cause any treasures that
|
||||||
(caches, gens, and resource mults) to have increased odds of picking
|
reference resources (caches, gens, and resource mults)
|
||||||
a selected resource.
|
to have increased odds of picking a selected resource.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.decreaseResources == null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">-resource</b>: Can be connected to
|
<b style="color: var(--bought)">-resource</b>: Can be
|
||||||
resources and will cause any treasures that reference resources
|
connected to resources and will cause any treasures that
|
||||||
(caches, gens, and resource mults) to have decreased odds of picking
|
reference resources (caches, gens, and resource mults)
|
||||||
a selected resource.
|
to have decreased odds of picking a selected resource.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.increaseLength == null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">+length</b>: Cause the plane to have
|
<b style="color: var(--bought)">+length</b>: Cause the
|
||||||
1 extra treasure than it otherwise would have.
|
plane to have 1 extra treasure than it otherwise would
|
||||||
|
have.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.increaseCaches == null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">+caches</b>: Causes treasures to
|
<b style="color: var(--bought)">+caches</b>: Causes
|
||||||
have an increased chance to be caches.
|
treasures to have an increased chance to be caches.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.increaseGens == null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">+gens</b>: Causes treasures to have
|
<b style="color: var(--bought)">+gens</b>: Causes
|
||||||
an increased chance to be gens.
|
treasures to have an increased chance to be gens.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.increaseResourceMults ==
|
||||||
|
null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">+resource mults</b>: Causes
|
<b style="color: var(--bought)">+resource mults</b>:
|
||||||
treasures to have an increased chance to be resource mults.
|
Causes treasures to have an increased chance to be
|
||||||
|
resource mults.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.increaseEnergyMults ==
|
||||||
|
null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">+energy mults</b>: Causes treasures
|
<b style="color: var(--bought)">+energy mults</b>:
|
||||||
to have an increased chance to be energy mults.
|
Causes treasures to have an increased chance to be
|
||||||
|
energy mults.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.increaseInfluences == null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">+influences</b>: Causes treasures to
|
<b style="color: var(--bought)">+influences</b>: Causes
|
||||||
have an increased chance to be influences.
|
treasures to have an increased chance to be influences.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.relic == null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">+relic</b>: Maximizes length and
|
<b style="color: var(--bought)">+relic</b>: Maximizes
|
||||||
difficulty for this tier of plane, and makes the last treasure a
|
length and difficulty for this tier of plane, and makes
|
||||||
relic (unique per tier of plane). Overrides any other
|
the last treasure a relic (unique per tier of plane).
|
||||||
difficulty-changing influences.
|
Overrides any other difficulty-changing influences.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.increaseDiff == null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">+difficulty</b>: Causes the
|
<b style="color: var(--bought)">+difficulty</b>: Causes
|
||||||
difficulty and rewards to be in the upper half of what's possible at
|
the difficulty and rewards to be in the upper half of
|
||||||
this tier.
|
what's possible at this tier.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.decreaseDiff == null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">-difficulty</b>: Causes the
|
<b style="color: var(--bought)">-difficulty</b>: Causes
|
||||||
difficulty and rewards to be in the lower half of what's possible at
|
the difficulty and rewards to be in the lower half of
|
||||||
this tier.
|
what's possible at this tier.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{main.influenceNodes.value.increaseRewards == null ? null : (
|
||||||
<li style="margin-top: var(--feature-margin)">
|
<li style="margin-top: var(--feature-margin)">
|
||||||
<b style="color: var(--bought)">+rewards</b>: Causes the quality of
|
<b style="color: var(--bought)">+rewards</b>: Causes the
|
||||||
treasures to be 1 tier higher. Does not affect influences or relics
|
quality of treasures to be 1 tier higher. Does not
|
||||||
treasures.
|
affect influences or relics treasures.
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
) : (
|
||||||
|
<div>
|
||||||
|
Once you discover influences, summaries will appear here describing
|
||||||
|
their effects.
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
))
|
))
|
||||||
}))
|
}))
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue