Deploying to gh-pages from @ thepaperpilot/thepaperpilot.github.io@4a084943c4 🚀
This commit is contained in:
parent
b25971a3bd
commit
ae1b857d7d
94 changed files with 112 additions and 112 deletions
public/gamedevtree/docs/upgrades
|
@ -31,7 +31,7 @@
|
|||
<span class="line"><span style="color:#F07178;"> </span><span style="color:#A6ACCD;">etc</span></span>
|
||||
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">}</span></span>
|
||||
<span class="line"></span></code></pre></div><p>Each upgrade should have an id where the first digit is the row and the second digit is the column. Individual upgrades can have these features:</p><ul><li><p>title: <strong>optional</strong>, displayed at the top in a larger font It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>description: A description of the upgrade's effect. <em>You will also have to implement the effect where it is applied.</em> It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>effect(): <strong>optional</strong>, A function that calculates and returns the current values of any bonuses from the upgrade. Can return a value or an object containing multiple values.</p></li><li><p>effectDisplay(): <strong>optional</strong>, A function that returns a display of the current effects of the upgrade with formatting. Default behavior is to just display the a number appropriately formatted. Can use basic HTML.</p></li><li><p>cost: A Decimal for the cost of the upgrade. By default, upgrades cost the main prestige currency for the layer.</p></li><li><p>unlocked(): <strong>optional</strong>, A function returning a bool to determine if the upgrade is visible or not. Default is unlocked.</p></li><li><p>onPurchase() - <strong>optional</strong>, this function will be called when the upgrade is purchased. Good for upgrades like "makes this layer act like it was unlocked first".</p></li></ul><p>By default, upgrades use the main prestige currency for the layer. You can include these to change them (but it needs to be a Decimal):</p><ul><li><p>currencyDisplayName: <strong>optional</strong>, the name to display for the currency for the upgrade</p></li><li><p>currencyInternalName: <strong>optional</strong>, the internal name for that currency</p></li><li><p>currencyLayer: <strong>optional</strong>, the internal name of the layer that currency is stored in. If it's not in a layer (like Points), omit. If it's not stored directly in a layer, instead use the next feature.</p></li><li><p>currencyLocation: <strong>optional</strong>, if your currency is stored in something inside a layer (e.g. a buyable's amount), you can access it this way. This is a function returning the object in "player" that contains the value (like player[this.layer].buyables)</p></li><li><p>style: <strong>Optional</strong>, Applies CSS to this upgrade, in the form of an object where the keys are CSS attributes, and the values are the values for those attributes (both as strings)</p></li><li><p>layer: <strong>Assigned automagically</strong>. It's the same value as the name of this layer, so you can do player[this.layer].points or similar</p></li><li><p>id: <strong>Assigned automagically</strong>. It's the "key" which the upgrade was stored under, for convenient access. The upgrade in the example's id is 11.</p></li></ul></div></div></main><!--[--><!--]--><!----><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"3331f00b\",\"guide-to-incrementals_index.md\":\"8abeee5c\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"223693e2\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"0558bf0b\",\"guide-to-incrementals_ludology_content.md\":\"8ae2a63b\",\"guide-to-incrementals_ludology_definition.md\":\"cb4607f1\",\"index.md\":\"8e49b2d6\",\"projects_babble_index.md\":\"d3109676\",\"projects_citadel_index.md\":\"42df905a\",\"projects_dice_index.md\":\"902fcd17\",\"projects_index.md\":\"78262ab8\",\"projects_optispeech_index.md\":\"769ca126\",\"projects_vecs_index.md\":\"e3698be6\",\"public_gamedevtree_2.0-format-changes.md\":\"94ee9d78\",\"public_gamedevtree_readme.md\":\"e9b50baa\",\"public_gamedevtree_changelog.md\":\"96da44a6\",\"public_gamedevtree_docs_!general-info.md\":\"1dce9599\",\"public_gamedevtree_docs_achievements.md\":\"a176d052\",\"public_gamedevtree_docs_bars.md\":\"ee83b0f6\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"61396bc6\",\"public_gamedevtree_docs_buyables.md\":\"cdb25baa\",\"public_gamedevtree_docs_challenges.md\":\"75ce9378\",\"public_gamedevtree_docs_clickables.md\":\"8abdae17\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"e39f994d\",\"public_gamedevtree_docs_getting-started.md\":\"7d2bd537\",\"public_gamedevtree_docs_infoboxes.md\":\"910ca43a\",\"public_gamedevtree_docs_layer-features.md\":\"6cc59d65\",\"public_gamedevtree_docs_main-mod-info.md\":\"df63d099\",\"public_gamedevtree_docs_milestones.md\":\"1c4f21e9\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"f3edf9fd\",\"public_gamedevtree_docs_updating-tmt.md\":\"c236d30e\",\"public_gamedevtree_docs_upgrades.md\":\"db56e31b\",\"public_kronos_old things_2.0-format-changes.md\":\"ac36228e\",\"public_kronos_readme.md\":\"4583e09d\",\"public_kronos_changelog.md\":\"f4e479b5\",\"public_kronos_docs_!general-info.md\":\"16ffc414\",\"public_kronos_docs_achievements.md\":\"26508a7a\",\"public_kronos_docs_bars.md\":\"72a3fb7d\",\"public_kronos_docs_basic-layer-breakdown.md\":\"76fdeb94\",\"public_kronos_docs_buyables.md\":\"66ebb48e\",\"public_kronos_docs_challenges.md\":\"0feee9d3\",\"public_kronos_docs_clickables.md\":\"6b4c30f9\",\"public_kronos_docs_custom-tab-layouts.md\":\"f078bb58\",\"public_kronos_docs_getting-started.md\":\"d986d28f\",\"public_kronos_docs_grids.md\":\"5e0e41c8\",\"public_kronos_docs_infoboxes.md\":\"74fe6240\",\"public_kronos_docs_layer-features.md\":\"12af1e9e\",\"public_kronos_docs_main-mod-info.md\":\"3f89aaa3\",\"public_kronos_docs_milestones.md\":\"a64561b9\",\"public_kronos_docs_particles.md\":\"c2343fff\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"d883fd2e\",\"public_kronos_docs_trees-and-tree-customization.md\":\"c3840cb8\",\"public_kronos_docs_updating-tmt.md\":\"96ac7b0d\",\"public_kronos_docs_upgrades.md\":\"39a2314e\",\"public_lit_old things_2.0-format-changes.md\":\"82822887\",\"public_lit_readme.md\":\"57233aa0\",\"public_lit_changelog.md\":\"3a289646\",\"public_lit_docs_!general-info.md\":\"63424715\",\"public_lit_docs_achievements.md\":\"1aa4d17f\",\"public_lit_docs_bars.md\":\"2929af1e\",\"public_lit_docs_basic-layer-breakdown.md\":\"bdd9ba9b\",\"public_lit_docs_buyables.md\":\"21c8278c\",\"public_lit_docs_challenges.md\":\"c8d19b68\",\"public_lit_docs_clickables.md\":\"3bc15e64\",\"public_lit_docs_custom-tab-layouts.md\":\"a1bcc384\",\"public_lit_docs_getting-started.md\":\"f14d462a\",\"public_lit_docs_infoboxes.md\":\"721eb814\",\"public_lit_docs_layer-features.md\":\"bcc7f108\",\"public_lit_docs_main-mod-info.md\":\"e6e3f511\",\"public_lit_docs_milestones.md\":\"0a33f5e8\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84fdefdf\",\"public_lit_docs_trees-and-tree-customization.md\":\"325cf26a\",\"public_lit_docs_updating-tmt.md\":\"2a0fcfd7\",\"public_lit_docs_upgrades.md\":\"24f827f2\"}")</script>
|
||||
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"3331f00b\",\"guide-to-incrementals_index.md\":\"8abeee5c\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"223693e2\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"0558bf0b\",\"guide-to-incrementals_ludology_content.md\":\"8ae2a63b\",\"guide-to-incrementals_ludology_definition.md\":\"cb4607f1\",\"index.md\":\"4d41a521\",\"projects_babble_index.md\":\"3c521ee3\",\"projects_citadel_index.md\":\"320de67e\",\"projects_dice_index.md\":\"2357adfe\",\"projects_index.md\":\"0174dc08\",\"projects_optispeech_index.md\":\"b9723879\",\"projects_vecs_index.md\":\"91a8602e\",\"public_gamedevtree_2.0-format-changes.md\":\"94ee9d78\",\"public_gamedevtree_readme.md\":\"e9b50baa\",\"public_gamedevtree_changelog.md\":\"96da44a6\",\"public_gamedevtree_docs_!general-info.md\":\"1dce9599\",\"public_gamedevtree_docs_achievements.md\":\"a176d052\",\"public_gamedevtree_docs_bars.md\":\"ee83b0f6\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"61396bc6\",\"public_gamedevtree_docs_buyables.md\":\"cdb25baa\",\"public_gamedevtree_docs_challenges.md\":\"75ce9378\",\"public_gamedevtree_docs_clickables.md\":\"8abdae17\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"e39f994d\",\"public_gamedevtree_docs_getting-started.md\":\"7d2bd537\",\"public_gamedevtree_docs_infoboxes.md\":\"910ca43a\",\"public_gamedevtree_docs_layer-features.md\":\"6cc59d65\",\"public_gamedevtree_docs_main-mod-info.md\":\"df63d099\",\"public_gamedevtree_docs_milestones.md\":\"1c4f21e9\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"f3edf9fd\",\"public_gamedevtree_docs_updating-tmt.md\":\"c236d30e\",\"public_gamedevtree_docs_upgrades.md\":\"db56e31b\",\"public_kronos_old things_2.0-format-changes.md\":\"ac36228e\",\"public_kronos_readme.md\":\"4583e09d\",\"public_kronos_changelog.md\":\"f4e479b5\",\"public_kronos_docs_!general-info.md\":\"16ffc414\",\"public_kronos_docs_achievements.md\":\"26508a7a\",\"public_kronos_docs_bars.md\":\"72a3fb7d\",\"public_kronos_docs_basic-layer-breakdown.md\":\"76fdeb94\",\"public_kronos_docs_buyables.md\":\"66ebb48e\",\"public_kronos_docs_challenges.md\":\"0feee9d3\",\"public_kronos_docs_clickables.md\":\"6b4c30f9\",\"public_kronos_docs_custom-tab-layouts.md\":\"f078bb58\",\"public_kronos_docs_getting-started.md\":\"d986d28f\",\"public_kronos_docs_grids.md\":\"5e0e41c8\",\"public_kronos_docs_infoboxes.md\":\"74fe6240\",\"public_kronos_docs_layer-features.md\":\"12af1e9e\",\"public_kronos_docs_main-mod-info.md\":\"3f89aaa3\",\"public_kronos_docs_milestones.md\":\"a64561b9\",\"public_kronos_docs_particles.md\":\"c2343fff\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"d883fd2e\",\"public_kronos_docs_trees-and-tree-customization.md\":\"c3840cb8\",\"public_kronos_docs_updating-tmt.md\":\"96ac7b0d\",\"public_kronos_docs_upgrades.md\":\"39a2314e\",\"public_lit_old things_2.0-format-changes.md\":\"82822887\",\"public_lit_readme.md\":\"57233aa0\",\"public_lit_changelog.md\":\"3a289646\",\"public_lit_docs_!general-info.md\":\"63424715\",\"public_lit_docs_achievements.md\":\"1aa4d17f\",\"public_lit_docs_bars.md\":\"2929af1e\",\"public_lit_docs_basic-layer-breakdown.md\":\"bdd9ba9b\",\"public_lit_docs_buyables.md\":\"21c8278c\",\"public_lit_docs_challenges.md\":\"c8d19b68\",\"public_lit_docs_clickables.md\":\"3bc15e64\",\"public_lit_docs_custom-tab-layouts.md\":\"a1bcc384\",\"public_lit_docs_getting-started.md\":\"f14d462a\",\"public_lit_docs_infoboxes.md\":\"721eb814\",\"public_lit_docs_layer-features.md\":\"bcc7f108\",\"public_lit_docs_main-mod-info.md\":\"e6e3f511\",\"public_lit_docs_milestones.md\":\"0a33f5e8\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84fdefdf\",\"public_lit_docs_trees-and-tree-customization.md\":\"325cf26a\",\"public_lit_docs_updating-tmt.md\":\"2a0fcfd7\",\"public_lit_docs_upgrades.md\":\"24f827f2\"}")</script>
|
||||
<script type="module" async src="/assets/app.c95a51e0.js"></script>
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue