This commit is contained in:
thepaperpilot 2023-02-20 06:46:27 +00:00
parent 7f425c210b
commit 32d0b78902
113 changed files with 701 additions and 137 deletions

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
import{_ as e,c as t,o as a}from"./app.99998402.js";const m=JSON.parse(`{"title":"The Paper Pilot","description":"","frontmatter":{"title":"The Paper Pilot","layout":"home","hero":{"name":"The Paper Pilot","tagline":"I'm Anthony, or The Paper Pilot, and I make fun games and tools!","actions":[{"theme":"brand","text":"My Projects","link":"/projects/"}]}},"headers":[],"relativePath":"index.md","lastUpdated":1676867672000}`),o={name:"index.md"};function n(r,s,i,c,d,p){return a(),t("div")}const h=e(o,[["render",n]]);export{m as __pageData,h as default};
import{_ as e,c as t,o as a}from"./app.99998402.js";const m=JSON.parse(`{"title":"The Paper Pilot","description":"","frontmatter":{"title":"The Paper Pilot","layout":"home","hero":{"name":"The Paper Pilot","tagline":"I'm Anthony, or The Paper Pilot, and I make fun games and tools!","actions":[{"theme":"brand","text":"My Projects","link":"/projects/"}]}},"headers":[],"relativePath":"index.md","lastUpdated":1676875541000}`),o={name:"index.md"};function n(r,s,i,c,d,p){return a(),t("div")}const h=e(o,[["render",n]]);export{m as __pageData,h as default};

View file

@ -1 +1 @@
import{_ as e,c as t,o as a}from"./app.99998402.js";const m=JSON.parse(`{"title":"The Paper Pilot","description":"","frontmatter":{"title":"The Paper Pilot","layout":"home","hero":{"name":"The Paper Pilot","tagline":"I'm Anthony, or The Paper Pilot, and I make fun games and tools!","actions":[{"theme":"brand","text":"My Projects","link":"/projects/"}]}},"headers":[],"relativePath":"index.md","lastUpdated":1676867672000}`),o={name:"index.md"};function n(r,s,i,c,d,p){return a(),t("div")}const h=e(o,[["render",n]]);export{m as __pageData,h as default};
import{_ as e,c as t,o as a}from"./app.99998402.js";const m=JSON.parse(`{"title":"The Paper Pilot","description":"","frontmatter":{"title":"The Paper Pilot","layout":"home","hero":{"name":"The Paper Pilot","tagline":"I'm Anthony, or The Paper Pilot, and I make fun games and tools!","actions":[{"theme":"brand","text":"My Projects","link":"/projects/"}]}},"headers":[],"relativePath":"index.md","lastUpdated":1676875541000}`),o={name:"index.md"};function n(r,s,i,c,d,p){return a(),t("div")}const h=e(o,[["render",n]]);export{m as __pageData,h as default};

View file

@ -1 +1 @@
import{_ as e,c as a,o as t,d as r}from"./app.99998402.js";const s="/assets/screenshot.3bf794a2.png",o="/assets/babblemmscreenshot.7646b6c2.png",g=JSON.parse('{"title":"Babble Buds","description":"","frontmatter":{"title":"Babble Buds"},"headers":[{"level":2,"title":"Engine","slug":"engine","link":"#engine","children":[]},{"level":2,"title":"Babble Movie Maker","slug":"babble-movie-maker","link":"#babble-movie-maker","children":[]}],"relativePath":"projects/babble/index.md","lastUpdated":1676867672000}'),n={name:"projects/babble/index.md"},i=r('<h1 id="babble-buds" tabindex="-1">Babble Buds <a class="header-anchor" href="#babble-buds" aria-hidden="true">#</a></h1><p><a href="http://babblebuds.xyz/" target="_blank" rel="noreferrer">Babble Buds Homepage</a></p><p>Source Code:</p><ul><li><a href="https://github.com/thepaperpilot/Babble-Buds" target="_blank" rel="noreferrer">Babble Buds</a></li><li><a href="https://github.com/thepaperpilot/BabbleMovieMaker" target="_blank" rel="noreferrer">Babble Movie Maker</a></li><li><a href="https://github.com/thepaperpilot/babble.js" target="_blank" rel="noreferrer">babble.js</a></li><li><a href="https://github.com/thepaperpilot/babble.cs" target="_blank" rel="noreferrer">babble.cs</a></li></ul><p>Babble buds is a free, open-source virtual puppet show software. It is heavily based on the non-public software called &quot;Puppet Pals&quot;, used in URealms Live. The software is written in javascript using React, a rendering library called PIXI.js, and electron.</p><p>Users can create puppets with different faces for different emotions, and then use the puppet on a stage where you and other users can each make your respective puppets move, change emotions, and &quot;babble&quot; at each other. The stage has a green screen feature and can be popped out, which gives the users tons of possibilities in terms of using the program for a role-playing live stream, faux video chatting with friends, game development, or whatever else you want!</p><p>Users can connect to the public server and create private rooms so that they and their friends can see each other&#39;s puppets and use the software however they please. For the security conscious, you can also use the server&#39;s source code to self-host your private server.</p><p><img src="'+s+'" alt="Babble Buds Screenshot"></p><h2 id="engine" tabindex="-1">Engine <a class="header-anchor" href="#engine" aria-hidden="true">#</a></h2><p>The engine originally made to make the Babble Buds program was separated into a separate engine called <code>babble.js</code>, so that projects created in Babble Buds can be used in other projects. For example, a game can create puppets in Babble Buds and then use them for cutscenes or player agency inside of the game. Additionally, it has been ported to C# (called <code>babble.cs</code>) for use with Unity, for the same kinds of purposes. You can check out <a href="https://thepaperpilot.itch.io/tower-offense" target="_blank" rel="noreferrer">Tower Offense</a> for a pixi.js game using Babble Buds puppets for the cutscenes, or <a href="./../dice/">Dice Armor</a> for a unity game using Babble Buds puppets for the cutscenes.</p><h2 id="babble-movie-maker" tabindex="-1">Babble Movie Maker <a class="header-anchor" href="#babble-movie-maker" aria-hidden="true">#</a></h2><p>Babble Movie Maker is a cutscene editor for Babble Buds puppets. You open a babble buds project in it, and you can add actors to a stage and have them move and change expressions, etc., on a timeline. You can then use the cutscene in a game using <code>babble.js</code> or <code>babble.cs</code>, or export the cutscene into a video file. There is even support for defining custom commands with custom fields, so that if you&#39;ve expanded upon the default actions provided in <code>babble.js</code> or <code>babble.cs</code>, you can still use Movie Maker to create your cutscenes.</p><p><img src="'+o+'" alt="Babble MM Screenshot"></p>',13),b=[i];function c(l,p,d,h,u,f){return t(),a("div",null,b)}const v=e(n,[["render",c]]);export{g as __pageData,v as default};
import{_ as e,c as a,o as t,d as r}from"./app.99998402.js";const s="/assets/screenshot.3bf794a2.png",o="/assets/babblemmscreenshot.7646b6c2.png",g=JSON.parse('{"title":"Babble Buds","description":"","frontmatter":{"title":"Babble Buds"},"headers":[{"level":2,"title":"Engine","slug":"engine","link":"#engine","children":[]},{"level":2,"title":"Babble Movie Maker","slug":"babble-movie-maker","link":"#babble-movie-maker","children":[]}],"relativePath":"projects/babble/index.md","lastUpdated":1676875541000}'),n={name:"projects/babble/index.md"},i=r('<h1 id="babble-buds" tabindex="-1">Babble Buds <a class="header-anchor" href="#babble-buds" aria-hidden="true">#</a></h1><p><a href="http://babblebuds.xyz/" target="_blank" rel="noreferrer">Babble Buds Homepage</a></p><p>Source Code:</p><ul><li><a href="https://github.com/thepaperpilot/Babble-Buds" target="_blank" rel="noreferrer">Babble Buds</a></li><li><a href="https://github.com/thepaperpilot/BabbleMovieMaker" target="_blank" rel="noreferrer">Babble Movie Maker</a></li><li><a href="https://github.com/thepaperpilot/babble.js" target="_blank" rel="noreferrer">babble.js</a></li><li><a href="https://github.com/thepaperpilot/babble.cs" target="_blank" rel="noreferrer">babble.cs</a></li></ul><p>Babble buds is a free, open-source virtual puppet show software. It is heavily based on the non-public software called &quot;Puppet Pals&quot;, used in URealms Live. The software is written in javascript using React, a rendering library called PIXI.js, and electron.</p><p>Users can create puppets with different faces for different emotions, and then use the puppet on a stage where you and other users can each make your respective puppets move, change emotions, and &quot;babble&quot; at each other. The stage has a green screen feature and can be popped out, which gives the users tons of possibilities in terms of using the program for a role-playing live stream, faux video chatting with friends, game development, or whatever else you want!</p><p>Users can connect to the public server and create private rooms so that they and their friends can see each other&#39;s puppets and use the software however they please. For the security conscious, you can also use the server&#39;s source code to self-host your private server.</p><p><img src="'+s+'" alt="Babble Buds Screenshot"></p><h2 id="engine" tabindex="-1">Engine <a class="header-anchor" href="#engine" aria-hidden="true">#</a></h2><p>The engine originally made to make the Babble Buds program was separated into a separate engine called <code>babble.js</code>, so that projects created in Babble Buds can be used in other projects. For example, a game can create puppets in Babble Buds and then use them for cutscenes or player agency inside of the game. Additionally, it has been ported to C# (called <code>babble.cs</code>) for use with Unity, for the same kinds of purposes. You can check out <a href="https://thepaperpilot.itch.io/tower-offense" target="_blank" rel="noreferrer">Tower Offense</a> for a pixi.js game using Babble Buds puppets for the cutscenes, or <a href="./../dice/">Dice Armor</a> for a unity game using Babble Buds puppets for the cutscenes.</p><h2 id="babble-movie-maker" tabindex="-1">Babble Movie Maker <a class="header-anchor" href="#babble-movie-maker" aria-hidden="true">#</a></h2><p>Babble Movie Maker is a cutscene editor for Babble Buds puppets. You open a babble buds project in it, and you can add actors to a stage and have them move and change expressions, etc., on a timeline. You can then use the cutscene in a game using <code>babble.js</code> or <code>babble.cs</code>, or export the cutscene into a video file. There is even support for defining custom commands with custom fields, so that if you&#39;ve expanded upon the default actions provided in <code>babble.js</code> or <code>babble.cs</code>, you can still use Movie Maker to create your cutscenes.</p><p><img src="'+o+'" alt="Babble MM Screenshot"></p>',13),b=[i];function c(l,p,d,h,u,f){return t(),a("div",null,b)}const v=e(n,[["render",c]]);export{g as __pageData,v as default};

View file

@ -1 +1 @@
import{_ as e,c as a,o as t,d as r}from"./app.99998402.js";const s="/assets/screenshot.3bf794a2.png",o="/assets/babblemmscreenshot.7646b6c2.png",g=JSON.parse('{"title":"Babble Buds","description":"","frontmatter":{"title":"Babble Buds"},"headers":[{"level":2,"title":"Engine","slug":"engine","link":"#engine","children":[]},{"level":2,"title":"Babble Movie Maker","slug":"babble-movie-maker","link":"#babble-movie-maker","children":[]}],"relativePath":"projects/babble/index.md","lastUpdated":1676867672000}'),n={name:"projects/babble/index.md"},i=r("",13),b=[i];function c(l,p,d,h,u,f){return t(),a("div",null,b)}const v=e(n,[["render",c]]);export{g as __pageData,v as default};
import{_ as e,c as a,o as t,d as r}from"./app.99998402.js";const s="/assets/screenshot.3bf794a2.png",o="/assets/babblemmscreenshot.7646b6c2.png",g=JSON.parse('{"title":"Babble Buds","description":"","frontmatter":{"title":"Babble Buds"},"headers":[{"level":2,"title":"Engine","slug":"engine","link":"#engine","children":[]},{"level":2,"title":"Babble Movie Maker","slug":"babble-movie-maker","link":"#babble-movie-maker","children":[]}],"relativePath":"projects/babble/index.md","lastUpdated":1676875541000}'),n={name:"projects/babble/index.md"},i=r("",13),b=[i];function c(l,p,d,h,u,f){return t(),a("div",null,b)}const v=e(n,[["render",c]]);export{g as __pageData,v as default};

View file

@ -1 +1 @@
import{_ as a,c as r,o as s,a as e,b as t}from"./app.99998402.js";const n="/assets/screenshot.f2631300.png",C=JSON.parse('{"title":"Capture the Citadel","description":"","frontmatter":{"title":"Capture the Citadel"},"headers":[],"relativePath":"projects/citadel/index.md","lastUpdated":1676867672000}'),o={name:"projects/citadel/index.md"},i=e("h1",{id:"capture-the-citadel",tabindex:"-1"},[t("Capture the Citadel "),e("a",{class:"header-anchor",href:"#capture-the-citadel","aria-hidden":"true"},"#")],-1),c=e("p",null,"A 3D VR re-envisioning of a Slay the Spire-style game by Anthony Lawn and Grant Barbee for their VR class in college's final project.",-1),d=e("p",null,[t("For more details, visit "),e("a",{href:"https://grantcbarbee.github.io/conquer-the-citadel.html",target:"_blank",rel:"noreferrer"},"Grant's page on the game"),t(".")],-1),l=e("p",null,[e("img",{src:n,alt:"Screenshot"})],-1),h=[i,c,d,l];function p(_,u,f,m,g,b){return s(),r("div",null,h)}const v=a(o,[["render",p]]);export{C as __pageData,v as default};
import{_ as a,c as r,o as s,a as e,b as t}from"./app.99998402.js";const n="/assets/screenshot.f2631300.png",C=JSON.parse('{"title":"Capture the Citadel","description":"","frontmatter":{"title":"Capture the Citadel"},"headers":[],"relativePath":"projects/citadel/index.md","lastUpdated":1676875541000}'),o={name:"projects/citadel/index.md"},i=e("h1",{id:"capture-the-citadel",tabindex:"-1"},[t("Capture the Citadel "),e("a",{class:"header-anchor",href:"#capture-the-citadel","aria-hidden":"true"},"#")],-1),c=e("p",null,"A 3D VR re-envisioning of a Slay the Spire-style game by Anthony Lawn and Grant Barbee for their VR class in college's final project.",-1),d=e("p",null,[t("For more details, visit "),e("a",{href:"https://grantcbarbee.github.io/conquer-the-citadel.html",target:"_blank",rel:"noreferrer"},"Grant's page on the game"),t(".")],-1),l=e("p",null,[e("img",{src:n,alt:"Screenshot"})],-1),h=[i,c,d,l];function p(_,u,f,m,g,b){return s(),r("div",null,h)}const v=a(o,[["render",p]]);export{C as __pageData,v as default};

View file

@ -1 +1 @@
import{_ as a,c as r,o as s,a as e,b as t}from"./app.99998402.js";const n="/assets/screenshot.f2631300.png",C=JSON.parse('{"title":"Capture the Citadel","description":"","frontmatter":{"title":"Capture the Citadel"},"headers":[],"relativePath":"projects/citadel/index.md","lastUpdated":1676867672000}'),o={name:"projects/citadel/index.md"},i=e("h1",{id:"capture-the-citadel",tabindex:"-1"},[t("Capture the Citadel "),e("a",{class:"header-anchor",href:"#capture-the-citadel","aria-hidden":"true"},"#")],-1),c=e("p",null,"A 3D VR re-envisioning of a Slay the Spire-style game by Anthony Lawn and Grant Barbee for their VR class in college's final project.",-1),d=e("p",null,[t("For more details, visit "),e("a",{href:"https://grantcbarbee.github.io/conquer-the-citadel.html",target:"_blank",rel:"noreferrer"},"Grant's page on the game"),t(".")],-1),l=e("p",null,[e("img",{src:n,alt:"Screenshot"})],-1),h=[i,c,d,l];function p(_,u,f,m,g,b){return s(),r("div",null,h)}const v=a(o,[["render",p]]);export{C as __pageData,v as default};
import{_ as a,c as r,o as s,a as e,b as t}from"./app.99998402.js";const n="/assets/screenshot.f2631300.png",C=JSON.parse('{"title":"Capture the Citadel","description":"","frontmatter":{"title":"Capture the Citadel"},"headers":[],"relativePath":"projects/citadel/index.md","lastUpdated":1676875541000}'),o={name:"projects/citadel/index.md"},i=e("h1",{id:"capture-the-citadel",tabindex:"-1"},[t("Capture the Citadel "),e("a",{class:"header-anchor",href:"#capture-the-citadel","aria-hidden":"true"},"#")],-1),c=e("p",null,"A 3D VR re-envisioning of a Slay the Spire-style game by Anthony Lawn and Grant Barbee for their VR class in college's final project.",-1),d=e("p",null,[t("For more details, visit "),e("a",{href:"https://grantcbarbee.github.io/conquer-the-citadel.html",target:"_blank",rel:"noreferrer"},"Grant's page on the game"),t(".")],-1),l=e("p",null,[e("img",{src:n,alt:"Screenshot"})],-1),h=[i,c,d,l];function p(_,u,f,m,g,b){return s(),r("div",null,h)}const v=a(o,[["render",p]]);export{C as __pageData,v as default};

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
import{_ as e,c as t,o as a,d as i}from"./app.99998402.js";const o="/assets/da2.57c7af0b.png",s="/assets/editors.c2eaa93b.png",n="/assets/simulator.7ede7b83.jpg",r="/assets/da1.ae7a2bb1.png",h="/assets/da6.5b5d63de.png",d="/assets/da7.b7b33663.png",l="/assets/da8.d623c64f.png",c="/assets/da3.e16fb4de.png",p="/assets/da9.35a2db61.png",I=JSON.parse('{"title":"Dice Armor","description":"","frontmatter":{"title":"Dice Armor"},"headers":[],"relativePath":"projects/dice/index.md","lastUpdated":1676867672000}'),g={name:"projects/dice/index.md"},m=i("",22),u=[m];function f(y,b,w,_,v,k){return a(),t("div",null,u)}const q=e(g,[["render",f]]);export{I as __pageData,q as default};
import{_ as e,c as t,o as a,d as i}from"./app.99998402.js";const o="/assets/da2.57c7af0b.png",s="/assets/editors.c2eaa93b.png",n="/assets/simulator.7ede7b83.jpg",r="/assets/da1.ae7a2bb1.png",h="/assets/da6.5b5d63de.png",d="/assets/da7.b7b33663.png",l="/assets/da8.d623c64f.png",c="/assets/da3.e16fb4de.png",p="/assets/da9.35a2db61.png",I=JSON.parse('{"title":"Dice Armor","description":"","frontmatter":{"title":"Dice Armor"},"headers":[],"relativePath":"projects/dice/index.md","lastUpdated":1676875541000}'),g={name:"projects/dice/index.md"},m=i("",22),u=[m];function f(y,b,w,_,v,k){return a(),t("div",null,u)}const q=e(g,[["render",f]]);export{I as __pageData,q as default};

View file

@ -1 +1 @@
import{_ as e,c as a,o as t,d as r}from"./app.99998402.js";const f=JSON.parse('{"title":"Projects","description":"","frontmatter":{"title":"Projects","lastUpdated":false},"headers":[],"relativePath":"projects/index.md","lastUpdated":1676867672000}'),n={name:"projects/index.md"},s=r('<h1 id="games" tabindex="-1">Games! <a class="header-anchor" href="#games" aria-hidden="true">#</a></h1><p>I make games regularly! Check them out in the sidebar or on my <a href="https://thepaperpilot.itch.io/" target="_blank" rel="noreferrer">itch.io</a> page.</p><h1 id="profectus" tabindex="-1">Profectus! <a class="header-anchor" href="#profectus" aria-hidden="true">#</a></h1><p>I contributed to a modding framework called The Modding Tree and then made <a href="https://moddingtree.com" target="_blank" rel="noreferrer">Profectus</a> as an alternative that gives developers more control. Profectus is a game engine for the web that uses TS and Vue.</p><h1 id="v-ecs" tabindex="-1"><a href="./vecs/">V-ecs!</a> <a class="header-anchor" href="#v-ecs" aria-hidden="true">#</a></h1><p>V-ecs (pronounced &quot;Vex&quot;) is a Vulkan-based engine I made for making highly moddable games and tools in Lua centered around the ECS design pattern and a work-stealing job system.</p><h1 id="optispeech" tabindex="-1"><a href="./optispeech/">OptiSpeech!</a> <a class="header-anchor" href="#optispeech" aria-hidden="true">#</a></h1><p>I led a team updating a legacy Unity project for research on speech therapy to use a modern version with a focus on extensibility to facilitate future maintenance and features.</p><h1 id="babble-buds" tabindex="-1"><a href="./babble/">Babble Buds!</a> <a class="header-anchor" href="#babble-buds" aria-hidden="true">#</a></h1><p>Babble Buds is a free, open-source virtual puppet show engine I made for various platforms including HTLM5 and Unity, as well as an accompanying electron-based puppet editor and multiplayer stage.</p><h1 id="dice-armor" tabindex="-1"><a href="./dice/">Dice Armor</a> <a class="header-anchor" href="#dice-armor" aria-hidden="true">#</a></h1><p>I was the lead programmer on a team of nine creating this game in a semester-long college course. I programmed all the gameplay systems as well as incorporated Babble Buds for the cutscenes and tutorial.</p><h1 id="capture-the-citadel" tabindex="-1"><a href="./citadel/">Capture the Citadel</a> <a class="header-anchor" href="#capture-the-citadel" aria-hidden="true">#</a></h1><p>A 3D VR re-envisioning of a Slay the Spire-style game by Anthony Lawn and Grant Barbee.</p>',14),i=[s];function o(d,h,c,l,p,u){return t(),a("div",null,i)}const b=e(n,[["render",o]]);export{f as __pageData,b as default};
import{_ as e,c as a,o as t,d as r}from"./app.99998402.js";const f=JSON.parse('{"title":"Projects","description":"","frontmatter":{"title":"Projects","lastUpdated":false},"headers":[],"relativePath":"projects/index.md","lastUpdated":1676875541000}'),n={name:"projects/index.md"},s=r('<h1 id="games" tabindex="-1">Games! <a class="header-anchor" href="#games" aria-hidden="true">#</a></h1><p>I make games regularly! Check them out in the sidebar or on my <a href="https://thepaperpilot.itch.io/" target="_blank" rel="noreferrer">itch.io</a> page.</p><h1 id="profectus" tabindex="-1">Profectus! <a class="header-anchor" href="#profectus" aria-hidden="true">#</a></h1><p>I contributed to a modding framework called The Modding Tree and then made <a href="https://moddingtree.com" target="_blank" rel="noreferrer">Profectus</a> as an alternative that gives developers more control. Profectus is a game engine for the web that uses TS and Vue.</p><h1 id="v-ecs" tabindex="-1"><a href="./vecs/">V-ecs!</a> <a class="header-anchor" href="#v-ecs" aria-hidden="true">#</a></h1><p>V-ecs (pronounced &quot;Vex&quot;) is a Vulkan-based engine I made for making highly moddable games and tools in Lua centered around the ECS design pattern and a work-stealing job system.</p><h1 id="optispeech" tabindex="-1"><a href="./optispeech/">OptiSpeech!</a> <a class="header-anchor" href="#optispeech" aria-hidden="true">#</a></h1><p>I led a team updating a legacy Unity project for research on speech therapy to use a modern version with a focus on extensibility to facilitate future maintenance and features.</p><h1 id="babble-buds" tabindex="-1"><a href="./babble/">Babble Buds!</a> <a class="header-anchor" href="#babble-buds" aria-hidden="true">#</a></h1><p>Babble Buds is a free, open-source virtual puppet show engine I made for various platforms including HTLM5 and Unity, as well as an accompanying electron-based puppet editor and multiplayer stage.</p><h1 id="dice-armor" tabindex="-1"><a href="./dice/">Dice Armor</a> <a class="header-anchor" href="#dice-armor" aria-hidden="true">#</a></h1><p>I was the lead programmer on a team of nine creating this game in a semester-long college course. I programmed all the gameplay systems as well as incorporated Babble Buds for the cutscenes and tutorial.</p><h1 id="capture-the-citadel" tabindex="-1"><a href="./citadel/">Capture the Citadel</a> <a class="header-anchor" href="#capture-the-citadel" aria-hidden="true">#</a></h1><p>A 3D VR re-envisioning of a Slay the Spire-style game by Anthony Lawn and Grant Barbee.</p>',14),i=[s];function o(d,h,c,l,p,u){return t(),a("div",null,i)}const b=e(n,[["render",o]]);export{f as __pageData,b as default};

View file

@ -1 +1 @@
import{_ as e,c as a,o as t,d as r}from"./app.99998402.js";const f=JSON.parse('{"title":"Projects","description":"","frontmatter":{"title":"Projects","lastUpdated":false},"headers":[],"relativePath":"projects/index.md","lastUpdated":1676867672000}'),n={name:"projects/index.md"},s=r("",14),i=[s];function o(d,h,c,l,p,u){return t(),a("div",null,i)}const b=e(n,[["render",o]]);export{f as __pageData,b as default};
import{_ as e,c as a,o as t,d as r}from"./app.99998402.js";const f=JSON.parse('{"title":"Projects","description":"","frontmatter":{"title":"Projects","lastUpdated":false},"headers":[],"relativePath":"projects/index.md","lastUpdated":1676875541000}'),n={name:"projects/index.md"},s=r("",14),i=[s];function o(d,h,c,l,p,u){return t(),a("div",null,i)}const b=e(n,[["render",o]]);export{f as __pageData,b as default};

View file

@ -1 +1 @@
import{_ as t,c as s,o as a,a as e,b as o}from"./app.99998402.js";const n="/assets/system-architecture-600.254c8a7e.jpg",r="/assets/new-interface.99f03ba7.png",i="/assets/documentation.4e9ae6e0.png",c="/assets/unittests.e8833eb5.png",U=JSON.parse('{"title":"OptiSpeech","description":"","frontmatter":{"title":"OptiSpeech"},"headers":[],"relativePath":"projects/optispeech/index.md","lastUpdated":1676867672000}'),l={name:"projects/optispeech/index.md"},d=e("h1",{id:"optispeech",tabindex:"-1"},[o("OptiSpeech "),e("a",{class:"header-anchor",href:"#optispeech","aria-hidden":"true"},"#")],-1),p=e("p",null,"The Optispeech project involves designing and testing a real-time tongue model that can be viewed in a transparent head while a subject talks \u2014 for the purposes of treating speech errors and teaching foreign language sounds. This work has been conducted in partnership with Vulintus and with support from the National Institutes of Health (NIH). The UT Dallas Speech Production Lab is currently updating the program to use updated versions of Unity and adding support for more features and hardware.",-1),h=e("p",null,[e("img",{src:n,alt:"System Architecture"})],-1),u=e("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/9uHqIRs7ZjM",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",style:{display:"block",margin:"auto"}},null,-1),m=e("p",null,"This video shows a talker with WAVE sensors placed on the tongue hitting a virtual target sphere located at the alveolar ridge. When an alveolar consonant is hit (e.g., /s/, /n/, /d/) the sphere changes color from red to green.",-1),g=e("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/Oz42mKvlzqI",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",style:{display:"block",margin:"auto"}},null,-1),_=e("p",null,"This video shows an American talker learning a novel sound not found in English. When the post-alveolar consonant is hit, the target sphere changes color from red to green. Here, the NDI WAVE system serves as input.",-1),f=e("p",null,"The program is being updated by a team in the UT Dallas Speech Production Lab led by Anthony Lawn, so the program uses a more modern version of Unity, has an easier-to-use interface, can more easily support new features, and can connect to additional EMA systems, namely the Carstens AG501.",-1),w=e("p",null,[e("img",{src:r,alt:"New Interface"})],-1),y=e("p",null,"In addition, the program now includes documentation and unit tests to improve program stability and maintainability going forward.",-1),b=e("p",null,[e("img",{src:i,alt:"Documentation"})],-1),v=e("p",null,[e("img",{src:c,alt:"Unit Tests"})],-1),T=[d,p,h,u,m,g,_,f,w,y,b,v];function k(x,A,I,N,S,j){return a(),s("div",null,T)}const D=t(l,[["render",k]]);export{U as __pageData,D as default};
import{_ as t,c as s,o as a,a as e,b as o}from"./app.99998402.js";const n="/assets/system-architecture-600.254c8a7e.jpg",r="/assets/new-interface.99f03ba7.png",i="/assets/documentation.4e9ae6e0.png",c="/assets/unittests.e8833eb5.png",U=JSON.parse('{"title":"OptiSpeech","description":"","frontmatter":{"title":"OptiSpeech"},"headers":[],"relativePath":"projects/optispeech/index.md","lastUpdated":1676875541000}'),l={name:"projects/optispeech/index.md"},d=e("h1",{id:"optispeech",tabindex:"-1"},[o("OptiSpeech "),e("a",{class:"header-anchor",href:"#optispeech","aria-hidden":"true"},"#")],-1),p=e("p",null,"The Optispeech project involves designing and testing a real-time tongue model that can be viewed in a transparent head while a subject talks \u2014 for the purposes of treating speech errors and teaching foreign language sounds. This work has been conducted in partnership with Vulintus and with support from the National Institutes of Health (NIH). The UT Dallas Speech Production Lab is currently updating the program to use updated versions of Unity and adding support for more features and hardware.",-1),h=e("p",null,[e("img",{src:n,alt:"System Architecture"})],-1),u=e("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/9uHqIRs7ZjM",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",style:{display:"block",margin:"auto"}},null,-1),m=e("p",null,"This video shows a talker with WAVE sensors placed on the tongue hitting a virtual target sphere located at the alveolar ridge. When an alveolar consonant is hit (e.g., /s/, /n/, /d/) the sphere changes color from red to green.",-1),g=e("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/Oz42mKvlzqI",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",style:{display:"block",margin:"auto"}},null,-1),_=e("p",null,"This video shows an American talker learning a novel sound not found in English. When the post-alveolar consonant is hit, the target sphere changes color from red to green. Here, the NDI WAVE system serves as input.",-1),f=e("p",null,"The program is being updated by a team in the UT Dallas Speech Production Lab led by Anthony Lawn, so the program uses a more modern version of Unity, has an easier-to-use interface, can more easily support new features, and can connect to additional EMA systems, namely the Carstens AG501.",-1),w=e("p",null,[e("img",{src:r,alt:"New Interface"})],-1),y=e("p",null,"In addition, the program now includes documentation and unit tests to improve program stability and maintainability going forward.",-1),b=e("p",null,[e("img",{src:i,alt:"Documentation"})],-1),v=e("p",null,[e("img",{src:c,alt:"Unit Tests"})],-1),T=[d,p,h,u,m,g,_,f,w,y,b,v];function k(x,A,I,N,S,j){return a(),s("div",null,T)}const D=t(l,[["render",k]]);export{U as __pageData,D as default};

View file

@ -1 +1 @@
import{_ as t,c as s,o as a,a as e,b as o}from"./app.99998402.js";const n="/assets/system-architecture-600.254c8a7e.jpg",r="/assets/new-interface.99f03ba7.png",i="/assets/documentation.4e9ae6e0.png",c="/assets/unittests.e8833eb5.png",U=JSON.parse('{"title":"OptiSpeech","description":"","frontmatter":{"title":"OptiSpeech"},"headers":[],"relativePath":"projects/optispeech/index.md","lastUpdated":1676867672000}'),l={name:"projects/optispeech/index.md"},d=e("h1",{id:"optispeech",tabindex:"-1"},[o("OptiSpeech "),e("a",{class:"header-anchor",href:"#optispeech","aria-hidden":"true"},"#")],-1),p=e("p",null,"The Optispeech project involves designing and testing a real-time tongue model that can be viewed in a transparent head while a subject talks \u2014 for the purposes of treating speech errors and teaching foreign language sounds. This work has been conducted in partnership with Vulintus and with support from the National Institutes of Health (NIH). The UT Dallas Speech Production Lab is currently updating the program to use updated versions of Unity and adding support for more features and hardware.",-1),h=e("p",null,[e("img",{src:n,alt:"System Architecture"})],-1),u=e("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/9uHqIRs7ZjM",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",style:{display:"block",margin:"auto"}},null,-1),m=e("p",null,"This video shows a talker with WAVE sensors placed on the tongue hitting a virtual target sphere located at the alveolar ridge. When an alveolar consonant is hit (e.g., /s/, /n/, /d/) the sphere changes color from red to green.",-1),g=e("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/Oz42mKvlzqI",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",style:{display:"block",margin:"auto"}},null,-1),_=e("p",null,"This video shows an American talker learning a novel sound not found in English. When the post-alveolar consonant is hit, the target sphere changes color from red to green. Here, the NDI WAVE system serves as input.",-1),f=e("p",null,"The program is being updated by a team in the UT Dallas Speech Production Lab led by Anthony Lawn, so the program uses a more modern version of Unity, has an easier-to-use interface, can more easily support new features, and can connect to additional EMA systems, namely the Carstens AG501.",-1),w=e("p",null,[e("img",{src:r,alt:"New Interface"})],-1),y=e("p",null,"In addition, the program now includes documentation and unit tests to improve program stability and maintainability going forward.",-1),b=e("p",null,[e("img",{src:i,alt:"Documentation"})],-1),v=e("p",null,[e("img",{src:c,alt:"Unit Tests"})],-1),T=[d,p,h,u,m,g,_,f,w,y,b,v];function k(x,A,I,N,S,j){return a(),s("div",null,T)}const D=t(l,[["render",k]]);export{U as __pageData,D as default};
import{_ as t,c as s,o as a,a as e,b as o}from"./app.99998402.js";const n="/assets/system-architecture-600.254c8a7e.jpg",r="/assets/new-interface.99f03ba7.png",i="/assets/documentation.4e9ae6e0.png",c="/assets/unittests.e8833eb5.png",U=JSON.parse('{"title":"OptiSpeech","description":"","frontmatter":{"title":"OptiSpeech"},"headers":[],"relativePath":"projects/optispeech/index.md","lastUpdated":1676875541000}'),l={name:"projects/optispeech/index.md"},d=e("h1",{id:"optispeech",tabindex:"-1"},[o("OptiSpeech "),e("a",{class:"header-anchor",href:"#optispeech","aria-hidden":"true"},"#")],-1),p=e("p",null,"The Optispeech project involves designing and testing a real-time tongue model that can be viewed in a transparent head while a subject talks \u2014 for the purposes of treating speech errors and teaching foreign language sounds. This work has been conducted in partnership with Vulintus and with support from the National Institutes of Health (NIH). The UT Dallas Speech Production Lab is currently updating the program to use updated versions of Unity and adding support for more features and hardware.",-1),h=e("p",null,[e("img",{src:n,alt:"System Architecture"})],-1),u=e("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/9uHqIRs7ZjM",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",style:{display:"block",margin:"auto"}},null,-1),m=e("p",null,"This video shows a talker with WAVE sensors placed on the tongue hitting a virtual target sphere located at the alveolar ridge. When an alveolar consonant is hit (e.g., /s/, /n/, /d/) the sphere changes color from red to green.",-1),g=e("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/Oz42mKvlzqI",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",style:{display:"block",margin:"auto"}},null,-1),_=e("p",null,"This video shows an American talker learning a novel sound not found in English. When the post-alveolar consonant is hit, the target sphere changes color from red to green. Here, the NDI WAVE system serves as input.",-1),f=e("p",null,"The program is being updated by a team in the UT Dallas Speech Production Lab led by Anthony Lawn, so the program uses a more modern version of Unity, has an easier-to-use interface, can more easily support new features, and can connect to additional EMA systems, namely the Carstens AG501.",-1),w=e("p",null,[e("img",{src:r,alt:"New Interface"})],-1),y=e("p",null,"In addition, the program now includes documentation and unit tests to improve program stability and maintainability going forward.",-1),b=e("p",null,[e("img",{src:i,alt:"Documentation"})],-1),v=e("p",null,[e("img",{src:c,alt:"Unit Tests"})],-1),T=[d,p,h,u,m,g,_,f,w,y,b,v];function k(x,A,I,N,S,j){return a(),s("div",null,T)}const D=t(l,[["render",k]]);export{U as __pageData,D as default};

View file

@ -1 +1 @@
import{_ as e,c as t,o as s,d as a}from"./app.99998402.js";const o="/assets/screenshot.78830a30.png",n="/assets/debug.0a8c47b7.png",r="/assets/sandsoftime.ba63f865.png",w=JSON.parse('{"title":"V-ecs","description":"","frontmatter":{"title":"V-ecs"},"headers":[],"relativePath":"projects/vecs/index.md","lastUpdated":1676867672000}'),i={name:"projects/vecs/index.md"},d=a('<h1 id="v-ecs" tabindex="-1">V-ecs <a class="header-anchor" href="#v-ecs" aria-hidden="true">#</a></h1><p><img src="'+o+'" alt="V-ecs Screenshot"></p><p>V-ecs (pronounced &quot;Vex&quot;) is a Vulkan-based engine I made for making highly moddable games and tools in Lua centered around the ECS design pattern and a work-stealing job system.</p><p>The engine works with &quot;worlds&quot;, which are collections of systems and renderers. The engine comes with several worlds using systems and renderers I made, including a voxel world, an incremental game, and some test scenes. All of these include systems to render the fps as well as show a debug console by typing the grave key (`). The default world is a title screen that detects any worlds in the &quot;worlds&quot; folder and displays a button for each of them.</p><p><img src="'+n+'" alt="Debug Menu"></p><p>The original plans were to eventually put it on the steam workshop so people could more easily share their creations amongst each other, but I never became happy enough with the performance of the engine - the parallelization of the lua code involved a lot of overhead that severely limited performance.</p><p>Instead, I made a couple of worlds by myself - an infinite procedurally generated voxel world, a simple incremental game, and a more complex incremental game I call &quot;Sands of Time&quot;.</p><p><img src="'+r+'" alt="Sands of Time"></p>',8),l=[d];function c(p,h,m,u,_,g){return s(),t("div",null,l)}const y=e(i,[["render",c]]);export{w as __pageData,y as default};
import{_ as e,c as t,o as s,d as a}from"./app.99998402.js";const o="/assets/screenshot.78830a30.png",n="/assets/debug.0a8c47b7.png",r="/assets/sandsoftime.ba63f865.png",w=JSON.parse('{"title":"V-ecs","description":"","frontmatter":{"title":"V-ecs"},"headers":[],"relativePath":"projects/vecs/index.md","lastUpdated":1676875541000}'),i={name:"projects/vecs/index.md"},d=a('<h1 id="v-ecs" tabindex="-1">V-ecs <a class="header-anchor" href="#v-ecs" aria-hidden="true">#</a></h1><p><img src="'+o+'" alt="V-ecs Screenshot"></p><p>V-ecs (pronounced &quot;Vex&quot;) is a Vulkan-based engine I made for making highly moddable games and tools in Lua centered around the ECS design pattern and a work-stealing job system.</p><p>The engine works with &quot;worlds&quot;, which are collections of systems and renderers. The engine comes with several worlds using systems and renderers I made, including a voxel world, an incremental game, and some test scenes. All of these include systems to render the fps as well as show a debug console by typing the grave key (`). The default world is a title screen that detects any worlds in the &quot;worlds&quot; folder and displays a button for each of them.</p><p><img src="'+n+'" alt="Debug Menu"></p><p>The original plans were to eventually put it on the steam workshop so people could more easily share their creations amongst each other, but I never became happy enough with the performance of the engine - the parallelization of the lua code involved a lot of overhead that severely limited performance.</p><p>Instead, I made a couple of worlds by myself - an infinite procedurally generated voxel world, a simple incremental game, and a more complex incremental game I call &quot;Sands of Time&quot;.</p><p><img src="'+r+'" alt="Sands of Time"></p>',8),l=[d];function c(p,h,m,u,_,g){return s(),t("div",null,l)}const y=e(i,[["render",c]]);export{w as __pageData,y as default};

View file

@ -1 +1 @@
import{_ as e,c as t,o as s,d as a}from"./app.99998402.js";const o="/assets/screenshot.78830a30.png",n="/assets/debug.0a8c47b7.png",r="/assets/sandsoftime.ba63f865.png",w=JSON.parse('{"title":"V-ecs","description":"","frontmatter":{"title":"V-ecs"},"headers":[],"relativePath":"projects/vecs/index.md","lastUpdated":1676867672000}'),i={name:"projects/vecs/index.md"},d=a("",8),l=[d];function c(p,h,m,u,_,g){return s(),t("div",null,l)}const y=e(i,[["render",c]]);export{w as __pageData,y as default};
import{_ as e,c as t,o as s,d as a}from"./app.99998402.js";const o="/assets/screenshot.78830a30.png",n="/assets/debug.0a8c47b7.png",r="/assets/sandsoftime.ba63f865.png",w=JSON.parse('{"title":"V-ecs","description":"","frontmatter":{"title":"V-ecs"},"headers":[],"relativePath":"projects/vecs/index.md","lastUpdated":1676875541000}'),i={name:"projects/vecs/index.md"},d=a("",8),l=[d];function c(p,h,m,u,_,g){return s(),t("div",null,l)}const y=e(i,[["render",c]]);export{w as __pageData,y as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"guide-to-incrementals_design_introduction.md":"38daee51","guide-to-incrementals_index.md":"5d93b5e4","guide-to-incrementals_ludology_appeal-developers.md":"ef988d03","guide-to-incrementals_ludology_appeal-gamers.md":"e2ccfe16","guide-to-incrementals_ludology_content.md":"8399cc9d","guide-to-incrementals_ludology_definition.md":"b8d4c239","index.md":"e646f72f","projects_babble_index.md":"27f9c09b","projects_citadel_index.md":"e586a400","projects_dice_index.md":"a482bf49","projects_index.md":"1c9a711f","projects_optispeech_index.md":"9d1ccb42","projects_vecs_index.md":"8bda991a","public_gamedevtree_2.0-format-changes.md":"869c95cb","public_gamedevtree_readme.md":"552fe2c4","public_gamedevtree_changelog.md":"d359af81","public_gamedevtree_docs_!general-info.md":"b54b0405","public_gamedevtree_docs_achievements.md":"dcac48ff","public_gamedevtree_docs_bars.md":"5f67f039","public_gamedevtree_docs_basic-layer-breakdown.md":"7761b77c","public_gamedevtree_docs_buyables.md":"0150160d","public_gamedevtree_docs_challenges.md":"0c6f4a98","public_gamedevtree_docs_clickables.md":"31209e1f","public_gamedevtree_docs_custom-tab-layouts.md":"c0fbc4e0","public_gamedevtree_docs_getting-started.md":"8c2ddda0","public_gamedevtree_docs_infoboxes.md":"7a0953be","public_gamedevtree_docs_layer-features.md":"a7640a7f","public_gamedevtree_docs_main-mod-info.md":"6f790508","public_gamedevtree_docs_milestones.md":"264c8c9a","public_gamedevtree_docs_subtabs-and-microtabs.md":"a5ee4ade","public_gamedevtree_docs_updating-tmt.md":"0237de18","public_gamedevtree_docs_upgrades.md":"ac3bddbc","public_kronos_old things_2.0-format-changes.md":"33740b7e","public_kronos_readme.md":"b02e146e","public_kronos_changelog.md":"8c678677","public_kronos_docs_!general-info.md":"a850fc5c","public_kronos_docs_achievements.md":"50170b22","public_kronos_docs_bars.md":"e362dd22","public_kronos_docs_basic-layer-breakdown.md":"c5012569","public_kronos_docs_buyables.md":"18df767f","public_kronos_docs_challenges.md":"e035cc8c","public_kronos_docs_clickables.md":"0b620d80","public_kronos_docs_custom-tab-layouts.md":"83ea4ec4","public_kronos_docs_getting-started.md":"bbfb2db6","public_kronos_docs_grids.md":"53210faa","public_kronos_docs_infoboxes.md":"1e520ae7","public_kronos_docs_layer-features.md":"13746ddd","public_kronos_docs_main-mod-info.md":"880d3987","public_kronos_docs_milestones.md":"ddaaade5","public_kronos_docs_particles.md":"78d816e8","public_kronos_docs_subtabs-and-microtabs.md":"f0ff58d5","public_kronos_docs_trees-and-tree-customization.md":"763f6e41","public_kronos_docs_updating-tmt.md":"3d630d86","public_kronos_docs_upgrades.md":"e5295c4b","public_lit_old things_2.0-format-changes.md":"e73a9b99","public_lit_readme.md":"241d60e2","public_lit_changelog.md":"08f37d7f","public_lit_docs_!general-info.md":"e02fc830","public_lit_docs_achievements.md":"9bdd1682","public_lit_docs_bars.md":"51d95f97","public_lit_docs_basic-layer-breakdown.md":"c311548b","public_lit_docs_buyables.md":"cdd4074b","public_lit_docs_challenges.md":"ff75af2d","public_lit_docs_clickables.md":"2c4bf6c0","public_lit_docs_custom-tab-layouts.md":"4ef7b79a","public_lit_docs_getting-started.md":"1abd3c25","public_lit_docs_infoboxes.md":"6e888c51","public_lit_docs_layer-features.md":"77bde097","public_lit_docs_main-mod-info.md":"c984b67a","public_lit_docs_milestones.md":"05858e62","public_lit_docs_subtabs-and-microtabs.md":"84373a35","public_lit_docs_trees-and-tree-customization.md":"083d2a32","public_lit_docs_updating-tmt.md":"6dce2005","public_lit_docs_upgrades.md":"967aa760"}
{"guide-to-incrementals_design_introduction.md":"38daee51","guide-to-incrementals_index.md":"5d93b5e4","guide-to-incrementals_ludology_appeal-developers.md":"ef988d03","guide-to-incrementals_ludology_appeal-gamers.md":"e2ccfe16","guide-to-incrementals_ludology_content.md":"8399cc9d","guide-to-incrementals_ludology_definition.md":"b8d4c239","index.md":"87c255f5","projects_babble_index.md":"54c5e5c3","projects_citadel_index.md":"20d8fee2","projects_dice_index.md":"b9c4c13a","projects_index.md":"36eb36e5","projects_optispeech_index.md":"296d588b","projects_vecs_index.md":"89c89edf","public_gamedevtree_2.0-format-changes.md":"869c95cb","public_gamedevtree_readme.md":"552fe2c4","public_gamedevtree_changelog.md":"d359af81","public_gamedevtree_docs_!general-info.md":"b54b0405","public_gamedevtree_docs_achievements.md":"dcac48ff","public_gamedevtree_docs_bars.md":"5f67f039","public_gamedevtree_docs_basic-layer-breakdown.md":"7761b77c","public_gamedevtree_docs_buyables.md":"0150160d","public_gamedevtree_docs_challenges.md":"0c6f4a98","public_gamedevtree_docs_clickables.md":"31209e1f","public_gamedevtree_docs_custom-tab-layouts.md":"c0fbc4e0","public_gamedevtree_docs_getting-started.md":"8c2ddda0","public_gamedevtree_docs_infoboxes.md":"7a0953be","public_gamedevtree_docs_layer-features.md":"a7640a7f","public_gamedevtree_docs_main-mod-info.md":"6f790508","public_gamedevtree_docs_milestones.md":"264c8c9a","public_gamedevtree_docs_subtabs-and-microtabs.md":"a5ee4ade","public_gamedevtree_docs_updating-tmt.md":"0237de18","public_gamedevtree_docs_upgrades.md":"ac3bddbc","public_kronos_old things_2.0-format-changes.md":"33740b7e","public_kronos_readme.md":"b02e146e","public_kronos_changelog.md":"8c678677","public_kronos_docs_!general-info.md":"a850fc5c","public_kronos_docs_achievements.md":"50170b22","public_kronos_docs_bars.md":"e362dd22","public_kronos_docs_basic-layer-breakdown.md":"c5012569","public_kronos_docs_buyables.md":"18df767f","public_kronos_docs_challenges.md":"e035cc8c","public_kronos_docs_clickables.md":"0b620d80","public_kronos_docs_custom-tab-layouts.md":"83ea4ec4","public_kronos_docs_getting-started.md":"bbfb2db6","public_kronos_docs_grids.md":"53210faa","public_kronos_docs_infoboxes.md":"1e520ae7","public_kronos_docs_layer-features.md":"13746ddd","public_kronos_docs_main-mod-info.md":"880d3987","public_kronos_docs_milestones.md":"ddaaade5","public_kronos_docs_particles.md":"78d816e8","public_kronos_docs_subtabs-and-microtabs.md":"f0ff58d5","public_kronos_docs_trees-and-tree-customization.md":"763f6e41","public_kronos_docs_updating-tmt.md":"3d630d86","public_kronos_docs_upgrades.md":"e5295c4b","public_lit_old things_2.0-format-changes.md":"e73a9b99","public_lit_readme.md":"241d60e2","public_lit_changelog.md":"08f37d7f","public_lit_docs_!general-info.md":"e02fc830","public_lit_docs_achievements.md":"9bdd1682","public_lit_docs_bars.md":"51d95f97","public_lit_docs_basic-layer-breakdown.md":"c311548b","public_lit_docs_buyables.md":"cdd4074b","public_lit_docs_challenges.md":"ff75af2d","public_lit_docs_clickables.md":"2c4bf6c0","public_lit_docs_custom-tab-layouts.md":"4ef7b79a","public_lit_docs_getting-started.md":"1abd3c25","public_lit_docs_infoboxes.md":"6e888c51","public_lit_docs_layer-features.md":"77bde097","public_lit_docs_main-mod-info.md":"c984b67a","public_lit_docs_milestones.md":"05858e62","public_lit_docs_subtabs-and-microtabs.md":"84373a35","public_lit_docs_trees-and-tree-customization.md":"083d2a32","public_lit_docs_updating-tmt.md":"6dce2005","public_lit_docs_upgrades.md":"967aa760"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
var w={exports:{}};(function(g){var m=Object.prototype.hasOwnProperty,u="~";function h(){}Object.create&&(h.prototype=Object.create(null),new h().__proto__||(u=!1));function b(s,t,n){this.fn=s,this.context=t,this.once=n||!1}function x(s,t,n,r,l){if(typeof n!="function")throw new TypeError("The listener must be a function");var c=new b(n,r||s,l),o=u?u+t:t;return s._events[o]?s._events[o].fn?s._events[o]=[s._events[o],c]:s._events[o].push(c):(s._events[o]=c,s._eventsCount++),s}function y(s,t){--s._eventsCount===0?s._events=new h:delete s._events[t]}function f(){this._events=new h,this._eventsCount=0}f.prototype.eventNames=function(){var t=[],n,r;if(this._eventsCount===0)return t;for(r in n=this._events)m.call(n,r)&&t.push(u?r.slice(1):r);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(n)):t},f.prototype.listeners=function(t){var n=u?u+t:t,r=this._events[n];if(!r)return[];if(r.fn)return[r.fn];for(var l=0,c=r.length,o=new Array(c);l<c;l++)o[l]=r[l].fn;return o},f.prototype.listenerCount=function(t){var n=u?u+t:t,r=this._events[n];return r?r.fn?1:r.length:0},f.prototype.emit=function(t,n,r,l,c,o){var a=u?u+t:t;if(!this._events[a])return!1;var e=this._events[a],v=arguments.length,p,i;if(e.fn){switch(e.once&&this.removeListener(t,e.fn,void 0,!0),v){case 1:return e.fn.call(e.context),!0;case 2:return e.fn.call(e.context,n),!0;case 3:return e.fn.call(e.context,n,r),!0;case 4:return e.fn.call(e.context,n,r,l),!0;case 5:return e.fn.call(e.context,n,r,l,c),!0;case 6:return e.fn.call(e.context,n,r,l,c,o),!0}for(i=1,p=new Array(v-1);i<v;i++)p[i-1]=arguments[i];e.fn.apply(e.context,p)}else{var d=e.length,_;for(i=0;i<d;i++)switch(e[i].once&&this.removeListener(t,e[i].fn,void 0,!0),v){case 1:e[i].fn.call(e[i].context);break;case 2:e[i].fn.call(e[i].context,n);break;case 3:e[i].fn.call(e[i].context,n,r);break;case 4:e[i].fn.call(e[i].context,n,r,l);break;default:if(!p)for(_=1,p=new Array(v-1);_<v;_++)p[_-1]=arguments[_];e[i].fn.apply(e[i].context,p)}}return!0},f.prototype.on=function(t,n,r){return x(this,t,n,r,!1)},f.prototype.once=function(t,n,r){return x(this,t,n,r,!0)},f.prototype.removeListener=function(t,n,r,l){var c=u?u+t:t;if(!this._events[c])return this;if(!n)return y(this,c),this;var o=this._events[c];if(o.fn)o.fn===n&&(!l||o.once)&&(!r||o.context===r)&&y(this,c);else{for(var a=0,e=[],v=o.length;a<v;a++)(o[a].fn!==n||l&&!o[a].once||r&&o[a].context!==r)&&e.push(o[a]);e.length?this._events[c]=e.length===1?e[0]:e:y(this,c)}return this},f.prototype.removeAllListeners=function(t){var n;return t?(n=u?u+t:t,this._events[n]&&y(this,n)):(this._events=new h,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=u,f.EventEmitter=f,g.exports=f})(w);var E=w.exports;export{E};

View file

@ -0,0 +1 @@
import{_ as d,s,p as e,a as n,l as T,D as r,b as l,g as u}from"./index.43d4d036.js";import"./vue.f6263579.js";import{b1 as c}from"./@vue.4ce677c2.js";/* empty css */import"./nanoevents.1080beb7.js";import"./lz-string.f2f3b7cf.js";import"./vuedraggable.c3acdf62.js";import"./earcut.b6f90e68.js";import"./sortablejs.cbae5b2d.js";import"./vue-next-select.0dc4e443.js";import"./vue-textarea-autosize.35804eaf.js";import"./semver.83ff78cf.js";import"./lru-cache.9a21e90b.js";import"./yallist.fd762fe7.js";import"./socket.io-client.79ce0df5.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./vue-toastification.b7cd620e.js";import"./@pixi.1eac1889.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.js";import"./workbox-window.8d14e8b7.js";let o=null,m=null;function f(){const t=Date.now();let i=(t-e.time)/1e3;e.time=t;const a=i;if(n.lastTenTicks.push(a),n.lastTenTicks.length>10&&(n.lastTenTicks=n.lastTenTicks.slice(1)),!((m==null?void 0:m.value)&&!e.keepGoing)&&!n.hasNaN&&(i=Math.max(i,0),e.devSpeed!==0)){if(T.value=!1,e.offlineTime!=null){if(r.gt(e.offlineTime,l.offlineLimit*3600)&&(e.offlineTime=l.offlineLimit*3600),r.gt(e.offlineTime,0)&&e.devSpeed!==0){const p=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-p,i+=p}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||r.lt(e.offlineTime,0))&&(e.offlineTime=null)}i=Math.min(i,l.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),!r.eq(i,0)&&(e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308),u.emit("update",i,a),s.unthrottled?(requestAnimationFrame(f),o!=null&&(clearInterval(o),o=null)):o==null&&(o=setInterval(f,50)))}}async function W(){m=(await d(()=>import("./index.43d4d036.js").then(function(t){return t.c}),["assets/index.43d4d036.js","assets/index.9f7b96f7.css","assets/@fontsource.f66d05e7.css","assets/vue.f6263579.js","assets/earcut.b6f90e68.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.83ff78cf.js","assets/lru-cache.9a21e90b.js","assets/yallist.fd762fe7.js","assets/socket.io-client.79ce0df5.js","assets/engine.io-client.58517560.js","assets/engine.io-parser.3f360695.js","assets/@socket.io.aec831e2.js","assets/socket.io-parser.544e37d1.js","assets/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/workbox-window.8d14e8b7.js"])).hasWon,c(m,t=>{t&&u.emit("gameWon")}),s.unthrottled?requestAnimationFrame(f):o=setInterval(f,50)}export{W as startGameLoop};

View file

@ -1 +0,0 @@
import{_ as d,s as p,p as e,a as n,l as T,D as l,b as a,g as u}from"./index.624ae6e9.js";import"./vue.5bd9f35e.js";import{b1 as c}from"./@vue.4ce677c2.js";/* empty css */import"./nanoevents.1080beb7.js";import"./lz-string.f2f3b7cf.js";import"./vuedraggable.832ed13e.js";import"./lru-cache.9506e0ec.js";import"./yallist.fd762fe7.js";import"./sortablejs.80af5380.js";import"./vue-next-select.8d9e0122.js";import"./vue-textarea-autosize.35804eaf.js";import"./semver.d101e2be.js";import"./socket.io-client.79ce0df5.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./vue-toastification.b272a510.js";import"./workbox-window.8d14e8b7.js";let o=null,f=null;function m(){const t=Date.now();let i=(t-e.time)/1e3;e.time=t;const r=i;if(n.lastTenTicks.push(r),n.lastTenTicks.length>10&&(n.lastTenTicks=n.lastTenTicks.slice(1)),!((f==null?void 0:f.value)&&!e.keepGoing)&&!n.hasNaN&&(i=Math.max(i,0),e.devSpeed!==0)){if(T.value=!1,e.offlineTime!=null){if(l.gt(e.offlineTime,a.offlineLimit*3600)&&(e.offlineTime=a.offlineLimit*3600),l.gt(e.offlineTime,0)&&e.devSpeed!==0){const s=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-s,i+=s}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||l.lt(e.offlineTime,0))&&(e.offlineTime=null)}i=Math.min(i,a.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),!l.eq(i,0)&&(e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308),u.emit("update",i,r),p.unthrottled?(requestAnimationFrame(m),o!=null&&(clearInterval(o),o=null)):o==null&&(o=setInterval(m,50)))}}async function G(){f=(await d(()=>import("./index.624ae6e9.js").then(function(t){return t.c}),["assets/index.624ae6e9.js","assets/index.7f7e174e.css","assets/@fontsource.f66d05e7.css","assets/vue.5bd9f35e.js","assets/lru-cache.9506e0ec.js","assets/yallist.fd762fe7.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vuedraggable.832ed13e.js","assets/sortablejs.80af5380.js","assets/vue-next-select.8d9e0122.js","assets/vue-next-select.9e6f4164.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.d101e2be.js","assets/socket.io-client.79ce0df5.js","assets/engine.io-client.58517560.js","assets/engine.io-parser.3f360695.js","assets/@socket.io.aec831e2.js","assets/socket.io-parser.544e37d1.js","assets/vue-toastification.b272a510.js","assets/vue-toastification.4b5f8ac8.css","assets/workbox-window.8d14e8b7.js"])).hasWon,c(f,t=>{t&&u.emit("gameWon")}),p.unthrottled?requestAnimationFrame(m):o=setInterval(m,50)}export{G as startGameLoop};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
var p=/iPhone/i,b=/iPod/i,h=/iPad/i,v=/\biOS-universal(?:.+)Mac\b/i,s=/\bAndroid(?:.+)Mobile\b/i,f=/Android/i,r=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,d=/Silk/i,t=/Windows Phone/i,u=/\bWindows(?:.+)ARM\b/i,c=/BlackBerry/i,m=/BB10/i,w=/Opera Mini/i,y=/\b(CriOS|Chrome)(?:.+)Mobile/i,A=/Mobile(?:.+)Firefox\b/i,P=function(i){return typeof i!="undefined"&&i.platform==="MacIntel"&&typeof i.maxTouchPoints=="number"&&i.maxTouchPoints>1&&typeof MSStream=="undefined"};function T(i){return function(n){return n.test(i)}}function g(i){var n={userAgent:"",platform:"",maxTouchPoints:0};!i&&typeof navigator!="undefined"?n={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof i=="string"?n.userAgent=i:i&&i.userAgent&&(n={userAgent:i.userAgent,platform:i.platform,maxTouchPoints:i.maxTouchPoints||0});var a=n.userAgent,l=a.split("[FBAN");typeof l[1]!="undefined"&&(a=l[0]),l=a.split("Twitter"),typeof l[1]!="undefined"&&(a=l[0]);var e=T(a),o={apple:{phone:e(p)&&!e(t),ipod:e(b),tablet:!e(p)&&(e(h)||P(n))&&!e(t),universal:e(v),device:(e(p)||e(b)||e(h)||e(v)||P(n))&&!e(t)},amazon:{phone:e(r),tablet:!e(r)&&e(d),device:e(r)||e(d)},android:{phone:!e(t)&&e(r)||!e(t)&&e(s),tablet:!e(t)&&!e(r)&&!e(s)&&(e(d)||e(f)),device:!e(t)&&(e(r)||e(d)||e(s)||e(f))||e(/\bokhttp\b/i)},windows:{phone:e(t),tablet:e(u),device:e(t)||e(u)},other:{blackberry:e(c),blackberry10:e(m),opera:e(w),firefox:e(A),chrome:e(y),device:e(c)||e(m)||e(w)||e(A)||e(y)},any:!1,phone:!1,tablet:!1};return o.any=o.apple.device||o.android.device||o.windows.device||o.other.device,o.phone=o.apple.phone||o.android.phone||o.windows.phone,o.tablet=o.apple.tablet||o.android.tablet||o.windows.tablet,o}export{g as i};

View file

@ -1 +0,0 @@
import{y as x}from"./yallist.fd762fe7.js";var C=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function G(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function N(n){if(n.__esModule)return n;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(n).forEach(function(e){var r=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:function(){return n[e]}})}),t}const O=x,u=Symbol("max"),l=Symbol("length"),g=Symbol("lengthCalculator"),b=Symbol("allowStale"),c=Symbol("maxAge"),o=Symbol("dispose"),A=Symbol("noDisposeOnSet"),i=Symbol("lruList"),a=Symbol("cache"),S=Symbol("updateAgeOnGet"),v=()=>1;class _{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[u]=t.max||1/0;const e=t.length||v;if(this[g]=typeof e!="function"?v:e,this[b]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[c]=t.maxAge||0,this[o]=t.dispose,this[A]=t.noDisposeOnSet||!1,this[S]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[u]=t||1/0,d(this)}get max(){return this[u]}set allowStale(t){this[b]=!!t}get allowStale(){return this[b]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[c]=t,d(this)}get maxAge(){return this[c]}set lengthCalculator(t){typeof t!="function"&&(t=v),t!==this[g]&&(this[g]=t,this[l]=0,this[i].forEach(e=>{e.length=this[g](e.value,e.key),this[l]+=e.length})),d(this)}get lengthCalculator(){return this[g]}get length(){return this[l]}get itemCount(){return this[i].length}rforEach(t,e){e=e||this;for(let r=this[i].tail;r!==null;){const s=r.prev;E(this,t,r,e),r=s}}forEach(t,e){e=e||this;for(let r=this[i].head;r!==null;){const s=r.next;E(this,t,r,e),r=s}}keys(){return this[i].toArray().map(t=>t.key)}values(){return this[i].toArray().map(t=>t.value)}reset(){this[o]&&this[i]&&this[i].length&&this[i].forEach(t=>this[o](t.key,t.value)),this[a]=new Map,this[i]=new O,this[l]=0}dump(){return this[i].map(t=>w(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[i]}set(t,e,r){if(r=r||this[c],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,h=this[g](e,t);if(this[a].has(t)){if(h>this[u])return y(this,this[a].get(t)),!1;const m=this[a].get(t).value;return this[o]&&(this[A]||this[o](t,m.value)),m.now=s,m.maxAge=r,m.value=e,this[l]+=h-m.length,m.length=h,this.get(t),d(this),!0}const f=new T(t,e,h,s,r);return f.length>this[u]?(this[o]&&this[o](t,e),!1):(this[l]+=f.length,this[i].unshift(f),this[a].set(t,this[i].head),d(this),!0)}has(t){if(!this[a].has(t))return!1;const e=this[a].get(t).value;return!w(this,e)}get(t){return p(this,t,!0)}peek(t){return p(this,t,!1)}pop(){const t=this[i].tail;return t?(y(this,t),t.value):null}del(t){y(this,this[a].get(t))}load(t){this.reset();const e=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],h=s.e||0;if(h===0)this.set(s.k,s.v);else{const f=h-e;f>0&&this.set(s.k,s.v,f)}}}prune(){this[a].forEach((t,e)=>p(this,e,!1))}}const p=(n,t,e)=>{const r=n[a].get(t);if(r){const s=r.value;if(w(n,s)){if(y(n,r),!n[b])return}else e&&(n[S]&&(r.value.now=Date.now()),n[i].unshiftNode(r));return s.value}},w=(n,t)=>{if(!t||!t.maxAge&&!n[c])return!1;const e=Date.now()-t.now;return t.maxAge?e>t.maxAge:n[c]&&e>n[c]},d=n=>{if(n[l]>n[u])for(let t=n[i].tail;n[l]>n[u]&&t!==null;){const e=t.prev;y(n,t),t=e}},y=(n,t)=>{if(t){const e=t.value;n[o]&&n[o](e.key,e.value),n[l]-=e.length,n[a].delete(e.key),n[i].removeNode(t)}};class T{constructor(t,e,r,s,h){this.key=t,this.value=e,this.length=r,this.now=s,this.maxAge=h||0}}const E=(n,t,e,r)=>{let s=e.value;w(n,s)&&(y(n,e),n[b]||(s=void 0)),s&&t.call(r,s.value,s.key,n)};var j=_;export{G as a,C as c,N as g,j as l};

View file

@ -0,0 +1 @@
import{y as p}from"./yallist.fd762fe7.js";const T=p,u=Symbol("max"),o=Symbol("length"),g=Symbol("lengthCalculator"),v=Symbol("allowStale"),c=Symbol("maxAge"),l=Symbol("dispose"),S=Symbol("noDisposeOnSet"),i=Symbol("lruList"),h=Symbol("cache"),d=Symbol("updateAgeOnGet"),A=()=>1;class L{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[u]=t.max||1/0;const e=t.length||A;if(this[g]=typeof e!="function"?A:e,this[v]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[c]=t.maxAge||0,this[l]=t.dispose,this[S]=t.noDisposeOnSet||!1,this[d]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[u]=t||1/0,w(this)}get max(){return this[u]}set allowStale(t){this[v]=!!t}get allowStale(){return this[v]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[c]=t,w(this)}get maxAge(){return this[c]}set lengthCalculator(t){typeof t!="function"&&(t=A),t!==this[g]&&(this[g]=t,this[o]=0,this[i].forEach(e=>{e.length=this[g](e.value,e.key),this[o]+=e.length})),w(this)}get lengthCalculator(){return this[g]}get length(){return this[o]}get itemCount(){return this[i].length}rforEach(t,e){e=e||this;for(let s=this[i].tail;s!==null;){const r=s.prev;E(this,t,s,e),s=r}}forEach(t,e){e=e||this;for(let s=this[i].head;s!==null;){const r=s.next;E(this,t,s,e),s=r}}keys(){return this[i].toArray().map(t=>t.key)}values(){return this[i].toArray().map(t=>t.value)}reset(){this[l]&&this[i]&&this[i].length&&this[i].forEach(t=>this[l](t.key,t.value)),this[h]=new Map,this[i]=new T,this[o]=0}dump(){return this[i].map(t=>b(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[i]}set(t,e,s){if(s=s||this[c],s&&typeof s!="number")throw new TypeError("maxAge must be a number");const r=s?Date.now():0,a=this[g](e,t);if(this[h].has(t)){if(a>this[u])return y(this,this[h].get(t)),!1;const f=this[h].get(t).value;return this[l]&&(this[S]||this[l](t,f.value)),f.now=r,f.maxAge=s,f.value=e,this[o]+=a-f.length,f.length=a,this.get(t),w(this),!0}const m=new O(t,e,a,r,s);return m.length>this[u]?(this[l]&&this[l](t,e),!1):(this[o]+=m.length,this[i].unshift(m),this[h].set(t,this[i].head),w(this),!0)}has(t){if(!this[h].has(t))return!1;const e=this[h].get(t).value;return!b(this,e)}get(t){return x(this,t,!0)}peek(t){return x(this,t,!1)}pop(){const t=this[i].tail;return t?(y(this,t),t.value):null}del(t){y(this,this[h].get(t))}load(t){this.reset();const e=Date.now();for(let s=t.length-1;s>=0;s--){const r=t[s],a=r.e||0;if(a===0)this.set(r.k,r.v);else{const m=a-e;m>0&&this.set(r.k,r.v,m)}}}prune(){this[h].forEach((t,e)=>x(this,e,!1))}}const x=(n,t,e)=>{const s=n[h].get(t);if(s){const r=s.value;if(b(n,r)){if(y(n,s),!n[v])return}else e&&(n[d]&&(s.value.now=Date.now()),n[i].unshiftNode(s));return r.value}},b=(n,t)=>{if(!t||!t.maxAge&&!n[c])return!1;const e=Date.now()-t.now;return t.maxAge?e>t.maxAge:n[c]&&e>n[c]},w=n=>{if(n[o]>n[u])for(let t=n[i].tail;n[o]>n[u]&&t!==null;){const e=t.prev;y(n,t),t=e}},y=(n,t)=>{if(t){const e=t.value;n[l]&&n[l](e.key,e.value),n[o]-=e.length,n[h].delete(e.key),n[i].removeNode(t)}};class O{constructor(t,e,s,r,a){this.key=t,this.value=e,this.length=s,this.now=r,this.maxAge=a||0}}const E=(n,t,e,s)=>{let r=e.value;b(n,r)&&(y(n,e),n[v]||(r=void 0)),r&&t.call(s,r.value,r.key,n)};var k=L;export{k as l};

View file

@ -0,0 +1 @@
var d={};function C(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var I=function(e,r,t,a){r=r||"&",t=t||"=";var n={};if(typeof e!="string"||e.length===0)return n;var f=/\+/g;e=e.split(r);var i=1e3;a&&typeof a.maxKeys=="number"&&(i=a.maxKeys);var l=e.length;i>0&&l>i&&(l=i);for(var p=0;p<l;++p){var c=e[p].replace(f,"%20"),s=c.indexOf(t),m,g,o,y;s>=0?(m=c.substr(0,s),g=c.substr(s+1)):(m=c,g=""),o=decodeURIComponent(m),y=decodeURIComponent(g),C(n,o)?Array.isArray(n[o])?n[o].push(y):n[o]=[n[o],y]:n[o]=y}return n},u=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},R=function(e,r,t,a){return r=r||"&",t=t||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(n){var f=encodeURIComponent(u(n))+t;return Array.isArray(e[n])?e[n].map(function(i){return f+encodeURIComponent(u(i))}).join(r):f+encodeURIComponent(u(e[n]))}).join(r):a?encodeURIComponent(u(a))+t+encodeURIComponent(u(e)):""};d.decode=d.parse=I;d.encode=d.stringify=R;export{d as q};

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{g as Ue}from"./lru-cache.9506e0ec.js";/**!
import{g as Ue}from"./earcut.b6f90e68.js";/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
import{g as f}from"./lru-cache.9506e0ec.js";import{r as i,i as m,N as r,c as u,e as p,a as S,E as h,R as v,b as R,d as C,f as y,g as w,h as g,j as b,k as T,l as E,m as x,n as k,o as M,p as D,q as P,s as V,t as A,u as B,v as H,w as N,x as F,y as U,z,A as I,B as K,C as O,D as j,F as _,G as q,H as W,I as L,J as G,K as $,L as J,M as Q,O as X,P as Y,S as Z,Q as ee,T as ae,U as se,V as oe,W as te,X as re,Y as ne,Z as ie,_ as ce,$ as le,a0 as de,a1 as fe,a2 as me,a3 as ue,a4 as pe,a5 as Se,a6 as he,a7 as ve,a8 as Re,a9 as Ce,aa as ye,ab as we,ac as ge,ad as be,ae as Te,af as Ee,ag as xe,ah as ke,ai as Me,aj as De,ak as Pe,al as Ve,am as Ae,an as Be,ao as He,ap as Ne,aq as Fe,ar as Ue,as as ze,at as Ie,au as Ke,av as Oe,aw as je,ax as _e,ay as qe,az as We,aA as Le,aB as Ge,aC as $e,aD as Je,aE as Qe,aF as Xe,aG as Ye,aH as Ze,aI as ea,aJ as aa,aK as sa,aL as oa,aM as ta,aN as ra,aO as na,aP as ia,aQ as ca,aR as la,aS as da,aT as fa,aU as ma,aV as ua,aW as pa,aX as Sa,aY as ha,aZ as va,a_ as Ra,a$ as Ca,b0 as ya,b1 as wa,b2 as ga,b3 as ba,b4 as Ta,b5 as Ea,b6 as xa,b7 as ka,b8 as Ma,b9 as Da,ba as Pa,bb as Va,bc as Aa,bd as Ba,be as Ha,bf as Na,bg as Fa,bh as Ua,bi as za,bj as Ia,bk as Ka,bl as Oa,bm as ja,bn as _a,bo as qa,bp as Wa,bq as La,br as Ga,bs as $a,bt as Ja,bu as Qa}from"./@vue.4ce677c2.js";const n=Object.create(null);function c(e,l){if(!m(e))if(e.nodeType)e=e.innerHTML;else return r;const a=e,s=n[a];if(s)return s;if(e[0]==="#"){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:d}=u(e,p({hoistStatic:!0,onError:void 0,onWarn:r},l)),o=new Function("Vue",d)(S);return o._rc=!0,n[a]=o}i(c);var Xa=Object.freeze(Object.defineProperty({__proto__:null,compile:c,EffectScope:h,ReactiveEffect:v,customRef:R,effect:C,effectScope:y,getCurrentScope:w,isProxy:g,isReactive:b,isReadonly:T,isRef:E,isShallow:x,markRaw:k,onScopeDispose:M,proxyRefs:D,reactive:P,readonly:V,ref:A,shallowReactive:B,shallowReadonly:H,shallowRef:N,stop:F,toRaw:U,toRef:z,toRefs:I,triggerRef:K,unref:O,camelize:j,capitalize:_,normalizeClass:q,normalizeProps:W,normalizeStyle:L,toDisplayString:G,toHandlerKey:$,BaseTransition:J,Comment:Q,Fragment:X,KeepAlive:Y,Static:Z,Suspense:ee,Teleport:ae,Text:se,callWithAsyncErrorHandling:oe,callWithErrorHandling:te,cloneVNode:re,compatUtils:ne,computed:ie,createBlock:ce,createCommentVNode:le,createElementBlock:de,createElementVNode:fe,createHydrationRenderer:me,createPropsRestProxy:ue,createRenderer:pe,createSlots:Se,createStaticVNode:he,createTextVNode:ve,createVNode:Re,defineAsyncComponent:Ce,defineComponent:ye,defineEmits:we,defineExpose:ge,defineProps:be,get devtools(){return Te},getCurrentInstance:Ee,getTransitionRawChildren:xe,guardReactiveProps:ke,h:Me,handleError:De,initCustomFormatter:Pe,inject:Ve,isMemoSame:Ae,isRuntimeOnly:Be,isVNode:He,mergeDefaults:Ne,mergeProps:Fe,nextTick:Ue,onActivated:ze,onBeforeMount:Ie,onBeforeUnmount:Ke,onBeforeUpdate:Oe,onDeactivated:je,onErrorCaptured:_e,onMounted:qe,onRenderTracked:We,onRenderTriggered:Le,onServerPrefetch:Ge,onUnmounted:$e,onUpdated:Je,openBlock:Qe,popScopeId:Xe,provide:Ye,pushScopeId:Ze,queuePostFlushCb:ea,registerRuntimeCompiler:i,renderList:aa,renderSlot:sa,resolveComponent:oa,resolveDirective:ta,resolveDynamicComponent:ra,resolveFilter:na,resolveTransitionHooks:ia,setBlockTracking:ca,setDevtoolsHook:la,setTransitionHooks:da,ssrContextKey:fa,ssrUtils:ma,toHandlers:ua,transformVNodeArgs:pa,useAttrs:Sa,useSSRContext:ha,useSlots:va,useTransitionState:Ra,version:Ca,warn:ya,watch:wa,watchEffect:ga,watchPostEffect:ba,watchSyncEffect:Ta,withAsyncContext:Ea,withCtx:xa,withDefaults:ka,withDirectives:Ma,withMemo:Da,withScopeId:Pa,Transition:Va,TransitionGroup:Aa,VueElement:Ba,createApp:Ha,createSSRApp:Na,defineCustomElement:Fa,defineSSRCustomElement:Ua,hydrate:za,initDirectivesForSSR:Ia,render:Ka,useCssModule:Oa,useCssVars:ja,vModelCheckbox:_a,vModelDynamic:qa,vModelRadio:Wa,vModelSelect:La,vModelText:Ga,vShow:$a,withKeys:Ja,withModifiers:Qa},Symbol.toStringTag,{value:"Module"})),es=f(Xa);export{es as r};

View file

@ -0,0 +1 @@
import{g as f}from"./earcut.b6f90e68.js";import{r as i,i as m,N as r,c as u,e as p,a as S,E as h,R as v,b as R,d as C,f as y,g as w,h as g,j as b,k as T,l as E,m as x,n as k,o as M,p as D,q as P,s as V,t as A,u as B,v as H,w as N,x as F,y as U,z,A as I,B as K,C as O,D as j,F as _,G as q,H as W,I as L,J as G,K as $,L as J,M as Q,O as X,P as Y,S as Z,Q as ee,T as ae,U as se,V as oe,W as te,X as re,Y as ne,Z as ie,_ as ce,$ as le,a0 as de,a1 as fe,a2 as me,a3 as ue,a4 as pe,a5 as Se,a6 as he,a7 as ve,a8 as Re,a9 as Ce,aa as ye,ab as we,ac as ge,ad as be,ae as Te,af as Ee,ag as xe,ah as ke,ai as Me,aj as De,ak as Pe,al as Ve,am as Ae,an as Be,ao as He,ap as Ne,aq as Fe,ar as Ue,as as ze,at as Ie,au as Ke,av as Oe,aw as je,ax as _e,ay as qe,az as We,aA as Le,aB as Ge,aC as $e,aD as Je,aE as Qe,aF as Xe,aG as Ye,aH as Ze,aI as ea,aJ as aa,aK as sa,aL as oa,aM as ta,aN as ra,aO as na,aP as ia,aQ as ca,aR as la,aS as da,aT as fa,aU as ma,aV as ua,aW as pa,aX as Sa,aY as ha,aZ as va,a_ as Ra,a$ as Ca,b0 as ya,b1 as wa,b2 as ga,b3 as ba,b4 as Ta,b5 as Ea,b6 as xa,b7 as ka,b8 as Ma,b9 as Da,ba as Pa,bb as Va,bc as Aa,bd as Ba,be as Ha,bf as Na,bg as Fa,bh as Ua,bi as za,bj as Ia,bk as Ka,bl as Oa,bm as ja,bn as _a,bo as qa,bp as Wa,bq as La,br as Ga,bs as $a,bt as Ja,bu as Qa}from"./@vue.4ce677c2.js";const n=Object.create(null);function c(e,l){if(!m(e))if(e.nodeType)e=e.innerHTML;else return r;const a=e,s=n[a];if(s)return s;if(e[0]==="#"){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:d}=u(e,p({hoistStatic:!0,onError:void 0,onWarn:r},l)),o=new Function("Vue",d)(S);return o._rc=!0,n[a]=o}i(c);var Xa=Object.freeze(Object.defineProperty({__proto__:null,compile:c,EffectScope:h,ReactiveEffect:v,customRef:R,effect:C,effectScope:y,getCurrentScope:w,isProxy:g,isReactive:b,isReadonly:T,isRef:E,isShallow:x,markRaw:k,onScopeDispose:M,proxyRefs:D,reactive:P,readonly:V,ref:A,shallowReactive:B,shallowReadonly:H,shallowRef:N,stop:F,toRaw:U,toRef:z,toRefs:I,triggerRef:K,unref:O,camelize:j,capitalize:_,normalizeClass:q,normalizeProps:W,normalizeStyle:L,toDisplayString:G,toHandlerKey:$,BaseTransition:J,Comment:Q,Fragment:X,KeepAlive:Y,Static:Z,Suspense:ee,Teleport:ae,Text:se,callWithAsyncErrorHandling:oe,callWithErrorHandling:te,cloneVNode:re,compatUtils:ne,computed:ie,createBlock:ce,createCommentVNode:le,createElementBlock:de,createElementVNode:fe,createHydrationRenderer:me,createPropsRestProxy:ue,createRenderer:pe,createSlots:Se,createStaticVNode:he,createTextVNode:ve,createVNode:Re,defineAsyncComponent:Ce,defineComponent:ye,defineEmits:we,defineExpose:ge,defineProps:be,get devtools(){return Te},getCurrentInstance:Ee,getTransitionRawChildren:xe,guardReactiveProps:ke,h:Me,handleError:De,initCustomFormatter:Pe,inject:Ve,isMemoSame:Ae,isRuntimeOnly:Be,isVNode:He,mergeDefaults:Ne,mergeProps:Fe,nextTick:Ue,onActivated:ze,onBeforeMount:Ie,onBeforeUnmount:Ke,onBeforeUpdate:Oe,onDeactivated:je,onErrorCaptured:_e,onMounted:qe,onRenderTracked:We,onRenderTriggered:Le,onServerPrefetch:Ge,onUnmounted:$e,onUpdated:Je,openBlock:Qe,popScopeId:Xe,provide:Ye,pushScopeId:Ze,queuePostFlushCb:ea,registerRuntimeCompiler:i,renderList:aa,renderSlot:sa,resolveComponent:oa,resolveDirective:ta,resolveDynamicComponent:ra,resolveFilter:na,resolveTransitionHooks:ia,setBlockTracking:ca,setDevtoolsHook:la,setTransitionHooks:da,ssrContextKey:fa,ssrUtils:ma,toHandlers:ua,transformVNodeArgs:pa,useAttrs:Sa,useSSRContext:ha,useSlots:va,useTransitionState:Ra,version:Ca,warn:ya,watch:wa,watchEffect:ga,watchPostEffect:ba,watchSyncEffect:Ta,withAsyncContext:Ea,withCtx:xa,withDefaults:ka,withDirectives:Ma,withMemo:Da,withScopeId:Pa,Transition:Va,TransitionGroup:Aa,VueElement:Ba,createApp:Ha,createSSRApp:Na,defineCustomElement:Fa,defineSSRCustomElement:Ua,hydrate:za,initDirectivesForSSR:Ia,render:Ka,useCssModule:Oa,useCssVars:ja,vModelCheckbox:_a,vModelDynamic:qa,vModelRadio:Wa,vModelSelect:La,vModelText:Ga,vShow:$a,withKeys:Ja,withModifiers:Qa},Symbol.toStringTag,{value:"Module"})),es=f(Xa);export{es as r};

File diff suppressed because one or more lines are too long

View file

@ -33,28 +33,34 @@
<title>Profectus</title>
<meta name="description" content="A project made in Profectus"/>
<script type="module" crossorigin src="./assets/index.624ae6e9.js"></script>
<link rel="modulepreload" href="./assets/yallist.fd762fe7.js">
<link rel="modulepreload" href="./assets/lru-cache.9506e0ec.js">
<script type="module" crossorigin src="./assets/index.43d4d036.js"></script>
<link rel="modulepreload" href="./assets/earcut.b6f90e68.js">
<link rel="modulepreload" href="./assets/@vue.4ce677c2.js">
<link rel="modulepreload" href="./assets/vue.5bd9f35e.js">
<link rel="modulepreload" href="./assets/vue.f6263579.js">
<link rel="modulepreload" href="./assets/nanoevents.1080beb7.js">
<link rel="modulepreload" href="./assets/lz-string.f2f3b7cf.js">
<link rel="modulepreload" href="./assets/sortablejs.80af5380.js">
<link rel="modulepreload" href="./assets/vuedraggable.832ed13e.js">
<link rel="modulepreload" href="./assets/vue-next-select.8d9e0122.js">
<link rel="modulepreload" href="./assets/sortablejs.cbae5b2d.js">
<link rel="modulepreload" href="./assets/vuedraggable.c3acdf62.js">
<link rel="modulepreload" href="./assets/vue-next-select.0dc4e443.js">
<link rel="modulepreload" href="./assets/vue-textarea-autosize.35804eaf.js">
<link rel="modulepreload" href="./assets/semver.d101e2be.js">
<link rel="modulepreload" href="./assets/yallist.fd762fe7.js">
<link rel="modulepreload" href="./assets/lru-cache.9a21e90b.js">
<link rel="modulepreload" href="./assets/semver.83ff78cf.js">
<link rel="modulepreload" href="./assets/engine.io-parser.3f360695.js">
<link rel="modulepreload" href="./assets/@socket.io.aec831e2.js">
<link rel="modulepreload" href="./assets/engine.io-client.58517560.js">
<link rel="modulepreload" href="./assets/socket.io-parser.544e37d1.js">
<link rel="modulepreload" href="./assets/socket.io-client.79ce0df5.js">
<link rel="modulepreload" href="./assets/vue-toastification.b272a510.js">
<link rel="modulepreload" href="./assets/vue-toastification.b7cd620e.js">
<link rel="modulepreload" href="./assets/ismobilejs.5c6954b9.js">
<link rel="modulepreload" href="./assets/eventemitter3.dc5195d7.js">
<link rel="modulepreload" href="./assets/querystring.23ae9a54.js">
<link rel="modulepreload" href="./assets/url.e51cb87b.js">
<link rel="modulepreload" href="./assets/@pixi.1eac1889.js">
<link rel="modulepreload" href="./assets/workbox-window.8d14e8b7.js">
<link rel="stylesheet" href="./assets/vue-next-select.9e6f4164.css">
<link rel="stylesheet" href="./assets/vue-toastification.4b5f8ac8.css">
<link rel="stylesheet" href="./assets/index.7f7e174e.css">
<link rel="stylesheet" href="./assets/index.9f7b96f7.css">
<link rel="stylesheet" href="./assets/@fontsource.f66d05e7.css">
<link rel="manifest" href="./manifest.webmanifest"></head>
<body>

BIN
ludwig/particle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

View file

@ -1 +1 @@
if(!self.define){let e,s={};const i=(i,l)=>(i=new URL(i+".js",l).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didnt register its module`);return e})));self.define=(l,n)=>{const r=e||("document"in self?document.currentScript.src:"")||location.href;if(s[r])return;let o={};const t=e=>i(e,r),u={module:{uri:r},exports:o,require:t};s[r]=Promise.all(l.map((e=>u[e]||t(e)))).then((e=>(n(...e),o)))}}define(["./workbox-958fa2bd"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"assets/@fontsource.f66d05e7.css",revision:null},{url:"assets/@socket.io.aec831e2.js",revision:null},{url:"assets/@vue.4ce677c2.js",revision:null},{url:"assets/engine.io-client.58517560.js",revision:null},{url:"assets/engine.io-parser.3f360695.js",revision:null},{url:"assets/gameLoop.ed7f4ea7.js",revision:null},{url:"assets/index.624ae6e9.js",revision:null},{url:"assets/index.7f7e174e.css",revision:null},{url:"assets/lru-cache.9506e0ec.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/semver.d101e2be.js",revision:null},{url:"assets/socket.io-client.79ce0df5.js",revision:null},{url:"assets/socket.io-parser.544e37d1.js",revision:null},{url:"assets/sortablejs.80af5380.js",revision:null},{url:"assets/vue-next-select.8d9e0122.js",revision:null},{url:"assets/vue-next-select.9e6f4164.css",revision:null},{url:"assets/vue-textarea-autosize.35804eaf.js",revision:null},{url:"assets/vue-toastification.4b5f8ac8.css",revision:null},{url:"assets/vue-toastification.b272a510.js",revision:null},{url:"assets/vue.5bd9f35e.js",revision:null},{url:"assets/vuedraggable.832ed13e.js",revision:null},{url:"assets/workbox-window.8d14e8b7.js",revision:null},{url:"assets/yallist.fd762fe7.js",revision:null},{url:"index.html",revision:"04421e7d384efe628d9e82f5bdc694a3"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"robots.txt",revision:"5e0bd1c281a62a380d7a948085bfe2d1"},{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"manifest.webmanifest",revision:"f93609f5a1f787be307fe537f0c532f3"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}));
if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didnt register its module`);return s})));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const t=s=>i(s,r),o={module:{uri:r},exports:u,require:t};e[r]=Promise.all(l.map((s=>o[s]||t(s)))).then((s=>(n(...s),u)))}}define(["./workbox-958fa2bd"],(function(s){"use strict";self.addEventListener("message",(s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()})),s.precacheAndRoute([{url:"assets/@fontsource.f66d05e7.css",revision:null},{url:"assets/@pixi.1eac1889.js",revision:null},{url:"assets/@socket.io.aec831e2.js",revision:null},{url:"assets/@vue.4ce677c2.js",revision:null},{url:"assets/earcut.b6f90e68.js",revision:null},{url:"assets/engine.io-client.58517560.js",revision:null},{url:"assets/engine.io-parser.3f360695.js",revision:null},{url:"assets/eventemitter3.dc5195d7.js",revision:null},{url:"assets/gameLoop.67963716.js",revision:null},{url:"assets/index.43d4d036.js",revision:null},{url:"assets/index.9f7b96f7.css",revision:null},{url:"assets/ismobilejs.5c6954b9.js",revision:null},{url:"assets/lru-cache.9a21e90b.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/querystring.23ae9a54.js",revision:null},{url:"assets/semver.83ff78cf.js",revision:null},{url:"assets/socket.io-client.79ce0df5.js",revision:null},{url:"assets/socket.io-parser.544e37d1.js",revision:null},{url:"assets/sortablejs.cbae5b2d.js",revision:null},{url:"assets/url.e51cb87b.js",revision:null},{url:"assets/vue-next-select.0dc4e443.js",revision:null},{url:"assets/vue-next-select.9e6f4164.css",revision:null},{url:"assets/vue-textarea-autosize.35804eaf.js",revision:null},{url:"assets/vue-toastification.4b5f8ac8.css",revision:null},{url:"assets/vue-toastification.b7cd620e.js",revision:null},{url:"assets/vue.f6263579.js",revision:null},{url:"assets/vuedraggable.c3acdf62.js",revision:null},{url:"assets/workbox-window.8d14e8b7.js",revision:null},{url:"assets/yallist.fd762fe7.js",revision:null},{url:"index.html",revision:"a38c787b064141974942a14b630bf4da"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"robots.txt",revision:"5e0bd1c281a62a380d7a948085bfe2d1"},{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"manifest.webmanifest",revision:"f93609f5a1f787be307fe537f0c532f3"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))}));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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 achievement should have an id where the first digit is the row and the second digit is the column. Individual achievement can have these features:</p><ul><li><p>name: <strong>optional</strong>, displayed at the top of the achievement. The only visible text. It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>done(): A function returning a boolean to determine if the achievement should be awarded.</p></li><li><p>tooltip: Default tooltip for the achievement, appears when it is hovered over. Should convey the goal and any reward for completing the achievement. 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 achievement. Can return a value or an object containing multiple values.</p></li><li><p>unlocked(): <strong>optional</strong>, A function returning a bool to determine if the achievement is visible or not. Default is unlocked.</p></li><li><p>onComplete() - <strong>optional</strong>, this function will be called when the achievement is completed.</p></li><li><p>style: <strong>Optional</strong>, Applies CSS to this achievement, 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&#39;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&#39;s the &quot;key&quot; which the achievement was stored under, for convenient access. The achievement in the example&#39;s id is 11.</p></li><li><p>goalTooltip: <strong>optional, depracated</strong> Appears when the achievement is hovered over and locked, overrides the basic tooltip. This is to display the goal (or a hint). It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>doneTooltip: <strong>optional, depracated</strong> Appears when the achievement is hovered over and completed, overrides the basic tooltip. This can display what the player achieved (the goal), and the rewards, if any. It can also be a function that returns updating text. Can use basic HTML.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -29,7 +29,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>Features:</p><ul><li><p>direction: UP, DOWN, LEFT, or RIGHT (not Strings). Determines the direction that the bar is filled as it progresses. RIGHT means from left to right.</p></li><li><p>width, height: The size in pixels of the bar, but as Numbers (no &quot;px&quot; at the end)</p></li><li><p>progress(): A function that returns the portion of the bar that is filled, from &quot;empty&quot; at 0 to &quot;full&quot; at 1. (Nothing bad happens if the value goes out of these bounds, and it can be a number or Decimal).</p></li><li><p>display(): <strong>optional</strong>, A function that returns text to be displayed on top of the bar, can use HTML.</p></li><li><p>unlocked(): <strong>optional</strong>, A function returning a bool to determine if the bar is visible or not. Default is unlocked.</p></li><li><p>baseStyle, fillStyle, borderStyle, textStyle: <strong>Optional</strong>, Apply CSS to the unfilled portion, filled portion, border, and display text on the bar, 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&#39;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&#39;s the &quot;key&quot; which the bar was stored under, for convenient access. The bar in the example&#39;s id is &quot;bigBar&quot;.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -50,7 +50,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#82AAFF;">layerShown</span><span style="color:#F07178;">() </span><span style="color:#89DDFF;">{</span><span style="color:#89DDFF;">return</span><span style="color:#F07178;"> </span><span style="color:#FF9CAC;">true</span><span style="color:#89DDFF;">},</span><span style="color:#F07178;"> </span><span style="color:#676E95;">// Returns a bool for if this layer&#39;s node should be visible in the tree.</span></span>
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">},</span></span>
<span class="line"></span></code></pre></div></div></div></main><!--[--><!--]--><!----><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -36,7 +36,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>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.</p></li><li><p>cost(): cost for buying the next buyable. Can have an optional argument &quot;x&quot; to calculate the cost of the x+1th object, but needs to use &quot;current amount&quot; as a default value for x. (x is a Decimal). Can return an object if there are multiple currencies.</p></li><li><p>effect(): <strong>optional</strong>, A function that calculates and returns the current values of bonuses of this buyable. Can return a value or an object containing multiple values.</p></li><li><p>display(): A function returning everything that should be displayed on the buyable after the title, likely including the description, amount bought, cost, and current effect. Can use basic HTML.</p></li><li><p>unlocked(): <strong>optional</strong>, A function returning a bool to determine if the buyable is visible or not. Default is unlocked.</p></li><li><p>canAfford(): A function returning a bool to determine if you can buy one of the buyables.</p></li><li><p>buy(): A function that implements buying one of the buyable, including spending the currency.</p></li><li><p>buyMax(): <strong>optional</strong>, A function that implements buying as many of the buyable as possible.</p></li><li><p>style: <strong>Optional</strong>, Applies CSS to this buyable, 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&#39;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&#39;s the &quot;key&quot; which the buyable was stored under, for convenient access. The buyable in the example&#39;s id is 11.</p></li></ul><p>Sell One/Sell All:</p><p>Including a sellOne or sellAll function will cause an additional button to appear beneath the buyable. They are functionally identical, but &quot;sell one&quot; appears above &quot;sell all&quot;. You can also use them for other things.</p><p>sellOne/sellAll(): <strong>optional</strong>, Called when the button is pressed. The standard use would be to decrease/reset the amount of the buyable, And possibly return some currency to the player.</p><p>canSellOne/canSellAll(): <strong>optional</strong>, booleans determining whether or not to show the buttons. If &quot;canSellOne/All&quot; is absent but &quot;sellOne/All&quot; is present, the appropriate button will always show.</p></div></div></main><!--[--><!--]--><!----><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -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 challenge should have an id where the first digit is the row and the second digit is the column. Individual Challenges can have these features:</p><ul><li><p>name: Name of the challenge, can be a string or a function. Can use basic HTML.</p></li><li><p>challengeDescription: A description of what makes the challenge a challenge. <em>You will need to implement these elsewhere</em> It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>rewardDescription: A description of the reward&#39;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>rewardEffect(): <strong>optional</strong>, A function that calculates and returns the current values of any bonuses from the reward. Can return a value or an object containing multiple values. Can use basic HTML.</p></li><li><p>rewardDisplay(): <strong>optional</strong>, A function that returns a display of the current effects of the reward with formatting. Default behavior is to just display the a number appropriately formatted.</p></li><li><p>goal: A Decimal for the amount of currency required to beat the challenge. By default, the goal is in basic Points. The goal can also be a function if its value changes.</p></li><li><p>unlocked(): <strong>optional</strong>, A function returning a bool to determine if the challenge is visible or not. Default is unlocked.</p></li><li><p>onComplete() - <strong>optional</strong>, this function will be called when the challenge is completed when previously incomplete.</p></li><li><p>countsAs: <strong>optional</strong>, If a challenge combines the effects of other challenges in this layer, you can use this. An array of challenge ids. The player is effectively in all of those challenges when in the current one.</p></li></ul><p>By default, challenges use basic Points for the goal. You can change that using these features.</p><ul><li><p>currencyDisplayName: <strong>optional</strong>, the name to display for the currency for the goal</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&#39;s not in a layer, omit. If it&#39;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&#39;s amount), you can access it this way. This is a function returning the object in &quot;player&quot; that contains the value (like player[this.layer].buyables)</p></li><li><p>completionLimit: <strong>optional</strong>, the amount of times you can complete this challenge. Default is 1 completion.</p></li><li><p>style: <strong>Optional</strong>, Applies CSS to this challenge, 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&#39;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&#39;s the &quot;key&quot; which the challenge was stored under, for convenient access. The challenge in the example&#39;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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -35,7 +35,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>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.</p></li><li><p>effect(): <strong>optional</strong>, A function that calculates and returns the current values of bonuses of this clickable. Can return a value or an object containing multiple values.</p></li><li><p>display(): A function returning everything that should be displayed on the clickable after the title, likely changing based on its state. Can use basic HTML.</p></li><li><p>unlocked(): <strong>optional</strong>, A function returning a bool to determine if the clickable is visible or not. Default is unlocked.</p></li><li><p>canClick(): A function returning a bool to determine if you can click the clickable.</p></li><li><p>onClick(): A function that implements clicking one of the clickable.</p></li><li><p>style: <strong>Optional</strong>, Applies CSS to this clickable, 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&#39;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&#39;s the &quot;key&quot; which the clickable was stored under, for convenient access. The clickable in the example&#39;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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -31,7 +31,7 @@
<span class="line"><span style="color:#A6ACCD;"> [</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">toggle</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> [</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">c</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">beep</span><span style="color:#89DDFF;">&quot;</span><span style="color:#A6ACCD;">]]</span><span style="color:#89DDFF;">,</span></span>
<span class="line"><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">milestones</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">blank</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">blank</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">upgrades</span><span style="color:#89DDFF;">&quot;</span><span style="color:#A6ACCD;">]</span></span>
<span class="line"></span></code></pre></div><p>It is a list of components, which can be either just a name, or an array with arguments. If it&#39;s an array, the first item is the name of the component, the second is the data passed into it, and the third (optional) applies a CSS style to it with a &quot;CSS object&quot;, where the keys are CSS attributes.</p><p>These are the existing components, but you can create more in v.js:</p><ul><li><p>display-text: Displays some text (can use basic HTML). The argument is the text to display. It can also be a function that returns updating text.</p></li><li><p>raw-html: Displays some basic HTML, can also be a function.</p></li><li><p>blank: Adds empty space. The default dimensions are 8px x 17px. The argument changes the dimensions. If it&#39;s a single value (e.g. &quot;20px&quot;), that determines the height. If you have a pair of arguments, the first is width and the second is height.</p></li><li><p>row: Display a list of components horizontally. The argument is an array of components in the tab layout format.</p></li><li><p>column: Display a list of components vertically. The argument is an array of components in the tab layout format. This is useful to display columns within a row.</p></li><li><p>main-display: The text that displays the main currency for the layer and its effects.</p></li><li><p>resource-display: The text that displays the currency that this layer is based on, as well as the best and/or total values for this layer&#39;s prestige currency (if they are put in startData for this layer)</p></li><li><p>prestige-button: The argument is a string that the prestige button should say before the amount of currency you will gain. It can also be a function that returns updating text.</p></li><li><p>upgrades, milestones, challs, achievements: Display the upgrades, milestones, and challenges for a layer, as appropriate.</p></li><li><p>buyables, clickables: Display all of the buyables/clickables for this layer, as appropriate. The argument optional, and is the size of the boxes in pixels.</p></li><li><p>microtabs: Display a set of subtabs for an area. The argument is the name of the set of microtabs in the &quot;microtabs&quot; feature.</p></li><li><p>bar: Display a bar. The argument is the id of the bar to display.</p></li><li><p>infobox: Display an infobox. The argument is the id of the infobox to display.</p></li><li><p>toggle: A toggle button that toggles a bool value. The data is a pair that identifies what bool to toggle, [layer, id]</p></li></ul><p>The rest of the components are sub-components. They can be used just like other components, but are typically part of another component.</p><ul><li><p>upgrade, milestone, chall, buyable, clickable, achievement: An individual upgrade, challenge, etc. The argument is the id. This can be used if you want to have upgrades split up across multiple subtabs, for example.</p></li><li><p>respec-button, master-button: The respec and master buttons for buyables and clickables, respectively.</p></li><li><p>sell-one, sell-all: The &quot;sell one&quot; and &quot;sell all&quot; for buyables, respectively. The argument is the id of the buyable.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

File diff suppressed because one or more lines are too long

View file

@ -29,7 +29,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>Features:</p><ul><li><p>title: The text displayed above the main box. Can be a function to be dynamic, and can use basic HTML.</p></li><li><p>body: The text displayed inside the box. Can be a function to be dynamic, and can use basic HTML.</p></li><li><p>style, titleStyle, bodyStyle: <strong>Optional</strong>, Apply CSS to the infobox, or to the title button or body of the infobox, 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>unlocked(): <strong>optional</strong>, A function returning a bool to determine if the infobox is visible or not. Default is unlocked.</p></li><li><p>layer: <strong>Assigned automagically</strong>. It&#39;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&#39;s the &quot;key&quot; which the bar was stored under, for convenient access. The bar in the example&#39;s id is &quot;bigBar&quot;.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -39,7 +39,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">prestige-button</span><span style="color:#89DDFF;">&quot;</span><span style="color:#F07178;">() </span><span style="color:#89DDFF;">{</span><span style="color:#89DDFF;">return</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">{</span><span style="color:#89DDFF;">&#39;</span><span style="color:#F07178;">color</span><span style="color:#89DDFF;">&#39;</span><span style="color:#89DDFF;">:</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">&#39;</span><span style="color:#C3E88D;">#AA66AA</span><span style="color:#89DDFF;">&#39;</span><span style="color:#89DDFF;">}},</span></span>
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">},</span></span>
<span class="line"></span></code></pre></div><h2 id="custom-prestige-type" tabindex="-1">Custom Prestige type <a class="header-anchor" href="#custom-prestige-type" aria-hidden="true">#</a></h2><ul><li><p>getResetGain(): <strong>For custom prestige type</strong>, Returns how many points you should get if you reset now. You can call getResetGain(this.layer, useType = &quot;static&quot;) or similar to calculate what your gain would be under another prestige type (provided you have all of the required features in the layer.)</p></li><li><p>getNextAt(canMax=false): <strong>For custom prestige type</strong>, Returns how many of the base currency you need to get to the next point. canMax is an optional variable used with Static-ish layers to differentiate between if it&#39;s looking for the first point you can reset at, or the requirement for any gain at all. (Supporting both is good). You can also call getNextAt(this.layer, canMax=false, useType = &quot;static&quot;) or similar to calculate what your next at would be under another prestige type (provided you have all of the required features in the layer.)</p></li><li><p>canReset(): <strong>For custom prestige type</strong>, return true only if you have the resources required to do a prestige here.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -28,7 +28,7 @@
<span class="line"><span style="color:#F07178;"> happiness</span><span style="color:#89DDFF;">:</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">new</span><span style="color:#F07178;"> </span><span style="color:#82AAFF;">Decimal</span><span style="color:#F07178;">(</span><span style="color:#F78C6C;">72</span><span style="color:#F07178;">)</span><span style="color:#89DDFF;">,</span></span>
<span class="line"><span style="color:#89DDFF;">}}</span></span>
<span class="line"></span></code></pre></div><ul><li><p>displayThings: An array of functions used to display extra things at the top of the tree tab. Each function returns a string, which is a line to display (with basic HTML support). If a function returns nothing, nothing is displayed (and it doesn&#39;t take up a line).</p></li><li><p>isEndgame(): A function to determine if the player has reached the end of the game, at which point the &quot;you win!&quot; screen appears.</p></li></ul><p>Less important things beyond this point!</p><ul><li>maxTickLength(): Returns the maximum tick length, in milliseconds. Only really useful if you have something that reduces over time, which long ticks mess up (usually a challenge).</li></ul></div></div></main><!--[--><!--]--><!----><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -29,7 +29,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>You can use hasMilestone(layer, id) to determine if the player has a given milestone</p><p>Milestone features:</p><ul><li><p>requirementDesc: A string describing the requirement for unlocking this milestone. Suggestion: Use a &quot;total&quot;. It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>effectDesc: A string describing the reward for having the milestone. <em>You will have to implement the reward elsewhere.</em> It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>done(): A function returning a boolean to determine if the milestone should be awarded.</p></li><li><p>toggles: <em>optional</em>, Creates toggle buttons that appear on the milestone when it is unlocked. The toggles can toggle a given boolean value in a layer. It is defined as an array of paired items, one pair per toggle. The first is the internal name of the layer the value being toggled is stored in, and the second is the internal name of the variable to toggle. (e.g. [[&quot;b&quot;, &quot;auto&quot;], [&quot;g&quot;, &quot;auto&quot;])</p><pre><code> **Tip:** Toggles are not de-set if the milestone becomes locked! In this case, you should also check if the player has the milestone.
</code></pre></li><li><p>style: <strong>Optional</strong>, Applies CSS to this milestone, 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>unlocked(): <strong>Optional</strong> A function returning a boolean to determine if the milestone should be shown. If absent, it is always shown.</p></li><li><p>layer: <strong>Assigned automagically</strong>. It&#39;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&#39;s the &quot;key&quot; which the milestone was stored under, for convenient access. The milestone in the example&#39;s id is 0.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -46,7 +46,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">}</span></span>
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">},</span></span>
<span class="line"></span></code></pre></div><p>Normal subtabs and microtab subtabs both use the same features:</p><h1 id="features" tabindex="-1">Features: <a class="header-anchor" href="#features" aria-hidden="true">#</a></h1><ul><li><p>content: The tab layout code for the subtab, in <a href="./custom-tab-layouts">the tab layout format</a></p></li><li><p>style: <strong>Optional</strong>, Applies CSS to the whole subtab when switched to, in the form of an &quot;CSS Object&quot;, where the keys are CSS attributes, and the values are the values for those attributes (both as strings)</p></li><li><p>buttonStyle: <strong>Optional</strong>, A CSS object, which affects the appearance of the button for that subtab.</p></li><li><p>unlocked(): <strong>Optional</strong>, a function to determine if the button for this subtab should be visible. By default, a subtab is always unlocked. (You can&#39;t use the &quot;this&quot; keyword in this function.)</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

File diff suppressed because one or more lines are too long

View file

@ -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&#39;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 &quot;makes this layer act like it was unlocked first&quot;.</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&#39;s not in a layer (like Points), omit. If it&#39;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&#39;s amount), you can access it this way. This is a function returning the object in &quot;player&quot; 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&#39;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&#39;s the &quot;key&quot; which the upgrade was stored under, for convenient access. The upgrade in the example&#39;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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -29,7 +29,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#A6ACCD;">etc</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>Usually, each achievement should have an id where the first digit is the row and the second digit is the column.</p><p>Individual achievement can have these features:</p><ul><li><p>name: <strong>optional</strong>. displayed at the top of the achievement. The only visible text. It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>done(): A function returning a boolean to determine if the achievement should be awarded.</p></li><li><p>tooltip: Default tooltip for the achievement, appears when it is hovered over. Should convey the goal and any reward for completing the achievement. It can also be a function that returns updating text. Can use basic HTML. Setting this to &quot;&quot; disables the tooltip.</p></li><li><p>effect(): <strong>optional</strong>. A function that calculates and returns the current values of any bonuses from the achievement. Can return a value or an object containing multiple values.</p></li><li><p>unlocked(): <strong>optional</strong>. A function returning a bool to determine if the achievement is visible or not. Default is unlocked.</p></li><li><p>onComplete() - <strong>optional</strong>. this function will be called when the achievement is completed.</p></li><li><p>image: <strong>optional</strong>, puts the image from the given URL (relative or absolute) in the achievement</p></li><li><p>style: <strong>optional</strong>. Applies CSS to this achievement, 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>textStyle: <strong>optional</strong>. Applies CSS to the text, 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&#39;s the same value as the name of this layer, so you can do <code>player[this.layer].points</code> or similar.</p></li><li><p>id: <strong>assigned automagically</strong>. It&#39;s the &quot;key&quot; which the achievement was stored under, for convenient access. The achievement in the example&#39;s id is 11.</p></li><li><p>goalTooltip: <strong>optional, deprecated</strong>. Appears when the achievement is hovered over and locked, overrides the basic tooltip. This is to display the goal (or a hint). It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>doneTooltip: <strong>optional, deprecated</strong>. Appears when the achievement is hovered over and completed, overrides the basic tooltip. This can display what the player achieved (the goal), and the rewards, if any. It can also be a function that returns updating text. Can use basic HTML.</p></li></ul><p>Disable achievement popups by adding <code>achievementsPopups: false</code> to the layer.</p></div></div></main><!--[--><!--]--><!----><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -32,7 +32,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#A6ACCD;">etc</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>Features:</p><ul><li><p>direction: UP, DOWN, LEFT, or RIGHT (not strings). Determines the direction that the bar is filled as it progresses. RIGHT means from left to right.</p></li><li><p>width, height: The size in pixels of the bar, but as numbers (no &quot;px&quot; at the end).</p></li><li><p>progress(): A function that returns the portion of the bar that is filled, from &quot;empty&quot; at 0 to &quot;full&quot; at 1, updating automatically. (Nothing bad happens if the value goes out of these bounds, and it can be a number or <code>Decimal</code>)</p></li><li><p>display(): <strong>optional</strong>. A function that returns text to be displayed on top of the bar, can use HTML.</p></li><li><p>unlocked(): <strong>optional</strong>. A function returning a bool to determine if the bar is visible or not. Default is unlocked.</p></li><li><p>baseStyle, fillStyle, borderStyle, textStyle: <strong>Optional</strong>, Apply CSS to the unfilled portion, filled portion, border, and display text on the bar, 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&#39;s the same value as the name of this layer, so you can do <code>player[this.layer].points</code> or similar.</p></li><li><p>id: <strong>assigned automagically</strong>. It&#39;s the &quot;key&quot; which the bar was stored under, for convenient access. The bar in the example&#39;s id is &quot;bigBar&quot;.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -54,7 +54,7 @@
<span class="line"><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">},</span></span>
<span class="line"><span style="color:#89DDFF;">}</span><span style="color:#A6ACCD;">)</span></span>
<span class="line"></span></code></pre></div></div></div></main><!--[--><!--]--><!----><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -35,7 +35,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#A6ACCD;">etc</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>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.</p></li><li><p>cost(): cost for buying the next buyable. Can have an optional argument &quot;x&quot; to calculate the cost of the x+1th purchase. (x is a <code>Decimal</code>). Can return an object if there are multiple currencies.</p></li><li><p>effect(): <strong>optional</strong>. A function that calculates and returns the current values of bonuses of this buyable. Can have an optional argument &quot;x&quot; to calculate the effect of having x of the buyable.. Can return a value or an object containing multiple values.</p></li><li><p>display(): A function returning everything that should be displayed on the buyable after the title, likely including the description, amount bought, cost, and current effect. Can use basic HTML.</p></li><li><p>unlocked(): <strong>optional</strong>. A function returning a bool to determine if the buyable is visible or not. Default is unlocked.</p></li><li><p>canAfford(): A function returning a bool to determine if you can buy one of the buyables.</p></li><li><p>buy(): A function that implements buying one of the buyable, including spending the currency.</p></li><li><p>buyMax(): <strong>optional</strong>. A function that implements buying as many of the buyable as possible.</p></li><li><p>style: <strong>optional</strong>. Applies CSS to this buyable, 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>purchaseLimit: <strong>optional</strong>. The limit on how many of the buyable can be bought. The default is no limit.</p></li><li><p>marked: <strong>optional</strong> Adds a mark to the corner of the buyable. If it&#39;s &quot;true&quot; it will be a star, but it can also be an image URL.</p></li><li><p>layer: <strong>assigned automagically</strong>. It&#39;s the same value as the name of this layer, so you can do <code>player[this.layer].points</code> or similar.</p></li><li><p>id: <strong>assigned automagically</strong>. It&#39;s the &quot;key&quot; which the buyable was stored under, for convenient access. The buyable in the example&#39;s id is 11.</p></li></ul><p>Sell One/Sell All:</p><p>Including a <code>sellOne</code> or <code>sellAll</code> function will cause an additional button to appear beneath the buyable. They are functionally identical, but &quot;sell one&quot; appears above &quot;sell all&quot;. You can also use them for other things.</p><ul><li><p>sellOne/sellAll(): <strong>optional</strong>. Called when the button is pressed. The standard use would be to decrease/reset the amount of the buyable, and possibly return some currency to the player.</p></li><li><p>canSellOne/canSellAll(): <strong>optional</strong>. booleans determining whether or not to show the buttons. If &quot;canSellOne/All&quot; is absent but &quot;sellOne/All&quot; is present, the appropriate button will always show.</p></li></ul><p>To add a respec button, or something similar, add the respecBuyables function to the main buyables object (not individual buyables). You can use these features along with it:</p><ul><li><p>respec(): <strong>optional</strong>. This is called when the button is pressed (after a toggleable confirmation message).</p></li><li><p>respecText: <strong>optional</strong>. Text to display on the respec Button.</p></li><li><p>showRespec(): <strong>optional</strong>. A function determining whether or not to show the button, if respecBuyables is defined. Defaults to true if absent.</p></li><li><p>respecMessage: <strong>optional</strong>. A custom confirmation message on respec, in place of the default one.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -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:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>Usually, each challenge should have an id where the first digit is the row and the second digit is the column.</p><p>Individual Challenges can have these features:</p><ul><li><p>name: Name of the challenge, can be a string or a function. Can use basic HTML.</p></li><li><p>challengeDescription: A description of what makes the challenge a challenge. <em>You will need to implement these elsewhere.</em> It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>goalDescription: A description of the win condition for the challenge. It can also be a function that returns updating text. Can use basic HTML. (Optional if using the old goal system)</p></li><li><p>canComplete(): A function that returns true if you meet the win condition for the challenge. Returning a number will allow bulk completing the challenge. (Optional if using the old goal system)</p></li><li><p>rewardDescription: A description of the reward&#39;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>rewardEffect(): <strong>optional</strong>. A function that calculates and returns the current values of any bonuses from the reward. Can return a value or an object containing multiple values. Can use basic HTML.</p></li><li><p>rewardDisplay(): <strong>optional</strong>. A function that returns a display of the current effects of the reward with formatting. Default behavior is to just display the a number appropriately formatted.</p></li><li><p>fullDisplay(): <strong>OVERRIDE</strong>. Overrides the other displays and descriptions, and lets you set the full text for the challenge. Can use basic HTML.</p></li><li><p>unlocked(): <strong>optional</strong>. A function returning a bool to determine if the challenge is visible or not. Default is unlocked.</p></li><li><p>onComplete() - <strong>optional</strong>. this function will be called when the challenge is completed when previously incomplete.</p></li><li><p>onEnter() - <strong>optional</strong>. this function will be called when entering the challenge</p></li><li><p>onExit() - <strong>optional</strong>. this function will be called when exiting the challenge in any way</p></li><li><p>countsAs: <strong>optional</strong>. If a challenge combines the effects of other challenges in this layer, you can use this. An array of challenge ids. The player is effectively in all of those challenges when in the current one.</p></li><li><p>completionLimit: <strong>optional</strong>. the amount of times you can complete this challenge. Default is 1 completion.</p></li><li><p>style: <strong>optional</strong>. Applies CSS to this challenge, 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>marked: <strong>optional</strong> Adds a mark to the corner of the challenge. If it&#39;s &quot;true&quot; it will be a star, but it can also be an image URL. By default, if the challenge has multiple completions, it will be starred at max completions.</p></li><li><p>layer: <strong>assigned automagically</strong>. It&#39;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&#39;s the &quot;key&quot; which the challenge was stored under, for convenient access. The challenge in the example&#39;s id is 11.</p></li></ul><p>The old goal system uses these features:</p><ul><li><p>goal: <strong>deprecated</strong>, A Decimal for the amount of currency required to beat the challenge. By default, the goal is in basic Points. The goal can also be a function if its value changes.</p></li><li><p>currencyDisplayName: <strong>deprecated</strong>. the name to display for the currency for the goal</p></li><li><p>currencyInternalName: <strong>deprecated</strong>. the internal name for that currency</p></li><li><p>currencyLayer: <strong>deprecated</strong>. the internal name of the layer that currency is stored in. If it&#39;s not in a layer, omit. If it&#39;s not stored directly in a layer, instead use the next feature.</p></li><li><p>currencyLocation(): <strong>deprecated</strong>. if your currency is stored in something inside a layer (e.g. a buyable&#39;s amount), you can access it this way. This is a function returning the object in &quot;player&quot; that contains the value (like <code>player[this.layer].buyables</code>)</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -29,7 +29,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#A6ACCD;">etc</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>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.</p></li><li><p>effect(): <strong>optional</strong>. A function that calculates and returns the current values of bonuses of this clickable. Can return a value or an object containing multiple values.</p></li><li><p>display(): A function returning everything that should be displayed on the clickable after the title, likely changing based on its state. Can use basic HTML.</p></li><li><p>unlocked(): <strong>optional</strong>. A function returning a bool to determine if the clickable is visible or not. Default is unlocked.</p></li><li><p>canClick(): A function returning a bool to determine if you can click the clickable.</p></li><li><p>onClick(): A function that implements clicking the clickable.</p></li><li><p>onHold(): <strong>optional</strong> A function that is called 20x/sec when the button is held for at least 0.25 seconds.</p></li><li><p>style: <strong>optional</strong>. Applies CSS to this clickable, 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>marked: <strong>optional</strong> Adds a mark to the corner of the clickable. If it&#39;s &quot;true&quot; it will be a star, but it can also be an image URL.</p></li><li><p>layer: <strong>assigned automagically</strong>. It&#39;s the same value as the name of this layer, so you can do <code>player[this.layer].points</code> or similar.</p></li><li><p>id: <strong>assigned automagically</strong>. It&#39;s the &quot;key&quot; which the clickable was stored under, for convenient access. The clickable in the example&#39;s id is 11.</p></li></ul><p>You can also use these features on the clickables object to add a button above all the clickables, for implementing a respec button or similar.</p><ul><li><p>masterButtonPress(): <strong>optional</strong>. If present, an additional button will appear above the clickables. Pressing it will call this function.</p></li><li><p>masterButtonText: <strong>optional</strong>. Text to display on the Master Button.</p></li><li><p>showMasterButton(): <strong>optional</strong>. A function determining whether or not to show the button, if masterButtonPress is defined. Defaults to true if absent.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -36,7 +36,7 @@
<span class="line"><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">upgrades</span><span style="color:#89DDFF;">&quot;</span></span>
<span class="line"><span style="color:#A6ACCD;">]</span></span>
<span class="line"></span></code></pre></div><p>It is a list of components, which can be either just a name, or an array with arguments. If it&#39;s an array, the first item is the name of the component, the second is the data passed into it, and the third (optional) applies a CSS style to it with a &quot;CSS object&quot;, where the keys are CSS attributes.</p><p>These are the existing components, but you can create more in <a href="/js/components.js">components.js</a>:</p><ul><li><p>display-text: Displays some text (can use basic HTML). The argument is the text to display. It can also be a function that returns updating text.</p></li><li><p>raw-html: Displays some basic HTML, can also be a function.</p></li><li><p>blank: Adds empty space. The default dimensions are 8px x 17px. The argument changes the dimensions. If it&#39;s a single value (e.g. &quot;20px&quot;), that determines the height. If you have a pair of arguments, the first is width and the second is height.</p></li><li><p>row: Display a list of components horizontally. The argument is an array of components in the tab layout format.</p></li><li><p>column: Display a list of components vertically. The argument is an array of components in the tab layout format. This is useful to display columns within a row.</p></li><li><p>main-display: The text that displays the main currency for the layer and its effects. The argument is the amount of precision to use, allowing it to display non-whole numbers.</p></li><li><p>resource-display: The text that displays the currency that this layer is based on, as well as the best and/or total values for this layer&#39;s prestige currency (if they are put in <code>startData</code> for this layer).</p></li><li><p>prestige-button: The argument is a string that the prestige button should say before the amount of currency you will gain. It can also be a function that returns updating text.</p></li><li><p>text-input: A text input box. The argument is the name of the variable in player[layer] that the input is for, player[layer][argument] (Works with strings, numbers, and Decimals!)</p></li><li><p>slider: Lets the user input a value with a slider. The argument a 3-element array: [name, min, max]. The name is the name of the variable in player[layer] that the input that the input is for, and min and max are the limits of the slider. (Does not work for Decimal values)</p></li><li><p>upgrades: The layer&#39;s upgrades. The argument is optional, and is a the list of rows this component should include, if it doesn&#39;t have all of them.</p></li><li><p>milestones, challenges, achievements: Display the upgrades, milestones, and challenges for a layer, as appropriate.</p></li><li><p>buyables, clickables: Display all of the buyables/clickables for this layer, as appropriate. The argument is optional and is the size of the boxes in pixels.</p></li><li><p>microtabs: Display a set of subtabs for an area. The argument is the name of the set of microtabs in the &quot;microtabs&quot; feature.</p></li><li><p>bar: Display a bar. The argument is the id of the bar to display.</p></li><li><p>infobox: Display an infobox. The argument is the id of the infobox to display.</p></li><li><p>tree: Displays a tree. The argument is an array of arrays containing the names of the nodes in the tree (first by row, then by column) <a href="./trees-and-tree-customization">See here for more information on tree layouts and nodes!</a></p></li><li><p>toggle: A toggle button that toggles a bool value. The argument is a pair that identifies the location in player of the bool to toggle, e.g. <code>[layer, id]</code>. &#39;layer&#39; also affects the color of the toggle.</p></li><li><p>grid: Displays the gridable grid for the layer. If you need more than one grid, use a layer proxy.</p></li><li><p>layer-proxy: Lets you use components from another layer. The argument is a pair, <code>[layer, data]</code>, consisting of the id of the layer to proxy from, and the tabFormat for the components to show. (Note: you cannot use a microtab within a layer proxy)</p></li></ul><p>The rest of the components are sub-components. They can be used just like other components, but are typically part of another component.</p><ul><li><p>upgrade, milestone, challenge, buyable, clickable, achievement, gridable: An individual upgrade, challenge, etc. The argument is the id. This can be used if you want to have upgrades split up across multiple subtabs, for example.</p></li><li><p>respec-button, master-button: The respec and master buttons for buyables and clickables, respectively.</p></li><li><p>sell-one, sell-all: The &quot;sell one&quot; and &quot;sell all&quot; for buyables, respectively. The argument is the id of the buyable.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

File diff suppressed because one or more lines are too long

View file

@ -43,7 +43,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#A6ACCD;">etc</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>Features:</p><ul><li><p>rows, cols: The amount of rows and columns of gridable to display.</p></li><li><p>maxRows, maxCols: <strong>sometimes needed</strong>. If rows or cols are dynamic, you need to define the maximum amount that there can be (you can increase it when you update the game though). These CANNOT be dynamic.</p></li><li><p>getStartData(id): Creates the default data for the gridable at this position. This can be an object, or a regular value.</p></li><li><p>getUnlocked(id): <strong>optional</strong>. Returns true if the gridable at this position should be visible.</p></li><li><p>getTitle(data, id): <strong>optional</strong>. Returns text that should displayed at the top in a larger font, based on the position and data of the gridable.</p></li><li><p>getDisplay(data, id): <strong>optional</strong>. Returns everything that should be displayed on the gridable after the title, based on the position and data of the gridable.</p></li><li><p>getStyle(data, id): <strong>optional</strong>. Returns CSS to apply to this gridable, 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>getCanClick(data, id): <strong>optional</strong>. A function returning a bool to determine if you can click a gridable, based on its data and position. If absent, you can always click it.</p></li><li><p>onClick(data, id): A function that implements clicking on the gridable, based on its position and data.</p></li><li><p>onHold(data, id): <strong>optional</strong> A function that is called 20x/sec when the button is held for at least 0.25 seconds.</p></li><li><p>getEffect(data, id): <strong>optional</strong>. A function that calculates and returns a gridable&#39;s effect, based on its position and data. (Whatever that means for a gridable)</p></li><li><p>layer: <strong>assigned automagically</strong>. It&#39;s the same value as the name of this layer, so you can do <code>player[this.layer].points</code> or similar.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -30,7 +30,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#A6ACCD;">etc</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>Features:</p><ul><li><p>title: The text displayed above the main box. Can be a function to be dynamic, and can use basic HTML.</p></li><li><p>body: The text displayed inside the box. Can be a function to be dynamic, and can use basic HTML.</p></li><li><p>style, titleStyle, bodyStyle: <strong>optional</strong>. Apply CSS to the infobox, or to the title button or body of the infobox, 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>unlocked(): <strong>optional</strong>. A function returning a bool to determine if the infobox is visible or not. Default is unlocked.</p></li><li><p>layer: <strong>assigned automagically</strong>. It&#39;s the same value as the name of this layer, so you can do <code>player[this.layer].points</code> or similar</p></li><li><p>id: <strong>assigned automagically</strong>. It&#39;s the &quot;key&quot; which the bar was stored under, for convenient access. The infobox in the example&#39;s id is &quot;lore&quot;.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -34,7 +34,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">prestige-button</span><span style="color:#89DDFF;">&quot;</span><span style="color:#F07178;">() </span><span style="color:#89DDFF;">{</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">return</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">{</span><span style="color:#89DDFF;">&#39;</span><span style="color:#F07178;">color</span><span style="color:#89DDFF;">&#39;</span><span style="color:#89DDFF;">:</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">&#39;</span><span style="color:#C3E88D;">#AA66AA</span><span style="color:#89DDFF;">&#39;</span><span style="color:#89DDFF;">}</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">}</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><ul><li>deactivated: <strong>optional</strong>, if this is true, hasUpgrade, hasChallenge, hasAchievement, and hasMilestone will return false for things in the layer, and you will be unable to buy or click things on the layer. You will have to disable effects of buyables, the innate layer effect, and possibly other things yourself.</li></ul><h2 id="custom-prestige-type" tabindex="-1">Custom Prestige type <a class="header-anchor" href="#custom-prestige-type" aria-hidden="true">#</a></h2><p>(All of these can also be used by other prestige types)</p><ul><li><p>getResetGain(): <strong>mostly for custom prestige type</strong>. Returns how many points you should get if you reset now. You can call <code>getResetGain(this.layer, useType = &quot;static&quot;)</code> or similar to calculate what your gain would be under another prestige type (provided you have all of the required features in the layer).</p></li><li><p>getNextAt(canMax=false): <strong>mostly for custom prestige type</strong>. Returns how many of the base currency you need to get to the next point. <code>canMax</code> is an optional variable used with Static-ish layers to differentiate between if it&#39;s looking for the first point you can reset at, or the requirement for any gain at all (Supporting both is good). You can also call <code>getNextAt(this.layer, canMax=false, useType = &quot;static&quot;)</code> or similar to calculate what your next at would be under another prestige type (provided you have all of the required features in the layer).</p></li><li><p>canReset(): <strong>mostly for custom prestige type</strong>. Return true only if you have the resources required to do a prestige here.</p></li><li><p>prestigeNotify(): <strong>mostly for custom prestige types</strong>, returns true if this layer should be subtly highlighted to indicate you can prestige for a meaningful gain.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -28,7 +28,7 @@
<span class="line"><span style="color:#F07178;"> happiness</span><span style="color:#89DDFF;">:</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">new</span><span style="color:#F07178;"> </span><span style="color:#82AAFF;">Decimal</span><span style="color:#F07178;">(</span><span style="color:#F78C6C;">72</span><span style="color:#F07178;">)</span><span style="color:#89DDFF;">,</span></span>
<span class="line"><span style="color:#89DDFF;">}}</span></span>
<span class="line"></span></code></pre></div><ul><li><p>displayThings: An array of functions used to display extra things at the top of the tree tab. Each function returns a string, which is a line to display (with basic HTML support). If a function returns nothing, nothing is displayed (and it doesn&#39;t take up a line).</p></li><li><p>isEndgame(): A function to determine if the player has reached the end of the game, at which point the &quot;you win!&quot; screen appears.</p></li></ul><p>Less important things beyond this point!</p><ul><li><p>maxTickLength(): Returns the maximum tick length, in milliseconds. Only really useful if you have something that reduces over time, which long ticks mess up (usually a challenge).</p></li><li><p>fixOldSave(): Can be used to modify a save file when loading into a new version of the game. Use this to undo inflation, never forcibly hard reset your players.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -30,7 +30,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#A6ACCD;">etc</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>You can use <code>hasMilestone(layer, id)</code> to determine if the player has a given milestone</p><p>Milestone features:</p><ul><li><p>requirementDescription: A string describing the requirement for unlocking this milestone. Suggestion: Use a &quot;total&quot;. It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>effectDescription: A string describing the reward for having the milestone. <em>You will have to implement the reward elsewhere.</em> It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>done(): A function returning a boolean to determine if the milestone should be awarded.</p></li><li><p>toggles: <strong>optional</strong>. Creates toggle buttons that appear on the milestone when it is unlocked. The toggles can toggle a given boolean value in a layer. It is defined as an array of paired items, one pair per toggle. The first is the internal name of the layer the value being toggled is stored in, and the second is the internal name of the variable to toggle. (e.g. [[&quot;b&quot;, &quot;auto&quot;], [&quot;g&quot;, &quot;auto&quot;])</p><p><strong>Tip:</strong> Toggles are not de-set if the milestone becomes locked! In this case, you should also check if the player has the milestone.</p></li><li><p>style: <strong>optional</strong>. Applies CSS to this milestone, 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>unlocked(): <strong>optional</strong>. A function returning a boolean to determine if the milestone should be shown. If absent, it is always shown.</p></li><li><p>layer: <strong>assigned automagically</strong>. It&#39;s the same value as the name of this layer, so you can do <code>player[this.layer].points</code> or similar.</p></li><li><p>id: <strong>assigned automagically</strong>. It&#39;s the &quot;key&quot; which the milestone was stored under, for convenient access. The milestone in the example&#39;s id is 0.</p></li></ul><p>Disaable milestone popups by adding <code>milestonePopups: false</code> to the layer.</p></div></div></main><!--[--><!--]--><!----><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -33,7 +33,7 @@
<span class="line"><span style="color:#A6ACCD;"> etc</span><span style="color:#89DDFF;">...</span></span>
<span class="line"><span style="color:#A6ACCD;">}</span></span>
<span class="line"></span></code></pre></div><p>Features can be functions or constant. These features will be called when each particle is made, with an <code>id</code> argument, which is assigned based on which of the <code>amount</code> particles being spawned this is. <strong>All of these are optional</strong>, with a default value.</p><p>All distances are in pixels and angles are in degrees, with 0 being up and going clockwise.</p><ul><li><p>time: The amount of time, in seconds, that the particle will last. Default is 3.</p></li><li><p>fadeOutTime: The amount of seconds that fading out at the end should take (part of the total lifetime). Default is 1.</p></li><li><p>fadeInTime: The amount of seconds that fading in should take (part of the total lifetime). Default is 0.</p></li><li><p>image: The image the particle should display. <code>&quot;&quot;</code> will display no image. Default is a generic particle.</p></li><li><p>text: Displays text on the particle. Can use basic HTML.</p></li><li><p>style: Lets you apply other CSS styling to the particle.</p></li><li><p>width, height: The dimensions of the particle. Default is 35 and 35.</p></li><li><p>color: Sets the color of the image to this color.</p></li><li><p>angle: The angle that the particle should face. Default is 0.</p></li><li><p>dir: The initial angle that the particles should move in, before spread is factored in. Default is whatever angle is.</p></li><li><p>spread: If there are several particles, they will be spread out by this many degrees, centered on dir. Default is 30.</p></li><li><p>rotation: The amount that the (visual) angle of the particle should change by. Default is 0.</p></li><li><p>speed: The starting speed of the particle. Default is 15.</p></li><li><p>gravity: The amount the particle should accelerate downwards. Default is 0.</p></li><li><p>x, y: The starting coordinates of the particle. Default is at the mouse position.</p></li><li><p>offset: How far from the start each particle should appear. Default is 10.</p></li><li><p>xVel, yVel: Set initially based on other properties, then used to update movement.</p></li><li><p>layer: When changing tabs, if leaving the <code>layer</code> tab, this particle will be erased.</p></li><li><p>You can add other features to particles, but you must impliment their effects yourself.</p></li></ul><p>Function features: These stay as functions and are for more advanced things. They are optional.</p><ul><li>update(): Called each tick. Lets you do more advanced visual and movement behaviors by changing other properties.</li><li>onClick(), onMouseOver(), onMouseLeave(): Called when the particle is interacted with.</li></ul><p>Other useful things that are not features of the particle object:</p><ul><li>setDir(particle, dir), setSpeed(particle, speed): Set the speed/direction on a particle.</li><li>clearParticles(check): Function to delete particles. With no check, it deletes all particles. Check is a function that takes a particle, and returns true if that particle should be deleted.</li><li>You can use Vue.delete(particles, <a href="http://this.id" target="_blank" rel="noreferrer">this.id</a>) to make a particle delete itself.</li><li>mouseX and mouseY are variables that track the mouse position.</li><li>sin(x), cos(x), tan(x): functions that do these operations, with x in degrees. (Instead of radians).</li><li>asin(x), acos(x), atan(x): functions that do these operations, with the returned value in degrees. (instead of radians).</li></ul></div></div></main><!--[--><!--]--><!----><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -48,7 +48,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#89DDFF;">}</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>Normal subtabs and microtab subtabs both use the same features:</p><h1 id="features" tabindex="-1">Features: <a class="header-anchor" href="#features" aria-hidden="true">#</a></h1><ul><li><p>content: The tab layout code for the subtab, in <a href="./custom-tab-layouts">the tab layout format</a>.</p></li><li><p>style: <strong>optional</strong>. Applies CSS to the whole subtab when switched to, in the form of an &quot;CSS Object&quot;, where the keys are CSS attributes, and the values are the values for those attributes (both as strings).</p></li><li><p>buttonStyle: <strong>optional</strong>. A CSS object, which affects the appearance of the button for that subtab.</p></li><li><p>unlocked(): <strong>optional</strong>. a function to determine if the button for this subtab should be visible. By default, a subtab is always unlocked. You can&#39;t use the &quot;this&quot; keyword in this function.</p></li><li><p>shouldNotify()/prestigeNotify(): <strong>optional</strong>, if true, the tab button will be highlighted to notify the player that there is something there.</p></li><li><p>glowColor: <strong>optional</strong>, specifies the color that the subtab glows. If this subtab is causing the main layer to node glow (and it would&#39;t otherwise) the node also glows this color. Is NOT overridden by embedding a layer.</p></li><li><p>embedLayer: <strong>SIGNIFICANT</strong>, the id of another layer. If you have this, it will override &quot;content&quot;, &quot;style&quot; and &quot;shouldNotify&quot;, instead displaying the entire layer in the subtab.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -25,7 +25,7 @@
<span class="line"><span style="color:#A6ACCD;"> [</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">left</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">blank</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">right</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">blank</span><span style="color:#89DDFF;">&quot;</span><span style="color:#A6ACCD;">]</span></span>
<span class="line"><span style="color:#A6ACCD;"> [</span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">a</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">b</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">blank</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">c</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">weirdButton</span><span style="color:#89DDFF;">&quot;</span><span style="color:#A6ACCD;">]]</span></span>
<span class="line"></span></code></pre></div><h2 id="nodes" tabindex="-1">Nodes <a class="header-anchor" href="#nodes" aria-hidden="true">#</a></h2><p>Nodes are non-layer buttons that can go in trees. They are defined similarly to layers, but with addNode instead of addLayer.</p><p>Features:</p><ul><li><p>color: <strong>optional</strong>, The node&#39;s color. (A string in hex format with a #)</p></li><li><p>symbol: <strong>optional</strong> The text on the button (The id capitalized by default)</p></li><li><p>canClick(): Returns true if the player can click the node. ()</p></li><li><p>onClick(): The function called when the node is clicked.</p></li><li><p>layerShown(): <strong>optional</strong>, A function returning a bool which determines if this node should be visible. It can also return &quot;ghost&quot;, which will hide the layer, but its node will still take up space in its tree.</p></li><li><p>branches: <strong>optional</strong>. An array of layer/node ids. On a tree, a line will appear from this node to all of the nodes in the list. Alternatively, an entry in the array can be a 2-element array consisting of the id and a color value. The color value can either be a string with a hex color code, or a number from 1-3 (theme-affected colors).</p></li><li><p>nodeStyle: <strong>optional</strong>. A CSS object, where the keys are CSS attributes, which styles this node on the tree.</p></li><li><p>tooltip() / tooltipLocked(): <strong>optional</strong>. Functions that return text, which is the tooltip for the node when the layer is unlocked or locked, respectively. By default the tooltips behave the same as in the original Prestige Tree.</p></li><li><p>row: <strong>optional</strong>, the row that this node appears in (for the default tree).</p></li><li><p>position: <strong>optional</strong>, Determines the horizontal position of the layer in its row in a default tree. By default, it uses the id, and layers/nodes are sorted in alphabetical order.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

File diff suppressed because one or more lines are too long

View file

@ -30,7 +30,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#A6ACCD;">etc</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>Usually, upgrades should have an id where the first digit is the row and the second digit is the column.</p><p>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&#39;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 displays nothing. Can use basic HTML.</p></li><li><p>fullDisplay(): <strong>OVERRIDE</strong>. Overrides the other displays and descriptions, and lets you set the full text for the upgrade. 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 &quot;makes this layer act like it was unlocked first&quot;.</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&#39;s the same value as the name of this layer, so you can do <code>player[this.layer].points</code> or similar.</p></li><li><p>id: <strong>assigned automagically</strong>. It&#39;s the &quot;key&quot; which the upgrade was stored under, for convenient access. The upgrade in the example&#39;s id is 11.</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&#39;s not in a layer (like Points), omit. If it&#39;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&#39;s amount), you can access it this way. This is a function returning the object in &quot;player&quot; that contains the value (like <code>player[this.layer].buyables</code>)</p></li></ul><p>If you want to do something more complicated like upgrades that cost two currencies, you can override the purchase system with these (and you need to use fullDisplay as well)</p><ul><li><p>canAfford(): <strong>OVERRIDE</strong>, a function determining if you are able to buy the upgrade</p></li><li><p>pay(): <strong>OVERRIDE</strong>, a function that reduces your currencies when you buy the upgrade</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>Each achievement should have an id where the first digit is the row and the second digit is the column.</p><p>Individual achievement can have these features:</p><ul><li><p>name: <strong>optional</strong>. displayed at the top of the achievement. The only visible text. It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>done(): A function returning a boolean to determine if the achievement should be awarded.</p></li><li><p>tooltip: Default tooltip for the achievement, appears when it is hovered over. Should convey the goal and any reward for completing the achievement. It can also be a function that returns updating text. Can use basic HTML. Setting this to &quot;&quot; disables the tooltip.</p></li><li><p>effect(): <strong>optional</strong>. A function that calculates and returns the current values of any bonuses from the achievement. Can return a value or an object containing multiple values.</p></li><li><p>unlocked(): <strong>optional</strong>. A function returning a bool to determine if the achievement is visible or not. Default is unlocked.</p></li><li><p>onComplete() - <strong>optional</strong>. this function will be called when the achievement is completed.</p></li><li><p>image: <strong>optional</strong>, puts the image from the given URL (relative or absolute) in the achievement</p></li><li><p>style: <strong>optional</strong>. Applies CSS to this achievement, 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>textStyle: <strong>optional</strong>. Applies CSS to the text, 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&#39;s the same value as the name of this layer, so you can do <code>player[this.layer].points</code> or similar.</p></li><li><p>id: <strong>assigned automagically</strong>. It&#39;s the &quot;key&quot; which the achievement was stored under, for convenient access. The achievement in the example&#39;s id is 11.</p></li><li><p>goalTooltip: <strong>optional, deprecated</strong>. Appears when the achievement is hovered over and locked, overrides the basic tooltip. This is to display the goal (or a hint). It can also be a function that returns updating text. Can use basic HTML.</p></li><li><p>doneTooltip: <strong>optional, deprecated</strong>. Appears when the achievement is hovered over and completed, overrides the basic tooltip. This can display what the player achieved (the goal), and the rewards, if any. It can also be a function that returns updating text. Can use basic HTML.</p></li></ul><p>Disable achievement popups by adding <code>achievementsPopups: false</code> to the layer.</p></div></div></main><!--[--><!--]--><!----><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -32,7 +32,7 @@
<span class="line"><span style="color:#F07178;"> </span><span style="color:#A6ACCD;">etc</span></span>
<span class="line"><span style="color:#89DDFF;">}</span></span>
<span class="line"></span></code></pre></div><p>Features:</p><ul><li><p>direction: UP, DOWN, LEFT, or RIGHT (not strings). Determines the direction that the bar is filled as it progresses. RIGHT means from left to right.</p></li><li><p>width, height: The size in pixels of the bar, but as numbers (no &quot;px&quot; at the end).</p></li><li><p>progress(): A function that returns the portion of the bar that is filled, from &quot;empty&quot; at 0 to &quot;full&quot; at 1, updating automatically. (Nothing bad happens if the value goes out of these bounds, and it can be a number or <code>Decimal</code>)</p></li><li><p>display(): <strong>optional</strong>. A function that returns text to be displayed on top of the bar, can use HTML.</p></li><li><p>unlocked(): <strong>optional</strong>. A function returning a bool to determine if the bar is visible or not. Default is unlocked.</p></li><li><p>baseStyle, fillStyle, borderStyle, textStyle: <strong>Optional</strong>, Apply CSS to the unfilled portion, filled portion, border, and display text on the bar, 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&#39;s the same value as the name of this layer, so you can do <code>player[this.layer].points</code> or similar.</p></li><li><p>id: <strong>assigned automagically</strong>. It&#39;s the &quot;key&quot; which the bar was stored under, for convenient access. The bar in the example&#39;s id is &quot;bigBar&quot;.</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\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

View file

@ -50,7 +50,7 @@
<span class="line"><span style="color:#A6ACCD;"> </span><span style="color:#F07178;">layerShown</span><span style="color:#89DDFF;">()</span><span style="color:#A6ACCD;"> </span><span style="color:#89DDFF;">{</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">return</span><span style="color:#F07178;"> </span><span style="color:#FF9CAC;">true</span><span style="color:#F07178;"> </span><span style="color:#89DDFF;">}</span><span style="color:#A6ACCD;"> </span><span style="color:#676E95;">// Returns a bool for if this layer&#39;s node should be visible in the tree.</span></span>
<span class="line"><span style="color:#89DDFF;">}</span><span style="color:#A6ACCD;">)</span></span>
<span class="line"></span></code></pre></div></div></div></main><!--[--><!--]--><!----><!--[--><!--]--></div></div></div></div></div><!----><!--[--><!--]--></div></div>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"e646f72f\",\"projects_babble_index.md\":\"27f9c09b\",\"projects_citadel_index.md\":\"e586a400\",\"projects_dice_index.md\":\"a482bf49\",\"projects_index.md\":\"1c9a711f\",\"projects_optispeech_index.md\":\"9d1ccb42\",\"projects_vecs_index.md\":\"8bda991a\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script>__VP_HASH_MAP__ = JSON.parse("{\"guide-to-incrementals_design_introduction.md\":\"38daee51\",\"guide-to-incrementals_index.md\":\"5d93b5e4\",\"guide-to-incrementals_ludology_appeal-developers.md\":\"ef988d03\",\"guide-to-incrementals_ludology_appeal-gamers.md\":\"e2ccfe16\",\"guide-to-incrementals_ludology_content.md\":\"8399cc9d\",\"guide-to-incrementals_ludology_definition.md\":\"b8d4c239\",\"index.md\":\"87c255f5\",\"projects_babble_index.md\":\"54c5e5c3\",\"projects_citadel_index.md\":\"20d8fee2\",\"projects_dice_index.md\":\"b9c4c13a\",\"projects_index.md\":\"36eb36e5\",\"projects_optispeech_index.md\":\"296d588b\",\"projects_vecs_index.md\":\"89c89edf\",\"public_gamedevtree_2.0-format-changes.md\":\"869c95cb\",\"public_gamedevtree_readme.md\":\"552fe2c4\",\"public_gamedevtree_changelog.md\":\"d359af81\",\"public_gamedevtree_docs_!general-info.md\":\"b54b0405\",\"public_gamedevtree_docs_achievements.md\":\"dcac48ff\",\"public_gamedevtree_docs_bars.md\":\"5f67f039\",\"public_gamedevtree_docs_basic-layer-breakdown.md\":\"7761b77c\",\"public_gamedevtree_docs_buyables.md\":\"0150160d\",\"public_gamedevtree_docs_challenges.md\":\"0c6f4a98\",\"public_gamedevtree_docs_clickables.md\":\"31209e1f\",\"public_gamedevtree_docs_custom-tab-layouts.md\":\"c0fbc4e0\",\"public_gamedevtree_docs_getting-started.md\":\"8c2ddda0\",\"public_gamedevtree_docs_infoboxes.md\":\"7a0953be\",\"public_gamedevtree_docs_layer-features.md\":\"a7640a7f\",\"public_gamedevtree_docs_main-mod-info.md\":\"6f790508\",\"public_gamedevtree_docs_milestones.md\":\"264c8c9a\",\"public_gamedevtree_docs_subtabs-and-microtabs.md\":\"a5ee4ade\",\"public_gamedevtree_docs_updating-tmt.md\":\"0237de18\",\"public_gamedevtree_docs_upgrades.md\":\"ac3bddbc\",\"public_kronos_old things_2.0-format-changes.md\":\"33740b7e\",\"public_kronos_readme.md\":\"b02e146e\",\"public_kronos_changelog.md\":\"8c678677\",\"public_kronos_docs_!general-info.md\":\"a850fc5c\",\"public_kronos_docs_achievements.md\":\"50170b22\",\"public_kronos_docs_bars.md\":\"e362dd22\",\"public_kronos_docs_basic-layer-breakdown.md\":\"c5012569\",\"public_kronos_docs_buyables.md\":\"18df767f\",\"public_kronos_docs_challenges.md\":\"e035cc8c\",\"public_kronos_docs_clickables.md\":\"0b620d80\",\"public_kronos_docs_custom-tab-layouts.md\":\"83ea4ec4\",\"public_kronos_docs_getting-started.md\":\"bbfb2db6\",\"public_kronos_docs_grids.md\":\"53210faa\",\"public_kronos_docs_infoboxes.md\":\"1e520ae7\",\"public_kronos_docs_layer-features.md\":\"13746ddd\",\"public_kronos_docs_main-mod-info.md\":\"880d3987\",\"public_kronos_docs_milestones.md\":\"ddaaade5\",\"public_kronos_docs_particles.md\":\"78d816e8\",\"public_kronos_docs_subtabs-and-microtabs.md\":\"f0ff58d5\",\"public_kronos_docs_trees-and-tree-customization.md\":\"763f6e41\",\"public_kronos_docs_updating-tmt.md\":\"3d630d86\",\"public_kronos_docs_upgrades.md\":\"e5295c4b\",\"public_lit_old things_2.0-format-changes.md\":\"e73a9b99\",\"public_lit_readme.md\":\"241d60e2\",\"public_lit_changelog.md\":\"08f37d7f\",\"public_lit_docs_!general-info.md\":\"e02fc830\",\"public_lit_docs_achievements.md\":\"9bdd1682\",\"public_lit_docs_bars.md\":\"51d95f97\",\"public_lit_docs_basic-layer-breakdown.md\":\"c311548b\",\"public_lit_docs_buyables.md\":\"cdd4074b\",\"public_lit_docs_challenges.md\":\"ff75af2d\",\"public_lit_docs_clickables.md\":\"2c4bf6c0\",\"public_lit_docs_custom-tab-layouts.md\":\"4ef7b79a\",\"public_lit_docs_getting-started.md\":\"1abd3c25\",\"public_lit_docs_infoboxes.md\":\"6e888c51\",\"public_lit_docs_layer-features.md\":\"77bde097\",\"public_lit_docs_main-mod-info.md\":\"c984b67a\",\"public_lit_docs_milestones.md\":\"05858e62\",\"public_lit_docs_subtabs-and-microtabs.md\":\"84373a35\",\"public_lit_docs_trees-and-tree-customization.md\":\"083d2a32\",\"public_lit_docs_updating-tmt.md\":\"6dce2005\",\"public_lit_docs_upgrades.md\":\"967aa760\"}")</script>
<script type="module" async src="/assets/app.99998402.js"></script>
</body>

Some files were not shown because too many files have changed in this diff Show more