diff --git a/404.html b/404.html index 8bd46cb80..e2e756899 100644 --- a/404.html +++ b/404.html @@ -6,7 +6,7 @@ 404 | The Paper Pilot - + @@ -21,8 +21,8 @@

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.
- - + + \ No newline at end of file diff --git a/assets/app.c95a51e0.js b/assets/app.830f7d24.js similarity index 84% rename from assets/app.c95a51e0.js rename to assets/app.830f7d24.js index 5f37be6a6..3429c4b11 100644 --- a/assets/app.c95a51e0.js +++ b/assets/app.830f7d24.js @@ -1,4 +1,4 @@ -function Es(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Sr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vr=Es(Sr);function ai(e){return!!e||e===""}function Dn(e){if(K(e)){const t={};for(let n=0;n{if(n){const s=n.split(Lr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function de(e){let t="";if(we(e))t=e;else if(K(e))for(let n=0;nwe(e)?e:e==null?"":K(e)||ge(e)&&(e.toString===hi||!X(e.toString))?JSON.stringify(e,ui,2):String(e),ui=(e,t)=>t&&t.__v_isRef?ui(e,t.value):Nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:fi(t)?{[`Set(${t.size})`]:[...t.values()]}:ge(t)&&!K(t)&&!_i(t)?String(t):t,ve={},At=[],Ke=()=>{},Mr=()=>!1,Ir=/^on[^a-z]/,hn=e=>Ir.test(e),Ms=e=>e.startsWith("onUpdate:"),ke=Object.assign,Is=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ar=Object.prototype.hasOwnProperty,se=(e,t)=>Ar.call(e,t),K=Array.isArray,Nt=e=>Rn(e)==="[object Map]",fi=e=>Rn(e)==="[object Set]",X=e=>typeof e=="function",we=e=>typeof e=="string",As=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",di=e=>ge(e)&&X(e.then)&&X(e.catch),hi=Object.prototype.toString,Rn=e=>hi.call(e),Nr=e=>Rn(e).slice(8,-1),_i=e=>Rn(e)==="[object Object]",Ns=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=Es(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Br=/-(\w)/g,et=jn(e=>e.replace(Br,(t,n)=>n?n.toUpperCase():"")),Or=/\B([A-Z])/g,Wt=jn(e=>e.replace(Or,"-$1").toLowerCase()),zn=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),rs=jn(e=>e?`on${zn(e)}`:""),on=(e,t)=>!Object.is(e,t),ls=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},pi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ho;const Fr=()=>ho||(ho=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ae;class Hr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ae&&(this.parent=Ae,this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Ae;try{return Ae=this,t()}finally{Ae=n}}}on(){Ae=this}off(){Ae=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},vi=e=>(e.w&ht)>0,mi=e=>(e.n&ht)>0,zr=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(f==="length"||f>=s)&&l.push(c)});else switch(n!==void 0&&l.push(r.get(n)),t){case"add":K(e)?Ns(n)&&l.push(r.get("length")):(l.push(r.get(St)),Nt(e)&&l.push(r.get(ms)));break;case"delete":K(e)||(l.push(r.get(St)),Nt(e)&&l.push(r.get(ms)));break;case"set":Nt(e)&&l.push(r.get(St));break}if(l.length===1)l[0]&&gs(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);gs(Bs(c))}}function gs(e,t){const n=K(e)?e:[...e];for(const s of n)s.computed&&po(s);for(const s of n)s.computed||po(s)}function po(e,t){(e!==ze||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Kr=Es("__proto__,__v_isRef,__isVue"),yi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(As)),Wr=Fs(),qr=Fs(!1,!0),Gr=Fs(!0),vo=Yr();function Yr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ce(this);for(let i=0,r=this.length;i{e[t]=function(...n){qt();const s=ce(this)[t].apply(this,n);return Gt(),s}}),e}function Fs(e=!1,t=!1){return function(s,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?fl:Pi:t?$i:ki).get(s))return s;const r=K(s);if(!e&&r&&se(vo,o))return Reflect.get(vo,o,i);const l=Reflect.get(s,o,i);return(As(o)?yi.has(o):Kr(o))||(e||Be(s,"get",o),t)?l:Pe(l)?r&&Ns(o)?l:l.value:ge(l)?e?Rs(l):Kn(l):l}}const Qr=wi(),Jr=wi(!0);function wi(e=!1){return function(n,s,o,i){let r=n[s];if(jt(r)&&Pe(r)&&!Pe(o))return!1;if(!e&&(!Vn(o)&&!jt(o)&&(r=ce(r),o=ce(o)),!K(n)&&Pe(r)&&!Pe(o)))return r.value=o,!0;const l=K(n)&&Ns(s)?Number(s)e,Un=e=>Reflect.getPrototypeOf(e);function mn(e,t,n=!1,s=!1){e=e.__v_raw;const o=ce(e),i=ce(t);n||(t!==i&&Be(o,"get",t),Be(o,"get",i));const{has:r}=Un(o),l=s?Hs:n?zs:rn;if(r.call(o,t))return l(e.get(t));if(r.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function gn(e,t=!1){const n=this.__v_raw,s=ce(n),o=ce(e);return t||(e!==o&&Be(s,"has",e),Be(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function bn(e,t=!1){return e=e.__v_raw,!t&&Be(ce(e),"iterate",St),Reflect.get(e,"size",e)}function mo(e){e=ce(e);const t=ce(this);return Un(t).has.call(t,e)||(t.add(e),ot(t,"add",e,e)),this}function go(e,t){t=ce(t);const n=ce(this),{has:s,get:o}=Un(n);let i=s.call(n,e);i||(e=ce(e),i=s.call(n,e));const r=o.call(n,e);return n.set(e,t),i?on(t,r)&&ot(n,"set",e,t):ot(n,"add",e,t),this}function bo(e){const t=ce(this),{has:n,get:s}=Un(t);let o=n.call(t,e);o||(e=ce(e),o=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return o&&ot(t,"delete",e,void 0),i}function yo(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&ot(e,"clear",void 0,void 0),n}function yn(e,t){return function(s,o){const i=this,r=i.__v_raw,l=ce(r),c=t?Hs:e?zs:rn;return!e&&Be(l,"iterate",St),r.forEach((f,h)=>s.call(o,c(f),c(h),i))}}function wn(e,t,n){return function(...s){const o=this.__v_raw,i=ce(o),r=Nt(i),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,f=o[e](...s),h=n?Hs:t?zs:rn;return!t&&Be(i,"iterate",c?ms:St),{next(){const{value:v,done:y}=f.next();return y?{value:v,done:y}:{value:l?[h(v[0]),h(v[1])]:h(v),done:y}},[Symbol.iterator](){return this}}}}function rt(e){return function(...t){return e==="delete"?!1:this}}function sl(){const e={get(i){return mn(this,i)},get size(){return bn(this)},has:gn,add:mo,set:go,delete:bo,clear:yo,forEach:yn(!1,!1)},t={get(i){return mn(this,i,!1,!0)},get size(){return bn(this)},has:gn,add:mo,set:go,delete:bo,clear:yo,forEach:yn(!1,!0)},n={get(i){return mn(this,i,!0)},get size(){return bn(this,!0)},has(i){return gn.call(this,i,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:yn(!0,!1)},s={get(i){return mn(this,i,!0,!0)},get size(){return bn(this,!0)},has(i){return gn.call(this,i,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:yn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=wn(i,!1,!1),n[i]=wn(i,!0,!1),t[i]=wn(i,!1,!0),s[i]=wn(i,!0,!0)}),[e,n,t,s]}const[ol,il,rl,ll]=sl();function Ds(e,t){const n=t?e?ll:rl:e?il:ol;return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(se(n,o)&&o in s?n:s,o,i)}const cl={get:Ds(!1,!1)},al={get:Ds(!1,!0)},ul={get:Ds(!0,!1)},ki=new WeakMap,$i=new WeakMap,Pi=new WeakMap,fl=new WeakMap;function dl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hl(e){return e.__v_skip||!Object.isExtensible(e)?0:dl(Nr(e))}function Kn(e){return jt(e)?e:js(e,!1,xi,cl,ki)}function _l(e){return js(e,!1,nl,al,$i)}function Rs(e){return js(e,!0,tl,ul,Pi)}function js(e,t,n,s,o){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=hl(e);if(r===0)return e;const l=new Proxy(e,r===2?s:n);return o.set(e,l),l}function Bt(e){return jt(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function jt(e){return!!(e&&e.__v_isReadonly)}function Vn(e){return!!(e&&e.__v_isShallow)}function Ci(e){return Bt(e)||jt(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function en(e){return Sn(e,"__v_skip",!0),e}const rn=e=>ge(e)?Kn(e):e,zs=e=>ge(e)?Rs(e):e;function Si(e){ft&&ze&&(e=ce(e),bi(e.dep||(e.dep=Bs())))}function Vi(e,t){e=ce(e),e.dep&&gs(e.dep)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function me(e){return Ti(e,!1)}function pl(e){return Ti(e,!0)}function Ti(e,t){return Pe(e)?e:new vl(e,t)}class vl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ce(t),this._value=n?t:rn(t)}get value(){return Si(this),this._value}set value(t){const n=this.__v_isShallow||Vn(t)||jt(t);t=n?t:ce(t),on(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:rn(t),Vi(this))}}function _(e){return Pe(e)?e.value:e}const ml={get:(e,t,n)=>_(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Li(e){return Bt(e)?e:new Proxy(e,ml)}var Ei;class gl{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Ei]=!1,this._dirty=!0,this.effect=new Os(t,()=>{this._dirty||(this._dirty=!0,Vi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=ce(this);return Si(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Ei="__v_isReadonly";function bl(e,t,n=!1){let s,o;const i=X(e);return i?(s=e,o=Ke):(s=e.get,o=e.set),new gl(s,o,i||!o,n)}function dt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){Wn(i,t,n)}return o}function He(e,t,n,s){if(X(e)){const i=dt(e,t,n,s);return i&&di(i)&&i.catch(r=>{Wn(r,t,n)}),i}const o=[];for(let i=0;i>>1;cn($e[s])Je&&$e.splice(t,1)}function kl(e){K(e)?Ot.push(...e):(!st||!st.includes(e,e.allowRecurse?kt+1:kt))&&Ot.push(e),Ii()}function wo(e,t=ln?Je+1:0){for(;t<$e.length;t++){const n=$e[t];n&&n.pre&&($e.splice(t,1),t--,n())}}function Tn(e){if(Ot.length){const t=[...new Set(Ot)];if(Ot.length=0,st){st.push(...t);return}for(st=t,st.sort((n,s)=>cn(n)-cn(s)),kt=0;kte.id==null?1/0:e.id,$l=(e,t)=>{const n=cn(e)-cn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ai(e){bs=!1,ln=!0,$e.sort($l);const t=Ke;try{for(Je=0;Je<$e.length;Je++){const n=$e[Je];n&&n.active!==!1&&dt(n,null,14)}}finally{Je=0,$e.length=0,Tn(),ln=!1,Us=null,($e.length||Ot.length)&&Ai()}}function Pl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ve;let o=n;const i=t.startsWith("update:"),r=i&&t.slice(7);if(r&&r in s){const h=`${r==="modelValue"?"model":r}Modifiers`,{number:v,trim:y}=s[h]||ve;y&&(o=n.map($=>$.trim())),v&&(o=n.map(pi))}let l,c=s[l=rs(t)]||s[l=rs(et(t))];!c&&i&&(c=s[l=rs(Wt(t))]),c&&He(c,e,6,o);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(f,e,6,o)}}function Ni(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},l=!1;if(!X(e)){const c=f=>{const h=Ni(f,t,!0);h&&(l=!0,ke(r,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ge(e)&&s.set(e,null),null):(K(i)?i.forEach(c=>r[c]=null):ke(r,i),ge(e)&&s.set(e,r),r)}function qn(e,t){return!e||!hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Wt(t))||se(e,t))}let Ve=null,Gn=null;function Ln(e){const t=Ve;return Ve=e,Gn=e&&e.type.__scopeId||null,t}function We(e){Gn=e}function qe(){Gn=null}function I(e,t=Ve,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Mo(-1);const i=Ln(t),r=e(...o);return Ln(i),s._d&&Mo(1),r};return s._n=!0,s._c=!0,s._d=!0,s}function cs(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:i,propsOptions:[r],slots:l,attrs:c,emit:f,render:h,renderCache:v,data:y,setupState:$,ctx:z,inheritAttrs:F}=e;let J,g;const L=Ln(e);try{if(n.shapeFlag&4){const Y=o||s;J=je(h.call(Y,Y,v,i,$,y,z)),g=c}else{const Y=t;J=je(Y.length>1?Y(i,{attrs:c,slots:l,emit:f}):Y(i,null)),g=t.props?c:Cl(c)}}catch(Y){tn.length=0,Wn(Y,e,1),J=V(Ne)}let U=J;if(g&&F!==!1){const Y=Object.keys(g),{shapeFlag:ne}=U;Y.length&&ne&7&&(r&&Y.some(Ms)&&(g=Sl(g,r)),U=_t(U,g))}return n.dirs&&(U=_t(U),U.dirs=U.dirs?U.dirs.concat(n.dirs):n.dirs),n.transition&&(U.transition=n.transition),J=U,Ln(L),J}const Cl=e=>{let t;for(const n in e)(n==="class"||n==="style"||hn(n))&&((t||(t={}))[n]=e[n]);return t},Sl=(e,t)=>{const n={};for(const s in e)(!Ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Vl(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?xo(s,r,f):!!r;if(c&8){const h=t.dynamicProps;for(let v=0;ve.__isSuspense;function Bi(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):kl(e)}function Yn(e,t){if(xe){let n=xe.provides;const s=xe.parent&&xe.parent.provides;s===n&&(n=xe.provides=Object.create(s)),n[e]=t}}function Xe(e,t,n=!1){const s=xe||Ve;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&X(t)?t.call(s.proxy):t}}function zt(e,t){return Qn(e,null,t)}function Oi(e,t){return Qn(e,null,{flush:"post"})}const ko={};function Ze(e,t,n){return Qn(e,t,n)}function Qn(e,t,{immediate:n,deep:s,flush:o,onTrack:i,onTrigger:r}=ve){const l=xe;let c,f=!1,h=!1;if(Pe(e)?(c=()=>e.value,f=Vn(e)):Bt(e)?(c=()=>e,s=!0):K(e)?(h=!0,f=e.some(g=>Bt(g)||Vn(g)),c=()=>e.map(g=>{if(Pe(g))return g.value;if(Bt(g))return It(g);if(X(g))return dt(g,l,2)})):X(e)?t?c=()=>dt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return v&&v(),He(e,l,3,[y])}:c=Ke,t&&s){const g=c;c=()=>It(g())}let v,y=g=>{v=J.onStop=()=>{dt(g,l,4)}};if(fn)return y=Ke,t?n&&He(t,l,3,[c(),h?[]:void 0,y]):c(),Ke;let $=h?[]:ko;const z=()=>{if(!!J.active)if(t){const g=J.run();(s||f||(h?g.some((L,U)=>on(L,$[U])):on(g,$)))&&(v&&v(),He(t,l,3,[g,$===ko?void 0:$,y]),$=g)}else J.run()};z.allowRecurse=!!t;let F;o==="sync"?F=z:o==="post"?F=()=>Le(z,l&&l.suspense):(z.pre=!0,l&&(z.id=l.uid),F=()=>Ws(z));const J=new Os(c,F);return t?n?z():$=J.run():o==="post"?Le(J.run.bind(J),l&&l.suspense):J.run(),()=>{J.stop(),l&&l.scope&&Is(l.scope.effects,J)}}function El(e,t,n){const s=this.proxy,o=we(e)?e.includes(".")?Fi(s,e):()=>s[e]:e.bind(s,s);let i;X(t)?i=t:(i=t.handler,n=t);const r=xe;Ut(this);const l=Qn(o,i.bind(s),n);return r?Ut(r):Vt(),l}function Fi(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{It(n,t)});else if(_i(e))for(const n in e)It(e[n],t);return e}function Ml(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return De(()=>{e.isMounted=!0}),zi(()=>{e.isUnmounting=!0}),e}const Oe=[Function,Array],Il={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Oe,onEnter:Oe,onAfterEnter:Oe,onEnterCancelled:Oe,onBeforeLeave:Oe,onLeave:Oe,onAfterLeave:Oe,onLeaveCancelled:Oe,onBeforeAppear:Oe,onAppear:Oe,onAfterAppear:Oe,onAppearCancelled:Oe},setup(e,{slots:t}){const n=Zs(),s=Ml();let o;return()=>{const i=t.default&&Ri(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const F of i)if(F.type!==Ne){r=F;break}}const l=ce(e),{mode:c}=l;if(s.isLeaving)return as(r);const f=$o(r);if(!f)return as(r);const h=ys(f,l,s,n);ws(f,h);const v=n.subTree,y=v&&$o(v);let $=!1;const{getTransitionKey:z}=f.type;if(z){const F=z();o===void 0?o=F:F!==o&&(o=F,$=!0)}if(y&&y.type!==Ne&&(!$t(f,y)||$)){const F=ys(y,l,s,n);if(ws(y,F),c==="out-in")return s.isLeaving=!0,F.afterLeave=()=>{s.isLeaving=!1,n.update()},as(r);c==="in-out"&&f.type!==Ne&&(F.delayLeave=(J,g,L)=>{const U=Di(s,y);U[String(y.key)]=y,J._leaveCb=()=>{g(),J._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=L})}return r}}},Hi=Il;function Di(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ys(e,t,n,s){const{appear:o,mode:i,persisted:r=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:v,onLeave:y,onAfterLeave:$,onLeaveCancelled:z,onBeforeAppear:F,onAppear:J,onAfterAppear:g,onAppearCancelled:L}=t,U=String(e.key),Y=Di(n,e),ne=(M,Z)=>{M&&He(M,s,9,Z)},he=(M,Z)=>{const Q=Z[1];ne(M,Z),K(M)?M.every(re=>re.length<=1)&&Q():M.length<=1&&Q()},oe={mode:i,persisted:r,beforeEnter(M){let Z=l;if(!n.isMounted)if(o)Z=F||l;else return;M._leaveCb&&M._leaveCb(!0);const Q=Y[U];Q&&$t(e,Q)&&Q.el._leaveCb&&Q.el._leaveCb(),ne(Z,[M])},enter(M){let Z=c,Q=f,re=h;if(!n.isMounted)if(o)Z=J||c,Q=g||f,re=L||h;else return;let N=!1;const ee=M._enterCb=H=>{N||(N=!0,H?ne(re,[M]):ne(Q,[M]),oe.delayedLeave&&oe.delayedLeave(),M._enterCb=void 0)};Z?he(Z,[M,ee]):ee()},leave(M,Z){const Q=String(e.key);if(M._enterCb&&M._enterCb(!0),n.isUnmounting)return Z();ne(v,[M]);let re=!1;const N=M._leaveCb=ee=>{re||(re=!0,Z(),ee?ne(z,[M]):ne($,[M]),M._leaveCb=void 0,Y[Q]===e&&delete Y[Q])};Y[Q]=e,y?he(y,[M,N]):N()},clone(M){return ys(M,t,n,s)}};return oe}function as(e){if(Jn(e))return e=_t(e),e.children=null,e}function $o(e){return Jn(e)?e.children?e.children[0]:void 0:e}function ws(e,t){e.shapeFlag&6&&e.component?ws(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ri(e,t=!1,n){let s=[],o=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,Jn=e=>e.type.__isKeepAlive;function Al(e,t){ji(e,"a",t)}function Nl(e,t){ji(e,"da",t)}function ji(e,t,n=xe){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Xn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Jn(o.parent.vnode)&&Bl(s,t,n,o),o=o.parent}}function Bl(e,t,n,s){const o=Xn(t,e,s,!0);pt(()=>{Is(s[t],o)},n)}function Xn(e,t,n=xe,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;qt(),Ut(n);const l=He(t,n,e,r);return Vt(),Gt(),l});return s?o.unshift(i):o.push(i),i}}const it=e=>(t,n=xe)=>(!fn||e==="sp")&&Xn(e,(...s)=>t(...s),n),Ol=it("bm"),De=it("m"),Fl=it("bu"),qs=it("u"),zi=it("bum"),pt=it("um"),Hl=it("sp"),Dl=it("rtg"),Rl=it("rtc");function jl(e,t=xe){Xn("ec",e,t)}function Qe(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let r=0;rt(r,l,void 0,i&&i[l]));else{const r=Object.keys(e);o=new Array(r.length);for(let l=0,c=r.length;lAn(t)?!(t.type===Ne||t.type===q&&!Wi(t.children)):!0)?e:null}const xs=e=>e?sr(e)?eo(e)||e.proxy:xs(e.parent):null,En=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xs(e.parent),$root:e=>xs(e.root),$emit:e=>e.emit,$options:e=>Qs(e),$forceUpdate:e=>e.f||(e.f=()=>Ws(e.update)),$nextTick:e=>e.n||(e.n=Ks.bind(e.proxy)),$watch:e=>El.bind(e)}),zl={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const $=r[t];if($!==void 0)switch($){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(s!==ve&&se(s,t))return r[t]=1,s[t];if(o!==ve&&se(o,t))return r[t]=2,o[t];if((f=e.propsOptions[0])&&se(f,t))return r[t]=3,i[t];if(n!==ve&&se(n,t))return r[t]=4,n[t];ks&&(r[t]=0)}}const h=En[t];let v,y;if(h)return t==="$attrs"&&Be(e,"get",t),h(e);if((v=l.__cssModules)&&(v=v[t]))return v;if(n!==ve&&se(n,t))return r[t]=4,n[t];if(y=c.config.globalProperties,se(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return o!==ve&&se(o,t)?(o[t]=n,!0):s!==ve&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},r){let l;return!!n[r]||e!==ve&&se(e,r)||t!==ve&&se(t,r)||(l=i[0])&&se(l,r)||se(s,r)||se(En,r)||se(o.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ks=!0;function Ul(e){const t=Qs(e),n=e.proxy,s=e.ctx;ks=!1,t.beforeCreate&&Co(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:c,inject:f,created:h,beforeMount:v,mounted:y,beforeUpdate:$,updated:z,activated:F,deactivated:J,beforeDestroy:g,beforeUnmount:L,destroyed:U,unmounted:Y,render:ne,renderTracked:he,renderTriggered:oe,errorCaptured:M,serverPrefetch:Z,expose:Q,inheritAttrs:re,components:N,directives:ee,filters:H}=t;if(f&&Kl(f,s,null,e.appContext.config.unwrapInjectedRef),r)for(const be in r){const _e=r[be];X(_e)&&(s[be]=_e.bind(n))}if(o){const be=o.call(n,n);ge(be)&&(e.data=Kn(be))}if(ks=!0,i)for(const be in i){const _e=i[be],mt=X(_e)?_e.bind(n,n):X(_e.get)?_e.get.bind(n,n):Ke,pn=!X(_e)&&X(_e.set)?_e.set.bind(n):Ke,gt=ie({get:mt,set:pn});Object.defineProperty(s,be,{enumerable:!0,configurable:!0,get:()=>gt.value,set:Ge=>gt.value=Ge})}if(l)for(const be in l)qi(l[be],s,n,be);if(c){const be=X(c)?c.call(n):c;Reflect.ownKeys(be).forEach(_e=>{Yn(_e,be[_e])})}h&&Co(h,e,"c");function ue(be,_e){K(_e)?_e.forEach(mt=>be(mt.bind(n))):_e&&be(_e.bind(n))}if(ue(Ol,v),ue(De,y),ue(Fl,$),ue(qs,z),ue(Al,F),ue(Nl,J),ue(jl,M),ue(Rl,he),ue(Dl,oe),ue(zi,L),ue(pt,Y),ue(Hl,Z),K(Q))if(Q.length){const be=e.exposed||(e.exposed={});Q.forEach(_e=>{Object.defineProperty(be,_e,{get:()=>n[_e],set:mt=>n[_e]=mt})})}else e.exposed||(e.exposed={});ne&&e.render===Ke&&(e.render=ne),re!=null&&(e.inheritAttrs=re),N&&(e.components=N),ee&&(e.directives=ee)}function Kl(e,t,n=Ke,s=!1){K(e)&&(e=$s(e));for(const o in e){const i=e[o];let r;ge(i)?"default"in i?r=Xe(i.from||o,i.default,!0):r=Xe(i.from||o):r=Xe(i),Pe(r)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function Co(e,t,n){He(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function qi(e,t,n,s){const o=s.includes(".")?Fi(n,s):()=>n[s];if(we(e)){const i=t[e];X(i)&&Ze(o,i)}else if(X(e))Ze(o,e.bind(n));else if(ge(e))if(K(e))e.forEach(i=>qi(i,t,n,s));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&Ze(o,i,e)}}function Qs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,l=i.get(t);let c;return l?c=l:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(f=>Mn(c,f,r,!0)),Mn(c,t,r)),ge(t)&&i.set(t,c),c}function Mn(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&Mn(e,i,n,!0),o&&o.forEach(r=>Mn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=Wl[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const Wl={data:So,props:xt,emits:xt,methods:xt,computed:xt,beforeCreate:Se,created:Se,beforeMount:Se,mounted:Se,beforeUpdate:Se,updated:Se,beforeDestroy:Se,beforeUnmount:Se,destroyed:Se,unmounted:Se,activated:Se,deactivated:Se,errorCaptured:Se,serverPrefetch:Se,components:xt,directives:xt,watch:Gl,provide:So,inject:ql};function So(e,t){return t?e?function(){return ke(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function ql(e,t){return xt($s(e),$s(t))}function $s(e){if(K(e)){const t={};for(let n=0;n0)&&!(r&16)){if(r&8){const h=e.vnode.dynamicProps;for(let v=0;v{c=!0;const[y,$]=Yi(v,t,!0);ke(r,y),$&&l.push(...$)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!c)return ge(e)&&s.set(e,At),At;if(K(i))for(let h=0;h-1,$[1]=F<0||z-1||se($,"default"))&&l.push(v)}}}const f=[r,l];return ge(e)&&s.set(e,f),f}function Vo(e){return e[0]!=="$"}function To(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Lo(e,t){return To(e)===To(t)}function Eo(e,t){return K(t)?t.findIndex(n=>Lo(n,e)):X(t)&&Lo(t,e)?0:-1}const Qi=e=>e[0]==="_"||e==="$stable",Js=e=>K(e)?e.map(je):[je(e)],Jl=(e,t,n)=>{if(t._n)return t;const s=I((...o)=>Js(t(...o)),n);return s._c=!1,s},Ji=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Qi(o))continue;const i=e[o];if(X(i))t[o]=Jl(o,i,s);else if(i!=null){const r=Js(i);t[o]=()=>r}}},Xi=(e,t)=>{const n=Js(t);e.slots.default=()=>n},Xl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),Sn(t,"_",n)):Ji(t,e.slots={})}else e.slots={},t&&Xi(e,t);Sn(e.slots,Zn,1)},Zl=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=ve;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ke(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Ji(t,o)),r=t}else t&&(Xi(e,t),r={default:1});if(i)for(const l in o)!Qi(l)&&!(l in r)&&delete o[l]};function Zi(){return{app:null,config:{isNativeTag:Mr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ec=0;function tc(e,t){return function(s,o=null){X(s)||(s=Object.assign({},s)),o!=null&&!ge(o)&&(o=null);const i=Zi(),r=new Set;let l=!1;const c=i.app={_uid:ec++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:yc,get config(){return i.config},set config(f){},use(f,...h){return r.has(f)||(f&&X(f.install)?(r.add(f),f.install(c,...h)):X(f)&&(r.add(f),f(c,...h))),c},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),c},component(f,h){return h?(i.components[f]=h,c):i.components[f]},directive(f,h){return h?(i.directives[f]=h,c):i.directives[f]},mount(f,h,v){if(!l){const y=V(s,o);return y.appContext=i,h&&t?t(y,f):e(y,f,v),l=!0,c._container=f,f.__vue_app__=c,eo(y.component)||y.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(f,h){return i.provides[f]=h,c}};return c}}function In(e,t,n,s,o=!1){if(K(e)){e.forEach((y,$)=>In(y,t&&(K(t)?t[$]:t),n,s,o));return}if(Ft(s)&&!o)return;const i=s.shapeFlag&4?eo(s.component)||s.component.proxy:s.el,r=o?null:i,{i:l,r:c}=e,f=t&&t.r,h=l.refs===ve?l.refs={}:l.refs,v=l.setupState;if(f!=null&&f!==c&&(we(f)?(h[f]=null,se(v,f)&&(v[f]=null)):Pe(f)&&(f.value=null)),X(c))dt(c,l,12,[r,h]);else{const y=we(c),$=Pe(c);if(y||$){const z=()=>{if(e.f){const F=y?h[c]:c.value;o?K(F)&&Is(F,i):K(F)?F.includes(i)||F.push(i):y?(h[c]=[i],se(v,c)&&(v[c]=h[c])):(c.value=[i],e.k&&(h[e.k]=c.value))}else y?(h[c]=r,se(v,c)&&(v[c]=r)):$&&(c.value=r,e.k&&(h[e.k]=r))};r?(z.id=-1,Le(z,n)):z()}}}let lt=!1;const xn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",kn=e=>e.nodeType===8;function nc(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:i,parentNode:r,remove:l,insert:c,createComment:f}}=e,h=(g,L)=>{if(!L.hasChildNodes()){n(null,g,L),Tn(),L._vnode=g;return}lt=!1,v(L.firstChild,g,null,null,null),Tn(),L._vnode=g,lt&&console.error("Hydration completed but contains mismatches.")},v=(g,L,U,Y,ne,he=!1)=>{const oe=kn(g)&&g.data==="[",M=()=>F(g,L,U,Y,ne,oe),{type:Z,ref:Q,shapeFlag:re,patchFlag:N}=L;let ee=g.nodeType;L.el=g,N===-2&&(he=!1,L.dynamicChildren=null);let H=null;switch(Z){case an:ee!==3?L.children===""?(c(L.el=o(""),r(g),g),H=g):H=M():(g.data!==L.children&&(lt=!0,g.data=L.children),H=i(g));break;case Ne:ee!==8||oe?H=M():H=i(g);break;case Ht:if(oe&&(g=i(g),ee=g.nodeType),ee===1||ee===3){H=g;const Me=!L.children.length;for(let ue=0;ue{he=he||!!L.dynamicChildren;const{type:oe,props:M,patchFlag:Z,shapeFlag:Q,dirs:re}=L,N=oe==="input"&&re||oe==="option";if(N||Z!==-1){if(re&&Qe(L,null,U,"created"),M)if(N||!he||Z&48)for(const H in M)(N&&H.endsWith("value")||hn(H)&&!Zt(H))&&s(g,H,null,M[H],!1,void 0,U);else M.onClick&&s(g,"onClick",null,M.onClick,!1,void 0,U);let ee;if((ee=M&&M.onVnodeBeforeMount)&&Fe(ee,U,L),re&&Qe(L,null,U,"beforeMount"),((ee=M&&M.onVnodeMounted)||re)&&Bi(()=>{ee&&Fe(ee,U,L),re&&Qe(L,null,U,"mounted")},Y),Q&16&&!(M&&(M.innerHTML||M.textContent))){let H=$(g.firstChild,L,g,U,Y,ne,he);for(;H;){lt=!0;const Me=H;H=H.nextSibling,l(Me)}}else Q&8&&g.textContent!==L.children&&(lt=!0,g.textContent=L.children)}return g.nextSibling},$=(g,L,U,Y,ne,he,oe)=>{oe=oe||!!L.dynamicChildren;const M=L.children,Z=M.length;for(let Q=0;Q{const{slotScopeIds:oe}=L;oe&&(ne=ne?ne.concat(oe):oe);const M=r(g),Z=$(i(g),L,M,U,Y,ne,he);return Z&&kn(Z)&&Z.data==="]"?i(L.anchor=Z):(lt=!0,c(L.anchor=f("]"),M,Z),Z)},F=(g,L,U,Y,ne,he)=>{if(lt=!0,L.el=null,he){const Z=J(g);for(;;){const Q=i(g);if(Q&&Q!==Z)l(Q);else break}}const oe=i(g),M=r(g);return l(g),n(null,L,M,oe,U,Y,xn(M),ne),oe},J=g=>{let L=0;for(;g;)if(g=i(g),g&&kn(g)&&(g.data==="["&&L++,g.data==="]")){if(L===0)return i(g);L--}return g};return[h,v]}const Le=Bi;function sc(e){return oc(e,nc)}function oc(e,t){const n=Fr();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:c,setText:f,setElementText:h,parentNode:v,nextSibling:y,setScopeId:$=Ke,insertStaticContent:z}=e,F=(a,u,p,x=null,w=null,C=null,E=!1,P=null,S=!!u.dynamicChildren)=>{if(a===u)return;a&&!$t(a,u)&&(x=vn(a),Ge(a,w,C,!0),a=null),u.patchFlag===-2&&(S=!1,u.dynamicChildren=null);const{type:k,ref:D,shapeFlag:B}=u;switch(k){case an:J(a,u,p,x);break;case Ne:g(a,u,p,x);break;case Ht:a==null&&L(u,p,x,E);break;case q:N(a,u,p,x,w,C,E,P,S);break;default:B&1?ne(a,u,p,x,w,C,E,P,S):B&6?ee(a,u,p,x,w,C,E,P,S):(B&64||B&128)&&k.process(a,u,p,x,w,C,E,P,S,Et)}D!=null&&w&&In(D,a&&a.ref,C,u||a,!u)},J=(a,u,p,x)=>{if(a==null)s(u.el=l(u.children),p,x);else{const w=u.el=a.el;u.children!==a.children&&f(w,u.children)}},g=(a,u,p,x)=>{a==null?s(u.el=c(u.children||""),p,x):u.el=a.el},L=(a,u,p,x)=>{[a.el,a.anchor]=z(a.children,u,p,x,a.el,a.anchor)},U=({el:a,anchor:u},p,x)=>{let w;for(;a&&a!==u;)w=y(a),s(a,p,x),a=w;s(u,p,x)},Y=({el:a,anchor:u})=>{let p;for(;a&&a!==u;)p=y(a),o(a),a=p;o(u)},ne=(a,u,p,x,w,C,E,P,S)=>{E=E||u.type==="svg",a==null?he(u,p,x,w,C,E,P,S):Z(a,u,w,C,E,P,S)},he=(a,u,p,x,w,C,E,P)=>{let S,k;const{type:D,props:B,shapeFlag:R,transition:W,dirs:te}=a;if(S=a.el=r(a.type,C,B&&B.is,B),R&8?h(S,a.children):R&16&&M(a.children,S,null,x,w,C&&D!=="foreignObject",E,P),te&&Qe(a,null,x,"created"),B){for(const fe in B)fe!=="value"&&!Zt(fe)&&i(S,fe,null,B[fe],C,a.children,x,w,nt);"value"in B&&i(S,"value",null,B.value),(k=B.onVnodeBeforeMount)&&Fe(k,x,a)}oe(S,a,a.scopeId,E,x),te&&Qe(a,null,x,"beforeMount");const pe=(!w||w&&!w.pendingBranch)&&W&&!W.persisted;pe&&W.beforeEnter(S),s(S,u,p),((k=B&&B.onVnodeMounted)||pe||te)&&Le(()=>{k&&Fe(k,x,a),pe&&W.enter(S),te&&Qe(a,null,x,"mounted")},w)},oe=(a,u,p,x,w)=>{if(p&&$(a,p),x)for(let C=0;C{for(let k=S;k{const P=u.el=a.el;let{patchFlag:S,dynamicChildren:k,dirs:D}=u;S|=a.patchFlag&16;const B=a.props||ve,R=u.props||ve;let W;p&&bt(p,!1),(W=R.onVnodeBeforeUpdate)&&Fe(W,p,u,a),D&&Qe(u,a,p,"beforeUpdate"),p&&bt(p,!0);const te=w&&u.type!=="foreignObject";if(k?Q(a.dynamicChildren,k,P,p,x,te,C):E||_e(a,u,P,null,p,x,te,C,!1),S>0){if(S&16)re(P,u,B,R,p,x,w);else if(S&2&&B.class!==R.class&&i(P,"class",null,R.class,w),S&4&&i(P,"style",B.style,R.style,w),S&8){const pe=u.dynamicProps;for(let fe=0;fe{W&&Fe(W,p,u,a),D&&Qe(u,a,p,"updated")},x)},Q=(a,u,p,x,w,C,E)=>{for(let P=0;P{if(p!==x){if(p!==ve)for(const P in p)!Zt(P)&&!(P in x)&&i(a,P,p[P],null,E,u.children,w,C,nt);for(const P in x){if(Zt(P))continue;const S=x[P],k=p[P];S!==k&&P!=="value"&&i(a,P,k,S,E,u.children,w,C,nt)}"value"in x&&i(a,"value",p.value,x.value)}},N=(a,u,p,x,w,C,E,P,S)=>{const k=u.el=a?a.el:l(""),D=u.anchor=a?a.anchor:l("");let{patchFlag:B,dynamicChildren:R,slotScopeIds:W}=u;W&&(P=P?P.concat(W):W),a==null?(s(k,p,x),s(D,p,x),M(u.children,p,D,w,C,E,P,S)):B>0&&B&64&&R&&a.dynamicChildren?(Q(a.dynamicChildren,R,p,w,C,E,P),(u.key!=null||w&&u===w.subTree)&&er(a,u,!0)):_e(a,u,p,D,w,C,E,P,S)},ee=(a,u,p,x,w,C,E,P,S)=>{u.slotScopeIds=P,a==null?u.shapeFlag&512?w.ctx.activate(u,p,x,E,S):H(u,p,x,w,C,E,S):Me(a,u,S)},H=(a,u,p,x,w,C,E)=>{const P=a.component=hc(a,x,w);if(Jn(a)&&(P.ctx.renderer=Et),_c(P),P.asyncDep){if(w&&w.registerDep(P,ue),!a.el){const S=P.subTree=V(Ne);g(null,S,u,p)}return}ue(P,a,u,p,w,C,E)},Me=(a,u,p)=>{const x=u.component=a.component;if(Vl(a,u,p))if(x.asyncDep&&!x.asyncResolved){be(x,u,p);return}else x.next=u,xl(x.update),x.update();else u.el=a.el,x.vnode=u},ue=(a,u,p,x,w,C,E)=>{const P=()=>{if(a.isMounted){let{next:D,bu:B,u:R,parent:W,vnode:te}=a,pe=D,fe;bt(a,!1),D?(D.el=te.el,be(a,D,E)):D=te,B&&ls(B),(fe=D.props&&D.props.onVnodeBeforeUpdate)&&Fe(fe,W,D,te),bt(a,!0);const ye=cs(a),Re=a.subTree;a.subTree=ye,F(Re,ye,v(Re.el),vn(Re),a,w,C),D.el=ye.el,pe===null&&Tl(a,ye.el),R&&Le(R,w),(fe=D.props&&D.props.onVnodeUpdated)&&Le(()=>Fe(fe,W,D,te),w)}else{let D;const{el:B,props:R}=u,{bm:W,m:te,parent:pe}=a,fe=Ft(u);if(bt(a,!1),W&&ls(W),!fe&&(D=R&&R.onVnodeBeforeMount)&&Fe(D,pe,u),bt(a,!0),B&&is){const ye=()=>{a.subTree=cs(a),is(B,a.subTree,a,w,null)};fe?u.type.__asyncLoader().then(()=>!a.isUnmounted&&ye()):ye()}else{const ye=a.subTree=cs(a);F(null,ye,p,x,a,w,C),u.el=ye.el}if(te&&Le(te,w),!fe&&(D=R&&R.onVnodeMounted)){const ye=u;Le(()=>Fe(D,pe,ye),w)}(u.shapeFlag&256||pe&&Ft(pe.vnode)&&pe.vnode.shapeFlag&256)&&a.a&&Le(a.a,w),a.isMounted=!0,u=p=x=null}},S=a.effect=new Os(P,()=>Ws(k),a.scope),k=a.update=()=>S.run();k.id=a.uid,bt(a,!0),k()},be=(a,u,p)=>{u.component=a;const x=a.vnode.props;a.vnode=u,a.next=null,Ql(a,u.props,x,p),Zl(a,u.children,p),qt(),wo(),Gt()},_e=(a,u,p,x,w,C,E,P,S=!1)=>{const k=a&&a.children,D=a?a.shapeFlag:0,B=u.children,{patchFlag:R,shapeFlag:W}=u;if(R>0){if(R&128){pn(k,B,p,x,w,C,E,P,S);return}else if(R&256){mt(k,B,p,x,w,C,E,P,S);return}}W&8?(D&16&&nt(k,w,C),B!==k&&h(p,B)):D&16?W&16?pn(k,B,p,x,w,C,E,P,S):nt(k,w,C,!0):(D&8&&h(p,""),W&16&&M(B,p,x,w,C,E,P,S))},mt=(a,u,p,x,w,C,E,P,S)=>{a=a||At,u=u||At;const k=a.length,D=u.length,B=Math.min(k,D);let R;for(R=0;RD?nt(a,w,C,!0,!1,B):M(u,p,x,w,C,E,P,S,B)},pn=(a,u,p,x,w,C,E,P,S)=>{let k=0;const D=u.length;let B=a.length-1,R=D-1;for(;k<=B&&k<=R;){const W=a[k],te=u[k]=S?ut(u[k]):je(u[k]);if($t(W,te))F(W,te,p,null,w,C,E,P,S);else break;k++}for(;k<=B&&k<=R;){const W=a[B],te=u[R]=S?ut(u[R]):je(u[R]);if($t(W,te))F(W,te,p,null,w,C,E,P,S);else break;B--,R--}if(k>B){if(k<=R){const W=R+1,te=WR)for(;k<=B;)Ge(a[k],w,C,!0),k++;else{const W=k,te=k,pe=new Map;for(k=te;k<=R;k++){const Ie=u[k]=S?ut(u[k]):je(u[k]);Ie.key!=null&&pe.set(Ie.key,k)}let fe,ye=0;const Re=R-te+1;let Mt=!1,ao=0;const Qt=new Array(Re);for(k=0;k=Re){Ge(Ie,w,C,!0);continue}let Ye;if(Ie.key!=null)Ye=pe.get(Ie.key);else for(fe=te;fe<=R;fe++)if(Qt[fe-te]===0&&$t(Ie,u[fe])){Ye=fe;break}Ye===void 0?Ge(Ie,w,C,!0):(Qt[Ye-te]=k+1,Ye>=ao?ao=Ye:Mt=!0,F(Ie,u[Ye],p,null,w,C,E,P,S),ye++)}const uo=Mt?ic(Qt):At;for(fe=uo.length-1,k=Re-1;k>=0;k--){const Ie=te+k,Ye=u[Ie],fo=Ie+1{const{el:C,type:E,transition:P,children:S,shapeFlag:k}=a;if(k&6){gt(a.component.subTree,u,p,x);return}if(k&128){a.suspense.move(u,p,x);return}if(k&64){E.move(a,u,p,Et);return}if(E===q){s(C,u,p);for(let B=0;BP.enter(C),w);else{const{leave:B,delayLeave:R,afterLeave:W}=P,te=()=>s(C,u,p),pe=()=>{B(C,()=>{te(),W&&W()})};R?R(C,te,pe):pe()}else s(C,u,p)},Ge=(a,u,p,x=!1,w=!1)=>{const{type:C,props:E,ref:P,children:S,dynamicChildren:k,shapeFlag:D,patchFlag:B,dirs:R}=a;if(P!=null&&In(P,null,p,a,!0),D&256){u.ctx.deactivate(a);return}const W=D&1&&R,te=!Ft(a);let pe;if(te&&(pe=E&&E.onVnodeBeforeUnmount)&&Fe(pe,u,a),D&6)Cr(a.component,p,x);else{if(D&128){a.suspense.unmount(p,x);return}W&&Qe(a,null,u,"beforeUnmount"),D&64?a.type.remove(a,u,p,w,Et,x):k&&(C!==q||B>0&&B&64)?nt(k,u,p,!1,!0):(C===q&&B&384||!w&&D&16)&&nt(S,u,p),x&&lo(a)}(te&&(pe=E&&E.onVnodeUnmounted)||W)&&Le(()=>{pe&&Fe(pe,u,a),W&&Qe(a,null,u,"unmounted")},p)},lo=a=>{const{type:u,el:p,anchor:x,transition:w}=a;if(u===q){Pr(p,x);return}if(u===Ht){Y(a);return}const C=()=>{o(p),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(a.shapeFlag&1&&w&&!w.persisted){const{leave:E,delayLeave:P}=w,S=()=>E(p,C);P?P(a.el,C,S):S()}else C()},Pr=(a,u)=>{let p;for(;a!==u;)p=y(a),o(a),a=p;o(u)},Cr=(a,u,p)=>{const{bum:x,scope:w,update:C,subTree:E,um:P}=a;x&&ls(x),w.stop(),C&&(C.active=!1,Ge(E,a,u,p)),P&&Le(P,u),Le(()=>{a.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},nt=(a,u,p,x=!1,w=!1,C=0)=>{for(let E=C;Ea.shapeFlag&6?vn(a.component.subTree):a.shapeFlag&128?a.suspense.next():y(a.anchor||a.el),co=(a,u,p)=>{a==null?u._vnode&&Ge(u._vnode,null,null,!0):F(u._vnode||null,a,u,null,null,null,p),wo(),Tn(),u._vnode=a},Et={p:F,um:Ge,m:gt,r:lo,mt:H,mc:M,pc:_e,pbc:Q,n:vn,o:e};let os,is;return t&&([os,is]=t(Et)),{render:co,hydrate:os,createApp:tc(co,os)}}function bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function er(e,t,n=!1){const s=e.children,o=t.children;if(K(s)&&K(o))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}const rc=e=>e.__isTeleport,q=Symbol(void 0),an=Symbol(void 0),Ne=Symbol(void 0),Ht=Symbol(void 0),tn=[];let Ue=null;function d(e=!1){tn.push(Ue=e?null:[])}function lc(){tn.pop(),Ue=tn[tn.length-1]||null}let un=1;function Mo(e){un+=e}function tr(e){return e.dynamicChildren=un>0?Ue||At:null,lc(),un>0&&Ue&&Ue.push(e),e}function m(e,t,n,s,o,i){return tr(b(e,t,n,s,o,i,!0))}function G(e,t,n,s,o){return tr(V(e,t,n,s,o,!0))}function An(e){return e?e.__v_isVNode===!0:!1}function $t(e,t){return e.type===t.type&&e.key===t.key}const Zn="__vInternal",nr=({key:e})=>e!=null?e:null,Pn=({ref:e,ref_key:t,ref_for:n})=>e!=null?we(e)||Pe(e)||X(e)?{i:Ve,r:e,k:t,f:!!n}:e:null;function b(e,t=null,n=null,s=0,o=null,i=e===q?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nr(t),ref:t&&Pn(t),scopeId:Gn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null};return l?(Xs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=we(n)?8:16),un>0&&!r&&Ue&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ue.push(c),c}const V=cc;function cc(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===Ui)&&(e=Ne),An(e)){const l=_t(e,t,!0);return n&&Xs(l,n),un>0&&!i&&Ue&&(l.shapeFlag&6?Ue[Ue.indexOf(e)]=l:Ue.push(l)),l.patchFlag|=-2,l}if(bc(e)&&(e=e.__vccOpts),t){t=ac(t);let{class:l,style:c}=t;l&&!we(l)&&(t.class=de(l)),ge(c)&&(Ci(c)&&!K(c)&&(c=ke({},c)),t.style=Dn(c))}const r=we(e)?1:Ll(e)?128:rc(e)?64:ge(e)?4:X(e)?2:0;return b(e,t,n,s,o,r,i,!0)}function ac(e){return e?Ci(e)||Zn in e?ke({},e):e:null}function _t(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,l=t?Cn(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&nr(l),ref:t&&t.ref?n&&o?K(o)?o.concat(Pn(t)):[o,Pn(t)]:Pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==q?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor}}function Te(e=" ",t=0){return V(an,null,e,t)}function uc(e,t){const n=V(Ht,null,e);return n.staticCount=t,n}function j(e="",t=!1){return t?(d(),G(Ne,null,e)):V(Ne,null,e)}function je(e){return e==null||typeof e=="boolean"?V(Ne):K(e)?V(q,null,e.slice()):typeof e=="object"?ut(e):V(an,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function Xs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Xs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Zn in t)?t._ctx=Ve:o===3&&Ve&&(Ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:Ve},n=32):(t=String(t),s&64?(n=16,t=[Te(t)]):n=8);e.children=t,e.shapeFlag|=n}function Cn(...e){const t={};for(let n=0;nxe||Ve,Ut=e=>{xe=e,e.scope.on()},Vt=()=>{xe&&xe.scope.off(),xe=null};function sr(e){return e.vnode.shapeFlag&4}let fn=!1;function _c(e,t=!1){fn=t;const{props:n,children:s}=e.vnode,o=sr(e);Yl(e,n,o,t),Xl(e,s);const i=o?pc(e,t):void 0;return fn=!1,i}function pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=en(new Proxy(e.ctx,zl));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?mc(e):null;Ut(e),qt();const i=dt(s,e,0,[e.props,o]);if(Gt(),Vt(),di(i)){if(i.then(Vt,Vt),t)return i.then(r=>{Io(e,r,t)}).catch(r=>{Wn(r,e,0)});e.asyncDep=i}else Io(e,i,t)}else or(e,t)}function Io(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=Li(t)),or(e,n)}let Ao;function or(e,t,n){const s=e.type;if(!e.render){if(!t&&Ao&&!s.render){const o=s.template||Qs(e).template;if(o){const{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ke(ke({isCustomElement:i,delimiters:l},r),c);s.render=Ao(o,f)}}e.render=s.render||Ke}Ut(e),qt(),Ul(e),Gt(),Vt()}function vc(e){return new Proxy(e.attrs,{get(t,n){return Be(e,"get","$attrs"),t[n]}})}function mc(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=vc(e))},slots:e.slots,emit:e.emit,expose:t}}function eo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Li(en(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in En)return En[n](e)}}))}function gc(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function bc(e){return X(e)&&"__vccOpts"in e}const ie=(e,t)=>bl(e,t,fn);function Nn(e,t,n){const s=arguments.length;return s===2?ge(t)&&!K(t)?An(t)?V(e,null,[t]):V(e,t):V(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&An(n)&&(n=[n]),V(e,t,n))}const yc="3.2.40",wc="http://www.w3.org/2000/svg",Pt=typeof document<"u"?document:null,No=Pt&&Pt.createElement("template"),xc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?Pt.createElementNS(wc,e):Pt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Pt.createTextNode(e),createComment:e=>Pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{No.innerHTML=s?`${e}`:e;const l=No.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function kc(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function $c(e,t,n){const s=e.style,o=we(n);if(n&&!o){for(const i in n)Cs(s,i,n[i]);if(t&&!we(t))for(const i in t)n[i]==null&&Cs(s,i,"")}else{const i=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Bo=/\s*!important$/;function Cs(e,t,n){if(K(n))n.forEach(s=>Cs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Pc(e,t);Bo.test(n)?e.setProperty(Wt(s),n.replace(Bo,""),"important"):e[s]=n}}const Oo=["Webkit","Moz","ms"],us={};function Pc(e,t){const n=us[t];if(n)return n;let s=et(t);if(s!=="filter"&&s in e)return us[t]=s;s=zn(s);for(let o=0;o{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Ss=0;const Tc=Promise.resolve(),Lc=()=>{Ss=0},Ec=()=>Ss||(Tc.then(Lc),Ss=ir());function Mc(e,t,n,s){e.addEventListener(t,n,s)}function Ic(e,t,n,s){e.removeEventListener(t,n,s)}function Ac(e,t,n,s,o=null){const i=e._vei||(e._vei={}),r=i[t];if(s&&r)r.value=s;else{const[l,c]=Nc(t);if(s){const f=i[t]=Bc(s,o);Mc(e,l,f,c)}else r&&(Ic(e,l,r,c),i[t]=void 0)}}const Ho=/(?:Once|Passive|Capture)$/;function Nc(e){let t;if(Ho.test(e)){t={};let s;for(;s=e.match(Ho);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Wt(e.slice(2)),t]}function Bc(e,t){const n=s=>{const o=s.timeStamp||ir();(Vc||o>=n.attached-1)&&He(Oc(s,n.value),t,5,[s])};return n.value=e,n.attached=Ec(),n}function Oc(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const Do=/^on[a-z]/,Fc=(e,t,n,s,o=!1,i,r,l,c)=>{t==="class"?kc(e,s,o):t==="style"?$c(e,n,s):hn(t)?Ms(t)||Ac(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Hc(e,t,s,o))?Sc(e,t,s,i,r,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Cc(e,t,s,o))};function Hc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Do.test(t)&&X(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Do.test(t)&&we(n)?!1:t in e}function Dc(e){const t=Zs();if(!t)return;const n=()=>Vs(t.subTree,e(t.proxy));Oi(n),De(()=>{const s=new MutationObserver(n);s.observe(t.subTree.el.parentNode,{childList:!0}),pt(()=>s.disconnect())})}function Vs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Vs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ro(e.el,t);else if(e.type===q)e.children.forEach(n=>Vs(n,t));else if(e.type===Ht){let{el:n,anchor:s}=e;for(;n&&(Ro(n,t),n!==s);)n=n.nextSibling}}function Ro(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const ct="transition",Jt="animation",es=(e,{slots:t})=>Nn(Hi,Rc(e),t);es.displayName="Transition";const rr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};es.props=ke({},Hi.props,rr);const yt=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},jo=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function Rc(e){const t={};for(const N in e)N in rr||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=r,appearToClass:h=l,leaveFromClass:v=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:$=`${n}-leave-to`}=e,z=jc(o),F=z&&z[0],J=z&&z[1],{onBeforeEnter:g,onEnter:L,onEnterCancelled:U,onLeave:Y,onLeaveCancelled:ne,onBeforeAppear:he=g,onAppear:oe=L,onAppearCancelled:M=U}=t,Z=(N,ee,H)=>{wt(N,ee?h:l),wt(N,ee?f:r),H&&H()},Q=(N,ee)=>{N._isLeaving=!1,wt(N,v),wt(N,$),wt(N,y),ee&&ee()},re=N=>(ee,H)=>{const Me=N?oe:L,ue=()=>Z(ee,N,H);yt(Me,[ee,ue]),zo(()=>{wt(ee,N?c:i),at(ee,N?h:l),jo(Me)||Uo(ee,s,F,ue)})};return ke(t,{onBeforeEnter(N){yt(g,[N]),at(N,i),at(N,r)},onBeforeAppear(N){yt(he,[N]),at(N,c),at(N,f)},onEnter:re(!1),onAppear:re(!0),onLeave(N,ee){N._isLeaving=!0;const H=()=>Q(N,ee);at(N,v),Kc(),at(N,y),zo(()=>{!N._isLeaving||(wt(N,v),at(N,$),jo(Y)||Uo(N,s,J,H))}),yt(Y,[N,H])},onEnterCancelled(N){Z(N,!1),yt(U,[N])},onAppearCancelled(N){Z(N,!0),yt(M,[N])},onLeaveCancelled(N){Q(N),yt(ne,[N])}})}function jc(e){if(e==null)return null;if(ge(e))return[fs(e.enter),fs(e.leave)];{const t=fs(e);return[t,t]}}function fs(e){return pi(e)}function at(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function wt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function zo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let zc=0;function Uo(e,t,n,s){const o=e._endId=++zc,i=()=>{o===e._endId&&s()};if(n)return setTimeout(i,n);const{type:r,timeout:l,propCount:c}=Uc(e,t);if(!r)return s();const f=r+"end";let h=0;const v=()=>{e.removeEventListener(f,y),i()},y=$=>{$.target===e&&++h>=c&&v()};setTimeout(()=>{h(n[z]||"").split(", "),o=s(ct+"Delay"),i=s(ct+"Duration"),r=Ko(o,i),l=s(Jt+"Delay"),c=s(Jt+"Duration"),f=Ko(l,c);let h=null,v=0,y=0;t===ct?r>0&&(h=ct,v=r,y=i.length):t===Jt?f>0&&(h=Jt,v=f,y=c.length):(v=Math.max(r,f),h=v>0?r>f?ct:Jt:null,y=h?h===ct?i.length:c.length:0);const $=h===ct&&/\b(transform|all)(,|$)/.test(n[ct+"Property"]);return{type:h,timeout:v,propCount:y,hasTransform:$}}function Ko(e,t){for(;e.lengthWo(n)+Wo(e[s])))}function Wo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Kc(){return document.body.offsetHeight}const Wc=["ctrl","shift","alt","meta"],qc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Wc.some(n=>e[`${n}Key`]&&!t.includes(n))},Gc=(e,t)=>(n,...s)=>{for(let o=0;o{const t=Qc().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Xc(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function Xc(e){return we(e)?document.querySelector(e):e}const A=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Zc="modulepreload",ea=function(e){return"/"+e},Go={},ta=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=ea(i),i in Go)return;Go[i]=!0;const r=i.endsWith(".css"),l=r?'[rel="stylesheet"]':"";if(!!s)for(let h=o.length-1;h>=0;h--){const v=o[h];if(v.href===i&&(!r||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const f=document.createElement("link");if(f.rel=r?"stylesheet":Zc,r||(f.as="script",f.crossOrigin=""),f.href=i,document.head.appendChild(f),r)return new Promise((h,v)=>{f.addEventListener("load",h),f.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};const na=O({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>{var s;return d(),m("span",{class:de(["VPBadge",(s=e.type)!=null?s:"tip"])},[T(t.$slots,"default",{},()=>[Te(ae(e.text),1)],!0)],2)}}});const sa=A(na,[["__scopeId","data-v-8d21f6c9"]]),oa=JSON.parse('{"lang":"en-US","title":"The Paper Pilot","description":"The Paper Pilot portfolio site","base":"/","head":[],"appearance":true,"themeConfig":{"outline":"deep","nav":[{"text":"Guide to Incrementals","link":"/guide-to-incrementals/","activeMatch":"^/guide-to-incrementals"},{"text":"Projects","link":"/projects/","activeMatch":"^/projects"},{"text":"Profectus","link":"https://moddingtree.com"}],"socialLinks":[{"icon":"github","link":"https://github.com/thepaperpilot"},{"icon":"linkedin","link":"https://www.linkedin.com/pub/anthony-lawn/a9/a98/2"},{"icon":"discord","link":"https://discord.gg/yJ4fjnjU54"},{"icon":{"svg":"\\n \\n"},"link":"https://mastodon.gamedev.place/@thepaperpilot"}],"sidebar":{"guide-to-incrementals":[{"text":"Ludology","collapsible":true,"items":[{"text":"Defining the Genre","link":"/guide-to-incrementals/ludology/definition"},{"text":"Appeal to Players","link":"/guide-to-incrementals/ludology/appeal-gamers"},{"text":"Appeal to Developers","link":"/guide-to-incrementals/ludology/appeal-developers"},{"text":"What is Content?","link":"/guide-to-incrementals/ludology/content"}]},{"text":"Development","collapsible":true,"items":[{"text":"Introduction","link":"/guide-to-incrementals/design/introduction"}]}],"projects":[{"text":"Play Now","items":[{"text":"Advent Incremental","link":"https://thepaperpilot.org/advent"},{"text":"Kronos","link":"https://thepaperpilot.org/kronos/"},{"text":"Game Dev Tree","link":"https://thepaperpilot.org/gamedevtree/"},{"text":"Lit","link":"https://thepaperpilot.org/lit/"},{"text":"The Ascension Tree","link":"https://thepaperpilot.org/the_ascension_tree/"},{"text":"Dream Hero","link":"https://thepaperpilot.org/dream/"},{"text":"My Itch Page","link":"https://thepaperpilot.itch.io/"}]},{"text":"Downloads","items":[{"text":"Dice Armor","link":"/projects/dice/"},{"text":"Capture the Citadel","link":"/projects/citadel/"}]},{"text":"Non-Games","items":[{"text":"V-ecs","link":"/projects/vecs/"},{"text":"OptiSpeech","link":"/projects/optispeech/"},{"text":"Babble Buds","link":"/projects/babble/"}]}]}},"locales":{},"langs":{},"scrollOffset":90,"cleanUrls":"with-subfolders"}'),ts=/^[a-z]+:/i,Yo="vitepress-theme-appearance",Ee=typeof window<"u",lr={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0};function ia(e,t){t.sort((n,s)=>{const o=s.split("/").length-n.split("/").length;return o!==0?o:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function Qo(e,t){const n=ia(t,Object.keys(e));return n?e[n]:void 0}function ra(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,o)=>(s[o]={label:t[o].label,lang:n[o].lang},s),{}):{}}function la(e,t){t=aa(e,t);const n=Qo(e.locales||{},t),s=Qo(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:ra(e)})}function cr(e,t){var i;const n=t.title||e.title,s=(i=t.titleTemplate)!=null?i:e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const o=ca(e.title,s);return`${n}${o}`}function ca(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function aa(e,t){if(!Ee)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}function ua(e,t){const[n,s]=t;if(n!=="meta")return!1;const o=Object.entries(s)[0];return o==null?!1:e.some(([i,r])=>i===n&&r[o[0]]===o[1])}function fa(e,t){return[...e.filter(n=>!ua(t,n)),...t]}const da=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ha=/^[a-z]:/i;function Jo(e){const t=ha.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(da,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}function _a(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function dn(e){return ts.test(e)?e:_a(Kt.value.base,e)}function ar(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t.endsWith("/")&&(t+="index"),Ee){const n="/";t=Jo(t.slice(n.length).replace(/\//g,"_")||"index")+".md";const s=__VP_HASH_MAP__[t.toLowerCase()];t=`${n}assets/${t}.${s}.js`}else t=`./${Jo(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}const ur=Symbol(),Kt=pl(oa);function pa(e){const t=ie(()=>la(Kt.value,e.path));return{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),lang:ie(()=>t.value.lang),localePath:ie(()=>{const{langs:n,lang:s}=t.value,o=Object.keys(n).find(i=>n[i].lang===s);return dn(o||"/")}),title:ie(()=>cr(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:me(!1)}}function le(){const e=Xe(ur);if(!e)throw new Error("vitepress data not properly injected in app");return e}const fr=Symbol(),Xo="http://a.com",va=()=>({path:"/",component:null,data:lr});function ma(e,t){const n=Kn(va()),s={route:n,go:o};async function o(l=Ee?location.href:"/"){var f,h;await((f=s.onBeforeRouteChange)==null?void 0:f.call(s,l));const c=new URL(l,Xo);Kt.value.cleanUrls==="disabled"&&!c.pathname.endsWith("/")&&!c.pathname.endsWith(".html")&&(c.pathname+=".html",l=c.pathname+c.search+c.hash),Ee&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",l)),await r(l),await((h=s.onAfterRouteChanged)==null?void 0:h.call(s,l))}let i=null;async function r(l,c=0,f=!1){const h=new URL(l,Xo),v=i=h.pathname;try{let y=await e(v);if(i===v){i=null;const{default:$,__pageData:z}=y;if(!$)throw new Error(`Invalid route component: ${$}`);n.path=Ee?v:dn(v),n.component=en($),n.data=en(z),Ee&&Ks(()=>{if(h.hash&&!c){let F=null;try{F=document.querySelector(decodeURIComponent(h.hash))}catch(J){console.warn(J)}if(F){Zo(F,h.hash);return}}window.scrollTo(0,c)})}}catch(y){if(!/fetch/.test(y.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(y),!f)try{const $=await fetch(Kt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await $.json(),await r(l,c,!0);return}catch{}i===v&&(i=null,n.path=Ee?v:dn(v),n.component=t?en(t):null,n.data=lr)}}return Ee&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const f=l.target.closest("a");if(f&&!f.closest(".vp-raw")&&!f.download){const{href:h,origin:v,pathname:y,hash:$,search:z,target:F}=f,J=window.location,g=y.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&F!=="_blank"&&v===J.origin&&!(g&&g[0]!==".html")&&(l.preventDefault(),y===J.pathname&&z===J.search?$&&$!==J.hash&&(history.pushState(null,"",$),window.dispatchEvent(new Event("hashchange")),Zo(f,$,f.classList.contains("header-anchor"))):o(h))}},{capture:!0}),window.addEventListener("popstate",l=>{r(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function ga(){const e=Xe(fr);if(!e)throw new Error("useRouter() is called without provider.");return e}function vt(){return ga().route}function Zo(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(o){console.warn(o)}if(s){let o=Kt.value.scrollOffset;typeof o=="string"&&(o=document.querySelector(o).getBoundingClientRect().bottom+24);const i=parseInt(window.getComputedStyle(s).paddingTop,10),r=window.scrollY+s.getBoundingClientRect().top-o+i;!n||Math.abs(r-window.scrollY)>window.innerHeight?window.scrollTo(0,r):window.scrollTo({left:0,top:r,behavior:"smooth"})}}const ba=O({name:"VitePressContent",props:{onContentUpdated:Function},setup(e){const t=vt();return qs(()=>{var n;(n=e.onContentUpdated)==null||n.call(e)}),()=>Nn("div",{style:{position:"relative"}},[t.component?Nn(t.component):null])}}),dr=/#.*$/,ya=/(index)?\.(md|html)$/,wa=typeof window<"u",xa=me(wa?location.hash:"");function ka(e){return ts.test(e)}function $a(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Yt(e,t,n=!1){if(t===void 0)return!1;if(e=ti(`/${e}`),n)return new RegExp(t).test(e);if(ti(t)!==e)return!1;const s=t.match(dr);return s?xa.value===s[0]:!0}function ei(e){return/^\//.test(e)?e:`/${e}`}function ti(e){return decodeURI(e).replace(dr,"").replace(ya,"")}function Bn(e){if(ka(e))return e;const{site:t}=le(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),i=n.endsWith("/")||n.endsWith(".html")?e:`${n.replace(/(\.md)?$/,t.value.cleanUrls==="disabled"?".html":"")}${s}${o}`;return dn(i)}function hr(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=ei(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(ei(s)));return n?e[n]:[]}function Pa(e){const t=[];function n(s){for(const o of s)o.link&&t.push({...o,link:o.link}),"items"in o&&n(o.items)}for(const s of e)n(s.items);return t}function tt(){const e=vt(),{theme:t,frontmatter:n}=le(),s=me(!1),o=ie(()=>{const h=t.value.sidebar,v=e.data.relativePath;return h?hr(h,v):[]}),i=ie(()=>n.value.sidebar!==!1&&o.value.length>0&&n.value.layout!=="home"),r=ie(()=>n.value.layout!=="home"&&n.value.aside!==!1);function l(){s.value=!0}function c(){s.value=!1}function f(){s.value?c():l()}return{isOpen:s,sidebar:o,hasSidebar:i,hasAside:r,open:l,close:c,toggle:f}}function Ca(e,t){let n;zt(()=>{n=e.value?document.activeElement:void 0}),De(()=>{window.addEventListener("keyup",s)}),pt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}const Sa=O({__name:"VPSkipLink",setup(e){const t=vt(),n=me();Ze(()=>t.path,()=>n.value.focus());function s({target:o}){const i=document.querySelector(o.hash);if(i){const r=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",r)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",r),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(d(),m(q,null,[b("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),b("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const Va=A(Sa,[["__scopeId","data-v-151f2593"]]),Ta={key:0,class:"VPBackdrop"},La=O({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(d(),G(es,{name:"fade"},{default:I(()=>[e.show?(d(),m("div",Ta)):j("",!0)]),_:1}))}});const Ea=A(La,[["__scopeId","data-v-0164f098"]]);function Ma(){const e=me(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const i=vt();return Ze(()=>i.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}const Ia=["src","alt"],Aa={inheritAttrs:!1},Na=O({...Aa,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{var o;const s=Tt("VPImage",!0);return e.image?(d(),m(q,{key:0},[typeof e.image=="string"||"src"in e.image?(d(),m("img",Cn({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:_(dn)(typeof e.image=="string"?e.image:e.image.src),alt:(o=e.alt)!=null?o:typeof e.image=="string"?"":e.image.alt||""}),null,16,Ia)):(d(),m(q,{key:1},[V(s,Cn({class:"dark",image:e.image.dark,alt:typeof e.image.dark=="string"?e.image.alt:e.image.dark.alt||e.image.alt},t.$attrs),null,16,["image","alt"]),V(s,Cn({class:"light",image:e.image.light,alt:typeof e.image.light=="string"?e.image.alt:e.image.light.alt||e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):j("",!0)}}});const _r=A(Na,[["__scopeId","data-v-b7ac6bd3"]]),Ba=["href"],Oa=O({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=le(),{hasSidebar:s}=tt();return(o,i)=>(d(),m("div",{class:de(["VPNavBarTitle",{"has-sidebar":_(s)}])},[b("a",{class:"title",href:_(t).base},[T(o.$slots,"nav-bar-title-before",{},void 0,!0),V(_r,{class:"logo",image:_(n).logo},null,8,["image"]),_(n).siteTitle?(d(),m(q,{key:0},[Te(ae(_(n).siteTitle),1)],64)):_(n).siteTitle===void 0?(d(),m(q,{key:1},[Te(ae(_(t).title),1)],64)):j("",!0),T(o.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ba)],2))}});const Fa=A(Oa,[["__scopeId","data-v-d5925166"]]);const Ha={key:0,class:"VPNavBarSearch"},Da={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},Ra={class:"DocSearch-Button-Container"},ja=b("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},[b("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),za={class:"DocSearch-Button-Placeholder"},Ua=b("span",{class:"DocSearch-Button-Keys"},[b("kbd",{class:"DocSearch-Button-Key"}),b("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ka=O({__name:"VPNavBarSearch",setup(e){Dc(r=>({"5943dbe8":o.value}));const t=()=>null,{theme:n}=le(),s=me(!1),o=me("'Meta'");De(()=>{if(!n.value.algolia)return;o.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'\u2318'":"'Ctrl'";const r=c=>{c.key==="k"&&(c.ctrlKey||c.metaKey)&&(c.preventDefault(),i(),l())},l=()=>{window.removeEventListener("keydown",r)};window.addEventListener("keydown",r),pt(l)});function i(){s.value||(s.value=!0)}return(r,l)=>{var c;return _(n).algolia?(d(),m("div",Ha,[s.value?(d(),G(_(t),{key:0})):(d(),m("div",{key:1,id:"docsearch",onClick:i},[b("button",Da,[b("span",Ra,[ja,b("span",za,ae(((c=_(n).algolia)==null?void 0:c.buttonText)||"Search"),1)]),Ua])]))])):j("",!0)}}});const Wa={},qa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},Ga=b("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),Ya=b("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),Qa=[Ga,Ya];function Ja(e,t){return d(),m("svg",qa,Qa)}const Xa=A(Wa,[["render",Ja]]),Za=O({__name:"VPLink",props:{href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=ie(()=>t.href&&ts.test(t.href));return(s,o)=>(d(),G(Ys(e.href?"a":"span"),{class:de(["VPLink",{link:e.href}]),href:e.href?_(Bn)(e.href):void 0,target:_(n)?"_blank":void 0,rel:_(n)?"noreferrer":void 0},{default:I(()=>[T(s.$slots,"default",{},void 0,!0),_(n)&&!e.noIcon?(d(),G(Xa,{key:0,class:"icon"})):j("",!0)]),_:3},8,["class","href","target","rel"]))}});const Lt=A(Za,[["__scopeId","data-v-3c355974"]]),eu=O({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),G(Lt,{class:de({VPNavBarMenuLink:!0,active:_(Yt)(_(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:!0},{default:I(()=>[Te(ae(e.item.text),1)]),_:1},8,["class","href"]))}});const tu=A(eu,[["__scopeId","data-v-47a2263e"]]),to=me();let pr=!1,hs=0;function nu(e){const t=me(!1);if(typeof window<"u"){!pr&&su(),hs++;const n=Ze(to,s=>{var o,i,r;s===e.el.value||((o=e.el.value)==null?void 0:o.contains(s))?(t.value=!0,(i=e.onFocus)==null||i.call(e)):(t.value=!1,(r=e.onBlur)==null||r.call(e))});pt(()=>{n(),hs--,hs||ou()})}return Rs(t)}function su(){document.addEventListener("focusin",vr),pr=!0,to.value=document.activeElement}function ou(){document.removeEventListener("focusin",vr)}function vr(){to.value=document.activeElement}const iu={},ru={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},lu=b("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),cu=[lu];function au(e,t){return d(),m("svg",ru,cu)}const mr=A(iu,[["render",au]]),uu={},fu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},du=b("circle",{cx:"12",cy:"12",r:"2"},null,-1),hu=b("circle",{cx:"19",cy:"12",r:"2"},null,-1),_u=b("circle",{cx:"5",cy:"12",r:"2"},null,-1),pu=[du,hu,_u];function vu(e,t){return d(),m("svg",fu,pu)}const mu=A(uu,[["render",vu]]),gu={class:"VPMenuLink"},bu=O({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),m("div",gu,[V(Lt,{class:de({active:_(Yt)(_(t).relativePath,e.item.activeMatch||e.item.link)}),href:e.item.link},{default:I(()=>[Te(ae(e.item.text),1)]),_:1},8,["class","href"])]))}});const ns=A(bu,[["__scopeId","data-v-e8e0fb1d"]]),yu={class:"VPMenuGroup"},wu={key:0,class:"title"},xu=O({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(d(),m("div",yu,[e.text?(d(),m("p",wu,ae(e.text),1)):j("",!0),(d(!0),m(q,null,Ce(e.items,s=>(d(),m(q,null,["link"in s?(d(),G(ns,{key:0,item:s},null,8,["item"])):j("",!0)],64))),256))]))}});const ku=A(xu,[["__scopeId","data-v-9ca52130"]]),$u={class:"VPMenu"},Pu={key:0,class:"items"},Cu=O({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(d(),m("div",$u,[e.items?(d(),m("div",Pu,[(d(!0),m(q,null,Ce(e.items,s=>(d(),m(q,{key:s.text},["link"in s?(d(),G(ns,{key:0,item:s},null,8,["item"])):(d(),G(ku,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):j("",!0),T(t.$slots,"default",{},void 0,!0)]))}});const Su=A(Cu,[["__scopeId","data-v-1c5d0cfc"]]),Vu=["aria-expanded","aria-label"],Tu={key:0,class:"text"},Lu={class:"menu"},Eu=O({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=me(!1),n=me();nu({el:n,onBlur:s});function s(){t.value=!1}return(o,i)=>(d(),m("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:i[1]||(i[1]=r=>t.value=!0),onMouseleave:i[2]||(i[2]=r=>t.value=!1)},[b("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:i[0]||(i[0]=r=>t.value=!t.value)},[e.button||e.icon?(d(),m("span",Tu,[e.icon?(d(),G(Ys(e.icon),{key:0,class:"option-icon"})):j("",!0),Te(" "+ae(e.button)+" ",1),V(mr,{class:"text-icon"})])):(d(),G(mu,{key:1,class:"icon"}))],8,Vu),b("div",Lu,[V(Su,{items:e.items},{default:I(()=>[T(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const no=A(Eu,[["__scopeId","data-v-6ffb57d3"]]),Mu=O({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),G(no,{class:de({VPNavBarMenuGroup:!0,active:_(Yt)(_(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),Iu=e=>(We("data-v-f83db6ba"),e=e(),qe(),e),Au={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Nu=Iu(()=>b("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Bu=O({__name:"VPNavBarMenu",setup(e){const{theme:t}=le();return(n,s)=>_(t).nav?(d(),m("nav",Au,[Nu,(d(!0),m(q,null,Ce(_(t).nav,o=>(d(),m(q,{key:o.text},["link"in o?(d(),G(tu,{key:0,item:o},null,8,["item"])):(d(),G(Mu,{key:1,item:o},null,8,["item"]))],64))),128))])):j("",!0)}});const Ou=A(Bu,[["__scopeId","data-v-f83db6ba"]]),Fu={},Hu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Du=b("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ru=b("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),ju=[Du,Ru];function zu(e,t){return d(),m("svg",Hu,ju)}const gr=A(Fu,[["render",zu]]),Uu={class:"items"},Ku={class:"title"},Wu=O({__name:"VPNavBarTranslations",setup(e){const{theme:t}=le();return(n,s)=>_(t).localeLinks?(d(),G(no,{key:0,class:"VPNavBarTranslations",icon:gr},{default:I(()=>[b("div",Uu,[b("p",Ku,ae(_(t).localeLinks.text),1),(d(!0),m(q,null,Ce(_(t).localeLinks.items,o=>(d(),G(ns,{key:o.link,item:o},null,8,["item"]))),128))])]),_:1})):j("",!0)}});const qu=A(Wu,[["__scopeId","data-v-db824e91"]]);const Gu={},Yu={class:"VPSwitch",type:"button",role:"switch"},Qu={class:"check"},Ju={key:0,class:"icon"};function Xu(e,t){return d(),m("button",Yu,[b("span",Qu,[e.$slots.default?(d(),m("span",Ju,[T(e.$slots,"default",{},void 0,!0)])):j("",!0)])])}const Zu=A(Gu,[["render",Xu],["__scopeId","data-v-eba7420e"]]),ef={},tf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},nf=uc('',9),sf=[nf];function of(e,t){return d(),m("svg",tf,sf)}const rf=A(ef,[["render",of]]),lf={},cf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},af=b("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),uf=[af];function ff(e,t){return d(),m("svg",cf,uf)}const df=A(lf,[["render",ff]]),hf=O({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=le(),s=me(!1),o=typeof localStorage<"u"?i():()=>{};De(()=>{s.value=document.documentElement.classList.contains("dark")});function i(){const r=window.matchMedia("(prefers-color-scheme: dark)"),l=document.documentElement.classList;let c=localStorage.getItem(Yo),f=t.value.appearance==="dark"&&c==null||(c==="auto"||c==null?r.matches:c==="dark");r.onchange=y=>{c==="auto"&&v(f=y.matches)};function h(){v(f=!f),c=f?r.matches?"auto":"dark":r.matches?"light":"auto",localStorage.setItem(Yo,c)}function v(y){const $=document.createElement("style");$.type="text/css",$.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) { +function Es(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Sr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vr=Es(Sr);function ai(e){return!!e||e===""}function Dn(e){if(K(e)){const t={};for(let n=0;n{if(n){const s=n.split(Lr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function de(e){let t="";if(we(e))t=e;else if(K(e))for(let n=0;nwe(e)?e:e==null?"":K(e)||ge(e)&&(e.toString===hi||!X(e.toString))?JSON.stringify(e,ui,2):String(e),ui=(e,t)=>t&&t.__v_isRef?ui(e,t.value):Nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:fi(t)?{[`Set(${t.size})`]:[...t.values()]}:ge(t)&&!K(t)&&!_i(t)?String(t):t,ve={},At=[],Ke=()=>{},Mr=()=>!1,Ir=/^on[^a-z]/,hn=e=>Ir.test(e),Ms=e=>e.startsWith("onUpdate:"),ke=Object.assign,Is=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ar=Object.prototype.hasOwnProperty,se=(e,t)=>Ar.call(e,t),K=Array.isArray,Nt=e=>Rn(e)==="[object Map]",fi=e=>Rn(e)==="[object Set]",X=e=>typeof e=="function",we=e=>typeof e=="string",As=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",di=e=>ge(e)&&X(e.then)&&X(e.catch),hi=Object.prototype.toString,Rn=e=>hi.call(e),Nr=e=>Rn(e).slice(8,-1),_i=e=>Rn(e)==="[object Object]",Ns=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=Es(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Br=/-(\w)/g,et=jn(e=>e.replace(Br,(t,n)=>n?n.toUpperCase():"")),Or=/\B([A-Z])/g,Wt=jn(e=>e.replace(Or,"-$1").toLowerCase()),zn=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),rs=jn(e=>e?`on${zn(e)}`:""),on=(e,t)=>!Object.is(e,t),ls=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},pi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ho;const Fr=()=>ho||(ho=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ae;class Hr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ae&&(this.parent=Ae,this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Ae;try{return Ae=this,t()}finally{Ae=n}}}on(){Ae=this}off(){Ae=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},vi=e=>(e.w&ht)>0,mi=e=>(e.n&ht)>0,zr=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(f==="length"||f>=s)&&l.push(c)});else switch(n!==void 0&&l.push(r.get(n)),t){case"add":K(e)?Ns(n)&&l.push(r.get("length")):(l.push(r.get(St)),Nt(e)&&l.push(r.get(ms)));break;case"delete":K(e)||(l.push(r.get(St)),Nt(e)&&l.push(r.get(ms)));break;case"set":Nt(e)&&l.push(r.get(St));break}if(l.length===1)l[0]&&gs(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);gs(Bs(c))}}function gs(e,t){const n=K(e)?e:[...e];for(const s of n)s.computed&&po(s);for(const s of n)s.computed||po(s)}function po(e,t){(e!==ze||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Kr=Es("__proto__,__v_isRef,__isVue"),yi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(As)),Wr=Fs(),qr=Fs(!1,!0),Gr=Fs(!0),vo=Yr();function Yr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ce(this);for(let i=0,r=this.length;i{e[t]=function(...n){qt();const s=ce(this)[t].apply(this,n);return Gt(),s}}),e}function Fs(e=!1,t=!1){return function(s,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?fl:Pi:t?$i:ki).get(s))return s;const r=K(s);if(!e&&r&&se(vo,o))return Reflect.get(vo,o,i);const l=Reflect.get(s,o,i);return(As(o)?yi.has(o):Kr(o))||(e||Be(s,"get",o),t)?l:Pe(l)?r&&Ns(o)?l:l.value:ge(l)?e?Rs(l):Kn(l):l}}const Qr=wi(),Jr=wi(!0);function wi(e=!1){return function(n,s,o,i){let r=n[s];if(jt(r)&&Pe(r)&&!Pe(o))return!1;if(!e&&(!Vn(o)&&!jt(o)&&(r=ce(r),o=ce(o)),!K(n)&&Pe(r)&&!Pe(o)))return r.value=o,!0;const l=K(n)&&Ns(s)?Number(s)e,Un=e=>Reflect.getPrototypeOf(e);function mn(e,t,n=!1,s=!1){e=e.__v_raw;const o=ce(e),i=ce(t);n||(t!==i&&Be(o,"get",t),Be(o,"get",i));const{has:r}=Un(o),l=s?Hs:n?zs:rn;if(r.call(o,t))return l(e.get(t));if(r.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function gn(e,t=!1){const n=this.__v_raw,s=ce(n),o=ce(e);return t||(e!==o&&Be(s,"has",e),Be(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function bn(e,t=!1){return e=e.__v_raw,!t&&Be(ce(e),"iterate",St),Reflect.get(e,"size",e)}function mo(e){e=ce(e);const t=ce(this);return Un(t).has.call(t,e)||(t.add(e),ot(t,"add",e,e)),this}function go(e,t){t=ce(t);const n=ce(this),{has:s,get:o}=Un(n);let i=s.call(n,e);i||(e=ce(e),i=s.call(n,e));const r=o.call(n,e);return n.set(e,t),i?on(t,r)&&ot(n,"set",e,t):ot(n,"add",e,t),this}function bo(e){const t=ce(this),{has:n,get:s}=Un(t);let o=n.call(t,e);o||(e=ce(e),o=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return o&&ot(t,"delete",e,void 0),i}function yo(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&ot(e,"clear",void 0,void 0),n}function yn(e,t){return function(s,o){const i=this,r=i.__v_raw,l=ce(r),c=t?Hs:e?zs:rn;return!e&&Be(l,"iterate",St),r.forEach((f,h)=>s.call(o,c(f),c(h),i))}}function wn(e,t,n){return function(...s){const o=this.__v_raw,i=ce(o),r=Nt(i),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,f=o[e](...s),h=n?Hs:t?zs:rn;return!t&&Be(i,"iterate",c?ms:St),{next(){const{value:v,done:y}=f.next();return y?{value:v,done:y}:{value:l?[h(v[0]),h(v[1])]:h(v),done:y}},[Symbol.iterator](){return this}}}}function rt(e){return function(...t){return e==="delete"?!1:this}}function sl(){const e={get(i){return mn(this,i)},get size(){return bn(this)},has:gn,add:mo,set:go,delete:bo,clear:yo,forEach:yn(!1,!1)},t={get(i){return mn(this,i,!1,!0)},get size(){return bn(this)},has:gn,add:mo,set:go,delete:bo,clear:yo,forEach:yn(!1,!0)},n={get(i){return mn(this,i,!0)},get size(){return bn(this,!0)},has(i){return gn.call(this,i,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:yn(!0,!1)},s={get(i){return mn(this,i,!0,!0)},get size(){return bn(this,!0)},has(i){return gn.call(this,i,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:yn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=wn(i,!1,!1),n[i]=wn(i,!0,!1),t[i]=wn(i,!1,!0),s[i]=wn(i,!0,!0)}),[e,n,t,s]}const[ol,il,rl,ll]=sl();function Ds(e,t){const n=t?e?ll:rl:e?il:ol;return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(se(n,o)&&o in s?n:s,o,i)}const cl={get:Ds(!1,!1)},al={get:Ds(!1,!0)},ul={get:Ds(!0,!1)},ki=new WeakMap,$i=new WeakMap,Pi=new WeakMap,fl=new WeakMap;function dl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hl(e){return e.__v_skip||!Object.isExtensible(e)?0:dl(Nr(e))}function Kn(e){return jt(e)?e:js(e,!1,xi,cl,ki)}function _l(e){return js(e,!1,nl,al,$i)}function Rs(e){return js(e,!0,tl,ul,Pi)}function js(e,t,n,s,o){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=hl(e);if(r===0)return e;const l=new Proxy(e,r===2?s:n);return o.set(e,l),l}function Bt(e){return jt(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function jt(e){return!!(e&&e.__v_isReadonly)}function Vn(e){return!!(e&&e.__v_isShallow)}function Ci(e){return Bt(e)||jt(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function en(e){return Sn(e,"__v_skip",!0),e}const rn=e=>ge(e)?Kn(e):e,zs=e=>ge(e)?Rs(e):e;function Si(e){ft&&ze&&(e=ce(e),bi(e.dep||(e.dep=Bs())))}function Vi(e,t){e=ce(e),e.dep&&gs(e.dep)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function me(e){return Ti(e,!1)}function pl(e){return Ti(e,!0)}function Ti(e,t){return Pe(e)?e:new vl(e,t)}class vl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ce(t),this._value=n?t:rn(t)}get value(){return Si(this),this._value}set value(t){const n=this.__v_isShallow||Vn(t)||jt(t);t=n?t:ce(t),on(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:rn(t),Vi(this))}}function _(e){return Pe(e)?e.value:e}const ml={get:(e,t,n)=>_(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Li(e){return Bt(e)?e:new Proxy(e,ml)}var Ei;class gl{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Ei]=!1,this._dirty=!0,this.effect=new Os(t,()=>{this._dirty||(this._dirty=!0,Vi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=ce(this);return Si(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Ei="__v_isReadonly";function bl(e,t,n=!1){let s,o;const i=X(e);return i?(s=e,o=Ke):(s=e.get,o=e.set),new gl(s,o,i||!o,n)}function dt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){Wn(i,t,n)}return o}function He(e,t,n,s){if(X(e)){const i=dt(e,t,n,s);return i&&di(i)&&i.catch(r=>{Wn(r,t,n)}),i}const o=[];for(let i=0;i>>1;cn($e[s])Je&&$e.splice(t,1)}function kl(e){K(e)?Ot.push(...e):(!st||!st.includes(e,e.allowRecurse?kt+1:kt))&&Ot.push(e),Ii()}function wo(e,t=ln?Je+1:0){for(;t<$e.length;t++){const n=$e[t];n&&n.pre&&($e.splice(t,1),t--,n())}}function Tn(e){if(Ot.length){const t=[...new Set(Ot)];if(Ot.length=0,st){st.push(...t);return}for(st=t,st.sort((n,s)=>cn(n)-cn(s)),kt=0;kte.id==null?1/0:e.id,$l=(e,t)=>{const n=cn(e)-cn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ai(e){bs=!1,ln=!0,$e.sort($l);const t=Ke;try{for(Je=0;Je<$e.length;Je++){const n=$e[Je];n&&n.active!==!1&&dt(n,null,14)}}finally{Je=0,$e.length=0,Tn(),ln=!1,Us=null,($e.length||Ot.length)&&Ai()}}function Pl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ve;let o=n;const i=t.startsWith("update:"),r=i&&t.slice(7);if(r&&r in s){const h=`${r==="modelValue"?"model":r}Modifiers`,{number:v,trim:y}=s[h]||ve;y&&(o=n.map($=>$.trim())),v&&(o=n.map(pi))}let l,c=s[l=rs(t)]||s[l=rs(et(t))];!c&&i&&(c=s[l=rs(Wt(t))]),c&&He(c,e,6,o);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(f,e,6,o)}}function Ni(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},l=!1;if(!X(e)){const c=f=>{const h=Ni(f,t,!0);h&&(l=!0,ke(r,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ge(e)&&s.set(e,null),null):(K(i)?i.forEach(c=>r[c]=null):ke(r,i),ge(e)&&s.set(e,r),r)}function qn(e,t){return!e||!hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Wt(t))||se(e,t))}let Ve=null,Gn=null;function Ln(e){const t=Ve;return Ve=e,Gn=e&&e.type.__scopeId||null,t}function We(e){Gn=e}function qe(){Gn=null}function I(e,t=Ve,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Mo(-1);const i=Ln(t),r=e(...o);return Ln(i),s._d&&Mo(1),r};return s._n=!0,s._c=!0,s._d=!0,s}function cs(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:i,propsOptions:[r],slots:l,attrs:c,emit:f,render:h,renderCache:v,data:y,setupState:$,ctx:z,inheritAttrs:F}=e;let J,g;const L=Ln(e);try{if(n.shapeFlag&4){const Y=o||s;J=je(h.call(Y,Y,v,i,$,y,z)),g=c}else{const Y=t;J=je(Y.length>1?Y(i,{attrs:c,slots:l,emit:f}):Y(i,null)),g=t.props?c:Cl(c)}}catch(Y){tn.length=0,Wn(Y,e,1),J=V(Ne)}let U=J;if(g&&F!==!1){const Y=Object.keys(g),{shapeFlag:ne}=U;Y.length&&ne&7&&(r&&Y.some(Ms)&&(g=Sl(g,r)),U=_t(U,g))}return n.dirs&&(U=_t(U),U.dirs=U.dirs?U.dirs.concat(n.dirs):n.dirs),n.transition&&(U.transition=n.transition),J=U,Ln(L),J}const Cl=e=>{let t;for(const n in e)(n==="class"||n==="style"||hn(n))&&((t||(t={}))[n]=e[n]);return t},Sl=(e,t)=>{const n={};for(const s in e)(!Ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Vl(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?xo(s,r,f):!!r;if(c&8){const h=t.dynamicProps;for(let v=0;ve.__isSuspense;function Bi(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):kl(e)}function Yn(e,t){if(xe){let n=xe.provides;const s=xe.parent&&xe.parent.provides;s===n&&(n=xe.provides=Object.create(s)),n[e]=t}}function Xe(e,t,n=!1){const s=xe||Ve;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&X(t)?t.call(s.proxy):t}}function zt(e,t){return Qn(e,null,t)}function Oi(e,t){return Qn(e,null,{flush:"post"})}const ko={};function Ze(e,t,n){return Qn(e,t,n)}function Qn(e,t,{immediate:n,deep:s,flush:o,onTrack:i,onTrigger:r}=ve){const l=xe;let c,f=!1,h=!1;if(Pe(e)?(c=()=>e.value,f=Vn(e)):Bt(e)?(c=()=>e,s=!0):K(e)?(h=!0,f=e.some(g=>Bt(g)||Vn(g)),c=()=>e.map(g=>{if(Pe(g))return g.value;if(Bt(g))return It(g);if(X(g))return dt(g,l,2)})):X(e)?t?c=()=>dt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return v&&v(),He(e,l,3,[y])}:c=Ke,t&&s){const g=c;c=()=>It(g())}let v,y=g=>{v=J.onStop=()=>{dt(g,l,4)}};if(fn)return y=Ke,t?n&&He(t,l,3,[c(),h?[]:void 0,y]):c(),Ke;let $=h?[]:ko;const z=()=>{if(!!J.active)if(t){const g=J.run();(s||f||(h?g.some((L,U)=>on(L,$[U])):on(g,$)))&&(v&&v(),He(t,l,3,[g,$===ko?void 0:$,y]),$=g)}else J.run()};z.allowRecurse=!!t;let F;o==="sync"?F=z:o==="post"?F=()=>Le(z,l&&l.suspense):(z.pre=!0,l&&(z.id=l.uid),F=()=>Ws(z));const J=new Os(c,F);return t?n?z():$=J.run():o==="post"?Le(J.run.bind(J),l&&l.suspense):J.run(),()=>{J.stop(),l&&l.scope&&Is(l.scope.effects,J)}}function El(e,t,n){const s=this.proxy,o=we(e)?e.includes(".")?Fi(s,e):()=>s[e]:e.bind(s,s);let i;X(t)?i=t:(i=t.handler,n=t);const r=xe;Ut(this);const l=Qn(o,i.bind(s),n);return r?Ut(r):Vt(),l}function Fi(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{It(n,t)});else if(_i(e))for(const n in e)It(e[n],t);return e}function Ml(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return De(()=>{e.isMounted=!0}),zi(()=>{e.isUnmounting=!0}),e}const Oe=[Function,Array],Il={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Oe,onEnter:Oe,onAfterEnter:Oe,onEnterCancelled:Oe,onBeforeLeave:Oe,onLeave:Oe,onAfterLeave:Oe,onLeaveCancelled:Oe,onBeforeAppear:Oe,onAppear:Oe,onAfterAppear:Oe,onAppearCancelled:Oe},setup(e,{slots:t}){const n=Zs(),s=Ml();let o;return()=>{const i=t.default&&Ri(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const F of i)if(F.type!==Ne){r=F;break}}const l=ce(e),{mode:c}=l;if(s.isLeaving)return as(r);const f=$o(r);if(!f)return as(r);const h=ys(f,l,s,n);ws(f,h);const v=n.subTree,y=v&&$o(v);let $=!1;const{getTransitionKey:z}=f.type;if(z){const F=z();o===void 0?o=F:F!==o&&(o=F,$=!0)}if(y&&y.type!==Ne&&(!$t(f,y)||$)){const F=ys(y,l,s,n);if(ws(y,F),c==="out-in")return s.isLeaving=!0,F.afterLeave=()=>{s.isLeaving=!1,n.update()},as(r);c==="in-out"&&f.type!==Ne&&(F.delayLeave=(J,g,L)=>{const U=Di(s,y);U[String(y.key)]=y,J._leaveCb=()=>{g(),J._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=L})}return r}}},Hi=Il;function Di(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ys(e,t,n,s){const{appear:o,mode:i,persisted:r=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:v,onLeave:y,onAfterLeave:$,onLeaveCancelled:z,onBeforeAppear:F,onAppear:J,onAfterAppear:g,onAppearCancelled:L}=t,U=String(e.key),Y=Di(n,e),ne=(M,Z)=>{M&&He(M,s,9,Z)},he=(M,Z)=>{const Q=Z[1];ne(M,Z),K(M)?M.every(re=>re.length<=1)&&Q():M.length<=1&&Q()},oe={mode:i,persisted:r,beforeEnter(M){let Z=l;if(!n.isMounted)if(o)Z=F||l;else return;M._leaveCb&&M._leaveCb(!0);const Q=Y[U];Q&&$t(e,Q)&&Q.el._leaveCb&&Q.el._leaveCb(),ne(Z,[M])},enter(M){let Z=c,Q=f,re=h;if(!n.isMounted)if(o)Z=J||c,Q=g||f,re=L||h;else return;let N=!1;const ee=M._enterCb=H=>{N||(N=!0,H?ne(re,[M]):ne(Q,[M]),oe.delayedLeave&&oe.delayedLeave(),M._enterCb=void 0)};Z?he(Z,[M,ee]):ee()},leave(M,Z){const Q=String(e.key);if(M._enterCb&&M._enterCb(!0),n.isUnmounting)return Z();ne(v,[M]);let re=!1;const N=M._leaveCb=ee=>{re||(re=!0,Z(),ee?ne(z,[M]):ne($,[M]),M._leaveCb=void 0,Y[Q]===e&&delete Y[Q])};Y[Q]=e,y?he(y,[M,N]):N()},clone(M){return ys(M,t,n,s)}};return oe}function as(e){if(Jn(e))return e=_t(e),e.children=null,e}function $o(e){return Jn(e)?e.children?e.children[0]:void 0:e}function ws(e,t){e.shapeFlag&6&&e.component?ws(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ri(e,t=!1,n){let s=[],o=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,Jn=e=>e.type.__isKeepAlive;function Al(e,t){ji(e,"a",t)}function Nl(e,t){ji(e,"da",t)}function ji(e,t,n=xe){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Xn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Jn(o.parent.vnode)&&Bl(s,t,n,o),o=o.parent}}function Bl(e,t,n,s){const o=Xn(t,e,s,!0);pt(()=>{Is(s[t],o)},n)}function Xn(e,t,n=xe,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;qt(),Ut(n);const l=He(t,n,e,r);return Vt(),Gt(),l});return s?o.unshift(i):o.push(i),i}}const it=e=>(t,n=xe)=>(!fn||e==="sp")&&Xn(e,(...s)=>t(...s),n),Ol=it("bm"),De=it("m"),Fl=it("bu"),qs=it("u"),zi=it("bum"),pt=it("um"),Hl=it("sp"),Dl=it("rtg"),Rl=it("rtc");function jl(e,t=xe){Xn("ec",e,t)}function Qe(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let r=0;rt(r,l,void 0,i&&i[l]));else{const r=Object.keys(e);o=new Array(r.length);for(let l=0,c=r.length;lAn(t)?!(t.type===Ne||t.type===q&&!Wi(t.children)):!0)?e:null}const xs=e=>e?sr(e)?eo(e)||e.proxy:xs(e.parent):null,En=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xs(e.parent),$root:e=>xs(e.root),$emit:e=>e.emit,$options:e=>Qs(e),$forceUpdate:e=>e.f||(e.f=()=>Ws(e.update)),$nextTick:e=>e.n||(e.n=Ks.bind(e.proxy)),$watch:e=>El.bind(e)}),zl={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const $=r[t];if($!==void 0)switch($){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(s!==ve&&se(s,t))return r[t]=1,s[t];if(o!==ve&&se(o,t))return r[t]=2,o[t];if((f=e.propsOptions[0])&&se(f,t))return r[t]=3,i[t];if(n!==ve&&se(n,t))return r[t]=4,n[t];ks&&(r[t]=0)}}const h=En[t];let v,y;if(h)return t==="$attrs"&&Be(e,"get",t),h(e);if((v=l.__cssModules)&&(v=v[t]))return v;if(n!==ve&&se(n,t))return r[t]=4,n[t];if(y=c.config.globalProperties,se(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return o!==ve&&se(o,t)?(o[t]=n,!0):s!==ve&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},r){let l;return!!n[r]||e!==ve&&se(e,r)||t!==ve&&se(t,r)||(l=i[0])&&se(l,r)||se(s,r)||se(En,r)||se(o.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ks=!0;function Ul(e){const t=Qs(e),n=e.proxy,s=e.ctx;ks=!1,t.beforeCreate&&Co(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:c,inject:f,created:h,beforeMount:v,mounted:y,beforeUpdate:$,updated:z,activated:F,deactivated:J,beforeDestroy:g,beforeUnmount:L,destroyed:U,unmounted:Y,render:ne,renderTracked:he,renderTriggered:oe,errorCaptured:M,serverPrefetch:Z,expose:Q,inheritAttrs:re,components:N,directives:ee,filters:H}=t;if(f&&Kl(f,s,null,e.appContext.config.unwrapInjectedRef),r)for(const be in r){const _e=r[be];X(_e)&&(s[be]=_e.bind(n))}if(o){const be=o.call(n,n);ge(be)&&(e.data=Kn(be))}if(ks=!0,i)for(const be in i){const _e=i[be],mt=X(_e)?_e.bind(n,n):X(_e.get)?_e.get.bind(n,n):Ke,pn=!X(_e)&&X(_e.set)?_e.set.bind(n):Ke,gt=ie({get:mt,set:pn});Object.defineProperty(s,be,{enumerable:!0,configurable:!0,get:()=>gt.value,set:Ge=>gt.value=Ge})}if(l)for(const be in l)qi(l[be],s,n,be);if(c){const be=X(c)?c.call(n):c;Reflect.ownKeys(be).forEach(_e=>{Yn(_e,be[_e])})}h&&Co(h,e,"c");function ue(be,_e){K(_e)?_e.forEach(mt=>be(mt.bind(n))):_e&&be(_e.bind(n))}if(ue(Ol,v),ue(De,y),ue(Fl,$),ue(qs,z),ue(Al,F),ue(Nl,J),ue(jl,M),ue(Rl,he),ue(Dl,oe),ue(zi,L),ue(pt,Y),ue(Hl,Z),K(Q))if(Q.length){const be=e.exposed||(e.exposed={});Q.forEach(_e=>{Object.defineProperty(be,_e,{get:()=>n[_e],set:mt=>n[_e]=mt})})}else e.exposed||(e.exposed={});ne&&e.render===Ke&&(e.render=ne),re!=null&&(e.inheritAttrs=re),N&&(e.components=N),ee&&(e.directives=ee)}function Kl(e,t,n=Ke,s=!1){K(e)&&(e=$s(e));for(const o in e){const i=e[o];let r;ge(i)?"default"in i?r=Xe(i.from||o,i.default,!0):r=Xe(i.from||o):r=Xe(i),Pe(r)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function Co(e,t,n){He(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function qi(e,t,n,s){const o=s.includes(".")?Fi(n,s):()=>n[s];if(we(e)){const i=t[e];X(i)&&Ze(o,i)}else if(X(e))Ze(o,e.bind(n));else if(ge(e))if(K(e))e.forEach(i=>qi(i,t,n,s));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&Ze(o,i,e)}}function Qs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,l=i.get(t);let c;return l?c=l:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(f=>Mn(c,f,r,!0)),Mn(c,t,r)),ge(t)&&i.set(t,c),c}function Mn(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&Mn(e,i,n,!0),o&&o.forEach(r=>Mn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=Wl[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const Wl={data:So,props:xt,emits:xt,methods:xt,computed:xt,beforeCreate:Se,created:Se,beforeMount:Se,mounted:Se,beforeUpdate:Se,updated:Se,beforeDestroy:Se,beforeUnmount:Se,destroyed:Se,unmounted:Se,activated:Se,deactivated:Se,errorCaptured:Se,serverPrefetch:Se,components:xt,directives:xt,watch:Gl,provide:So,inject:ql};function So(e,t){return t?e?function(){return ke(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function ql(e,t){return xt($s(e),$s(t))}function $s(e){if(K(e)){const t={};for(let n=0;n0)&&!(r&16)){if(r&8){const h=e.vnode.dynamicProps;for(let v=0;v{c=!0;const[y,$]=Yi(v,t,!0);ke(r,y),$&&l.push(...$)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!c)return ge(e)&&s.set(e,At),At;if(K(i))for(let h=0;h-1,$[1]=F<0||z-1||se($,"default"))&&l.push(v)}}}const f=[r,l];return ge(e)&&s.set(e,f),f}function Vo(e){return e[0]!=="$"}function To(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Lo(e,t){return To(e)===To(t)}function Eo(e,t){return K(t)?t.findIndex(n=>Lo(n,e)):X(t)&&Lo(t,e)?0:-1}const Qi=e=>e[0]==="_"||e==="$stable",Js=e=>K(e)?e.map(je):[je(e)],Jl=(e,t,n)=>{if(t._n)return t;const s=I((...o)=>Js(t(...o)),n);return s._c=!1,s},Ji=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Qi(o))continue;const i=e[o];if(X(i))t[o]=Jl(o,i,s);else if(i!=null){const r=Js(i);t[o]=()=>r}}},Xi=(e,t)=>{const n=Js(t);e.slots.default=()=>n},Xl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),Sn(t,"_",n)):Ji(t,e.slots={})}else e.slots={},t&&Xi(e,t);Sn(e.slots,Zn,1)},Zl=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=ve;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ke(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Ji(t,o)),r=t}else t&&(Xi(e,t),r={default:1});if(i)for(const l in o)!Qi(l)&&!(l in r)&&delete o[l]};function Zi(){return{app:null,config:{isNativeTag:Mr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ec=0;function tc(e,t){return function(s,o=null){X(s)||(s=Object.assign({},s)),o!=null&&!ge(o)&&(o=null);const i=Zi(),r=new Set;let l=!1;const c=i.app={_uid:ec++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:yc,get config(){return i.config},set config(f){},use(f,...h){return r.has(f)||(f&&X(f.install)?(r.add(f),f.install(c,...h)):X(f)&&(r.add(f),f(c,...h))),c},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),c},component(f,h){return h?(i.components[f]=h,c):i.components[f]},directive(f,h){return h?(i.directives[f]=h,c):i.directives[f]},mount(f,h,v){if(!l){const y=V(s,o);return y.appContext=i,h&&t?t(y,f):e(y,f,v),l=!0,c._container=f,f.__vue_app__=c,eo(y.component)||y.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(f,h){return i.provides[f]=h,c}};return c}}function In(e,t,n,s,o=!1){if(K(e)){e.forEach((y,$)=>In(y,t&&(K(t)?t[$]:t),n,s,o));return}if(Ft(s)&&!o)return;const i=s.shapeFlag&4?eo(s.component)||s.component.proxy:s.el,r=o?null:i,{i:l,r:c}=e,f=t&&t.r,h=l.refs===ve?l.refs={}:l.refs,v=l.setupState;if(f!=null&&f!==c&&(we(f)?(h[f]=null,se(v,f)&&(v[f]=null)):Pe(f)&&(f.value=null)),X(c))dt(c,l,12,[r,h]);else{const y=we(c),$=Pe(c);if(y||$){const z=()=>{if(e.f){const F=y?h[c]:c.value;o?K(F)&&Is(F,i):K(F)?F.includes(i)||F.push(i):y?(h[c]=[i],se(v,c)&&(v[c]=h[c])):(c.value=[i],e.k&&(h[e.k]=c.value))}else y?(h[c]=r,se(v,c)&&(v[c]=r)):$&&(c.value=r,e.k&&(h[e.k]=r))};r?(z.id=-1,Le(z,n)):z()}}}let lt=!1;const xn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",kn=e=>e.nodeType===8;function nc(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:i,parentNode:r,remove:l,insert:c,createComment:f}}=e,h=(g,L)=>{if(!L.hasChildNodes()){n(null,g,L),Tn(),L._vnode=g;return}lt=!1,v(L.firstChild,g,null,null,null),Tn(),L._vnode=g,lt&&console.error("Hydration completed but contains mismatches.")},v=(g,L,U,Y,ne,he=!1)=>{const oe=kn(g)&&g.data==="[",M=()=>F(g,L,U,Y,ne,oe),{type:Z,ref:Q,shapeFlag:re,patchFlag:N}=L;let ee=g.nodeType;L.el=g,N===-2&&(he=!1,L.dynamicChildren=null);let H=null;switch(Z){case an:ee!==3?L.children===""?(c(L.el=o(""),r(g),g),H=g):H=M():(g.data!==L.children&&(lt=!0,g.data=L.children),H=i(g));break;case Ne:ee!==8||oe?H=M():H=i(g);break;case Ht:if(oe&&(g=i(g),ee=g.nodeType),ee===1||ee===3){H=g;const Me=!L.children.length;for(let ue=0;ue{he=he||!!L.dynamicChildren;const{type:oe,props:M,patchFlag:Z,shapeFlag:Q,dirs:re}=L,N=oe==="input"&&re||oe==="option";if(N||Z!==-1){if(re&&Qe(L,null,U,"created"),M)if(N||!he||Z&48)for(const H in M)(N&&H.endsWith("value")||hn(H)&&!Zt(H))&&s(g,H,null,M[H],!1,void 0,U);else M.onClick&&s(g,"onClick",null,M.onClick,!1,void 0,U);let ee;if((ee=M&&M.onVnodeBeforeMount)&&Fe(ee,U,L),re&&Qe(L,null,U,"beforeMount"),((ee=M&&M.onVnodeMounted)||re)&&Bi(()=>{ee&&Fe(ee,U,L),re&&Qe(L,null,U,"mounted")},Y),Q&16&&!(M&&(M.innerHTML||M.textContent))){let H=$(g.firstChild,L,g,U,Y,ne,he);for(;H;){lt=!0;const Me=H;H=H.nextSibling,l(Me)}}else Q&8&&g.textContent!==L.children&&(lt=!0,g.textContent=L.children)}return g.nextSibling},$=(g,L,U,Y,ne,he,oe)=>{oe=oe||!!L.dynamicChildren;const M=L.children,Z=M.length;for(let Q=0;Q{const{slotScopeIds:oe}=L;oe&&(ne=ne?ne.concat(oe):oe);const M=r(g),Z=$(i(g),L,M,U,Y,ne,he);return Z&&kn(Z)&&Z.data==="]"?i(L.anchor=Z):(lt=!0,c(L.anchor=f("]"),M,Z),Z)},F=(g,L,U,Y,ne,he)=>{if(lt=!0,L.el=null,he){const Z=J(g);for(;;){const Q=i(g);if(Q&&Q!==Z)l(Q);else break}}const oe=i(g),M=r(g);return l(g),n(null,L,M,oe,U,Y,xn(M),ne),oe},J=g=>{let L=0;for(;g;)if(g=i(g),g&&kn(g)&&(g.data==="["&&L++,g.data==="]")){if(L===0)return i(g);L--}return g};return[h,v]}const Le=Bi;function sc(e){return oc(e,nc)}function oc(e,t){const n=Fr();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:c,setText:f,setElementText:h,parentNode:v,nextSibling:y,setScopeId:$=Ke,insertStaticContent:z}=e,F=(a,u,p,x=null,w=null,C=null,E=!1,P=null,S=!!u.dynamicChildren)=>{if(a===u)return;a&&!$t(a,u)&&(x=vn(a),Ge(a,w,C,!0),a=null),u.patchFlag===-2&&(S=!1,u.dynamicChildren=null);const{type:k,ref:D,shapeFlag:B}=u;switch(k){case an:J(a,u,p,x);break;case Ne:g(a,u,p,x);break;case Ht:a==null&&L(u,p,x,E);break;case q:N(a,u,p,x,w,C,E,P,S);break;default:B&1?ne(a,u,p,x,w,C,E,P,S):B&6?ee(a,u,p,x,w,C,E,P,S):(B&64||B&128)&&k.process(a,u,p,x,w,C,E,P,S,Et)}D!=null&&w&&In(D,a&&a.ref,C,u||a,!u)},J=(a,u,p,x)=>{if(a==null)s(u.el=l(u.children),p,x);else{const w=u.el=a.el;u.children!==a.children&&f(w,u.children)}},g=(a,u,p,x)=>{a==null?s(u.el=c(u.children||""),p,x):u.el=a.el},L=(a,u,p,x)=>{[a.el,a.anchor]=z(a.children,u,p,x,a.el,a.anchor)},U=({el:a,anchor:u},p,x)=>{let w;for(;a&&a!==u;)w=y(a),s(a,p,x),a=w;s(u,p,x)},Y=({el:a,anchor:u})=>{let p;for(;a&&a!==u;)p=y(a),o(a),a=p;o(u)},ne=(a,u,p,x,w,C,E,P,S)=>{E=E||u.type==="svg",a==null?he(u,p,x,w,C,E,P,S):Z(a,u,w,C,E,P,S)},he=(a,u,p,x,w,C,E,P)=>{let S,k;const{type:D,props:B,shapeFlag:R,transition:W,dirs:te}=a;if(S=a.el=r(a.type,C,B&&B.is,B),R&8?h(S,a.children):R&16&&M(a.children,S,null,x,w,C&&D!=="foreignObject",E,P),te&&Qe(a,null,x,"created"),B){for(const fe in B)fe!=="value"&&!Zt(fe)&&i(S,fe,null,B[fe],C,a.children,x,w,nt);"value"in B&&i(S,"value",null,B.value),(k=B.onVnodeBeforeMount)&&Fe(k,x,a)}oe(S,a,a.scopeId,E,x),te&&Qe(a,null,x,"beforeMount");const pe=(!w||w&&!w.pendingBranch)&&W&&!W.persisted;pe&&W.beforeEnter(S),s(S,u,p),((k=B&&B.onVnodeMounted)||pe||te)&&Le(()=>{k&&Fe(k,x,a),pe&&W.enter(S),te&&Qe(a,null,x,"mounted")},w)},oe=(a,u,p,x,w)=>{if(p&&$(a,p),x)for(let C=0;C{for(let k=S;k{const P=u.el=a.el;let{patchFlag:S,dynamicChildren:k,dirs:D}=u;S|=a.patchFlag&16;const B=a.props||ve,R=u.props||ve;let W;p&&bt(p,!1),(W=R.onVnodeBeforeUpdate)&&Fe(W,p,u,a),D&&Qe(u,a,p,"beforeUpdate"),p&&bt(p,!0);const te=w&&u.type!=="foreignObject";if(k?Q(a.dynamicChildren,k,P,p,x,te,C):E||_e(a,u,P,null,p,x,te,C,!1),S>0){if(S&16)re(P,u,B,R,p,x,w);else if(S&2&&B.class!==R.class&&i(P,"class",null,R.class,w),S&4&&i(P,"style",B.style,R.style,w),S&8){const pe=u.dynamicProps;for(let fe=0;fe{W&&Fe(W,p,u,a),D&&Qe(u,a,p,"updated")},x)},Q=(a,u,p,x,w,C,E)=>{for(let P=0;P{if(p!==x){if(p!==ve)for(const P in p)!Zt(P)&&!(P in x)&&i(a,P,p[P],null,E,u.children,w,C,nt);for(const P in x){if(Zt(P))continue;const S=x[P],k=p[P];S!==k&&P!=="value"&&i(a,P,k,S,E,u.children,w,C,nt)}"value"in x&&i(a,"value",p.value,x.value)}},N=(a,u,p,x,w,C,E,P,S)=>{const k=u.el=a?a.el:l(""),D=u.anchor=a?a.anchor:l("");let{patchFlag:B,dynamicChildren:R,slotScopeIds:W}=u;W&&(P=P?P.concat(W):W),a==null?(s(k,p,x),s(D,p,x),M(u.children,p,D,w,C,E,P,S)):B>0&&B&64&&R&&a.dynamicChildren?(Q(a.dynamicChildren,R,p,w,C,E,P),(u.key!=null||w&&u===w.subTree)&&er(a,u,!0)):_e(a,u,p,D,w,C,E,P,S)},ee=(a,u,p,x,w,C,E,P,S)=>{u.slotScopeIds=P,a==null?u.shapeFlag&512?w.ctx.activate(u,p,x,E,S):H(u,p,x,w,C,E,S):Me(a,u,S)},H=(a,u,p,x,w,C,E)=>{const P=a.component=hc(a,x,w);if(Jn(a)&&(P.ctx.renderer=Et),_c(P),P.asyncDep){if(w&&w.registerDep(P,ue),!a.el){const S=P.subTree=V(Ne);g(null,S,u,p)}return}ue(P,a,u,p,w,C,E)},Me=(a,u,p)=>{const x=u.component=a.component;if(Vl(a,u,p))if(x.asyncDep&&!x.asyncResolved){be(x,u,p);return}else x.next=u,xl(x.update),x.update();else u.el=a.el,x.vnode=u},ue=(a,u,p,x,w,C,E)=>{const P=()=>{if(a.isMounted){let{next:D,bu:B,u:R,parent:W,vnode:te}=a,pe=D,fe;bt(a,!1),D?(D.el=te.el,be(a,D,E)):D=te,B&&ls(B),(fe=D.props&&D.props.onVnodeBeforeUpdate)&&Fe(fe,W,D,te),bt(a,!0);const ye=cs(a),Re=a.subTree;a.subTree=ye,F(Re,ye,v(Re.el),vn(Re),a,w,C),D.el=ye.el,pe===null&&Tl(a,ye.el),R&&Le(R,w),(fe=D.props&&D.props.onVnodeUpdated)&&Le(()=>Fe(fe,W,D,te),w)}else{let D;const{el:B,props:R}=u,{bm:W,m:te,parent:pe}=a,fe=Ft(u);if(bt(a,!1),W&&ls(W),!fe&&(D=R&&R.onVnodeBeforeMount)&&Fe(D,pe,u),bt(a,!0),B&&is){const ye=()=>{a.subTree=cs(a),is(B,a.subTree,a,w,null)};fe?u.type.__asyncLoader().then(()=>!a.isUnmounted&&ye()):ye()}else{const ye=a.subTree=cs(a);F(null,ye,p,x,a,w,C),u.el=ye.el}if(te&&Le(te,w),!fe&&(D=R&&R.onVnodeMounted)){const ye=u;Le(()=>Fe(D,pe,ye),w)}(u.shapeFlag&256||pe&&Ft(pe.vnode)&&pe.vnode.shapeFlag&256)&&a.a&&Le(a.a,w),a.isMounted=!0,u=p=x=null}},S=a.effect=new Os(P,()=>Ws(k),a.scope),k=a.update=()=>S.run();k.id=a.uid,bt(a,!0),k()},be=(a,u,p)=>{u.component=a;const x=a.vnode.props;a.vnode=u,a.next=null,Ql(a,u.props,x,p),Zl(a,u.children,p),qt(),wo(),Gt()},_e=(a,u,p,x,w,C,E,P,S=!1)=>{const k=a&&a.children,D=a?a.shapeFlag:0,B=u.children,{patchFlag:R,shapeFlag:W}=u;if(R>0){if(R&128){pn(k,B,p,x,w,C,E,P,S);return}else if(R&256){mt(k,B,p,x,w,C,E,P,S);return}}W&8?(D&16&&nt(k,w,C),B!==k&&h(p,B)):D&16?W&16?pn(k,B,p,x,w,C,E,P,S):nt(k,w,C,!0):(D&8&&h(p,""),W&16&&M(B,p,x,w,C,E,P,S))},mt=(a,u,p,x,w,C,E,P,S)=>{a=a||At,u=u||At;const k=a.length,D=u.length,B=Math.min(k,D);let R;for(R=0;RD?nt(a,w,C,!0,!1,B):M(u,p,x,w,C,E,P,S,B)},pn=(a,u,p,x,w,C,E,P,S)=>{let k=0;const D=u.length;let B=a.length-1,R=D-1;for(;k<=B&&k<=R;){const W=a[k],te=u[k]=S?ut(u[k]):je(u[k]);if($t(W,te))F(W,te,p,null,w,C,E,P,S);else break;k++}for(;k<=B&&k<=R;){const W=a[B],te=u[R]=S?ut(u[R]):je(u[R]);if($t(W,te))F(W,te,p,null,w,C,E,P,S);else break;B--,R--}if(k>B){if(k<=R){const W=R+1,te=WR)for(;k<=B;)Ge(a[k],w,C,!0),k++;else{const W=k,te=k,pe=new Map;for(k=te;k<=R;k++){const Ie=u[k]=S?ut(u[k]):je(u[k]);Ie.key!=null&&pe.set(Ie.key,k)}let fe,ye=0;const Re=R-te+1;let Mt=!1,ao=0;const Qt=new Array(Re);for(k=0;k=Re){Ge(Ie,w,C,!0);continue}let Ye;if(Ie.key!=null)Ye=pe.get(Ie.key);else for(fe=te;fe<=R;fe++)if(Qt[fe-te]===0&&$t(Ie,u[fe])){Ye=fe;break}Ye===void 0?Ge(Ie,w,C,!0):(Qt[Ye-te]=k+1,Ye>=ao?ao=Ye:Mt=!0,F(Ie,u[Ye],p,null,w,C,E,P,S),ye++)}const uo=Mt?ic(Qt):At;for(fe=uo.length-1,k=Re-1;k>=0;k--){const Ie=te+k,Ye=u[Ie],fo=Ie+1{const{el:C,type:E,transition:P,children:S,shapeFlag:k}=a;if(k&6){gt(a.component.subTree,u,p,x);return}if(k&128){a.suspense.move(u,p,x);return}if(k&64){E.move(a,u,p,Et);return}if(E===q){s(C,u,p);for(let B=0;BP.enter(C),w);else{const{leave:B,delayLeave:R,afterLeave:W}=P,te=()=>s(C,u,p),pe=()=>{B(C,()=>{te(),W&&W()})};R?R(C,te,pe):pe()}else s(C,u,p)},Ge=(a,u,p,x=!1,w=!1)=>{const{type:C,props:E,ref:P,children:S,dynamicChildren:k,shapeFlag:D,patchFlag:B,dirs:R}=a;if(P!=null&&In(P,null,p,a,!0),D&256){u.ctx.deactivate(a);return}const W=D&1&&R,te=!Ft(a);let pe;if(te&&(pe=E&&E.onVnodeBeforeUnmount)&&Fe(pe,u,a),D&6)Cr(a.component,p,x);else{if(D&128){a.suspense.unmount(p,x);return}W&&Qe(a,null,u,"beforeUnmount"),D&64?a.type.remove(a,u,p,w,Et,x):k&&(C!==q||B>0&&B&64)?nt(k,u,p,!1,!0):(C===q&&B&384||!w&&D&16)&&nt(S,u,p),x&&lo(a)}(te&&(pe=E&&E.onVnodeUnmounted)||W)&&Le(()=>{pe&&Fe(pe,u,a),W&&Qe(a,null,u,"unmounted")},p)},lo=a=>{const{type:u,el:p,anchor:x,transition:w}=a;if(u===q){Pr(p,x);return}if(u===Ht){Y(a);return}const C=()=>{o(p),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(a.shapeFlag&1&&w&&!w.persisted){const{leave:E,delayLeave:P}=w,S=()=>E(p,C);P?P(a.el,C,S):S()}else C()},Pr=(a,u)=>{let p;for(;a!==u;)p=y(a),o(a),a=p;o(u)},Cr=(a,u,p)=>{const{bum:x,scope:w,update:C,subTree:E,um:P}=a;x&&ls(x),w.stop(),C&&(C.active=!1,Ge(E,a,u,p)),P&&Le(P,u),Le(()=>{a.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},nt=(a,u,p,x=!1,w=!1,C=0)=>{for(let E=C;Ea.shapeFlag&6?vn(a.component.subTree):a.shapeFlag&128?a.suspense.next():y(a.anchor||a.el),co=(a,u,p)=>{a==null?u._vnode&&Ge(u._vnode,null,null,!0):F(u._vnode||null,a,u,null,null,null,p),wo(),Tn(),u._vnode=a},Et={p:F,um:Ge,m:gt,r:lo,mt:H,mc:M,pc:_e,pbc:Q,n:vn,o:e};let os,is;return t&&([os,is]=t(Et)),{render:co,hydrate:os,createApp:tc(co,os)}}function bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function er(e,t,n=!1){const s=e.children,o=t.children;if(K(s)&&K(o))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}const rc=e=>e.__isTeleport,q=Symbol(void 0),an=Symbol(void 0),Ne=Symbol(void 0),Ht=Symbol(void 0),tn=[];let Ue=null;function d(e=!1){tn.push(Ue=e?null:[])}function lc(){tn.pop(),Ue=tn[tn.length-1]||null}let un=1;function Mo(e){un+=e}function tr(e){return e.dynamicChildren=un>0?Ue||At:null,lc(),un>0&&Ue&&Ue.push(e),e}function m(e,t,n,s,o,i){return tr(b(e,t,n,s,o,i,!0))}function G(e,t,n,s,o){return tr(V(e,t,n,s,o,!0))}function An(e){return e?e.__v_isVNode===!0:!1}function $t(e,t){return e.type===t.type&&e.key===t.key}const Zn="__vInternal",nr=({key:e})=>e!=null?e:null,Pn=({ref:e,ref_key:t,ref_for:n})=>e!=null?we(e)||Pe(e)||X(e)?{i:Ve,r:e,k:t,f:!!n}:e:null;function b(e,t=null,n=null,s=0,o=null,i=e===q?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nr(t),ref:t&&Pn(t),scopeId:Gn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null};return l?(Xs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=we(n)?8:16),un>0&&!r&&Ue&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ue.push(c),c}const V=cc;function cc(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===Ui)&&(e=Ne),An(e)){const l=_t(e,t,!0);return n&&Xs(l,n),un>0&&!i&&Ue&&(l.shapeFlag&6?Ue[Ue.indexOf(e)]=l:Ue.push(l)),l.patchFlag|=-2,l}if(bc(e)&&(e=e.__vccOpts),t){t=ac(t);let{class:l,style:c}=t;l&&!we(l)&&(t.class=de(l)),ge(c)&&(Ci(c)&&!K(c)&&(c=ke({},c)),t.style=Dn(c))}const r=we(e)?1:Ll(e)?128:rc(e)?64:ge(e)?4:X(e)?2:0;return b(e,t,n,s,o,r,i,!0)}function ac(e){return e?Ci(e)||Zn in e?ke({},e):e:null}function _t(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,l=t?Cn(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&nr(l),ref:t&&t.ref?n&&o?K(o)?o.concat(Pn(t)):[o,Pn(t)]:Pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==q?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor}}function Te(e=" ",t=0){return V(an,null,e,t)}function uc(e,t){const n=V(Ht,null,e);return n.staticCount=t,n}function j(e="",t=!1){return t?(d(),G(Ne,null,e)):V(Ne,null,e)}function je(e){return e==null||typeof e=="boolean"?V(Ne):K(e)?V(q,null,e.slice()):typeof e=="object"?ut(e):V(an,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function Xs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Xs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Zn in t)?t._ctx=Ve:o===3&&Ve&&(Ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:Ve},n=32):(t=String(t),s&64?(n=16,t=[Te(t)]):n=8);e.children=t,e.shapeFlag|=n}function Cn(...e){const t={};for(let n=0;nxe||Ve,Ut=e=>{xe=e,e.scope.on()},Vt=()=>{xe&&xe.scope.off(),xe=null};function sr(e){return e.vnode.shapeFlag&4}let fn=!1;function _c(e,t=!1){fn=t;const{props:n,children:s}=e.vnode,o=sr(e);Yl(e,n,o,t),Xl(e,s);const i=o?pc(e,t):void 0;return fn=!1,i}function pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=en(new Proxy(e.ctx,zl));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?mc(e):null;Ut(e),qt();const i=dt(s,e,0,[e.props,o]);if(Gt(),Vt(),di(i)){if(i.then(Vt,Vt),t)return i.then(r=>{Io(e,r,t)}).catch(r=>{Wn(r,e,0)});e.asyncDep=i}else Io(e,i,t)}else or(e,t)}function Io(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=Li(t)),or(e,n)}let Ao;function or(e,t,n){const s=e.type;if(!e.render){if(!t&&Ao&&!s.render){const o=s.template||Qs(e).template;if(o){const{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ke(ke({isCustomElement:i,delimiters:l},r),c);s.render=Ao(o,f)}}e.render=s.render||Ke}Ut(e),qt(),Ul(e),Gt(),Vt()}function vc(e){return new Proxy(e.attrs,{get(t,n){return Be(e,"get","$attrs"),t[n]}})}function mc(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=vc(e))},slots:e.slots,emit:e.emit,expose:t}}function eo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Li(en(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in En)return En[n](e)}}))}function gc(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function bc(e){return X(e)&&"__vccOpts"in e}const ie=(e,t)=>bl(e,t,fn);function Nn(e,t,n){const s=arguments.length;return s===2?ge(t)&&!K(t)?An(t)?V(e,null,[t]):V(e,t):V(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&An(n)&&(n=[n]),V(e,t,n))}const yc="3.2.40",wc="http://www.w3.org/2000/svg",Pt=typeof document<"u"?document:null,No=Pt&&Pt.createElement("template"),xc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?Pt.createElementNS(wc,e):Pt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Pt.createTextNode(e),createComment:e=>Pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{No.innerHTML=s?`${e}`:e;const l=No.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function kc(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function $c(e,t,n){const s=e.style,o=we(n);if(n&&!o){for(const i in n)Cs(s,i,n[i]);if(t&&!we(t))for(const i in t)n[i]==null&&Cs(s,i,"")}else{const i=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Bo=/\s*!important$/;function Cs(e,t,n){if(K(n))n.forEach(s=>Cs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Pc(e,t);Bo.test(n)?e.setProperty(Wt(s),n.replace(Bo,""),"important"):e[s]=n}}const Oo=["Webkit","Moz","ms"],us={};function Pc(e,t){const n=us[t];if(n)return n;let s=et(t);if(s!=="filter"&&s in e)return us[t]=s;s=zn(s);for(let o=0;o{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Ss=0;const Tc=Promise.resolve(),Lc=()=>{Ss=0},Ec=()=>Ss||(Tc.then(Lc),Ss=ir());function Mc(e,t,n,s){e.addEventListener(t,n,s)}function Ic(e,t,n,s){e.removeEventListener(t,n,s)}function Ac(e,t,n,s,o=null){const i=e._vei||(e._vei={}),r=i[t];if(s&&r)r.value=s;else{const[l,c]=Nc(t);if(s){const f=i[t]=Bc(s,o);Mc(e,l,f,c)}else r&&(Ic(e,l,r,c),i[t]=void 0)}}const Ho=/(?:Once|Passive|Capture)$/;function Nc(e){let t;if(Ho.test(e)){t={};let s;for(;s=e.match(Ho);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Wt(e.slice(2)),t]}function Bc(e,t){const n=s=>{const o=s.timeStamp||ir();(Vc||o>=n.attached-1)&&He(Oc(s,n.value),t,5,[s])};return n.value=e,n.attached=Ec(),n}function Oc(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const Do=/^on[a-z]/,Fc=(e,t,n,s,o=!1,i,r,l,c)=>{t==="class"?kc(e,s,o):t==="style"?$c(e,n,s):hn(t)?Ms(t)||Ac(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Hc(e,t,s,o))?Sc(e,t,s,i,r,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Cc(e,t,s,o))};function Hc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Do.test(t)&&X(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Do.test(t)&&we(n)?!1:t in e}function Dc(e){const t=Zs();if(!t)return;const n=()=>Vs(t.subTree,e(t.proxy));Oi(n),De(()=>{const s=new MutationObserver(n);s.observe(t.subTree.el.parentNode,{childList:!0}),pt(()=>s.disconnect())})}function Vs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Vs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ro(e.el,t);else if(e.type===q)e.children.forEach(n=>Vs(n,t));else if(e.type===Ht){let{el:n,anchor:s}=e;for(;n&&(Ro(n,t),n!==s);)n=n.nextSibling}}function Ro(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const ct="transition",Jt="animation",es=(e,{slots:t})=>Nn(Hi,Rc(e),t);es.displayName="Transition";const rr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};es.props=ke({},Hi.props,rr);const yt=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},jo=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function Rc(e){const t={};for(const N in e)N in rr||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=r,appearToClass:h=l,leaveFromClass:v=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:$=`${n}-leave-to`}=e,z=jc(o),F=z&&z[0],J=z&&z[1],{onBeforeEnter:g,onEnter:L,onEnterCancelled:U,onLeave:Y,onLeaveCancelled:ne,onBeforeAppear:he=g,onAppear:oe=L,onAppearCancelled:M=U}=t,Z=(N,ee,H)=>{wt(N,ee?h:l),wt(N,ee?f:r),H&&H()},Q=(N,ee)=>{N._isLeaving=!1,wt(N,v),wt(N,$),wt(N,y),ee&&ee()},re=N=>(ee,H)=>{const Me=N?oe:L,ue=()=>Z(ee,N,H);yt(Me,[ee,ue]),zo(()=>{wt(ee,N?c:i),at(ee,N?h:l),jo(Me)||Uo(ee,s,F,ue)})};return ke(t,{onBeforeEnter(N){yt(g,[N]),at(N,i),at(N,r)},onBeforeAppear(N){yt(he,[N]),at(N,c),at(N,f)},onEnter:re(!1),onAppear:re(!0),onLeave(N,ee){N._isLeaving=!0;const H=()=>Q(N,ee);at(N,v),Kc(),at(N,y),zo(()=>{!N._isLeaving||(wt(N,v),at(N,$),jo(Y)||Uo(N,s,J,H))}),yt(Y,[N,H])},onEnterCancelled(N){Z(N,!1),yt(U,[N])},onAppearCancelled(N){Z(N,!0),yt(M,[N])},onLeaveCancelled(N){Q(N),yt(ne,[N])}})}function jc(e){if(e==null)return null;if(ge(e))return[fs(e.enter),fs(e.leave)];{const t=fs(e);return[t,t]}}function fs(e){return pi(e)}function at(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function wt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function zo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let zc=0;function Uo(e,t,n,s){const o=e._endId=++zc,i=()=>{o===e._endId&&s()};if(n)return setTimeout(i,n);const{type:r,timeout:l,propCount:c}=Uc(e,t);if(!r)return s();const f=r+"end";let h=0;const v=()=>{e.removeEventListener(f,y),i()},y=$=>{$.target===e&&++h>=c&&v()};setTimeout(()=>{h(n[z]||"").split(", "),o=s(ct+"Delay"),i=s(ct+"Duration"),r=Ko(o,i),l=s(Jt+"Delay"),c=s(Jt+"Duration"),f=Ko(l,c);let h=null,v=0,y=0;t===ct?r>0&&(h=ct,v=r,y=i.length):t===Jt?f>0&&(h=Jt,v=f,y=c.length):(v=Math.max(r,f),h=v>0?r>f?ct:Jt:null,y=h?h===ct?i.length:c.length:0);const $=h===ct&&/\b(transform|all)(,|$)/.test(n[ct+"Property"]);return{type:h,timeout:v,propCount:y,hasTransform:$}}function Ko(e,t){for(;e.lengthWo(n)+Wo(e[s])))}function Wo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Kc(){return document.body.offsetHeight}const Wc=["ctrl","shift","alt","meta"],qc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Wc.some(n=>e[`${n}Key`]&&!t.includes(n))},Gc=(e,t)=>(n,...s)=>{for(let o=0;o{const t=Qc().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Xc(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function Xc(e){return we(e)?document.querySelector(e):e}const A=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Zc="modulepreload",ea=function(e){return"/"+e},Go={},ta=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=ea(i),i in Go)return;Go[i]=!0;const r=i.endsWith(".css"),l=r?'[rel="stylesheet"]':"";if(!!s)for(let h=o.length-1;h>=0;h--){const v=o[h];if(v.href===i&&(!r||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const f=document.createElement("link");if(f.rel=r?"stylesheet":Zc,r||(f.as="script",f.crossOrigin=""),f.href=i,document.head.appendChild(f),r)return new Promise((h,v)=>{f.addEventListener("load",h),f.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};const na=O({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>{var s;return d(),m("span",{class:de(["VPBadge",(s=e.type)!=null?s:"tip"])},[T(t.$slots,"default",{},()=>[Te(ae(e.text),1)],!0)],2)}}});const sa=A(na,[["__scopeId","data-v-8d21f6c9"]]),oa=JSON.parse('{"lang":"en-US","title":"The Paper Pilot","description":"The Paper Pilot portfolio site","base":"/","head":[],"appearance":true,"themeConfig":{"outline":"deep","nav":[{"text":"Guide to Incrementals","link":"/guide-to-incrementals/","activeMatch":"^/guide-to-incrementals"},{"text":"Projects","link":"/projects/","activeMatch":"^/projects"},{"text":"Profectus","link":"https://moddingtree.com"}],"socialLinks":[{"icon":"github","link":"https://github.com/thepaperpilot"},{"icon":"linkedin","link":"https://www.linkedin.com/pub/anthony-lawn/a9/a98/2"},{"icon":"discord","link":"https://discord.gg/yJ4fjnjU54"},{"icon":{"svg":"\\n \\n"},"link":"https://mastodon.gamedev.place/@thepaperpilot"}],"sidebar":{"guide-to-incrementals":[{"text":"Ludology","collapsible":true,"items":[{"text":"Defining the Genre","link":"/guide-to-incrementals/ludology/definition"},{"text":"Appeal to Players","link":"/guide-to-incrementals/ludology/appeal-gamers"},{"text":"Appeal to Developers","link":"/guide-to-incrementals/ludology/appeal-developers"},{"text":"What is Content?","link":"/guide-to-incrementals/ludology/content"}]},{"text":"Development","collapsible":true,"items":[{"text":"Introduction","link":"/guide-to-incrementals/design/introduction"}]}],"projects":[{"text":"Play Now","items":[{"text":"Planar Pioneers","link":"https://thepaperpilot.org/planar"},{"text":"Advent Incremental","link":"https://thepaperpilot.org/advent"},{"text":"Kronos","link":"https://thepaperpilot.org/kronos/"},{"text":"Game Dev Tree","link":"https://thepaperpilot.org/gamedevtree/"},{"text":"Lit","link":"https://thepaperpilot.org/lit/"},{"text":"The Ascension Tree","link":"https://thepaperpilot.org/the_ascension_tree/"},{"text":"Dream Hero","link":"https://thepaperpilot.org/dream/"},{"text":"My Itch Page","link":"https://thepaperpilot.itch.io/"}]},{"text":"Downloads","items":[{"text":"Dice Armor","link":"/projects/dice/"},{"text":"Capture the Citadel","link":"/projects/citadel/"}]},{"text":"Non-Games","items":[{"text":"V-ecs","link":"/projects/vecs/"},{"text":"OptiSpeech","link":"/projects/optispeech/"},{"text":"Babble Buds","link":"/projects/babble/"}]}]}},"locales":{},"langs":{},"scrollOffset":90,"cleanUrls":"with-subfolders"}'),ts=/^[a-z]+:/i,Yo="vitepress-theme-appearance",Ee=typeof window<"u",lr={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0};function ia(e,t){t.sort((n,s)=>{const o=s.split("/").length-n.split("/").length;return o!==0?o:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function Qo(e,t){const n=ia(t,Object.keys(e));return n?e[n]:void 0}function ra(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,o)=>(s[o]={label:t[o].label,lang:n[o].lang},s),{}):{}}function la(e,t){t=aa(e,t);const n=Qo(e.locales||{},t),s=Qo(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:ra(e)})}function cr(e,t){var i;const n=t.title||e.title,s=(i=t.titleTemplate)!=null?i:e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const o=ca(e.title,s);return`${n}${o}`}function ca(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function aa(e,t){if(!Ee)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}function ua(e,t){const[n,s]=t;if(n!=="meta")return!1;const o=Object.entries(s)[0];return o==null?!1:e.some(([i,r])=>i===n&&r[o[0]]===o[1])}function fa(e,t){return[...e.filter(n=>!ua(t,n)),...t]}const da=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ha=/^[a-z]:/i;function Jo(e){const t=ha.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(da,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}function _a(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function dn(e){return ts.test(e)?e:_a(Kt.value.base,e)}function ar(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t.endsWith("/")&&(t+="index"),Ee){const n="/";t=Jo(t.slice(n.length).replace(/\//g,"_")||"index")+".md";const s=__VP_HASH_MAP__[t.toLowerCase()];t=`${n}assets/${t}.${s}.js`}else t=`./${Jo(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}const ur=Symbol(),Kt=pl(oa);function pa(e){const t=ie(()=>la(Kt.value,e.path));return{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),lang:ie(()=>t.value.lang),localePath:ie(()=>{const{langs:n,lang:s}=t.value,o=Object.keys(n).find(i=>n[i].lang===s);return dn(o||"/")}),title:ie(()=>cr(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:me(!1)}}function le(){const e=Xe(ur);if(!e)throw new Error("vitepress data not properly injected in app");return e}const fr=Symbol(),Xo="http://a.com",va=()=>({path:"/",component:null,data:lr});function ma(e,t){const n=Kn(va()),s={route:n,go:o};async function o(l=Ee?location.href:"/"){var f,h;await((f=s.onBeforeRouteChange)==null?void 0:f.call(s,l));const c=new URL(l,Xo);Kt.value.cleanUrls==="disabled"&&!c.pathname.endsWith("/")&&!c.pathname.endsWith(".html")&&(c.pathname+=".html",l=c.pathname+c.search+c.hash),Ee&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",l)),await r(l),await((h=s.onAfterRouteChanged)==null?void 0:h.call(s,l))}let i=null;async function r(l,c=0,f=!1){const h=new URL(l,Xo),v=i=h.pathname;try{let y=await e(v);if(i===v){i=null;const{default:$,__pageData:z}=y;if(!$)throw new Error(`Invalid route component: ${$}`);n.path=Ee?v:dn(v),n.component=en($),n.data=en(z),Ee&&Ks(()=>{if(h.hash&&!c){let F=null;try{F=document.querySelector(decodeURIComponent(h.hash))}catch(J){console.warn(J)}if(F){Zo(F,h.hash);return}}window.scrollTo(0,c)})}}catch(y){if(!/fetch/.test(y.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(y),!f)try{const $=await fetch(Kt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await $.json(),await r(l,c,!0);return}catch{}i===v&&(i=null,n.path=Ee?v:dn(v),n.component=t?en(t):null,n.data=lr)}}return Ee&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const f=l.target.closest("a");if(f&&!f.closest(".vp-raw")&&!f.download){const{href:h,origin:v,pathname:y,hash:$,search:z,target:F}=f,J=window.location,g=y.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&F!=="_blank"&&v===J.origin&&!(g&&g[0]!==".html")&&(l.preventDefault(),y===J.pathname&&z===J.search?$&&$!==J.hash&&(history.pushState(null,"",$),window.dispatchEvent(new Event("hashchange")),Zo(f,$,f.classList.contains("header-anchor"))):o(h))}},{capture:!0}),window.addEventListener("popstate",l=>{r(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function ga(){const e=Xe(fr);if(!e)throw new Error("useRouter() is called without provider.");return e}function vt(){return ga().route}function Zo(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(o){console.warn(o)}if(s){let o=Kt.value.scrollOffset;typeof o=="string"&&(o=document.querySelector(o).getBoundingClientRect().bottom+24);const i=parseInt(window.getComputedStyle(s).paddingTop,10),r=window.scrollY+s.getBoundingClientRect().top-o+i;!n||Math.abs(r-window.scrollY)>window.innerHeight?window.scrollTo(0,r):window.scrollTo({left:0,top:r,behavior:"smooth"})}}const ba=O({name:"VitePressContent",props:{onContentUpdated:Function},setup(e){const t=vt();return qs(()=>{var n;(n=e.onContentUpdated)==null||n.call(e)}),()=>Nn("div",{style:{position:"relative"}},[t.component?Nn(t.component):null])}}),dr=/#.*$/,ya=/(index)?\.(md|html)$/,wa=typeof window<"u",xa=me(wa?location.hash:"");function ka(e){return ts.test(e)}function $a(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Yt(e,t,n=!1){if(t===void 0)return!1;if(e=ti(`/${e}`),n)return new RegExp(t).test(e);if(ti(t)!==e)return!1;const s=t.match(dr);return s?xa.value===s[0]:!0}function ei(e){return/^\//.test(e)?e:`/${e}`}function ti(e){return decodeURI(e).replace(dr,"").replace(ya,"")}function Bn(e){if(ka(e))return e;const{site:t}=le(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),i=n.endsWith("/")||n.endsWith(".html")?e:`${n.replace(/(\.md)?$/,t.value.cleanUrls==="disabled"?".html":"")}${s}${o}`;return dn(i)}function hr(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=ei(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(ei(s)));return n?e[n]:[]}function Pa(e){const t=[];function n(s){for(const o of s)o.link&&t.push({...o,link:o.link}),"items"in o&&n(o.items)}for(const s of e)n(s.items);return t}function tt(){const e=vt(),{theme:t,frontmatter:n}=le(),s=me(!1),o=ie(()=>{const h=t.value.sidebar,v=e.data.relativePath;return h?hr(h,v):[]}),i=ie(()=>n.value.sidebar!==!1&&o.value.length>0&&n.value.layout!=="home"),r=ie(()=>n.value.layout!=="home"&&n.value.aside!==!1);function l(){s.value=!0}function c(){s.value=!1}function f(){s.value?c():l()}return{isOpen:s,sidebar:o,hasSidebar:i,hasAside:r,open:l,close:c,toggle:f}}function Ca(e,t){let n;zt(()=>{n=e.value?document.activeElement:void 0}),De(()=>{window.addEventListener("keyup",s)}),pt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}const Sa=O({__name:"VPSkipLink",setup(e){const t=vt(),n=me();Ze(()=>t.path,()=>n.value.focus());function s({target:o}){const i=document.querySelector(o.hash);if(i){const r=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",r)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",r),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(d(),m(q,null,[b("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),b("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const Va=A(Sa,[["__scopeId","data-v-151f2593"]]),Ta={key:0,class:"VPBackdrop"},La=O({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(d(),G(es,{name:"fade"},{default:I(()=>[e.show?(d(),m("div",Ta)):j("",!0)]),_:1}))}});const Ea=A(La,[["__scopeId","data-v-0164f098"]]);function Ma(){const e=me(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const i=vt();return Ze(()=>i.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}const Ia=["src","alt"],Aa={inheritAttrs:!1},Na=O({...Aa,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{var o;const s=Tt("VPImage",!0);return e.image?(d(),m(q,{key:0},[typeof e.image=="string"||"src"in e.image?(d(),m("img",Cn({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:_(dn)(typeof e.image=="string"?e.image:e.image.src),alt:(o=e.alt)!=null?o:typeof e.image=="string"?"":e.image.alt||""}),null,16,Ia)):(d(),m(q,{key:1},[V(s,Cn({class:"dark",image:e.image.dark,alt:typeof e.image.dark=="string"?e.image.alt:e.image.dark.alt||e.image.alt},t.$attrs),null,16,["image","alt"]),V(s,Cn({class:"light",image:e.image.light,alt:typeof e.image.light=="string"?e.image.alt:e.image.light.alt||e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):j("",!0)}}});const _r=A(Na,[["__scopeId","data-v-b7ac6bd3"]]),Ba=["href"],Oa=O({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=le(),{hasSidebar:s}=tt();return(o,i)=>(d(),m("div",{class:de(["VPNavBarTitle",{"has-sidebar":_(s)}])},[b("a",{class:"title",href:_(t).base},[T(o.$slots,"nav-bar-title-before",{},void 0,!0),V(_r,{class:"logo",image:_(n).logo},null,8,["image"]),_(n).siteTitle?(d(),m(q,{key:0},[Te(ae(_(n).siteTitle),1)],64)):_(n).siteTitle===void 0?(d(),m(q,{key:1},[Te(ae(_(t).title),1)],64)):j("",!0),T(o.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ba)],2))}});const Fa=A(Oa,[["__scopeId","data-v-d5925166"]]);const Ha={key:0,class:"VPNavBarSearch"},Da={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},Ra={class:"DocSearch-Button-Container"},ja=b("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},[b("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),za={class:"DocSearch-Button-Placeholder"},Ua=b("span",{class:"DocSearch-Button-Keys"},[b("kbd",{class:"DocSearch-Button-Key"}),b("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ka=O({__name:"VPNavBarSearch",setup(e){Dc(r=>({"5943dbe8":o.value}));const t=()=>null,{theme:n}=le(),s=me(!1),o=me("'Meta'");De(()=>{if(!n.value.algolia)return;o.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'\u2318'":"'Ctrl'";const r=c=>{c.key==="k"&&(c.ctrlKey||c.metaKey)&&(c.preventDefault(),i(),l())},l=()=>{window.removeEventListener("keydown",r)};window.addEventListener("keydown",r),pt(l)});function i(){s.value||(s.value=!0)}return(r,l)=>{var c;return _(n).algolia?(d(),m("div",Ha,[s.value?(d(),G(_(t),{key:0})):(d(),m("div",{key:1,id:"docsearch",onClick:i},[b("button",Da,[b("span",Ra,[ja,b("span",za,ae(((c=_(n).algolia)==null?void 0:c.buttonText)||"Search"),1)]),Ua])]))])):j("",!0)}}});const Wa={},qa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},Ga=b("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),Ya=b("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),Qa=[Ga,Ya];function Ja(e,t){return d(),m("svg",qa,Qa)}const Xa=A(Wa,[["render",Ja]]),Za=O({__name:"VPLink",props:{href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=ie(()=>t.href&&ts.test(t.href));return(s,o)=>(d(),G(Ys(e.href?"a":"span"),{class:de(["VPLink",{link:e.href}]),href:e.href?_(Bn)(e.href):void 0,target:_(n)?"_blank":void 0,rel:_(n)?"noreferrer":void 0},{default:I(()=>[T(s.$slots,"default",{},void 0,!0),_(n)&&!e.noIcon?(d(),G(Xa,{key:0,class:"icon"})):j("",!0)]),_:3},8,["class","href","target","rel"]))}});const Lt=A(Za,[["__scopeId","data-v-3c355974"]]),eu=O({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),G(Lt,{class:de({VPNavBarMenuLink:!0,active:_(Yt)(_(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:!0},{default:I(()=>[Te(ae(e.item.text),1)]),_:1},8,["class","href"]))}});const tu=A(eu,[["__scopeId","data-v-47a2263e"]]),to=me();let pr=!1,hs=0;function nu(e){const t=me(!1);if(typeof window<"u"){!pr&&su(),hs++;const n=Ze(to,s=>{var o,i,r;s===e.el.value||((o=e.el.value)==null?void 0:o.contains(s))?(t.value=!0,(i=e.onFocus)==null||i.call(e)):(t.value=!1,(r=e.onBlur)==null||r.call(e))});pt(()=>{n(),hs--,hs||ou()})}return Rs(t)}function su(){document.addEventListener("focusin",vr),pr=!0,to.value=document.activeElement}function ou(){document.removeEventListener("focusin",vr)}function vr(){to.value=document.activeElement}const iu={},ru={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},lu=b("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),cu=[lu];function au(e,t){return d(),m("svg",ru,cu)}const mr=A(iu,[["render",au]]),uu={},fu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},du=b("circle",{cx:"12",cy:"12",r:"2"},null,-1),hu=b("circle",{cx:"19",cy:"12",r:"2"},null,-1),_u=b("circle",{cx:"5",cy:"12",r:"2"},null,-1),pu=[du,hu,_u];function vu(e,t){return d(),m("svg",fu,pu)}const mu=A(uu,[["render",vu]]),gu={class:"VPMenuLink"},bu=O({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),m("div",gu,[V(Lt,{class:de({active:_(Yt)(_(t).relativePath,e.item.activeMatch||e.item.link)}),href:e.item.link},{default:I(()=>[Te(ae(e.item.text),1)]),_:1},8,["class","href"])]))}});const ns=A(bu,[["__scopeId","data-v-e8e0fb1d"]]),yu={class:"VPMenuGroup"},wu={key:0,class:"title"},xu=O({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(d(),m("div",yu,[e.text?(d(),m("p",wu,ae(e.text),1)):j("",!0),(d(!0),m(q,null,Ce(e.items,s=>(d(),m(q,null,["link"in s?(d(),G(ns,{key:0,item:s},null,8,["item"])):j("",!0)],64))),256))]))}});const ku=A(xu,[["__scopeId","data-v-9ca52130"]]),$u={class:"VPMenu"},Pu={key:0,class:"items"},Cu=O({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(d(),m("div",$u,[e.items?(d(),m("div",Pu,[(d(!0),m(q,null,Ce(e.items,s=>(d(),m(q,{key:s.text},["link"in s?(d(),G(ns,{key:0,item:s},null,8,["item"])):(d(),G(ku,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):j("",!0),T(t.$slots,"default",{},void 0,!0)]))}});const Su=A(Cu,[["__scopeId","data-v-1c5d0cfc"]]),Vu=["aria-expanded","aria-label"],Tu={key:0,class:"text"},Lu={class:"menu"},Eu=O({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=me(!1),n=me();nu({el:n,onBlur:s});function s(){t.value=!1}return(o,i)=>(d(),m("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:i[1]||(i[1]=r=>t.value=!0),onMouseleave:i[2]||(i[2]=r=>t.value=!1)},[b("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:i[0]||(i[0]=r=>t.value=!t.value)},[e.button||e.icon?(d(),m("span",Tu,[e.icon?(d(),G(Ys(e.icon),{key:0,class:"option-icon"})):j("",!0),Te(" "+ae(e.button)+" ",1),V(mr,{class:"text-icon"})])):(d(),G(mu,{key:1,class:"icon"}))],8,Vu),b("div",Lu,[V(Su,{items:e.items},{default:I(()=>[T(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const no=A(Eu,[["__scopeId","data-v-6ffb57d3"]]),Mu=O({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=le();return(n,s)=>(d(),G(no,{class:de({VPNavBarMenuGroup:!0,active:_(Yt)(_(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),Iu=e=>(We("data-v-f83db6ba"),e=e(),qe(),e),Au={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Nu=Iu(()=>b("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Bu=O({__name:"VPNavBarMenu",setup(e){const{theme:t}=le();return(n,s)=>_(t).nav?(d(),m("nav",Au,[Nu,(d(!0),m(q,null,Ce(_(t).nav,o=>(d(),m(q,{key:o.text},["link"in o?(d(),G(tu,{key:0,item:o},null,8,["item"])):(d(),G(Mu,{key:1,item:o},null,8,["item"]))],64))),128))])):j("",!0)}});const Ou=A(Bu,[["__scopeId","data-v-f83db6ba"]]),Fu={},Hu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Du=b("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ru=b("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),ju=[Du,Ru];function zu(e,t){return d(),m("svg",Hu,ju)}const gr=A(Fu,[["render",zu]]),Uu={class:"items"},Ku={class:"title"},Wu=O({__name:"VPNavBarTranslations",setup(e){const{theme:t}=le();return(n,s)=>_(t).localeLinks?(d(),G(no,{key:0,class:"VPNavBarTranslations",icon:gr},{default:I(()=>[b("div",Uu,[b("p",Ku,ae(_(t).localeLinks.text),1),(d(!0),m(q,null,Ce(_(t).localeLinks.items,o=>(d(),G(ns,{key:o.link,item:o},null,8,["item"]))),128))])]),_:1})):j("",!0)}});const qu=A(Wu,[["__scopeId","data-v-db824e91"]]);const Gu={},Yu={class:"VPSwitch",type:"button",role:"switch"},Qu={class:"check"},Ju={key:0,class:"icon"};function Xu(e,t){return d(),m("button",Yu,[b("span",Qu,[e.$slots.default?(d(),m("span",Ju,[T(e.$slots,"default",{},void 0,!0)])):j("",!0)])])}const Zu=A(Gu,[["render",Xu],["__scopeId","data-v-eba7420e"]]),ef={},tf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},nf=uc('',9),sf=[nf];function of(e,t){return d(),m("svg",tf,sf)}const rf=A(ef,[["render",of]]),lf={},cf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},af=b("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),uf=[af];function ff(e,t){return d(),m("svg",cf,uf)}const df=A(lf,[["render",ff]]),hf=O({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=le(),s=me(!1),o=typeof localStorage<"u"?i():()=>{};De(()=>{s.value=document.documentElement.classList.contains("dark")});function i(){const r=window.matchMedia("(prefers-color-scheme: dark)"),l=document.documentElement.classList;let c=localStorage.getItem(Yo),f=t.value.appearance==="dark"&&c==null||(c==="auto"||c==null?r.matches:c==="dark");r.onchange=y=>{c==="auto"&&v(f=y.matches)};function h(){v(f=!f),c=f?r.matches?"auto":"dark":r.matches?"light":"auto",localStorage.setItem(Yo,c)}function v(y){const $=document.createElement("style");$.type="text/css",$.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) { -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; diff --git a/assets/guide-to-incrementals_design_introduction.md.3331f00b.js b/assets/guide-to-incrementals_design_introduction.md.52bff723.js similarity index 90% rename from assets/guide-to-incrementals_design_introduction.md.3331f00b.js rename to assets/guide-to-incrementals_design_introduction.md.52bff723.js index 75b5244e4..42fd53279 100644 --- a/assets/guide-to-incrementals_design_introduction.md.3331f00b.js +++ b/assets/guide-to-incrementals_design_introduction.md.52bff723.js @@ -1 +1 @@ -import{_ as t,c as n,o as a,a as e,b as o}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Introduction to Incremental Game Design","description":"","frontmatter":{"title":"Introduction to Incremental Game Design"},"headers":[],"relativePath":"guide-to-incrementals/design/introduction.md","lastUpdated":null}'),i={name:"guide-to-incrementals/design/introduction.md"},r=e("h1",{id:"making-an-incremental-game",tabindex:"-1"},[o("Making an Incremental Game "),e("a",{class:"header-anchor",href:"#making-an-incremental-game","aria-hidden":"true"},"#")],-1),c=[r];function s(d,m,l,_,u,g){return a(),n("div",null,c)}const f=t(i,[["render",s]]);export{h as __pageData,f as default}; +import{_ as t,c as n,o as a,a as e,b as o}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Introduction to Incremental Game Design","description":"","frontmatter":{"title":"Introduction to Incremental Game Design"},"headers":[],"relativePath":"guide-to-incrementals/design/introduction.md","lastUpdated":null}'),i={name:"guide-to-incrementals/design/introduction.md"},r=e("h1",{id:"making-an-incremental-game",tabindex:"-1"},[o("Making an Incremental Game "),e("a",{class:"header-anchor",href:"#making-an-incremental-game","aria-hidden":"true"},"#")],-1),c=[r];function s(d,m,l,_,u,g){return a(),n("div",null,c)}const f=t(i,[["render",s]]);export{h as __pageData,f as default}; diff --git a/assets/guide-to-incrementals_design_introduction.md.3331f00b.lean.js b/assets/guide-to-incrementals_design_introduction.md.52bff723.lean.js similarity index 90% rename from assets/guide-to-incrementals_design_introduction.md.3331f00b.lean.js rename to assets/guide-to-incrementals_design_introduction.md.52bff723.lean.js index 75b5244e4..42fd53279 100644 --- a/assets/guide-to-incrementals_design_introduction.md.3331f00b.lean.js +++ b/assets/guide-to-incrementals_design_introduction.md.52bff723.lean.js @@ -1 +1 @@ -import{_ as t,c as n,o as a,a as e,b as o}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Introduction to Incremental Game Design","description":"","frontmatter":{"title":"Introduction to Incremental Game Design"},"headers":[],"relativePath":"guide-to-incrementals/design/introduction.md","lastUpdated":null}'),i={name:"guide-to-incrementals/design/introduction.md"},r=e("h1",{id:"making-an-incremental-game",tabindex:"-1"},[o("Making an Incremental Game "),e("a",{class:"header-anchor",href:"#making-an-incremental-game","aria-hidden":"true"},"#")],-1),c=[r];function s(d,m,l,_,u,g){return a(),n("div",null,c)}const f=t(i,[["render",s]]);export{h as __pageData,f as default}; +import{_ as t,c as n,o as a,a as e,b as o}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Introduction to Incremental Game Design","description":"","frontmatter":{"title":"Introduction to Incremental Game Design"},"headers":[],"relativePath":"guide-to-incrementals/design/introduction.md","lastUpdated":null}'),i={name:"guide-to-incrementals/design/introduction.md"},r=e("h1",{id:"making-an-incremental-game",tabindex:"-1"},[o("Making an Incremental Game "),e("a",{class:"header-anchor",href:"#making-an-incremental-game","aria-hidden":"true"},"#")],-1),c=[r];function s(d,m,l,_,u,g){return a(),n("div",null,c)}const f=t(i,[["render",s]]);export{h as __pageData,f as default}; diff --git a/assets/guide-to-incrementals_index.md.8abeee5c.js b/assets/guide-to-incrementals_index.md.fa82364c.js similarity index 97% rename from assets/guide-to-incrementals_index.md.8abeee5c.js rename to assets/guide-to-incrementals_index.md.fa82364c.js index b6995d719..a6d8088e8 100644 --- a/assets/guide-to-incrementals_index.md.8abeee5c.js +++ b/assets/guide-to-incrementals_index.md.fa82364c.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as n}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"Introduction","description":"","frontmatter":{"title":"Introduction"},"headers":[{"level":2,"title":"Who am I?","slug":"who-am-i","link":"#who-am-i","children":[]}],"relativePath":"guide-to-incrementals/index.md","lastUpdated":null}'),o={name:"guide-to-incrementals/index.md"},i=n('

Introduction

This is a comprehensive guide to Incremental Games, a genre of video games. It will explore defining the genre, why it's appealing, and how to design and build your own incremental game. Along the way will be interactive examples, snippets from other creators, and relevant material to contextualize everything.

Note: This is an incomplete document. I want to keep adding opinions and opposing views from other incremental games developers, and add interactive examples to illustrate various points regarding game design and balancing. Consider this a living document - and see the changelog at the end.

Who am I?

That's a good question! What authority do I have to be making this site? I haven't made the best incremental games, nor the most incremental games, certainly not the most popular ones either. I do have some formal education in game development, know a lot of incremental game devs, as well as other game devs, and an interest in ludology, classifying genres, etc. I've also made a couple of incremental games myself.

If you have any additional questions about my credentials or anything on this site, feel free to contact me: I'm "The Paper Pilot" on most social media. You'll probably get a response fastest via my discord server, or if you just want to suggest changes to the website you can click the "Edit this page" link present on every single page.

',6),r=[i];function s(l,d,c,h,m,p){return a(),t("div",null,r)}const _=e(o,[["render",s]]);export{u as __pageData,_ as default}; +import{_ as e,c as t,o as a,d as n}from"./app.830f7d24.js";const u=JSON.parse('{"title":"Introduction","description":"","frontmatter":{"title":"Introduction"},"headers":[{"level":2,"title":"Who am I?","slug":"who-am-i","link":"#who-am-i","children":[]}],"relativePath":"guide-to-incrementals/index.md","lastUpdated":null}'),o={name:"guide-to-incrementals/index.md"},i=n('

Introduction

This is a comprehensive guide to Incremental Games, a genre of video games. It will explore defining the genre, why it's appealing, and how to design and build your own incremental game. Along the way will be interactive examples, snippets from other creators, and relevant material to contextualize everything.

Note: This is an incomplete document. I want to keep adding opinions and opposing views from other incremental games developers, and add interactive examples to illustrate various points regarding game design and balancing. Consider this a living document - and see the changelog at the end.

Who am I?

That's a good question! What authority do I have to be making this site? I haven't made the best incremental games, nor the most incremental games, certainly not the most popular ones either. I do have some formal education in game development, know a lot of incremental game devs, as well as other game devs, and an interest in ludology, classifying genres, etc. I've also made a couple of incremental games myself.

If you have any additional questions about my credentials or anything on this site, feel free to contact me: I'm "The Paper Pilot" on most social media. You'll probably get a response fastest via my discord server, or if you just want to suggest changes to the website you can click the "Edit this page" link present on every single page.

',6),r=[i];function s(l,d,c,h,m,p){return a(),t("div",null,r)}const _=e(o,[["render",s]]);export{u as __pageData,_ as default}; diff --git a/assets/guide-to-incrementals_index.md.8abeee5c.lean.js b/assets/guide-to-incrementals_index.md.fa82364c.lean.js similarity index 87% rename from assets/guide-to-incrementals_index.md.8abeee5c.lean.js rename to assets/guide-to-incrementals_index.md.fa82364c.lean.js index 89fa1bf8f..a979f223a 100644 --- a/assets/guide-to-incrementals_index.md.8abeee5c.lean.js +++ b/assets/guide-to-incrementals_index.md.fa82364c.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as n}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"Introduction","description":"","frontmatter":{"title":"Introduction"},"headers":[{"level":2,"title":"Who am I?","slug":"who-am-i","link":"#who-am-i","children":[]}],"relativePath":"guide-to-incrementals/index.md","lastUpdated":null}'),o={name:"guide-to-incrementals/index.md"},i=n("",6),r=[i];function s(l,d,c,h,m,p){return a(),t("div",null,r)}const _=e(o,[["render",s]]);export{u as __pageData,_ as default}; +import{_ as e,c as t,o as a,d as n}from"./app.830f7d24.js";const u=JSON.parse('{"title":"Introduction","description":"","frontmatter":{"title":"Introduction"},"headers":[{"level":2,"title":"Who am I?","slug":"who-am-i","link":"#who-am-i","children":[]}],"relativePath":"guide-to-incrementals/index.md","lastUpdated":null}'),o={name:"guide-to-incrementals/index.md"},i=n("",6),r=[i];function s(l,d,c,h,m,p){return a(),t("div",null,r)}const _=e(o,[["render",s]]);export{u as __pageData,_ as default}; diff --git a/assets/guide-to-incrementals_ludology_appeal-developers.md.223693e2.js b/assets/guide-to-incrementals_ludology_appeal-developers.md.b3974713.js similarity index 98% rename from assets/guide-to-incrementals_ludology_appeal-developers.md.223693e2.js rename to assets/guide-to-incrementals_ludology_appeal-developers.md.b3974713.js index b84f95df1..a346c4e46 100644 --- a/assets/guide-to-incrementals_ludology_appeal-developers.md.223693e2.js +++ b/assets/guide-to-incrementals_ludology_appeal-developers.md.b3974713.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as n}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Appeal to Developers","description":"","frontmatter":{"title":"Appeal to Developers"},"headers":[{"level":2,"title":"Incrementals are Easy to Make","slug":"incrementals-are-easy-to-make","link":"#incrementals-are-easy-to-make","children":[]},{"level":2,"title":"Players are Easy to Find","slug":"players-are-easy-to-find","link":"#players-are-easy-to-find","children":[]},{"level":2,"title":"Monetization","slug":"monetization","link":"#monetization","children":[]}],"relativePath":"guide-to-incrementals/ludology/appeal-developers.md","lastUpdated":null}'),o={name:"guide-to-incrementals/ludology/appeal-developers.md"},i=n('

Appeal to Developers

There are a lot of developers in the incremental games community - the genre seems to draw them in, and convert a lot of players into developers. Let's explore the reasons why this genre appeals to developers.

Incrementals are Easy to Make

Compared to other genres, incrementals have quite low expectations. You don't need to make fancy art, or music, or lay things out nicely. If you can make a button and learn the few lines of code necessary to make a number go up, you can make an incremental. This low threshold makes the genre perfect for those who are actively learning to code and haven't developed any gamedev-related skills yet.

Additionally, unlike other genres incrementals are uniquely easy to implement in a normal web page - no need to worry about rendering sprites, moving them around, implementing physics, etc. New developers can just use HTML to add a button, and the game is now available in your browser. You don't need to choose an engine, have admin privileges, or hell for the dedicated you don't even need a computer - there are tools for web development that run in the browser itself, so you can technically use your phone if that's all you have.

Javascript is a perfectly viable language for making web games, whereas other genres are typically going to require using other more difficult languages to learn. There are countless javascript tutorials that start from 0 knowledge of programming, making it incredibly accessible to beginners.

Players are Easy to Find

Once you've finished your game and uploaded it on github pages or itch or just copied the link if you're using glitch or replit (all of which are easy to do), anyone can now play the game in their browser. This low barrier to entry has shown tremendous success in getting completely unknown developers to have thousands of plays.

The incremental games community, which mostly centers around r/incremental_games, is always looking for new games and tends to flood any new ones posted with initial players.

Having your games be played can be incredibly motivating, and the community makes it quite clear that you can expect players to play your game. These communities - both for incremental games in general as well as game-specific communities - tend to be very developer friendly as well. A lot of the developers know each other, and welcome new developers with open arms, often with dedicated channels for programming help and discussions.

Monetization

I'd like to clarify that everything I've said above mainly applies to web-based incrementals. Incremental games are also incredibly popular on mobile, but with a much different culture and community. Many mobile gamers will still participate in the web-focused community for the culture. This web-focused community has a culture that has been criticized for being "anti-monetization". Ads, IAPs, and similar forms of monetization are often criticized, mainly due to the abundance of completely non-monetized games available from hobbyist developers. There are exceptions, like paid games often being considered fine, like Increlution or Stuck in Time, or donation ware games like kittens game, but even popular games that have IAP see some level of regular criticism, like NGU Idle, Idle Skilling, or Idle Pins. A large part of this can be explained by the community being hyper-aware of the addictive nature of this genre and its susceptibility to exploiting players.

On mobile, however, monetization is the norm and expected. If an incremental game is available on mobile, it almost certainly will be monetized, and mobile players are aware and accepting of that. Mobile incremental games, due to their addictive nature, tend to make a lot of money. It's very lucrative, and therefore these games are quite abundant on mobile storefronts.

',13),r=[i];function l(s,d,m,c,p,h){return t(),a("div",null,r)}const g=e(o,[["render",l]]);export{y as __pageData,g as default}; +import{_ as e,c as a,o as t,d as n}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Appeal to Developers","description":"","frontmatter":{"title":"Appeal to Developers"},"headers":[{"level":2,"title":"Incrementals are Easy to Make","slug":"incrementals-are-easy-to-make","link":"#incrementals-are-easy-to-make","children":[]},{"level":2,"title":"Players are Easy to Find","slug":"players-are-easy-to-find","link":"#players-are-easy-to-find","children":[]},{"level":2,"title":"Monetization","slug":"monetization","link":"#monetization","children":[]}],"relativePath":"guide-to-incrementals/ludology/appeal-developers.md","lastUpdated":null}'),o={name:"guide-to-incrementals/ludology/appeal-developers.md"},i=n('

Appeal to Developers

There are a lot of developers in the incremental games community - the genre seems to draw them in, and convert a lot of players into developers. Let's explore the reasons why this genre appeals to developers.

Incrementals are Easy to Make

Compared to other genres, incrementals have quite low expectations. You don't need to make fancy art, or music, or lay things out nicely. If you can make a button and learn the few lines of code necessary to make a number go up, you can make an incremental. This low threshold makes the genre perfect for those who are actively learning to code and haven't developed any gamedev-related skills yet.

Additionally, unlike other genres incrementals are uniquely easy to implement in a normal web page - no need to worry about rendering sprites, moving them around, implementing physics, etc. New developers can just use HTML to add a button, and the game is now available in your browser. You don't need to choose an engine, have admin privileges, or hell for the dedicated you don't even need a computer - there are tools for web development that run in the browser itself, so you can technically use your phone if that's all you have.

Javascript is a perfectly viable language for making web games, whereas other genres are typically going to require using other more difficult languages to learn. There are countless javascript tutorials that start from 0 knowledge of programming, making it incredibly accessible to beginners.

Players are Easy to Find

Once you've finished your game and uploaded it on github pages or itch or just copied the link if you're using glitch or replit (all of which are easy to do), anyone can now play the game in their browser. This low barrier to entry has shown tremendous success in getting completely unknown developers to have thousands of plays.

The incremental games community, which mostly centers around r/incremental_games, is always looking for new games and tends to flood any new ones posted with initial players.

Having your games be played can be incredibly motivating, and the community makes it quite clear that you can expect players to play your game. These communities - both for incremental games in general as well as game-specific communities - tend to be very developer friendly as well. A lot of the developers know each other, and welcome new developers with open arms, often with dedicated channels for programming help and discussions.

Monetization

I'd like to clarify that everything I've said above mainly applies to web-based incrementals. Incremental games are also incredibly popular on mobile, but with a much different culture and community. Many mobile gamers will still participate in the web-focused community for the culture. This web-focused community has a culture that has been criticized for being "anti-monetization". Ads, IAPs, and similar forms of monetization are often criticized, mainly due to the abundance of completely non-monetized games available from hobbyist developers. There are exceptions, like paid games often being considered fine, like Increlution or Stuck in Time, or donation ware games like kittens game, but even popular games that have IAP see some level of regular criticism, like NGU Idle, Idle Skilling, or Idle Pins. A large part of this can be explained by the community being hyper-aware of the addictive nature of this genre and its susceptibility to exploiting players.

On mobile, however, monetization is the norm and expected. If an incremental game is available on mobile, it almost certainly will be monetized, and mobile players are aware and accepting of that. Mobile incremental games, due to their addictive nature, tend to make a lot of money. It's very lucrative, and therefore these games are quite abundant on mobile storefronts.

',13),r=[i];function l(s,d,m,c,p,h){return t(),a("div",null,r)}const g=e(o,[["render",l]]);export{y as __pageData,g as default}; diff --git a/assets/guide-to-incrementals_ludology_appeal-developers.md.223693e2.lean.js b/assets/guide-to-incrementals_ludology_appeal-developers.md.b3974713.lean.js similarity index 92% rename from assets/guide-to-incrementals_ludology_appeal-developers.md.223693e2.lean.js rename to assets/guide-to-incrementals_ludology_appeal-developers.md.b3974713.lean.js index a91dc70e8..04226f0d0 100644 --- a/assets/guide-to-incrementals_ludology_appeal-developers.md.223693e2.lean.js +++ b/assets/guide-to-incrementals_ludology_appeal-developers.md.b3974713.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as n}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Appeal to Developers","description":"","frontmatter":{"title":"Appeal to Developers"},"headers":[{"level":2,"title":"Incrementals are Easy to Make","slug":"incrementals-are-easy-to-make","link":"#incrementals-are-easy-to-make","children":[]},{"level":2,"title":"Players are Easy to Find","slug":"players-are-easy-to-find","link":"#players-are-easy-to-find","children":[]},{"level":2,"title":"Monetization","slug":"monetization","link":"#monetization","children":[]}],"relativePath":"guide-to-incrementals/ludology/appeal-developers.md","lastUpdated":null}'),o={name:"guide-to-incrementals/ludology/appeal-developers.md"},i=n("",13),r=[i];function l(s,d,m,c,p,h){return t(),a("div",null,r)}const g=e(o,[["render",l]]);export{y as __pageData,g as default}; +import{_ as e,c as a,o as t,d as n}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Appeal to Developers","description":"","frontmatter":{"title":"Appeal to Developers"},"headers":[{"level":2,"title":"Incrementals are Easy to Make","slug":"incrementals-are-easy-to-make","link":"#incrementals-are-easy-to-make","children":[]},{"level":2,"title":"Players are Easy to Find","slug":"players-are-easy-to-find","link":"#players-are-easy-to-find","children":[]},{"level":2,"title":"Monetization","slug":"monetization","link":"#monetization","children":[]}],"relativePath":"guide-to-incrementals/ludology/appeal-developers.md","lastUpdated":null}'),o={name:"guide-to-incrementals/ludology/appeal-developers.md"},i=n("",13),r=[i];function l(s,d,m,c,p,h){return t(),a("div",null,r)}const g=e(o,[["render",l]]);export{y as __pageData,g as default}; diff --git a/assets/guide-to-incrementals_ludology_appeal-gamers.md.0558bf0b.js b/assets/guide-to-incrementals_ludology_appeal-gamers.md.affd15de.js similarity index 99% rename from assets/guide-to-incrementals_ludology_appeal-gamers.md.0558bf0b.js rename to assets/guide-to-incrementals_ludology_appeal-gamers.md.affd15de.js index 319740abe..232f97864 100644 --- a/assets/guide-to-incrementals_ludology_appeal-gamers.md.0558bf0b.js +++ b/assets/guide-to-incrementals_ludology_appeal-gamers.md.affd15de.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as i}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"Appeal to Players","description":"","frontmatter":{"title":"Appeal to Players"},"headers":[{"level":2,"title":"Numbers Going Up","slug":"numbers-going-up","link":"#numbers-going-up","children":[]},{"level":2,"title":"Progression","slug":"progression","link":"#progression","children":[]},{"level":2,"title":"Effortlessness","slug":"effortlessness","link":"#effortlessness","children":[]},{"level":2,"title":"Addiction","slug":"addiction","link":"#addiction","children":[]},{"level":2,"title":"Strategy","slug":"strategy","link":"#strategy","children":[]},{"level":2,"title":"Avoiding Staleness","slug":"avoiding-staleness","link":"#avoiding-staleness","children":[]},{"level":2,"title":"Good Game Design","slug":"good-game-design","link":"#good-game-design","children":[]},{"level":2,"title":"Artistic Merit","slug":"artistic-merit","link":"#artistic-merit","children":[]}],"relativePath":"guide-to-incrementals/ludology/appeal-gamers.md","lastUpdated":null}'),n={name:"guide-to-incrementals/ludology/appeal-gamers.md"},o=i('

Appeal to Players

This is something that has been discussed and analyzed by many people, and to some extent, I feel like everything that can be said on the topic already has. However, a lot of these analyses are from the perspective of those with not as much experience and involvement within the genre as I'd argue would be necessary for a fully contextualized answer. I recently watched a video about Vampire Survivors, which has since been taken down due to drawing negative attention, which made me think about some interesting arguments about what games are, and what makes them good. The video's argument that "Vampire Survivors is not a video game" mirrors a claim by the developer of Cookie Clicker that his games are "non-games". Using Vampire Survivors and the video made on it as a framework, I'll be answering why incremental games appeal to players. Since the video has been taken down, I'll do my best to contextualize and generalize the arguments of the video without requiring the reader to watch it. For what it's worth, while I disagreed with the video I actually liked a lot of the way it went about thinking about games, and I consider this a continuation of that discussion.

Numbers Going Up

This is a very common response to why people enjoy incremental games, although it's not one I find compels me personally, and I suspect it might be a stand-in for progression or content. But reportedly, some people do just like seeing big numbers. I must reiterate I suspect the actual cause is seeing big numbers in context though - if you start at 1e1000 of a currency and get to 1e1001, that isn't going to feel as satisfying as going from 1e10 to 1e100, and in any case, I don't think a button that just adds a zero to your number will feel quite satisfying - I believe its the sense of having made progress, and comparing where you are to where you started and feeling like you've earned your way here that is enjoyable.

Progression

Vampire Survivors can be argued to have a comparatively low depth to its combat compared to many other games. I'd argue it has sufficient depth and more than someone might expect who has only played the game for a short while, but it still definitely gets beat out by many other combat-focused games. Instead, a lot of the progression in Vampire Survivors comes from a meta-progression system by which base stats are increased by spending a currency that persists between runs. While it is technically possible to win without this meta-progression system, and indeed in many roguelikes players like to challenge themselves by beating the game without any meta-progression, the criticism can be made that meta-progression de-emphasizes player skill by making it less important to have to beat the game. Certainly, in incremental games, it is often literally impossible to complete a game without taking advantage of the meta-progression systems. I'd argue this does not detract from the game, however, and is actually a part of what makes incremental games, and roguelikes, enjoyable to many players: meta-progression augments the increases in skill the player is naturally gaining as they play. In effect, it's not replacing the skill increase, but exaggerating it to make it feel more real to the player.

Note: There is also a lot of progression from exploring the mechanics and discovering synergies, unlocking new weapons or playable characters, etc. That just isn't as relevant to this discussion, but it does make up a lot of the appeal of the game.

Effortlessness

Incremental games are so easy, a lot of them even have you progress while you're not playing! Part of the appeal is being able to feel like you're making progress while doing something actually productive - multitasking, in a way. In this sense, the game is more of a fidget toy - not something to think hard about and play actively, but something to click a few buttons every so often while you're paying attention to a lecture or studying or working. Of course, not all incremental games lend themselves to being played this way - it's specifically "idle" games that work like this. These are games that take an incredibly long amount of time to see all the content, stretching it as thin as possible, but they aren't expecting you to be sitting at your device playing it the entire time. They expect you to leave and come back later to make a bit of progress and repeat the cycle.

If you look at the higher-level play of most games, you'll see them perform difficult feats with ease and speed. They'll achieve a "flow state" that takes all their knowledge and experience of the game and uses it to play the game as instinctively as possible. It's incredible to watch things like Slay the Spire speed runs or competitive DDR-likes. I'd argue the goal of a lot of games with a competitive scene is to get so good that the game becomes effortless. In that sense, a game that allows you to reach that point earlier isn't any less legitimate, but rather lowers the barrier to entry by allowing more people to get "really good" at the game. And to be clear, Vampire Survivors and (most) incremental games aren't trivially easy - they, and to an extent, every game will have some level of learning and improvement over time.

Addiction

A lot of these reasons for why incremental games appeal may have reminded you of why gambling appeals to people, particularly those prone to addiction. Indeed, incremental games are quite often criticized for their similarity to a skinner box. Some have gone as far as to say incremental games as a genre are commenting that all games are skinner boxes. The argument goes that some games are not fun, but rather condition players into continuing to play without actually getting anything from the experience. When tied to real-world money this is seen as predatory, and to a lesser extent, even free games may be feeding the addictive sides of people and making them more prone to seek out gambling or micro-transaction heavy games.

While incremental games can be fun and even healthy in certain contexts, they can exacerbate video game addiction more than other genres. If you feel like playing incremental games is taking priority over other things in your life, or manipulating your sleep schedule, it may be prudent to seek help. See r/StopGaming for resources.

Since incremental games are often built on extrinsic motivations in the form of progression systems, it's hard to argue whether players continue to play because they are enjoying the gameplay, or if they are just conditioned to keep doing it because the game keeps rewarding them. Unfortunately, it can often feel like it's the latter, as there isn't typically anything compelling about the "gameplay" of clicking a button and waiting. There may be a significant overlap between those who enjoy incremental games and those who are most prone to addiction, and there are often posts on r/incremental_games about someone either struggling with or overcoming video game addiction.

Strategy

Incremental games could be considered a subset of strategy games, and inherit the appeals of strategy games. This includes the appeal of feeling like you've found a good solution to a puzzle, or that you're learning more about the game and are improving at making decisions within it. This applies to Vampire Survivors specifically, where you're learning about evolutions and synergies and what kinds of enemies can spawn under what conditions, and how best to handle them.

Note that strategy games are not all the same difficulty, as well. Vampire Survivors is still easier to play than Starcraft 2, and Cookie Clicker is probably somewhere in between (once you progress sufficiently). Vampire Survivors being so successful may indicate that "easier" strategies may have their separate appeal to harder strategy games - players like to feel smart and that they figured the game out and have optimized or mastered it, and the game being easier doesn't detract from that sense of accomplishment as much as it allows more and more users to be able to reach the point where they gain that sense.

Avoiding Staleness

Incremental games tend to have "paradigm shifts", where the gameplay changes in a meaningful way at various times throughout the progression of the game. These upset and change the gameplay loop, which helps keep them from stagnating. This constant "freshness" to the gameplay can keep players engaged for longer, compared to a game with a repetitive and static gameplay loop.

Good Game Design

Incremental games tend to show their game design "plainly", so it's more readily apparent if a game has good game design while playing, even if you're not looking for it. While different players have different preferences and might enjoy different types of games more than others, there are underlying good and bad game design principles that players will notice the effects of. To be clear, this isn't talking about stuff like big numbers being enjoyable, where I can comfortably agree to disagree with other players. They don't intrinsically make my experience better, but I'm aware of those for whom it does and I won't argue against their feelings. However, the game designer in me does feel like there are some extremely clear-cut examples of good and bad game design philosophies.

Let's start by giving an example of a mechanic I think can be easily and strongly argued is good game design. There are of course many examples, but a personal favorite of mine is how DOOM encourages aggressive gameplay by linking health drops to melee attacks. It has an intended experience it's trying to give the player - immersing themselves as DOOM guy, who would not hide behind cover when low on health - and this mechanic does a great job at encouraging and effectively teaching players to behave properly. This is in sharp contrast to shooters like Call of Duty, which have you regen health passively, encouraging players to hide behind cover and wait after getting hit. Note that I'm not arguing CoD is poorly designed, as the games have different intended experiences. I'm specifically praising DOOM for having a mechanic that does a good job at ensuring the player has that intended experience.

To contrast with an example I think is bad game design, let's talk about shields in souls-likes. This is a bit of a famous example, and I highly recommend this video essay which spends quite a good bit of time on this topic. Essentially, the argument boils down to players of earlier games in the souls games using shields too much - playing slowly, conservatively, and ultimately having less fun. Players wanted to feel safe, so they ended up playing in a way that ruined the experience for them. The developers solved this by removing shields, apart from an intentionally bad one effectively mocking the playstyle, and it did its job at getting players to play more aggressively, and often have more fun.

To bring the conversation back to incrementals, I'm incredibly opinionated on what makes a good incremental game, which I'll discuss in the game design section. Suffice it to say, incremental games rely more on good game design than other genres, due to not having much to distract from bad game design. This helps (although imperfectly - gamers are a bit too tolerant of bad game design!) well-designed games rise to the top within the genre.

Artistic Merit

The Vampire Survivors video made me think back to the old arguments about whether games are art, and whether they ought to be. The video seems preoccupied with attaching value to games solely based on their mechanics and the depth thereof, to the point of arguing Vampire Survivors is a waste of time due to its lack of depth. However, even setting aside the fact that if players are having fun then it's not time wasted, I think games can have artistic merit that supersedes the necessity of having (any / engaging / "deep") gameplay. I think the consensus online is that games are definitively art, although I could see the argument that some genres, like incremental games, might be a bit in a grey area. Let's talk about Vampire Survivors first though - It has a story to tell, with lore and many characters, that drive the player and encourage them to continue exploring the game and discovering things within it. Like any walking simulator, it is no less legitimate of a game or the "art" label because of any lack perceived lack of depth. For what it's worth, most art can be consumed with more ease than VS - any painting, movie, sculpture, etc.

A lot of incrementals have a narrative context that can similarly qualify them as art. Cookie Clicker is, as has been pointed out numerous times before, commenting on excess and increasing production beyond any reasonable limits - devolving into increasing production for its own sake. Indeed, a lot of incremental games are written to comment upon various concepts like capitalism or tropes in games, as discussed when defining Incrementals. However, I'd like to argue most incremental games are still art, even without any narrative context. "Art" as a concept is pretty nebulous already, but I personally like those who define it as an act of expression more than any physical result. The creator and the context within which they created the art, and any meaning they put into it, are all relevant and a part of the art itself. Most incremental games have artistic merit from things like why the creator made it, why they chose to make it an incremental game, and why they made any particular design decision. Hell, even if you play through an entire incremental game without a single thought or feeling, that very fact it elicited nothing can itself be artistic merit!

I'm not an art major, and I may be taking a somewhat extreme take on what is art and what has artistic merit, but I'd argue the overall point stands that games, and incremental games specifically, can have artistic merit, which appeals to many gamers.

',28),s=[o];function r(l,h,m,g,d,c){return a(),t("div",null,s)}const y=e(n,[["render",r]]);export{u as __pageData,y as default}; +import{_ as e,c as t,o as a,d as i}from"./app.830f7d24.js";const u=JSON.parse('{"title":"Appeal to Players","description":"","frontmatter":{"title":"Appeal to Players"},"headers":[{"level":2,"title":"Numbers Going Up","slug":"numbers-going-up","link":"#numbers-going-up","children":[]},{"level":2,"title":"Progression","slug":"progression","link":"#progression","children":[]},{"level":2,"title":"Effortlessness","slug":"effortlessness","link":"#effortlessness","children":[]},{"level":2,"title":"Addiction","slug":"addiction","link":"#addiction","children":[]},{"level":2,"title":"Strategy","slug":"strategy","link":"#strategy","children":[]},{"level":2,"title":"Avoiding Staleness","slug":"avoiding-staleness","link":"#avoiding-staleness","children":[]},{"level":2,"title":"Good Game Design","slug":"good-game-design","link":"#good-game-design","children":[]},{"level":2,"title":"Artistic Merit","slug":"artistic-merit","link":"#artistic-merit","children":[]}],"relativePath":"guide-to-incrementals/ludology/appeal-gamers.md","lastUpdated":null}'),n={name:"guide-to-incrementals/ludology/appeal-gamers.md"},o=i('

Appeal to Players

This is something that has been discussed and analyzed by many people, and to some extent, I feel like everything that can be said on the topic already has. However, a lot of these analyses are from the perspective of those with not as much experience and involvement within the genre as I'd argue would be necessary for a fully contextualized answer. I recently watched a video about Vampire Survivors, which has since been taken down due to drawing negative attention, which made me think about some interesting arguments about what games are, and what makes them good. The video's argument that "Vampire Survivors is not a video game" mirrors a claim by the developer of Cookie Clicker that his games are "non-games". Using Vampire Survivors and the video made on it as a framework, I'll be answering why incremental games appeal to players. Since the video has been taken down, I'll do my best to contextualize and generalize the arguments of the video without requiring the reader to watch it. For what it's worth, while I disagreed with the video I actually liked a lot of the way it went about thinking about games, and I consider this a continuation of that discussion.

Numbers Going Up

This is a very common response to why people enjoy incremental games, although it's not one I find compels me personally, and I suspect it might be a stand-in for progression or content. But reportedly, some people do just like seeing big numbers. I must reiterate I suspect the actual cause is seeing big numbers in context though - if you start at 1e1000 of a currency and get to 1e1001, that isn't going to feel as satisfying as going from 1e10 to 1e100, and in any case, I don't think a button that just adds a zero to your number will feel quite satisfying - I believe its the sense of having made progress, and comparing where you are to where you started and feeling like you've earned your way here that is enjoyable.

Progression

Vampire Survivors can be argued to have a comparatively low depth to its combat compared to many other games. I'd argue it has sufficient depth and more than someone might expect who has only played the game for a short while, but it still definitely gets beat out by many other combat-focused games. Instead, a lot of the progression in Vampire Survivors comes from a meta-progression system by which base stats are increased by spending a currency that persists between runs. While it is technically possible to win without this meta-progression system, and indeed in many roguelikes players like to challenge themselves by beating the game without any meta-progression, the criticism can be made that meta-progression de-emphasizes player skill by making it less important to have to beat the game. Certainly, in incremental games, it is often literally impossible to complete a game without taking advantage of the meta-progression systems. I'd argue this does not detract from the game, however, and is actually a part of what makes incremental games, and roguelikes, enjoyable to many players: meta-progression augments the increases in skill the player is naturally gaining as they play. In effect, it's not replacing the skill increase, but exaggerating it to make it feel more real to the player.

Note: There is also a lot of progression from exploring the mechanics and discovering synergies, unlocking new weapons or playable characters, etc. That just isn't as relevant to this discussion, but it does make up a lot of the appeal of the game.

Effortlessness

Incremental games are so easy, a lot of them even have you progress while you're not playing! Part of the appeal is being able to feel like you're making progress while doing something actually productive - multitasking, in a way. In this sense, the game is more of a fidget toy - not something to think hard about and play actively, but something to click a few buttons every so often while you're paying attention to a lecture or studying or working. Of course, not all incremental games lend themselves to being played this way - it's specifically "idle" games that work like this. These are games that take an incredibly long amount of time to see all the content, stretching it as thin as possible, but they aren't expecting you to be sitting at your device playing it the entire time. They expect you to leave and come back later to make a bit of progress and repeat the cycle.

If you look at the higher-level play of most games, you'll see them perform difficult feats with ease and speed. They'll achieve a "flow state" that takes all their knowledge and experience of the game and uses it to play the game as instinctively as possible. It's incredible to watch things like Slay the Spire speed runs or competitive DDR-likes. I'd argue the goal of a lot of games with a competitive scene is to get so good that the game becomes effortless. In that sense, a game that allows you to reach that point earlier isn't any less legitimate, but rather lowers the barrier to entry by allowing more people to get "really good" at the game. And to be clear, Vampire Survivors and (most) incremental games aren't trivially easy - they, and to an extent, every game will have some level of learning and improvement over time.

Addiction

A lot of these reasons for why incremental games appeal may have reminded you of why gambling appeals to people, particularly those prone to addiction. Indeed, incremental games are quite often criticized for their similarity to a skinner box. Some have gone as far as to say incremental games as a genre are commenting that all games are skinner boxes. The argument goes that some games are not fun, but rather condition players into continuing to play without actually getting anything from the experience. When tied to real-world money this is seen as predatory, and to a lesser extent, even free games may be feeding the addictive sides of people and making them more prone to seek out gambling or micro-transaction heavy games.

While incremental games can be fun and even healthy in certain contexts, they can exacerbate video game addiction more than other genres. If you feel like playing incremental games is taking priority over other things in your life, or manipulating your sleep schedule, it may be prudent to seek help. See r/StopGaming for resources.

Since incremental games are often built on extrinsic motivations in the form of progression systems, it's hard to argue whether players continue to play because they are enjoying the gameplay, or if they are just conditioned to keep doing it because the game keeps rewarding them. Unfortunately, it can often feel like it's the latter, as there isn't typically anything compelling about the "gameplay" of clicking a button and waiting. There may be a significant overlap between those who enjoy incremental games and those who are most prone to addiction, and there are often posts on r/incremental_games about someone either struggling with or overcoming video game addiction.

Strategy

Incremental games could be considered a subset of strategy games, and inherit the appeals of strategy games. This includes the appeal of feeling like you've found a good solution to a puzzle, or that you're learning more about the game and are improving at making decisions within it. This applies to Vampire Survivors specifically, where you're learning about evolutions and synergies and what kinds of enemies can spawn under what conditions, and how best to handle them.

Note that strategy games are not all the same difficulty, as well. Vampire Survivors is still easier to play than Starcraft 2, and Cookie Clicker is probably somewhere in between (once you progress sufficiently). Vampire Survivors being so successful may indicate that "easier" strategies may have their separate appeal to harder strategy games - players like to feel smart and that they figured the game out and have optimized or mastered it, and the game being easier doesn't detract from that sense of accomplishment as much as it allows more and more users to be able to reach the point where they gain that sense.

Avoiding Staleness

Incremental games tend to have "paradigm shifts", where the gameplay changes in a meaningful way at various times throughout the progression of the game. These upset and change the gameplay loop, which helps keep them from stagnating. This constant "freshness" to the gameplay can keep players engaged for longer, compared to a game with a repetitive and static gameplay loop.

Good Game Design

Incremental games tend to show their game design "plainly", so it's more readily apparent if a game has good game design while playing, even if you're not looking for it. While different players have different preferences and might enjoy different types of games more than others, there are underlying good and bad game design principles that players will notice the effects of. To be clear, this isn't talking about stuff like big numbers being enjoyable, where I can comfortably agree to disagree with other players. They don't intrinsically make my experience better, but I'm aware of those for whom it does and I won't argue against their feelings. However, the game designer in me does feel like there are some extremely clear-cut examples of good and bad game design philosophies.

Let's start by giving an example of a mechanic I think can be easily and strongly argued is good game design. There are of course many examples, but a personal favorite of mine is how DOOM encourages aggressive gameplay by linking health drops to melee attacks. It has an intended experience it's trying to give the player - immersing themselves as DOOM guy, who would not hide behind cover when low on health - and this mechanic does a great job at encouraging and effectively teaching players to behave properly. This is in sharp contrast to shooters like Call of Duty, which have you regen health passively, encouraging players to hide behind cover and wait after getting hit. Note that I'm not arguing CoD is poorly designed, as the games have different intended experiences. I'm specifically praising DOOM for having a mechanic that does a good job at ensuring the player has that intended experience.

To contrast with an example I think is bad game design, let's talk about shields in souls-likes. This is a bit of a famous example, and I highly recommend this video essay which spends quite a good bit of time on this topic. Essentially, the argument boils down to players of earlier games in the souls games using shields too much - playing slowly, conservatively, and ultimately having less fun. Players wanted to feel safe, so they ended up playing in a way that ruined the experience for them. The developers solved this by removing shields, apart from an intentionally bad one effectively mocking the playstyle, and it did its job at getting players to play more aggressively, and often have more fun.

To bring the conversation back to incrementals, I'm incredibly opinionated on what makes a good incremental game, which I'll discuss in the game design section. Suffice it to say, incremental games rely more on good game design than other genres, due to not having much to distract from bad game design. This helps (although imperfectly - gamers are a bit too tolerant of bad game design!) well-designed games rise to the top within the genre.

Artistic Merit

The Vampire Survivors video made me think back to the old arguments about whether games are art, and whether they ought to be. The video seems preoccupied with attaching value to games solely based on their mechanics and the depth thereof, to the point of arguing Vampire Survivors is a waste of time due to its lack of depth. However, even setting aside the fact that if players are having fun then it's not time wasted, I think games can have artistic merit that supersedes the necessity of having (any / engaging / "deep") gameplay. I think the consensus online is that games are definitively art, although I could see the argument that some genres, like incremental games, might be a bit in a grey area. Let's talk about Vampire Survivors first though - It has a story to tell, with lore and many characters, that drive the player and encourage them to continue exploring the game and discovering things within it. Like any walking simulator, it is no less legitimate of a game or the "art" label because of any lack perceived lack of depth. For what it's worth, most art can be consumed with more ease than VS - any painting, movie, sculpture, etc.

A lot of incrementals have a narrative context that can similarly qualify them as art. Cookie Clicker is, as has been pointed out numerous times before, commenting on excess and increasing production beyond any reasonable limits - devolving into increasing production for its own sake. Indeed, a lot of incremental games are written to comment upon various concepts like capitalism or tropes in games, as discussed when defining Incrementals. However, I'd like to argue most incremental games are still art, even without any narrative context. "Art" as a concept is pretty nebulous already, but I personally like those who define it as an act of expression more than any physical result. The creator and the context within which they created the art, and any meaning they put into it, are all relevant and a part of the art itself. Most incremental games have artistic merit from things like why the creator made it, why they chose to make it an incremental game, and why they made any particular design decision. Hell, even if you play through an entire incremental game without a single thought or feeling, that very fact it elicited nothing can itself be artistic merit!

I'm not an art major, and I may be taking a somewhat extreme take on what is art and what has artistic merit, but I'd argue the overall point stands that games, and incremental games specifically, can have artistic merit, which appeals to many gamers.

',28),s=[o];function r(l,h,m,g,d,c){return a(),t("div",null,s)}const y=e(n,[["render",r]]);export{u as __pageData,y as default}; diff --git a/assets/guide-to-incrementals_ludology_appeal-gamers.md.0558bf0b.lean.js b/assets/guide-to-incrementals_ludology_appeal-gamers.md.affd15de.lean.js similarity index 94% rename from assets/guide-to-incrementals_ludology_appeal-gamers.md.0558bf0b.lean.js rename to assets/guide-to-incrementals_ludology_appeal-gamers.md.affd15de.lean.js index 55fcf0f8e..c7af8795c 100644 --- a/assets/guide-to-incrementals_ludology_appeal-gamers.md.0558bf0b.lean.js +++ b/assets/guide-to-incrementals_ludology_appeal-gamers.md.affd15de.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as i}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"Appeal to Players","description":"","frontmatter":{"title":"Appeal to Players"},"headers":[{"level":2,"title":"Numbers Going Up","slug":"numbers-going-up","link":"#numbers-going-up","children":[]},{"level":2,"title":"Progression","slug":"progression","link":"#progression","children":[]},{"level":2,"title":"Effortlessness","slug":"effortlessness","link":"#effortlessness","children":[]},{"level":2,"title":"Addiction","slug":"addiction","link":"#addiction","children":[]},{"level":2,"title":"Strategy","slug":"strategy","link":"#strategy","children":[]},{"level":2,"title":"Avoiding Staleness","slug":"avoiding-staleness","link":"#avoiding-staleness","children":[]},{"level":2,"title":"Good Game Design","slug":"good-game-design","link":"#good-game-design","children":[]},{"level":2,"title":"Artistic Merit","slug":"artistic-merit","link":"#artistic-merit","children":[]}],"relativePath":"guide-to-incrementals/ludology/appeal-gamers.md","lastUpdated":null}'),n={name:"guide-to-incrementals/ludology/appeal-gamers.md"},o=i("",28),s=[o];function r(l,h,m,g,d,c){return a(),t("div",null,s)}const y=e(n,[["render",r]]);export{u as __pageData,y as default}; +import{_ as e,c as t,o as a,d as i}from"./app.830f7d24.js";const u=JSON.parse('{"title":"Appeal to Players","description":"","frontmatter":{"title":"Appeal to Players"},"headers":[{"level":2,"title":"Numbers Going Up","slug":"numbers-going-up","link":"#numbers-going-up","children":[]},{"level":2,"title":"Progression","slug":"progression","link":"#progression","children":[]},{"level":2,"title":"Effortlessness","slug":"effortlessness","link":"#effortlessness","children":[]},{"level":2,"title":"Addiction","slug":"addiction","link":"#addiction","children":[]},{"level":2,"title":"Strategy","slug":"strategy","link":"#strategy","children":[]},{"level":2,"title":"Avoiding Staleness","slug":"avoiding-staleness","link":"#avoiding-staleness","children":[]},{"level":2,"title":"Good Game Design","slug":"good-game-design","link":"#good-game-design","children":[]},{"level":2,"title":"Artistic Merit","slug":"artistic-merit","link":"#artistic-merit","children":[]}],"relativePath":"guide-to-incrementals/ludology/appeal-gamers.md","lastUpdated":null}'),n={name:"guide-to-incrementals/ludology/appeal-gamers.md"},o=i("",28),s=[o];function r(l,h,m,g,d,c){return a(),t("div",null,s)}const y=e(n,[["render",r]]);export{u as __pageData,y as default}; diff --git a/assets/guide-to-incrementals_ludology_content.md.8ae2a63b.js b/assets/guide-to-incrementals_ludology_content.md.4e7d0096.js similarity index 99% rename from assets/guide-to-incrementals_ludology_content.md.8ae2a63b.js rename to assets/guide-to-incrementals_ludology_content.md.4e7d0096.js index 8b279c6cd..709993354 100644 --- a/assets/guide-to-incrementals_ludology_content.md.8ae2a63b.js +++ b/assets/guide-to-incrementals_ludology_content.md.4e7d0096.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as n}from"./app.c95a51e0.js";const p=JSON.parse('{"title":"What is Content?","description":"","frontmatter":{"title":"What is Content?"},"headers":[{"level":2,"title":"Interaction","slug":"interaction","link":"#interaction","children":[{"level":3,"title":"Repeatable Purchases","slug":"repeatable-purchases","link":"#repeatable-purchases","children":[]}]},{"level":2,"title":"Following Instructions","slug":"following-instructions","link":"#following-instructions","children":[]},{"level":2,"title":"Automation","slug":"automation","link":"#automation","children":[]},{"level":2,"title":"Tips for Developers","slug":"tips-for-developers","link":"#tips-for-developers","children":[]}],"relativePath":"guide-to-incrementals/ludology/content.md","lastUpdated":null}'),o={name:"guide-to-incrementals/ludology/content.md"},i=n('

What is Content?

If you've been in the incremental games community for any amount of time, you'll quickly find the number one thing players want is content. They want as much of it as possible! The most popular incremental games have tons of content, so they just keep stretching on and on and on, introducing mechanic after mechanic, and players love it. In fact, players seem to value the amount of content over the quality of any specific content. However, there's a bit of a lack of understanding concerning what content is, and I'd like to explore what counts as content, and how we measure it. As a baseline definition, I think "content" can just be described as the parts of the game that engage the player, but to truly understand it we need to contextualize what that means and how it affects the gameplay experience.

To clarify the purpose of this page, my goal is not to get (too) nitpicky or to attack games with "low content". There's nothing wrong with short / low-content games - I'm quite a big fan of those games myself! This is mostly targeted toward those who ask for content and settle for "long" games, and those who want to provide content but want to make sure they're not just artificially inflating the game. Ultimately, I suppose the goal is to just reduce the amount of artificially inflated content for the sake of having a "longer" game.

Interaction

I think it should be a fairly non-controversial opinion that time spent solely waiting should not count towards content. That is not including the time reading various effects or making decisions in your head, but rather time spent waiting for a condition to be met so you can re-engage with the game.

That is not to say games should necessarily try to minimize this time. Plenty of games lead towards more infrequent interaction and still get popular. In fact, these games appeal to many gamers who want to have something to check up on in between bursts of working on some other activity. These games seem to have fallen slightly out of fashion amongst modern incremental games, but they're still fully valid. The point I'm trying to make here is just that this time is not content. As an extreme example, a game with no interactions and just a counter that goes up every second could safely be said to have 0 content beyond the time it takes to understand what's going on. If it has a list of "goals" to hit, then the time understanding those goals and a short time after achieving each one could be considered content, but not the idle times in between.

Let's take a look at the opposite end of the spectrum - interaction that is so frequent as to become mindless. This is any mechanic where you need to spam-click something to progress. This may be a more controversial take, but I do not believe this constitutes content either. It does not engage the player, because each consecutive click blends together and they do not individually change the gameplay experience. That is to say, a single click and 100 clicks are not meaningfully different in terms of engaging the player. I'd go as far as to say clicking 100 times would be actively worse, as it's artificially delaying the next piece of actual content, alongside the issues of accessibility and potentially causing RSI.

Repeatable Purchases

Imagine an entity in a game that you can purchase multiple times, each time it performs the same thing but for a higher cost. These are incredibly common, from the buildings in cookie clicker to the units in swarm sim to the IP and EP multipliers in antimatter dimensions. However, how much content is each specific purchase? Is it content beyond the first purchase? Does it have diminishing returns? What if you are oscillating between two different repeatable purchases? How much content is lost when you automate away a repeatable purchase?

I don't want to take too harsh a stance against repeatable purchases. They're useful tools and can be used in a myriad of interesting ways. I feel they do become "stale" or less meaningful content over time, and this happens exponentially quickly the more frequently it can be purchased. A classic example that I believe goes too far is the IP/EP multipliers in Antimatter Dimensions. I would go as far as to say they are a chore and do not provide any meaningful content after you've bought them a couple of times. It's a method for inflating numbers (effectively making every OOM a 5x step instead of 10x), that punishes the player progression-wise whenever they forget to max it again, and eventually gets automated away as a reward to the player for making enough progress.

Just to voice the other side of this argument, Acamaeda defended the IP multiplier as giving the player a "good" upgrade every OOM. I can understand that to a point and need to clarify I'm mainly criticizing IP/EP multipliers after they've been introduced for a while. In fact, I would defend the multipliers for a short while after they're introduced using the same logic I would use to defend normal dimensions as repeatable purchases, at least pre-infinity. There's "content" to be had in looking at what dimensions will become affordable next, and then choosing which to buy amongst those. The IP/EP multipliers, early into infinity or eternity respectively, provide another option that gets put into that mental queue of things to buy with each OOM reached - although the optimal order is often quite trivial and not particularly engaging.

The IP/EP multipliers are not the only repeatable purchase in antimatter dimensions I take offense to. The time dimensions are also a series of repeatable purchases, that are all so similar and static that it doesn't take long before you never need to put any thought into buying them, how much you're buying at once, or the order you buy them in - you just press max all and move on. The entire tab could've been just the max all button and it would not have made a difference beyond the start of the eternity layer. The normal dimensions technically have this problem as well, but since you're constantly getting antimatter the order feels like it has a larger impact and it's more meaningful content, right up until they're automated away. Infinity dimensions are a compromise between the two, so I'm highlighting time dimensions here as the most egregious.

Following Instructions

We're getting more and more controversial as we go along! Let's talk about how linear content is not content now (in some circumstances). A trend in incremental games is adding difficulty by adding a web of effects that abstract the true change you can expect from any specific purchase or decision you make. If a game is both linear and sufficiently abstracts the effect of player decisions, then the player will no longer be engaging with the content - they'll simply be clicking on things as they become available. This isn't necessarily a bad thing, as plenty of players don't mind this style of gameplay, but I'd argue once you reach a point where players don't bother reading the effects, those interactions are no longer truly content. Note that unlike the previous qualifiers mentioned, this qualifier is based on the player, and therefore subjective. In effect, it's a spectrum where the more complicated the web of effects becomes, the more likely it is to disengage the player.

This over-complicatedness leading to disengaging the player can also happen from non-linear gameplay. If the web of effects becomes sufficiently complicated and finding the optimal progression route too time-consuming to discover, players will seek out guides from other players who've completed the game. The second they do this, the game effectively becomes linearly following the instructions of the guide and all the above criticisms apply. Similarly to as before, though, this is a spectrum and not everyone will seek out a guide at the same level of difficulty.

Automation

Automation is a staple of the genre, but it has certain implications for the design of the game. Why, when new content is introduced, must the older content be automated away - why is it a chore and it feels rewarding to not have to do it again? Why does the new mechanic have such appeal if we know it too will just be automated away later on, and we'll be happy when that happens? It honestly begs the question of why this framework of introducing content and automating the old content is even enjoyable - and nearly nonexistent in other genres. You're not going to reach a point in a platformer game where they just automate the jumping part - that's the core mechanic! Instead, platformers either add new mechanics that build on the core mechanic or at least re-contextualize the core mechanic. However, in incremental games new content very frequently means replacing older content, as opposed to augmenting it.

Admittedly, the above paragraph ignores the obvious answer that separates incremental games in this regard. These mechanics become chores as their frequency increases. The frequency increases to give a sense of progression, and automation is seen as a reward because it now manages what was becoming unmanageable. The new content then comes in and continues the loop to give a stronger sense of progression. That's all good and a fine justification for automating content instead of building upon the base mechanic. It's also much easier to design, as each layer essentially lets you start over instead of needing to think of ideas that conform to the original core mechanic.

So, what's the problem? Even if this trend is justified and easy to implement, there are some other effects it has on the game design. First off, and this is probably a neutral point, incremental games with this cycle of replacing old mechanics with new ones trend towards more and more abstract and further away from any narrative throughline as they add layers. There are only so many justifications for resetting progress, so if a game wants to have several of these layers they're inevitably going to become generic or increasingly loosely associated with the original content. It's most unfortunate, in my opinion when an interesting or innovative core mechanic gets fully automated once a generic "prestige" layer is unlocked.

A recent example is Really Grass Cutting Incremental, an incremental game about cutting grass. Except, it doesn't continue to be about cutting grass. After you buy enough upgrades to increase your grass cutting and level up sufficiently you "prestige", an abstract term that in this case means you reset all your progress to get some currency to buy upgrades that do the same things as the original upgrades, but these won't reset on future prestiges. You'll eventually be able to "crystallize", which means you reset all your progress to get some currency to buy upgrades that do the same things as the original upgrades (and a couple of new ones) and won't reset on future crystallizes. Fine. You'll progress a bit, complete some challenges, and finally get to... grasshop? Grasshopping is this mechanic where you reset all your progress to get some resource that isn't for buying upgrades - this time you just unlock different modifiers on everything based on their amount. You may have gotten the point by now, but there are also "steelie" resets which give you steel for some reason, before unlocking a factory with various machines - none of which are directly tied to cutting grass, and start gathering things like oil and reset for rocket parts and reset to go to space and so on and so on. Throughout all of this there is absolutely no narrative justification or throughline for the direction the game is going, or why cutting grass is still relevant when we're collecting things like rocket parts. I may be going a little hard on GCI, but it is far from alone.

Tips for Developers

If you're a developer, by this point you should have a pretty decent idea of how to create "true" content in your game. Here are some other specific tips I'd suggest:

  • An upgrade that simply unlocks another upgrade trivially isn't content. However, many games have an upgrade that just unlocks a feature, which then has a wait or other requirements before it can be used. Try to make sure when you unlock a feature, there is immediately something to do with the feature - for example, perhaps give them a small amount of the new currency it unlocks, if applicable.
  • If you don't have a large web of effects, and can definitively say the impact of a purchase is to multiply the gain of the cost currency by N, and the next purchase costs N times the amount of that same currency, then this purchase effectively made no difference and it may have made more sense to just go directly to the next upgrade. That said, having effects based on things like the number of purchases made will quickly invalidate this tip.
',23),s=[i];function r(h,l,c,u,m,d){return a(),t("div",null,s)}const f=e(o,[["render",r]]);export{p as __pageData,f as default}; +import{_ as e,c as t,o as a,d as n}from"./app.830f7d24.js";const p=JSON.parse('{"title":"What is Content?","description":"","frontmatter":{"title":"What is Content?"},"headers":[{"level":2,"title":"Interaction","slug":"interaction","link":"#interaction","children":[{"level":3,"title":"Repeatable Purchases","slug":"repeatable-purchases","link":"#repeatable-purchases","children":[]}]},{"level":2,"title":"Following Instructions","slug":"following-instructions","link":"#following-instructions","children":[]},{"level":2,"title":"Automation","slug":"automation","link":"#automation","children":[]},{"level":2,"title":"Tips for Developers","slug":"tips-for-developers","link":"#tips-for-developers","children":[]}],"relativePath":"guide-to-incrementals/ludology/content.md","lastUpdated":null}'),o={name:"guide-to-incrementals/ludology/content.md"},i=n('

What is Content?

If you've been in the incremental games community for any amount of time, you'll quickly find the number one thing players want is content. They want as much of it as possible! The most popular incremental games have tons of content, so they just keep stretching on and on and on, introducing mechanic after mechanic, and players love it. In fact, players seem to value the amount of content over the quality of any specific content. However, there's a bit of a lack of understanding concerning what content is, and I'd like to explore what counts as content, and how we measure it. As a baseline definition, I think "content" can just be described as the parts of the game that engage the player, but to truly understand it we need to contextualize what that means and how it affects the gameplay experience.

To clarify the purpose of this page, my goal is not to get (too) nitpicky or to attack games with "low content". There's nothing wrong with short / low-content games - I'm quite a big fan of those games myself! This is mostly targeted toward those who ask for content and settle for "long" games, and those who want to provide content but want to make sure they're not just artificially inflating the game. Ultimately, I suppose the goal is to just reduce the amount of artificially inflated content for the sake of having a "longer" game.

Interaction

I think it should be a fairly non-controversial opinion that time spent solely waiting should not count towards content. That is not including the time reading various effects or making decisions in your head, but rather time spent waiting for a condition to be met so you can re-engage with the game.

That is not to say games should necessarily try to minimize this time. Plenty of games lead towards more infrequent interaction and still get popular. In fact, these games appeal to many gamers who want to have something to check up on in between bursts of working on some other activity. These games seem to have fallen slightly out of fashion amongst modern incremental games, but they're still fully valid. The point I'm trying to make here is just that this time is not content. As an extreme example, a game with no interactions and just a counter that goes up every second could safely be said to have 0 content beyond the time it takes to understand what's going on. If it has a list of "goals" to hit, then the time understanding those goals and a short time after achieving each one could be considered content, but not the idle times in between.

Let's take a look at the opposite end of the spectrum - interaction that is so frequent as to become mindless. This is any mechanic where you need to spam-click something to progress. This may be a more controversial take, but I do not believe this constitutes content either. It does not engage the player, because each consecutive click blends together and they do not individually change the gameplay experience. That is to say, a single click and 100 clicks are not meaningfully different in terms of engaging the player. I'd go as far as to say clicking 100 times would be actively worse, as it's artificially delaying the next piece of actual content, alongside the issues of accessibility and potentially causing RSI.

Repeatable Purchases

Imagine an entity in a game that you can purchase multiple times, each time it performs the same thing but for a higher cost. These are incredibly common, from the buildings in cookie clicker to the units in swarm sim to the IP and EP multipliers in antimatter dimensions. However, how much content is each specific purchase? Is it content beyond the first purchase? Does it have diminishing returns? What if you are oscillating between two different repeatable purchases? How much content is lost when you automate away a repeatable purchase?

I don't want to take too harsh a stance against repeatable purchases. They're useful tools and can be used in a myriad of interesting ways. I feel they do become "stale" or less meaningful content over time, and this happens exponentially quickly the more frequently it can be purchased. A classic example that I believe goes too far is the IP/EP multipliers in Antimatter Dimensions. I would go as far as to say they are a chore and do not provide any meaningful content after you've bought them a couple of times. It's a method for inflating numbers (effectively making every OOM a 5x step instead of 10x), that punishes the player progression-wise whenever they forget to max it again, and eventually gets automated away as a reward to the player for making enough progress.

Just to voice the other side of this argument, Acamaeda defended the IP multiplier as giving the player a "good" upgrade every OOM. I can understand that to a point and need to clarify I'm mainly criticizing IP/EP multipliers after they've been introduced for a while. In fact, I would defend the multipliers for a short while after they're introduced using the same logic I would use to defend normal dimensions as repeatable purchases, at least pre-infinity. There's "content" to be had in looking at what dimensions will become affordable next, and then choosing which to buy amongst those. The IP/EP multipliers, early into infinity or eternity respectively, provide another option that gets put into that mental queue of things to buy with each OOM reached - although the optimal order is often quite trivial and not particularly engaging.

The IP/EP multipliers are not the only repeatable purchase in antimatter dimensions I take offense to. The time dimensions are also a series of repeatable purchases, that are all so similar and static that it doesn't take long before you never need to put any thought into buying them, how much you're buying at once, or the order you buy them in - you just press max all and move on. The entire tab could've been just the max all button and it would not have made a difference beyond the start of the eternity layer. The normal dimensions technically have this problem as well, but since you're constantly getting antimatter the order feels like it has a larger impact and it's more meaningful content, right up until they're automated away. Infinity dimensions are a compromise between the two, so I'm highlighting time dimensions here as the most egregious.

Following Instructions

We're getting more and more controversial as we go along! Let's talk about how linear content is not content now (in some circumstances). A trend in incremental games is adding difficulty by adding a web of effects that abstract the true change you can expect from any specific purchase or decision you make. If a game is both linear and sufficiently abstracts the effect of player decisions, then the player will no longer be engaging with the content - they'll simply be clicking on things as they become available. This isn't necessarily a bad thing, as plenty of players don't mind this style of gameplay, but I'd argue once you reach a point where players don't bother reading the effects, those interactions are no longer truly content. Note that unlike the previous qualifiers mentioned, this qualifier is based on the player, and therefore subjective. In effect, it's a spectrum where the more complicated the web of effects becomes, the more likely it is to disengage the player.

This over-complicatedness leading to disengaging the player can also happen from non-linear gameplay. If the web of effects becomes sufficiently complicated and finding the optimal progression route too time-consuming to discover, players will seek out guides from other players who've completed the game. The second they do this, the game effectively becomes linearly following the instructions of the guide and all the above criticisms apply. Similarly to as before, though, this is a spectrum and not everyone will seek out a guide at the same level of difficulty.

Automation

Automation is a staple of the genre, but it has certain implications for the design of the game. Why, when new content is introduced, must the older content be automated away - why is it a chore and it feels rewarding to not have to do it again? Why does the new mechanic have such appeal if we know it too will just be automated away later on, and we'll be happy when that happens? It honestly begs the question of why this framework of introducing content and automating the old content is even enjoyable - and nearly nonexistent in other genres. You're not going to reach a point in a platformer game where they just automate the jumping part - that's the core mechanic! Instead, platformers either add new mechanics that build on the core mechanic or at least re-contextualize the core mechanic. However, in incremental games new content very frequently means replacing older content, as opposed to augmenting it.

Admittedly, the above paragraph ignores the obvious answer that separates incremental games in this regard. These mechanics become chores as their frequency increases. The frequency increases to give a sense of progression, and automation is seen as a reward because it now manages what was becoming unmanageable. The new content then comes in and continues the loop to give a stronger sense of progression. That's all good and a fine justification for automating content instead of building upon the base mechanic. It's also much easier to design, as each layer essentially lets you start over instead of needing to think of ideas that conform to the original core mechanic.

So, what's the problem? Even if this trend is justified and easy to implement, there are some other effects it has on the game design. First off, and this is probably a neutral point, incremental games with this cycle of replacing old mechanics with new ones trend towards more and more abstract and further away from any narrative throughline as they add layers. There are only so many justifications for resetting progress, so if a game wants to have several of these layers they're inevitably going to become generic or increasingly loosely associated with the original content. It's most unfortunate, in my opinion when an interesting or innovative core mechanic gets fully automated once a generic "prestige" layer is unlocked.

A recent example is Really Grass Cutting Incremental, an incremental game about cutting grass. Except, it doesn't continue to be about cutting grass. After you buy enough upgrades to increase your grass cutting and level up sufficiently you "prestige", an abstract term that in this case means you reset all your progress to get some currency to buy upgrades that do the same things as the original upgrades, but these won't reset on future prestiges. You'll eventually be able to "crystallize", which means you reset all your progress to get some currency to buy upgrades that do the same things as the original upgrades (and a couple of new ones) and won't reset on future crystallizes. Fine. You'll progress a bit, complete some challenges, and finally get to... grasshop? Grasshopping is this mechanic where you reset all your progress to get some resource that isn't for buying upgrades - this time you just unlock different modifiers on everything based on their amount. You may have gotten the point by now, but there are also "steelie" resets which give you steel for some reason, before unlocking a factory with various machines - none of which are directly tied to cutting grass, and start gathering things like oil and reset for rocket parts and reset to go to space and so on and so on. Throughout all of this there is absolutely no narrative justification or throughline for the direction the game is going, or why cutting grass is still relevant when we're collecting things like rocket parts. I may be going a little hard on GCI, but it is far from alone.

Tips for Developers

If you're a developer, by this point you should have a pretty decent idea of how to create "true" content in your game. Here are some other specific tips I'd suggest:

  • An upgrade that simply unlocks another upgrade trivially isn't content. However, many games have an upgrade that just unlocks a feature, which then has a wait or other requirements before it can be used. Try to make sure when you unlock a feature, there is immediately something to do with the feature - for example, perhaps give them a small amount of the new currency it unlocks, if applicable.
  • If you don't have a large web of effects, and can definitively say the impact of a purchase is to multiply the gain of the cost currency by N, and the next purchase costs N times the amount of that same currency, then this purchase effectively made no difference and it may have made more sense to just go directly to the next upgrade. That said, having effects based on things like the number of purchases made will quickly invalidate this tip.
',23),s=[i];function r(h,l,c,u,m,d){return a(),t("div",null,s)}const f=e(o,[["render",r]]);export{p as __pageData,f as default}; diff --git a/assets/guide-to-incrementals_ludology_content.md.8ae2a63b.lean.js b/assets/guide-to-incrementals_ludology_content.md.4e7d0096.lean.js similarity index 93% rename from assets/guide-to-incrementals_ludology_content.md.8ae2a63b.lean.js rename to assets/guide-to-incrementals_ludology_content.md.4e7d0096.lean.js index 374ccf318..190671d73 100644 --- a/assets/guide-to-incrementals_ludology_content.md.8ae2a63b.lean.js +++ b/assets/guide-to-incrementals_ludology_content.md.4e7d0096.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as n}from"./app.c95a51e0.js";const p=JSON.parse('{"title":"What is Content?","description":"","frontmatter":{"title":"What is Content?"},"headers":[{"level":2,"title":"Interaction","slug":"interaction","link":"#interaction","children":[{"level":3,"title":"Repeatable Purchases","slug":"repeatable-purchases","link":"#repeatable-purchases","children":[]}]},{"level":2,"title":"Following Instructions","slug":"following-instructions","link":"#following-instructions","children":[]},{"level":2,"title":"Automation","slug":"automation","link":"#automation","children":[]},{"level":2,"title":"Tips for Developers","slug":"tips-for-developers","link":"#tips-for-developers","children":[]}],"relativePath":"guide-to-incrementals/ludology/content.md","lastUpdated":null}'),o={name:"guide-to-incrementals/ludology/content.md"},i=n("",23),s=[i];function r(h,l,c,u,m,d){return a(),t("div",null,s)}const f=e(o,[["render",r]]);export{p as __pageData,f as default}; +import{_ as e,c as t,o as a,d as n}from"./app.830f7d24.js";const p=JSON.parse('{"title":"What is Content?","description":"","frontmatter":{"title":"What is Content?"},"headers":[{"level":2,"title":"Interaction","slug":"interaction","link":"#interaction","children":[{"level":3,"title":"Repeatable Purchases","slug":"repeatable-purchases","link":"#repeatable-purchases","children":[]}]},{"level":2,"title":"Following Instructions","slug":"following-instructions","link":"#following-instructions","children":[]},{"level":2,"title":"Automation","slug":"automation","link":"#automation","children":[]},{"level":2,"title":"Tips for Developers","slug":"tips-for-developers","link":"#tips-for-developers","children":[]}],"relativePath":"guide-to-incrementals/ludology/content.md","lastUpdated":null}'),o={name:"guide-to-incrementals/ludology/content.md"},i=n("",23),s=[i];function r(h,l,c,u,m,d){return a(),t("div",null,s)}const f=e(o,[["render",r]]);export{p as __pageData,f as default}; diff --git a/assets/guide-to-incrementals_ludology_definition.md.cb4607f1.js b/assets/guide-to-incrementals_ludology_definition.md.0210e023.js similarity index 99% rename from assets/guide-to-incrementals_ludology_definition.md.cb4607f1.js rename to assets/guide-to-incrementals_ludology_definition.md.0210e023.js index 3f3a9099a..bf6a2e52d 100644 --- a/assets/guide-to-incrementals_ludology_definition.md.cb4607f1.js +++ b/assets/guide-to-incrementals_ludology_definition.md.0210e023.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as r}from"./app.c95a51e0.js";const p=JSON.parse('{"title":"Defining the Genre","description":"","frontmatter":{"title":"Defining the Genre"},"headers":[{"level":2,"title":"Incrementals vs Idlers vs Clickers","slug":"incrementals-vs-idlers-vs-clickers","link":"#incrementals-vs-idlers-vs-clickers","children":[]},{"level":2,"title":"Incrementals as Parodies","slug":"incrementals-as-parodies","link":"#incrementals-as-parodies","children":[]},{"level":2,"title":"Incrementals as NGU","slug":"incrementals-as-ngu","link":"#incrementals-as-ngu","children":[]},{"level":2,"title":"Incrementals as Strategies","slug":"incrementals-as-strategies","link":"#incrementals-as-strategies","children":[]},{"level":2,"title":"Roguelites as Incrementals?","slug":"roguelites-as-incrementals","link":"#roguelites-as-incrementals","children":[{"level":3,"title":"The Berlin Interpretation","slug":"the-berlin-interpretation","link":"#the-berlin-interpretation","children":[]},{"level":3,"title":"The Incremental Games Canon","slug":"the-incremental-games-canon","link":"#the-incremental-games-canon","children":[]},{"level":3,"title":"The Paradigm Shift","slug":"the-paradigm-shift","link":"#the-paradigm-shift","children":[]},{"level":3,"title":"High-Value Factors","slug":"high-value-factors","link":"#high-value-factors","children":[]},{"level":3,"title":"Low-Value Factors","slug":"low-value-factors","link":"#low-value-factors","children":[]},{"level":3,"title":"Are Roguelites Incrementals?","slug":"are-roguelites-incrementals","link":"#are-roguelites-incrementals","children":[]}]},{"level":2,"title":"Sub-Genres","slug":"sub-genres","link":"#sub-genres","children":[]},{"level":2,"title":"Other Related Genres","slug":"other-related-genres","link":"#other-related-genres","children":[]}],"relativePath":"guide-to-incrementals/ludology/definition.md","lastUpdated":null}'),n={name:"guide-to-incrementals/ludology/definition.md"},i=r('

Defining the Genre

Video games are placed into genres for a variety of reasons. They can give a mental shorthand to set the player's expectations up, they can help a game market itself by its similarities to other, already popular games, and honestly, people just love categorization for its own sake. For this guide, it's important to define the genre so it is clear what games it's even talking about.

This poses a problem. "Incremental" is a horribly vague way to define games. Most games have numbers going up in some form or another. We need a more specific definition - similar to how "strategy" can't just mean any game with any amount of strategy because that would be most games. What specifically differentiates incremental games from the rest?

"Incremental" implies it's a genre defined by a game mechanic, but all those game mechanics it could imply exist in many other games. Having a skill tree or upgrades doesn't make you incremental, and if a reset mechanic is all it takes then every roguelite would be an incremental as well. So clearly there's more to it than that - what makes an incremental an incremental?

I'd like to go over a couple of popular suggestions I've seen on defining the genre here. I have my personal preferences and will state them here, but I don't think there's a truly perfect answer here.

Disclaimer: I mostly play incremental games on my computer, and my definitions will be heavily biased towards the games I'm familiar with.

Incrementals vs Idlers vs Clickers

Oftentimes people refer to this genre as idle games and/or clicker games. You'll even find a trend of oxymoronic game titles that contain both terms. "Incremental games" is the umbrella term both those terms fall under. However, I'd like to argue that not only is it better to just use the term "incremental games", but calling them "idle games" or "clicker games" is wrong. Almost universally, these terms are used interchangeably to refer to the same kind of game, where you start the game click spamming and eventually automate the process. Frankly, that kind of game deserves neither title, and the genre of incremental games has trended away from ever requiring click spamming, as it's a bad mechanic, anyways.

While these games do span a spectrum of how active it requires you to be, and sorting games by that metric can be useful for those looking for a particular experience, the borders of when an incremental game counts as an "idler" is too blurry for the term to be useful. "Incremental games" may not be a great descriptive term for the genre (hence this many thousands of words long page on defining what the genre even is), but it's strictly better than calling them "idler" or "clicker" games. This guide will always use the term "incremental games" unless quoting someone else, as it is the term you typically see on all modern games in the genre.

Incrementals as Parodies

Let's start with one of the most interesting definitions of incremental games. Incremental games appear to be distilled versions of games or genres, "revealing" the naked game design at the core of these games or genres not unlike how parodies comment upon their source material.

To understand what that means, think of how a casino uses skinner boxes to emotionally manipulate its customers to keep playing, but "dressing" up the skinner box with tons of stimuli to hide that ultimately the goal is to condition you into coming back compulsively. The idea that incremental games are parodies means taking the stance that at some level all games are similarly manipulating you, giving dopamine rewards in a way that manipulates you to keep playing while not necessarily giving you any value or fulfillment. Incremental games, then, are any games that plainly display the skinner box, and the manipulative core of the game, at the forefront of the experience.

While incremental games can be fun and even healthy in certain contexts, they can exacerbate video game addiction more than other genres. If you feel like playing incremental games is taking priority over other things in your life, or manipulating your sleep schedule, it may be prudent to seek help. See r/StopGaming for resources.

This "undressing" tends to go hand in hand with a reduced focus on aesthetics, often just printing the game state directly to the screen as text. This makes incremental games much easier to develop, particularly for those with programming skills but not art skills, but that's a tangent for why Incremental Games appeal to Developers.

Before I continue, I'd like to make my stance clear that I love games and incremental games, and do not think they should be considered inherently bad or manipulative with the above logic. Skinner boxes are just a way of manipulating behavior via rewards. The games are still fun - that's the reward! I'd believe the real criticism here is that it is "empty fun", or "empty dopamine", that doesn't offer any additional value or sense of fulfillment. I don't think that's inherently bad in moderation, although it can become a problem if the game is manipulating you for profit-seeking, or if you play the game to the detriment of the other parts of your life.

Another interpretation of incremental games as parodies comes from several mainstream incremental games that are also parodies of capitalism, such as cookie clicker and adventure capitalist. It's a very common framework for incremental games to portray the ever-increasing numbers as an insatiable hunger for resources, like the ones observed within capitalism. Therefore, these games are used as evidence that the genre as a whole is about parody and commentary.

Popular videos on incremental games that portray the genre as parodies are Why Idle games make good satire, and how it was ruined. and Bad Game Design - Clicker Games. You may also be interested in this response to the latter video from a fan of incremental games: BadGood Game Design - Clicker Games.

I think that this definition ultimately ascribes a motive to the genre as a whole that only happens to apply to some of the more mainstream titles. There certainly are incremental games commenting on different things, including the genre itself as in the case of The Prestige Tree Classic, The Ascension Tree, or Omega Layers, but certainly not all. And of course, not all games that comment on something or parody something are incremental games! Additionally, a very large majority of incremental games are mobile games using these manipulative strategies to get players to spend as much money as possible - hell, Adventure Capitalist is ostensibly a critique on capitalism but features microtransactions and gameplay that manipulates you into buying them! These profit-seeking incremental games certainly belong within the genre but are hardly parodies when they too use manipulation to serve their interests. Also, from my own anecdotal experience, those who use this definition seem to do so from a fairly surface-level familiarity with the genre, and often in the context of criticizing the genre or the fans thereof.

Incrementals as NGU

Another broad definition often used is that incremental games are games where the focus of the game is "numbers going up". This definition proposes that other genres simply use increasing numbers as a means to an end, but incremental games uniquely only care about the numbers themselves going up. Put another way, it implies there should be no narrative justification for the numbers going up other than "why shouldn't they be going up?"

While this definition is common because it feels easy to understand, it is difficult to formally define. Often phrases are used to describe games using this framework, such as having an "exaggerated sense of progression" or "big" numbers. These terms are vague and don't demonstrate an actual threshold between non-incrementals and incrementals. Most games have a sense of progression, so when is it "exaggerated"? How big are "big" numbers? Most notably, RPGs that are typically not considered incrementals will often pass this definition.

Additionally, a lot of incrementals tend to have some theme guiding the gameplay, or at least the names of mechanics. This makes the line blurred between when numbers are going up for their own sake versus for a contextual reason. I believe this point is best illustrated that, while most RPGs are not considered incremental games, there is a sub-genre of "incremental RPGs" that typically relates to RPGs that perform combat automatically. This definition of incremental games does not support RPGs and "incremental RPGs" being on distinct sides of the line if the only difference between them is manual vs automatic combat.

Incrementals as Strategies

This is a rarer interpretation, but there are similarities between incremental games and strategy games, implying incrementals might just be a sub-genre of strategy games. By this approach, incremental games would be defined by their relation to strategy games, and how they involve player strategy. Incremental games are often large optimization problems - above all else, the actual gameplay the player is performing is deciding what to do next. The consequences of wrong decisions are typically more lenient in incremental games - such as just not making optimal progress - but they certainly get complex.

So if we accept the premise that incrementals could fall under strategy, we still need to define what makes a strategy game an incremental versus some other strategy sub-genre. This is a bit tricky due to one particular sub-genre of strategy games: Factory Builders.

Factory builders, such as Factorio or Satisfactory, are games about gaining ever increasing resources, optimizing production, and expanding more and more. That... sounds pretty similar, doesn't it? In fact, there's been some debate on whether factory builders would fall under the "incremental" umbrella. I think it's safe to say the two are certainly related, and probably have quite a bit of overlap in playerbase.

Roguelites as Incrementals?

Earlier on, I mentioned reset mechanics shouldn't be used in the definition because that could make all roguelites incrementals... But what if it does? A lot of incrementals can be described as games with a strong sense of progression, often with layers of meta-progression. Roguelites fit that bill to a T. What would make roguelites not incremental? I honestly don't think there's a good explanation here, but many fans of incremental games will state they do believe the two genres to be unrelated, even if there's a significant overlap between their player bases due to having similar appealing traits.

At this point, it'd be appropriate to consider what part of the definition of roguelites precludes them from also being incrementals, but that reveals a new problem: What are roguelites? They're usually defined as rogue_likes with meta-progression, but that just pushes the problem back a step: Incrementals aren't the only genre to have difficulties defining themselves, it seems! Roguelikes are another genre where the community argues over the formal definition of their genre, although that means we can borrow from their process of coming to a consensus, and maybe come across a viable definition for incremental games.

The Berlin Interpretation

By far the most popular way of defining roguelikes is the "Berlin Interpretation", which acknowledged the diversity of games within the genre and argued the definition should not be based on any ideals about what the genre ought to be, but rather defined by "its canon". They argued there are a handful of games that can be used to define the canon for roguelikes, and from those games, a list of factors can be derived to determine a game's "roguelikeness". The more factors a game has, the more of a roguelike it is. This strategy is very lenient, allowing a game to not present any specific factor so long as it shows enough, and accounts for the blurriness of any genre definition by not explicitly stating how many factors a game must have to qualify as a definite roguelike.

I believe this strategy for defining genres can be applied to other genres as well. A handful of games can be argued to be the incremental games canon, and a list of factors derived from them can be used to judge any game based on its "incrementalness". I'll propose such a canon and list of factors here, but by no means should it be considered the end-all-be-all.

Note: The "Temple of the roguelike", an authority within the genre, has since replaced the Berlin Interpretation with a new set of factors here: https://blog.roguetemple.com/what-is-a-traditional-roguelike/

The Incremental Games Canon

Alright, time to get controversial. Up til now, I've been trying my best to stay objective and analytical, but now it's time to start making some opinionated decisions. Here is a list of games I think could justifiably make up an Incremental Games Canon:

I chose a variety of games here, biasing towards newer games, purposefully to avoid making a narrow or "traditional" definition. The genre is growing and shouldn't be constrained by the traits of the early popular titles. A lot of these could easily be replaced with other games that are mechanically congruent, so ultimately I'm sure if you asked 10 people for their canon list you'd just get 10 different answers, but I think this should sufficiently allow us to determine what factors make a game have higher "incrementalness".

The Paradigm Shift

The Paradigm Shift is probably the highest possible value factor for an incremental. It's so common that for a while people referred to incrementals that exhibit this trait as "unfolding" games, to the point of trying to replace the term incremental due to their popularity. Paradigm shifts refer to when the gameplay significantly changes. There are too many examples to list here, but notably, every single reset mechanic is typically going to be a paradigm shift. Examples of games with paradigm shifts that aren't tied to reset mechanics include Universal Paperclips and A Dark Room.

There are many reasons for the appeal of paradigm shifts. Oftentimes each mechanic builds on top of the existing mechanics, increasing the complexity of the game in steps so the player can follow along. They provide a sense of mystery, with the player anticipating what will happen next. They shake up the gameplay before it gets too stale - allowing the game to entertain for longer before the illusion of content dissipates. Of the canon games selected above, I would argue every single one contains a paradigm shift (although I could see someone disagreeing with that statement wrt Increlution).

I should take a moment to say that while I'm hyping up this specific factor, we cannot just reduce the genre definition to "does it have paradigm shifts". Many games have paradigm shifts that are not incremental, so it's just an indicator of incrementalness. Additionally, it can become quite hard to determine how large of a shift is a "paradigm" shift. Take, for example, any game with a skill tree. In some games, each skill node might have a large impact on how you play with the game, and qualify as a paradigm shift for some players. In other games, each skill node might just be a small percentage modifier on some stat that doesn't really impact much more than a slight bias towards an already established mechanic that's newly buffed. Every single canon game may show that it's common amongst incremental games, but could just as easily indicate that they're common in games in general.

High-Value Factors

I won't take as long to discuss the high and low-value factors, as you've already seen most of them brought up earlier on this page. As a reminder, a game does NOT need all of these to be an incremental game, but these are factors that each indicate a strong possibility the game is an incremental, so having several of these means they probably are. These factors apply to most of the canon incremental games.

"Pure UI" Display. Incrementals typically have a textual presentation of the game state - there isn't a visual representation of the entities within the game. The interface is closer to what would be just the UI of a game in another genre or the control panel of a plane. If there is a visual representation, the player is often still interacting with non-diegetic game elements.

Reduced Consequences. Incrementals tend to have reduced repurcussions for misplaying. They very rarely have fail states, where often the largest consequence is simply not progressing - never losing progress.

Optimization Problems. The predominant gameplay of incrementals is typically solving optimization problems, from deciding which purchase to save up for to reasoning and deciding between different mutually exclusive options the game presents.

Resource Management. Incrementals tend to have a lot of resources within the game to keep track of.

Low-Value Factors

These are low-value factors, meaning they aren't as strongly correlated with incremental games. Incremental games may have none of these, and non-incrementals may have several of these - if a game only has low-value factors, they're probably not an incremental.

Fast Numeric Growth. Numbers in incremental games tend to grow faster than in other genres. There are more instances of superlinear growth. The larger the numbers get, the stronger of a signal this factor is.

Automation. As an incremental game progresses, the player often no longer has to deal with earlier mechanics, by having them either happen automatically or otherwise be replaced with an alternative that requires less player interaction.

Goal-Oriented. Incrementals are often heavily reliant on extrinsic motivation to guide the player. Typically this is through some sort of in-game goal to work towards, such as a certain amount of a resource being required to unlock or purchase something new.

Waiting is a Mechanic. In incremental games, the player may come across times where there is no action they can take, and the game will progress automatically instead. The player must wait for some amount of this automatic progress to occur before they can resume interaction with the game.

Are Roguelites Incrementals?

Having made our variation of the Berlin Interpretation for incremental games, we can compare it to the Berlin Interpretation to determine if there's enough overlap that any game that "passes" the Berlin Interpretation would also pass the incremental variant. That is to say, whether any roguelite would also be considered an incremental game.

The meta-progression of an incremental game could arguably be considered a paradigm shift, and certainly adds some resource management. Goal-oriented would probably also apply. I think anything other than those would be a stretch, and in my opinion that just isn't enough to qualify. To be totally honest, I was never expecting to conclude otherwise though \u{1F609}

Sub-Genres

There are some trends in incremental games that go beyond just being a commonly used mechanic, such that they deeply affect the rest of the game design. These trends can be used to determine sub-genres within the incremental games umbrella:

  • Loops games are a sub-genre defined by having a core mechanic related to a loop, where the player is deciding the actions taken per loop. Notable examples include Idle Loops, Stuck in Time, Cavernous II, and Increlution. You may also argue Groundhog Life and Progress Knight fall into this sub-genre.
  • ITRTG-like games are a sub-genre defined by having a core mechanic based on clearing increasingly difficult battles and often tend to have a lot of different mechanics to become progressively stronger. Notable examples include Idling to Rule the Gods, NGU Idle, and Wizard and Minion Idle.
  • Polynomial Growth games are a sub-genre defined by having a core mechanic related to a higher degree polynomial. Notable examples include the base layer of Antimatter Dimensions and Swarm Simulator.
  • Upgrades Games is a category popular on flash games websites that featured games focused on buying upgrades that would allow you to attain more currency in some sort of minigame that would earn you more money to buy more upgrades, which I'd argue now belong under the fold of incremental games. Notable examples include the Learn to Fly series and Upgrade Complete.
  • Cultivation RPGs are a genre of games, books, and anime popular in China that center around being in a fantasy world with characters getting stronger over time. While few of them get translated into English, a fan of incremental games may find the available games interesting.
',61),o=[i];function s(l,h,m,c,g,d){return a(),t("div",null,o)}const f=e(n,[["render",s]]);export{p as __pageData,f as default}; +import{_ as e,c as t,o as a,d as r}from"./app.830f7d24.js";const p=JSON.parse('{"title":"Defining the Genre","description":"","frontmatter":{"title":"Defining the Genre"},"headers":[{"level":2,"title":"Incrementals vs Idlers vs Clickers","slug":"incrementals-vs-idlers-vs-clickers","link":"#incrementals-vs-idlers-vs-clickers","children":[]},{"level":2,"title":"Incrementals as Parodies","slug":"incrementals-as-parodies","link":"#incrementals-as-parodies","children":[]},{"level":2,"title":"Incrementals as NGU","slug":"incrementals-as-ngu","link":"#incrementals-as-ngu","children":[]},{"level":2,"title":"Incrementals as Strategies","slug":"incrementals-as-strategies","link":"#incrementals-as-strategies","children":[]},{"level":2,"title":"Roguelites as Incrementals?","slug":"roguelites-as-incrementals","link":"#roguelites-as-incrementals","children":[{"level":3,"title":"The Berlin Interpretation","slug":"the-berlin-interpretation","link":"#the-berlin-interpretation","children":[]},{"level":3,"title":"The Incremental Games Canon","slug":"the-incremental-games-canon","link":"#the-incremental-games-canon","children":[]},{"level":3,"title":"The Paradigm Shift","slug":"the-paradigm-shift","link":"#the-paradigm-shift","children":[]},{"level":3,"title":"High-Value Factors","slug":"high-value-factors","link":"#high-value-factors","children":[]},{"level":3,"title":"Low-Value Factors","slug":"low-value-factors","link":"#low-value-factors","children":[]},{"level":3,"title":"Are Roguelites Incrementals?","slug":"are-roguelites-incrementals","link":"#are-roguelites-incrementals","children":[]}]},{"level":2,"title":"Sub-Genres","slug":"sub-genres","link":"#sub-genres","children":[]},{"level":2,"title":"Other Related Genres","slug":"other-related-genres","link":"#other-related-genres","children":[]}],"relativePath":"guide-to-incrementals/ludology/definition.md","lastUpdated":null}'),n={name:"guide-to-incrementals/ludology/definition.md"},i=r('

Defining the Genre

Video games are placed into genres for a variety of reasons. They can give a mental shorthand to set the player's expectations up, they can help a game market itself by its similarities to other, already popular games, and honestly, people just love categorization for its own sake. For this guide, it's important to define the genre so it is clear what games it's even talking about.

This poses a problem. "Incremental" is a horribly vague way to define games. Most games have numbers going up in some form or another. We need a more specific definition - similar to how "strategy" can't just mean any game with any amount of strategy because that would be most games. What specifically differentiates incremental games from the rest?

"Incremental" implies it's a genre defined by a game mechanic, but all those game mechanics it could imply exist in many other games. Having a skill tree or upgrades doesn't make you incremental, and if a reset mechanic is all it takes then every roguelite would be an incremental as well. So clearly there's more to it than that - what makes an incremental an incremental?

I'd like to go over a couple of popular suggestions I've seen on defining the genre here. I have my personal preferences and will state them here, but I don't think there's a truly perfect answer here.

Disclaimer: I mostly play incremental games on my computer, and my definitions will be heavily biased towards the games I'm familiar with.

Incrementals vs Idlers vs Clickers

Oftentimes people refer to this genre as idle games and/or clicker games. You'll even find a trend of oxymoronic game titles that contain both terms. "Incremental games" is the umbrella term both those terms fall under. However, I'd like to argue that not only is it better to just use the term "incremental games", but calling them "idle games" or "clicker games" is wrong. Almost universally, these terms are used interchangeably to refer to the same kind of game, where you start the game click spamming and eventually automate the process. Frankly, that kind of game deserves neither title, and the genre of incremental games has trended away from ever requiring click spamming, as it's a bad mechanic, anyways.

While these games do span a spectrum of how active it requires you to be, and sorting games by that metric can be useful for those looking for a particular experience, the borders of when an incremental game counts as an "idler" is too blurry for the term to be useful. "Incremental games" may not be a great descriptive term for the genre (hence this many thousands of words long page on defining what the genre even is), but it's strictly better than calling them "idler" or "clicker" games. This guide will always use the term "incremental games" unless quoting someone else, as it is the term you typically see on all modern games in the genre.

Incrementals as Parodies

Let's start with one of the most interesting definitions of incremental games. Incremental games appear to be distilled versions of games or genres, "revealing" the naked game design at the core of these games or genres not unlike how parodies comment upon their source material.

To understand what that means, think of how a casino uses skinner boxes to emotionally manipulate its customers to keep playing, but "dressing" up the skinner box with tons of stimuli to hide that ultimately the goal is to condition you into coming back compulsively. The idea that incremental games are parodies means taking the stance that at some level all games are similarly manipulating you, giving dopamine rewards in a way that manipulates you to keep playing while not necessarily giving you any value or fulfillment. Incremental games, then, are any games that plainly display the skinner box, and the manipulative core of the game, at the forefront of the experience.

While incremental games can be fun and even healthy in certain contexts, they can exacerbate video game addiction more than other genres. If you feel like playing incremental games is taking priority over other things in your life, or manipulating your sleep schedule, it may be prudent to seek help. See r/StopGaming for resources.

This "undressing" tends to go hand in hand with a reduced focus on aesthetics, often just printing the game state directly to the screen as text. This makes incremental games much easier to develop, particularly for those with programming skills but not art skills, but that's a tangent for why Incremental Games appeal to Developers.

Before I continue, I'd like to make my stance clear that I love games and incremental games, and do not think they should be considered inherently bad or manipulative with the above logic. Skinner boxes are just a way of manipulating behavior via rewards. The games are still fun - that's the reward! I'd believe the real criticism here is that it is "empty fun", or "empty dopamine", that doesn't offer any additional value or sense of fulfillment. I don't think that's inherently bad in moderation, although it can become a problem if the game is manipulating you for profit-seeking, or if you play the game to the detriment of the other parts of your life.

Another interpretation of incremental games as parodies comes from several mainstream incremental games that are also parodies of capitalism, such as cookie clicker and adventure capitalist. It's a very common framework for incremental games to portray the ever-increasing numbers as an insatiable hunger for resources, like the ones observed within capitalism. Therefore, these games are used as evidence that the genre as a whole is about parody and commentary.

Popular videos on incremental games that portray the genre as parodies are Why Idle games make good satire, and how it was ruined. and Bad Game Design - Clicker Games. You may also be interested in this response to the latter video from a fan of incremental games: BadGood Game Design - Clicker Games.

I think that this definition ultimately ascribes a motive to the genre as a whole that only happens to apply to some of the more mainstream titles. There certainly are incremental games commenting on different things, including the genre itself as in the case of The Prestige Tree Classic, The Ascension Tree, or Omega Layers, but certainly not all. And of course, not all games that comment on something or parody something are incremental games! Additionally, a very large majority of incremental games are mobile games using these manipulative strategies to get players to spend as much money as possible - hell, Adventure Capitalist is ostensibly a critique on capitalism but features microtransactions and gameplay that manipulates you into buying them! These profit-seeking incremental games certainly belong within the genre but are hardly parodies when they too use manipulation to serve their interests. Also, from my own anecdotal experience, those who use this definition seem to do so from a fairly surface-level familiarity with the genre, and often in the context of criticizing the genre or the fans thereof.

Incrementals as NGU

Another broad definition often used is that incremental games are games where the focus of the game is "numbers going up". This definition proposes that other genres simply use increasing numbers as a means to an end, but incremental games uniquely only care about the numbers themselves going up. Put another way, it implies there should be no narrative justification for the numbers going up other than "why shouldn't they be going up?"

While this definition is common because it feels easy to understand, it is difficult to formally define. Often phrases are used to describe games using this framework, such as having an "exaggerated sense of progression" or "big" numbers. These terms are vague and don't demonstrate an actual threshold between non-incrementals and incrementals. Most games have a sense of progression, so when is it "exaggerated"? How big are "big" numbers? Most notably, RPGs that are typically not considered incrementals will often pass this definition.

Additionally, a lot of incrementals tend to have some theme guiding the gameplay, or at least the names of mechanics. This makes the line blurred between when numbers are going up for their own sake versus for a contextual reason. I believe this point is best illustrated that, while most RPGs are not considered incremental games, there is a sub-genre of "incremental RPGs" that typically relates to RPGs that perform combat automatically. This definition of incremental games does not support RPGs and "incremental RPGs" being on distinct sides of the line if the only difference between them is manual vs automatic combat.

Incrementals as Strategies

This is a rarer interpretation, but there are similarities between incremental games and strategy games, implying incrementals might just be a sub-genre of strategy games. By this approach, incremental games would be defined by their relation to strategy games, and how they involve player strategy. Incremental games are often large optimization problems - above all else, the actual gameplay the player is performing is deciding what to do next. The consequences of wrong decisions are typically more lenient in incremental games - such as just not making optimal progress - but they certainly get complex.

So if we accept the premise that incrementals could fall under strategy, we still need to define what makes a strategy game an incremental versus some other strategy sub-genre. This is a bit tricky due to one particular sub-genre of strategy games: Factory Builders.

Factory builders, such as Factorio or Satisfactory, are games about gaining ever increasing resources, optimizing production, and expanding more and more. That... sounds pretty similar, doesn't it? In fact, there's been some debate on whether factory builders would fall under the "incremental" umbrella. I think it's safe to say the two are certainly related, and probably have quite a bit of overlap in playerbase.

Roguelites as Incrementals?

Earlier on, I mentioned reset mechanics shouldn't be used in the definition because that could make all roguelites incrementals... But what if it does? A lot of incrementals can be described as games with a strong sense of progression, often with layers of meta-progression. Roguelites fit that bill to a T. What would make roguelites not incremental? I honestly don't think there's a good explanation here, but many fans of incremental games will state they do believe the two genres to be unrelated, even if there's a significant overlap between their player bases due to having similar appealing traits.

At this point, it'd be appropriate to consider what part of the definition of roguelites precludes them from also being incrementals, but that reveals a new problem: What are roguelites? They're usually defined as rogue_likes with meta-progression, but that just pushes the problem back a step: Incrementals aren't the only genre to have difficulties defining themselves, it seems! Roguelikes are another genre where the community argues over the formal definition of their genre, although that means we can borrow from their process of coming to a consensus, and maybe come across a viable definition for incremental games.

The Berlin Interpretation

By far the most popular way of defining roguelikes is the "Berlin Interpretation", which acknowledged the diversity of games within the genre and argued the definition should not be based on any ideals about what the genre ought to be, but rather defined by "its canon". They argued there are a handful of games that can be used to define the canon for roguelikes, and from those games, a list of factors can be derived to determine a game's "roguelikeness". The more factors a game has, the more of a roguelike it is. This strategy is very lenient, allowing a game to not present any specific factor so long as it shows enough, and accounts for the blurriness of any genre definition by not explicitly stating how many factors a game must have to qualify as a definite roguelike.

I believe this strategy for defining genres can be applied to other genres as well. A handful of games can be argued to be the incremental games canon, and a list of factors derived from them can be used to judge any game based on its "incrementalness". I'll propose such a canon and list of factors here, but by no means should it be considered the end-all-be-all.

Note: The "Temple of the roguelike", an authority within the genre, has since replaced the Berlin Interpretation with a new set of factors here: https://blog.roguetemple.com/what-is-a-traditional-roguelike/

The Incremental Games Canon

Alright, time to get controversial. Up til now, I've been trying my best to stay objective and analytical, but now it's time to start making some opinionated decisions. Here is a list of games I think could justifiably make up an Incremental Games Canon:

I chose a variety of games here, biasing towards newer games, purposefully to avoid making a narrow or "traditional" definition. The genre is growing and shouldn't be constrained by the traits of the early popular titles. A lot of these could easily be replaced with other games that are mechanically congruent, so ultimately I'm sure if you asked 10 people for their canon list you'd just get 10 different answers, but I think this should sufficiently allow us to determine what factors make a game have higher "incrementalness".

The Paradigm Shift

The Paradigm Shift is probably the highest possible value factor for an incremental. It's so common that for a while people referred to incrementals that exhibit this trait as "unfolding" games, to the point of trying to replace the term incremental due to their popularity. Paradigm shifts refer to when the gameplay significantly changes. There are too many examples to list here, but notably, every single reset mechanic is typically going to be a paradigm shift. Examples of games with paradigm shifts that aren't tied to reset mechanics include Universal Paperclips and A Dark Room.

There are many reasons for the appeal of paradigm shifts. Oftentimes each mechanic builds on top of the existing mechanics, increasing the complexity of the game in steps so the player can follow along. They provide a sense of mystery, with the player anticipating what will happen next. They shake up the gameplay before it gets too stale - allowing the game to entertain for longer before the illusion of content dissipates. Of the canon games selected above, I would argue every single one contains a paradigm shift (although I could see someone disagreeing with that statement wrt Increlution).

I should take a moment to say that while I'm hyping up this specific factor, we cannot just reduce the genre definition to "does it have paradigm shifts". Many games have paradigm shifts that are not incremental, so it's just an indicator of incrementalness. Additionally, it can become quite hard to determine how large of a shift is a "paradigm" shift. Take, for example, any game with a skill tree. In some games, each skill node might have a large impact on how you play with the game, and qualify as a paradigm shift for some players. In other games, each skill node might just be a small percentage modifier on some stat that doesn't really impact much more than a slight bias towards an already established mechanic that's newly buffed. Every single canon game may show that it's common amongst incremental games, but could just as easily indicate that they're common in games in general.

High-Value Factors

I won't take as long to discuss the high and low-value factors, as you've already seen most of them brought up earlier on this page. As a reminder, a game does NOT need all of these to be an incremental game, but these are factors that each indicate a strong possibility the game is an incremental, so having several of these means they probably are. These factors apply to most of the canon incremental games.

"Pure UI" Display. Incrementals typically have a textual presentation of the game state - there isn't a visual representation of the entities within the game. The interface is closer to what would be just the UI of a game in another genre or the control panel of a plane. If there is a visual representation, the player is often still interacting with non-diegetic game elements.

Reduced Consequences. Incrementals tend to have reduced repurcussions for misplaying. They very rarely have fail states, where often the largest consequence is simply not progressing - never losing progress.

Optimization Problems. The predominant gameplay of incrementals is typically solving optimization problems, from deciding which purchase to save up for to reasoning and deciding between different mutually exclusive options the game presents.

Resource Management. Incrementals tend to have a lot of resources within the game to keep track of.

Low-Value Factors

These are low-value factors, meaning they aren't as strongly correlated with incremental games. Incremental games may have none of these, and non-incrementals may have several of these - if a game only has low-value factors, they're probably not an incremental.

Fast Numeric Growth. Numbers in incremental games tend to grow faster than in other genres. There are more instances of superlinear growth. The larger the numbers get, the stronger of a signal this factor is.

Automation. As an incremental game progresses, the player often no longer has to deal with earlier mechanics, by having them either happen automatically or otherwise be replaced with an alternative that requires less player interaction.

Goal-Oriented. Incrementals are often heavily reliant on extrinsic motivation to guide the player. Typically this is through some sort of in-game goal to work towards, such as a certain amount of a resource being required to unlock or purchase something new.

Waiting is a Mechanic. In incremental games, the player may come across times where there is no action they can take, and the game will progress automatically instead. The player must wait for some amount of this automatic progress to occur before they can resume interaction with the game.

Are Roguelites Incrementals?

Having made our variation of the Berlin Interpretation for incremental games, we can compare it to the Berlin Interpretation to determine if there's enough overlap that any game that "passes" the Berlin Interpretation would also pass the incremental variant. That is to say, whether any roguelite would also be considered an incremental game.

The meta-progression of an incremental game could arguably be considered a paradigm shift, and certainly adds some resource management. Goal-oriented would probably also apply. I think anything other than those would be a stretch, and in my opinion that just isn't enough to qualify. To be totally honest, I was never expecting to conclude otherwise though \u{1F609}

Sub-Genres

There are some trends in incremental games that go beyond just being a commonly used mechanic, such that they deeply affect the rest of the game design. These trends can be used to determine sub-genres within the incremental games umbrella:

  • Loops games are a sub-genre defined by having a core mechanic related to a loop, where the player is deciding the actions taken per loop. Notable examples include Idle Loops, Stuck in Time, Cavernous II, and Increlution. You may also argue Groundhog Life and Progress Knight fall into this sub-genre.
  • ITRTG-like games are a sub-genre defined by having a core mechanic based on clearing increasingly difficult battles and often tend to have a lot of different mechanics to become progressively stronger. Notable examples include Idling to Rule the Gods, NGU Idle, and Wizard and Minion Idle.
  • Polynomial Growth games are a sub-genre defined by having a core mechanic related to a higher degree polynomial. Notable examples include the base layer of Antimatter Dimensions and Swarm Simulator.
  • Upgrades Games is a category popular on flash games websites that featured games focused on buying upgrades that would allow you to attain more currency in some sort of minigame that would earn you more money to buy more upgrades, which I'd argue now belong under the fold of incremental games. Notable examples include the Learn to Fly series and Upgrade Complete.
  • Cultivation RPGs are a genre of games, books, and anime popular in China that center around being in a fantasy world with characters getting stronger over time. While few of them get translated into English, a fan of incremental games may find the available games interesting.
',61),o=[i];function s(l,h,m,c,g,d){return a(),t("div",null,o)}const f=e(n,[["render",s]]);export{p as __pageData,f as default}; diff --git a/assets/guide-to-incrementals_ludology_definition.md.cb4607f1.lean.js b/assets/guide-to-incrementals_ludology_definition.md.0210e023.lean.js similarity index 96% rename from assets/guide-to-incrementals_ludology_definition.md.cb4607f1.lean.js rename to assets/guide-to-incrementals_ludology_definition.md.0210e023.lean.js index 8ab21ccaf..66af375e8 100644 --- a/assets/guide-to-incrementals_ludology_definition.md.cb4607f1.lean.js +++ b/assets/guide-to-incrementals_ludology_definition.md.0210e023.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as r}from"./app.c95a51e0.js";const p=JSON.parse('{"title":"Defining the Genre","description":"","frontmatter":{"title":"Defining the Genre"},"headers":[{"level":2,"title":"Incrementals vs Idlers vs Clickers","slug":"incrementals-vs-idlers-vs-clickers","link":"#incrementals-vs-idlers-vs-clickers","children":[]},{"level":2,"title":"Incrementals as Parodies","slug":"incrementals-as-parodies","link":"#incrementals-as-parodies","children":[]},{"level":2,"title":"Incrementals as NGU","slug":"incrementals-as-ngu","link":"#incrementals-as-ngu","children":[]},{"level":2,"title":"Incrementals as Strategies","slug":"incrementals-as-strategies","link":"#incrementals-as-strategies","children":[]},{"level":2,"title":"Roguelites as Incrementals?","slug":"roguelites-as-incrementals","link":"#roguelites-as-incrementals","children":[{"level":3,"title":"The Berlin Interpretation","slug":"the-berlin-interpretation","link":"#the-berlin-interpretation","children":[]},{"level":3,"title":"The Incremental Games Canon","slug":"the-incremental-games-canon","link":"#the-incremental-games-canon","children":[]},{"level":3,"title":"The Paradigm Shift","slug":"the-paradigm-shift","link":"#the-paradigm-shift","children":[]},{"level":3,"title":"High-Value Factors","slug":"high-value-factors","link":"#high-value-factors","children":[]},{"level":3,"title":"Low-Value Factors","slug":"low-value-factors","link":"#low-value-factors","children":[]},{"level":3,"title":"Are Roguelites Incrementals?","slug":"are-roguelites-incrementals","link":"#are-roguelites-incrementals","children":[]}]},{"level":2,"title":"Sub-Genres","slug":"sub-genres","link":"#sub-genres","children":[]},{"level":2,"title":"Other Related Genres","slug":"other-related-genres","link":"#other-related-genres","children":[]}],"relativePath":"guide-to-incrementals/ludology/definition.md","lastUpdated":null}'),n={name:"guide-to-incrementals/ludology/definition.md"},i=r("",61),o=[i];function s(l,h,m,c,g,d){return a(),t("div",null,o)}const f=e(n,[["render",s]]);export{p as __pageData,f as default}; +import{_ as e,c as t,o as a,d as r}from"./app.830f7d24.js";const p=JSON.parse('{"title":"Defining the Genre","description":"","frontmatter":{"title":"Defining the Genre"},"headers":[{"level":2,"title":"Incrementals vs Idlers vs Clickers","slug":"incrementals-vs-idlers-vs-clickers","link":"#incrementals-vs-idlers-vs-clickers","children":[]},{"level":2,"title":"Incrementals as Parodies","slug":"incrementals-as-parodies","link":"#incrementals-as-parodies","children":[]},{"level":2,"title":"Incrementals as NGU","slug":"incrementals-as-ngu","link":"#incrementals-as-ngu","children":[]},{"level":2,"title":"Incrementals as Strategies","slug":"incrementals-as-strategies","link":"#incrementals-as-strategies","children":[]},{"level":2,"title":"Roguelites as Incrementals?","slug":"roguelites-as-incrementals","link":"#roguelites-as-incrementals","children":[{"level":3,"title":"The Berlin Interpretation","slug":"the-berlin-interpretation","link":"#the-berlin-interpretation","children":[]},{"level":3,"title":"The Incremental Games Canon","slug":"the-incremental-games-canon","link":"#the-incremental-games-canon","children":[]},{"level":3,"title":"The Paradigm Shift","slug":"the-paradigm-shift","link":"#the-paradigm-shift","children":[]},{"level":3,"title":"High-Value Factors","slug":"high-value-factors","link":"#high-value-factors","children":[]},{"level":3,"title":"Low-Value Factors","slug":"low-value-factors","link":"#low-value-factors","children":[]},{"level":3,"title":"Are Roguelites Incrementals?","slug":"are-roguelites-incrementals","link":"#are-roguelites-incrementals","children":[]}]},{"level":2,"title":"Sub-Genres","slug":"sub-genres","link":"#sub-genres","children":[]},{"level":2,"title":"Other Related Genres","slug":"other-related-genres","link":"#other-related-genres","children":[]}],"relativePath":"guide-to-incrementals/ludology/definition.md","lastUpdated":null}'),n={name:"guide-to-incrementals/ludology/definition.md"},i=r("",61),o=[i];function s(l,h,m,c,g,d){return a(),t("div",null,o)}const f=e(n,[["render",s]]);export{p as __pageData,f as default}; diff --git a/assets/index.md.5fc8a8c8.js b/assets/index.md.0b376fcd.js similarity index 76% rename from assets/index.md.5fc8a8c8.js rename to assets/index.md.0b376fcd.js index f70c25ec4..523eb0f07 100644 --- a/assets/index.md.5fc8a8c8.js +++ b/assets/index.md.0b376fcd.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./app.c95a51e0.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":1684372048000}`),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.830f7d24.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":1684423091000}`),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}; diff --git a/assets/index.md.5fc8a8c8.lean.js b/assets/index.md.0b376fcd.lean.js similarity index 76% rename from assets/index.md.5fc8a8c8.lean.js rename to assets/index.md.0b376fcd.lean.js index f70c25ec4..523eb0f07 100644 --- a/assets/index.md.5fc8a8c8.lean.js +++ b/assets/index.md.0b376fcd.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./app.c95a51e0.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":1684372048000}`),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.830f7d24.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":1684423091000}`),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}; diff --git a/assets/projects_babble_index.md.fa43d79b.js b/assets/projects_babble_index.md.dba3ab7f.js similarity index 96% rename from assets/projects_babble_index.md.fa43d79b.js rename to assets/projects_babble_index.md.dba3ab7f.js index fdcee814d..fd97d8535 100644 --- a/assets/projects_babble_index.md.fa43d79b.js +++ b/assets/projects_babble_index.md.dba3ab7f.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as r}from"./app.c95a51e0.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":1684372048000}'),n={name:"projects/babble/index.md"},i=r('

Babble Buds

Babble Buds Homepage

Source Code:

Babble buds is a free, open-source virtual puppet show software. It is heavily based on the non-public software called "Puppet Pals", used in URealms Live. The software is written in javascript using React, a rendering library called PIXI.js, and electron.

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 "babble" 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!

Users can connect to the public server and create private rooms so that they and their friends can see each other's puppets and use the software however they please. For the security conscious, you can also use the server's source code to self-host your private server.

Babble Buds Screenshot

Engine

The engine originally made to make the Babble Buds program was separated into a separate engine called babble.js, 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 babble.cs) for use with Unity, for the same kinds of purposes. You can check out Tower Offense for a pixi.js game using Babble Buds puppets for the cutscenes, or Dice Armor for a unity game using Babble Buds puppets for the cutscenes.

Babble Movie Maker

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 babble.js or babble.cs, or export the cutscene into a video file. There is even support for defining custom commands with custom fields, so that if you've expanded upon the default actions provided in babble.js or babble.cs, you can still use Movie Maker to create your cutscenes.

Babble MM Screenshot

',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.830f7d24.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":1684423091000}'),n={name:"projects/babble/index.md"},i=r('

Babble Buds

Babble Buds Homepage

Source Code:

Babble buds is a free, open-source virtual puppet show software. It is heavily based on the non-public software called "Puppet Pals", used in URealms Live. The software is written in javascript using React, a rendering library called PIXI.js, and electron.

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 "babble" 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!

Users can connect to the public server and create private rooms so that they and their friends can see each other's puppets and use the software however they please. For the security conscious, you can also use the server's source code to self-host your private server.

Babble Buds Screenshot

Engine

The engine originally made to make the Babble Buds program was separated into a separate engine called babble.js, 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 babble.cs) for use with Unity, for the same kinds of purposes. You can check out Tower Offense for a pixi.js game using Babble Buds puppets for the cutscenes, or Dice Armor for a unity game using Babble Buds puppets for the cutscenes.

Babble Movie Maker

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 babble.js or babble.cs, or export the cutscene into a video file. There is even support for defining custom commands with custom fields, so that if you've expanded upon the default actions provided in babble.js or babble.cs, you can still use Movie Maker to create your cutscenes.

Babble MM Screenshot

',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}; diff --git a/assets/projects_babble_index.md.fa43d79b.lean.js b/assets/projects_babble_index.md.dba3ab7f.lean.js similarity index 81% rename from assets/projects_babble_index.md.fa43d79b.lean.js rename to assets/projects_babble_index.md.dba3ab7f.lean.js index b4046b1ec..128f4402c 100644 --- a/assets/projects_babble_index.md.fa43d79b.lean.js +++ b/assets/projects_babble_index.md.dba3ab7f.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as r}from"./app.c95a51e0.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":1684372048000}'),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.830f7d24.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":1684423091000}'),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}; diff --git a/assets/projects_citadel_index.md.b4e97d86.js b/assets/projects_citadel_index.md.9031baac.js similarity index 87% rename from assets/projects_citadel_index.md.b4e97d86.js rename to assets/projects_citadel_index.md.9031baac.js index 3ccec0b8d..c17da2f1b 100644 --- a/assets/projects_citadel_index.md.b4e97d86.js +++ b/assets/projects_citadel_index.md.9031baac.js @@ -1 +1 @@ -import{_ as a,c as r,o as s,a as e,b as t}from"./app.c95a51e0.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":1684372048000}'),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.830f7d24.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":1684423091000}'),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}; diff --git a/assets/projects_citadel_index.md.b4e97d86.lean.js b/assets/projects_citadel_index.md.9031baac.lean.js similarity index 87% rename from assets/projects_citadel_index.md.b4e97d86.lean.js rename to assets/projects_citadel_index.md.9031baac.lean.js index 3ccec0b8d..c17da2f1b 100644 --- a/assets/projects_citadel_index.md.b4e97d86.lean.js +++ b/assets/projects_citadel_index.md.9031baac.lean.js @@ -1 +1 @@ -import{_ as a,c as r,o as s,a as e,b as t}from"./app.c95a51e0.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":1684372048000}'),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.830f7d24.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":1684423091000}'),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}; diff --git a/assets/projects_dice_index.md.6c528f7d.js b/assets/projects_dice_index.md.0c19c587.js similarity index 98% rename from assets/projects_dice_index.md.6c528f7d.js rename to assets/projects_dice_index.md.0c19c587.js index 6cdb69ab0..030016cfe 100644 --- a/assets/projects_dice_index.md.6c528f7d.js +++ b/assets/projects_dice_index.md.0c19c587.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as i}from"./app.c95a51e0.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":1684372048000}'),g={name:"projects/dice/index.md"},m=i('

Dice Armor

Download Here

Dice Armor is a game that started development as a semester-long project by a team of nine: a producer, a creative director, a narrative writer, an artist, two programmers, and 3 game designers. The information here is about my contributions as the lead programmer over the semester because I can show off stuff like the editor scripts I wrote. I was doing everything from interface coding, editor scripts, integrating Babble Buds, and of course, everything related to the gameplay itself. To date I'm still the lead programmer for the game; for more up-to-date information on the current state of the game please visit the official site.

The build available here was created for showing off at the end of the semester, and as such has some buttons present to make the game easier to skip parts of the game to see all the content: You start with all the dice in the game already in the shop, there's a button to give yourself free money to buy these dice with, and in the duel, there are buttons to force a win or a loss, which can be used to skip the tutorial (not recommended for first-time players).

Tutorial

Dice Armor is a dice dueling game. Players can use abilities, flip dice, and attack each other to win in a dice game that puts chance into the hands of the players. This is what the dueling scene looks like, with a tutorial cutscene happening on top to guide the player through the basics. Also, all the dice are constructed dynamically, using quaternion math to figure out the placement of each component relative to the face it is going on. The die in the middle has one of the player' and opponents' portraits on each of its sides.

Editors

For many of the objects I've created, I've made scriptable objects so that game designers can add and modify them easily. Additionally, I would create custom inspectors for the objects to help make them as easy to understand and edit as possible. The opponent's artificial intelligence is made up of many strategies, in a prioritized list. When it is the opponents' turn they go through each strategy and check if they can be run, and if so then the opponent performs the strategy and starts back over at the top of the list of strategies. The + sign under the list of strategies opens an organized dropdown of all the various strategies.

Simulator

In addition to custom inspector code, I've created new tools for the editor for our game designers to use. This is a duel simulator that will take two opponents and simulate an arbitrary number of duels between them, and output the results and summarize them for you, much much quicker than manually going through the duels, even with an absurdly high timeScale. This will become incredibly useful in making balance changes and testing new dice against existing sets. This is a screenshot of it in edit mode, but in play mode it removes the "Dueling Managers" field and will use whatever the current duel balance settings are, allowing for the GDs to test freely in play mode without worrying about undoing all their changes afterward.

Cutscene

I created the Babble Buds puppet editor and ported the rendering library I wrote for it to C# so it could be used in Unity. Dice Armor has a full campaign using cutscenes made using the Babble Buds cutscene editor, taking advantage of its support for custom commands and fields to control things like talking, giving the player dice and money, starting duels, and controlling player progression through the story.

Action Wheel

When a cutscene ends, its final command is to either start a duel or set the next cutscene in the story. In the latter case, there is an additional field for what to call the next cutscene, and what location it takes place. The cutscene is then added to the player's save file, and when they visit the city locations are greyed out until they have at least one action to do there. Each location has a dynamically populated action wheel with a custom range of acceptable angles.

Shop

The dice shop is dynamically populated by a list of dice available to the player, which can be changed during cutscenes, and is checked against the dice owned by the player to generate sold-out indicators. On the left, the player can choose to filter the options down to a single dice effect, which also updates the "Buy All" button to buy only all the dice in the current filter.

Inventory

The inventory works most the same as the shop, but for equipping dice. It also allows you to drag individual dice or entire sets to the equipped dice glyph. While dragging it will highlight all the slots the new dice will be equipped into.

Dice Rolling

The dice rolling uses the physics engine and detects once the dice have stopped moving, then determines which side is face up based on which of the normals is closest to straight up. It flags the die as cocked if that smallest angle is above a threshold. The dice sink into the table when not rolling to not interfere with any dice that are rolling.

Missile Storm

During certain events like winning the game or having the face of a die broken, the players' portraits will flash an emotion for a second. After winning, a random living die from the winning player is chosen to play their "finisher move", a flashy and dramatic effect to end the game. Shown is the arcane mechana's finisher, "Missile Storm".

',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.830f7d24.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":1684423091000}'),g={name:"projects/dice/index.md"},m=i('

Dice Armor

Download Here

Dice Armor is a game that started development as a semester-long project by a team of nine: a producer, a creative director, a narrative writer, an artist, two programmers, and 3 game designers. The information here is about my contributions as the lead programmer over the semester because I can show off stuff like the editor scripts I wrote. I was doing everything from interface coding, editor scripts, integrating Babble Buds, and of course, everything related to the gameplay itself. To date I'm still the lead programmer for the game; for more up-to-date information on the current state of the game please visit the official site.

The build available here was created for showing off at the end of the semester, and as such has some buttons present to make the game easier to skip parts of the game to see all the content: You start with all the dice in the game already in the shop, there's a button to give yourself free money to buy these dice with, and in the duel, there are buttons to force a win or a loss, which can be used to skip the tutorial (not recommended for first-time players).

Tutorial

Dice Armor is a dice dueling game. Players can use abilities, flip dice, and attack each other to win in a dice game that puts chance into the hands of the players. This is what the dueling scene looks like, with a tutorial cutscene happening on top to guide the player through the basics. Also, all the dice are constructed dynamically, using quaternion math to figure out the placement of each component relative to the face it is going on. The die in the middle has one of the player' and opponents' portraits on each of its sides.

Editors

For many of the objects I've created, I've made scriptable objects so that game designers can add and modify them easily. Additionally, I would create custom inspectors for the objects to help make them as easy to understand and edit as possible. The opponent's artificial intelligence is made up of many strategies, in a prioritized list. When it is the opponents' turn they go through each strategy and check if they can be run, and if so then the opponent performs the strategy and starts back over at the top of the list of strategies. The + sign under the list of strategies opens an organized dropdown of all the various strategies.

Simulator

In addition to custom inspector code, I've created new tools for the editor for our game designers to use. This is a duel simulator that will take two opponents and simulate an arbitrary number of duels between them, and output the results and summarize them for you, much much quicker than manually going through the duels, even with an absurdly high timeScale. This will become incredibly useful in making balance changes and testing new dice against existing sets. This is a screenshot of it in edit mode, but in play mode it removes the "Dueling Managers" field and will use whatever the current duel balance settings are, allowing for the GDs to test freely in play mode without worrying about undoing all their changes afterward.

Cutscene

I created the Babble Buds puppet editor and ported the rendering library I wrote for it to C# so it could be used in Unity. Dice Armor has a full campaign using cutscenes made using the Babble Buds cutscene editor, taking advantage of its support for custom commands and fields to control things like talking, giving the player dice and money, starting duels, and controlling player progression through the story.

Action Wheel

When a cutscene ends, its final command is to either start a duel or set the next cutscene in the story. In the latter case, there is an additional field for what to call the next cutscene, and what location it takes place. The cutscene is then added to the player's save file, and when they visit the city locations are greyed out until they have at least one action to do there. Each location has a dynamically populated action wheel with a custom range of acceptable angles.

Shop

The dice shop is dynamically populated by a list of dice available to the player, which can be changed during cutscenes, and is checked against the dice owned by the player to generate sold-out indicators. On the left, the player can choose to filter the options down to a single dice effect, which also updates the "Buy All" button to buy only all the dice in the current filter.

Inventory

The inventory works most the same as the shop, but for equipping dice. It also allows you to drag individual dice or entire sets to the equipped dice glyph. While dragging it will highlight all the slots the new dice will be equipped into.

Dice Rolling

The dice rolling uses the physics engine and detects once the dice have stopped moving, then determines which side is face up based on which of the normals is closest to straight up. It flags the die as cocked if that smallest angle is above a threshold. The dice sink into the table when not rolling to not interfere with any dice that are rolling.

Missile Storm

During certain events like winning the game or having the face of a die broken, the players' portraits will flash an emotion for a second. After winning, a random living die from the winning player is chosen to play their "finisher move", a flashy and dramatic effect to end the game. Shown is the arcane mechana's finisher, "Missile Storm".

',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}; diff --git a/assets/projects_dice_index.md.6c528f7d.lean.js b/assets/projects_dice_index.md.0c19c587.lean.js similarity index 81% rename from assets/projects_dice_index.md.6c528f7d.lean.js rename to assets/projects_dice_index.md.0c19c587.lean.js index 63d5968ed..0870e464e 100644 --- a/assets/projects_dice_index.md.6c528f7d.lean.js +++ b/assets/projects_dice_index.md.0c19c587.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as i}from"./app.c95a51e0.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":1684372048000}'),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.830f7d24.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":1684423091000}'),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}; diff --git a/assets/projects_index.md.b21da0f3.js b/assets/projects_index.md.df1c3af3.js similarity index 95% rename from assets/projects_index.md.b21da0f3.js rename to assets/projects_index.md.df1c3af3.js index 4f41d3889..58a7fed56 100644 --- a/assets/projects_index.md.b21da0f3.js +++ b/assets/projects_index.md.df1c3af3.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as r}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Projects","description":"","frontmatter":{"title":"Projects","lastUpdated":false},"headers":[],"relativePath":"projects/index.md","lastUpdated":1684372048000}'),n={name:"projects/index.md"},s=r('

Games!

I make games regularly! Check them out in the sidebar or on my itch.io page.

Profectus!

I contributed to a modding framework called The Modding Tree and then made Profectus as an alternative that gives developers more control. Profectus is a game engine for the web that uses TS and Vue.

V-ecs!

V-ecs (pronounced "Vex") 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.

OptiSpeech!

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.

Babble Buds!

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.

Dice Armor

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.

Capture the Citadel

A 3D VR re-envisioning of a Slay the Spire-style game by Anthony Lawn and Grant Barbee.

',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.830f7d24.js";const f=JSON.parse('{"title":"Projects","description":"","frontmatter":{"title":"Projects","lastUpdated":false},"headers":[],"relativePath":"projects/index.md","lastUpdated":1684423091000}'),n={name:"projects/index.md"},s=r('

Games!

I make games regularly! Check them out in the sidebar or on my itch.io page.

Profectus!

I contributed to a modding framework called The Modding Tree and then made Profectus as an alternative that gives developers more control. Profectus is a game engine for the web that uses TS and Vue.

V-ecs!

V-ecs (pronounced "Vex") 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.

OptiSpeech!

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.

Babble Buds!

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.

Dice Armor

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.

Capture the Citadel

A 3D VR re-envisioning of a Slay the Spire-style game by Anthony Lawn and Grant Barbee.

',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}; diff --git a/assets/projects_index.md.b21da0f3.lean.js b/assets/projects_index.md.df1c3af3.lean.js similarity index 69% rename from assets/projects_index.md.b21da0f3.lean.js rename to assets/projects_index.md.df1c3af3.lean.js index adfa50668..05a930f74 100644 --- a/assets/projects_index.md.b21da0f3.lean.js +++ b/assets/projects_index.md.df1c3af3.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as r}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Projects","description":"","frontmatter":{"title":"Projects","lastUpdated":false},"headers":[],"relativePath":"projects/index.md","lastUpdated":1684372048000}'),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.830f7d24.js";const f=JSON.parse('{"title":"Projects","description":"","frontmatter":{"title":"Projects","lastUpdated":false},"headers":[],"relativePath":"projects/index.md","lastUpdated":1684423091000}'),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}; diff --git a/assets/projects_optispeech_index.md.fa8ebcfd.js b/assets/projects_optispeech_index.md.f8da3cab.js similarity index 95% rename from assets/projects_optispeech_index.md.fa8ebcfd.js rename to assets/projects_optispeech_index.md.f8da3cab.js index a8d7513f7..6ad8ac496 100644 --- a/assets/projects_optispeech_index.md.fa8ebcfd.js +++ b/assets/projects_optispeech_index.md.f8da3cab.js @@ -1 +1 @@ -import{_ as t,c as s,o as a,a as e,b as o}from"./app.c95a51e0.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":1684372048000}'),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.830f7d24.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":1684423091000}'),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}; diff --git a/assets/projects_optispeech_index.md.fa8ebcfd.lean.js b/assets/projects_optispeech_index.md.f8da3cab.lean.js similarity index 95% rename from assets/projects_optispeech_index.md.fa8ebcfd.lean.js rename to assets/projects_optispeech_index.md.f8da3cab.lean.js index a8d7513f7..6ad8ac496 100644 --- a/assets/projects_optispeech_index.md.fa8ebcfd.lean.js +++ b/assets/projects_optispeech_index.md.f8da3cab.lean.js @@ -1 +1 @@ -import{_ as t,c as s,o as a,a as e,b as o}from"./app.c95a51e0.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":1684372048000}'),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.830f7d24.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":1684423091000}'),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}; diff --git a/assets/projects_vecs_index.md.8814735a.js b/assets/projects_vecs_index.md.20c0cccd.js similarity index 93% rename from assets/projects_vecs_index.md.8814735a.js rename to assets/projects_vecs_index.md.20c0cccd.js index d648dd748..a0c18ae8b 100644 --- a/assets/projects_vecs_index.md.8814735a.js +++ b/assets/projects_vecs_index.md.20c0cccd.js @@ -1 +1 @@ -import{_ as e,c as t,o as s,d as a}from"./app.c95a51e0.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":1684372048000}'),i={name:"projects/vecs/index.md"},d=a('

V-ecs

V-ecs Screenshot

V-ecs (pronounced "Vex") 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.

The engine works with "worlds", 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 "worlds" folder and displays a button for each of them.

Debug Menu

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.

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 "Sands of Time".

Sands of Time

',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.830f7d24.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":1684423091000}'),i={name:"projects/vecs/index.md"},d=a('

V-ecs

V-ecs Screenshot

V-ecs (pronounced "Vex") 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.

The engine works with "worlds", 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 "worlds" folder and displays a button for each of them.

Debug Menu

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.

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 "Sands of Time".

Sands of Time

',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}; diff --git a/assets/projects_vecs_index.md.8814735a.lean.js b/assets/projects_vecs_index.md.20c0cccd.lean.js similarity index 74% rename from assets/projects_vecs_index.md.8814735a.lean.js rename to assets/projects_vecs_index.md.20c0cccd.lean.js index 80d4604e0..e49feeba2 100644 --- a/assets/projects_vecs_index.md.8814735a.lean.js +++ b/assets/projects_vecs_index.md.20c0cccd.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as s,d as a}from"./app.c95a51e0.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":1684372048000}'),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.830f7d24.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":1684423091000}'),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}; diff --git a/assets/public_gamedevtree_2.0-format-changes.md.94ee9d78.js b/assets/public_gamedevtree_2.0-format-changes.md.250bb9c2.js similarity index 96% rename from assets/public_gamedevtree_2.0-format-changes.md.94ee9d78.js rename to assets/public_gamedevtree_2.0-format-changes.md.250bb9c2.js index 0806bdfbc..aeca8ec40 100644 --- a/assets/public_gamedevtree_2.0-format-changes.md.94ee9d78.js +++ b/assets/public_gamedevtree_2.0-format-changes.md.250bb9c2.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as i}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/2.0-format-changes.md","lastUpdated":null}'),n={name:"public/gamedevtree/2.0-format-changes.md"},l=i('

2.0 format changes

  • Temp format is changed from temp.something[layer] to temp[layer].something, for consistency
  • Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
  • effectDisplay in Challenges and Upgrades no longer takes an argument, and neither does effect for Buyables
  • Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
  • Generation of Points now happens in the main game loop (not in a layer update function), enabled by canGenPoints in game.js.
  • Changed fullLayerReset to layerDataReset, which takes an array of names of values to keep

In addition, many names were changed, mostly expanding abbreviations:

All instances of:

  • chall -> challenge
  • unl -> unlocked
  • upg -> upgrade (besides CSS)
  • amt -> amount
  • desc -> description
  • resCeil -> roundUpCost
  • order -> unlockOrder
  • incr_order -> increaseUnlockOrder

Challenges:

  • desc -> challengeDescription
  • reward -> rewardDescription
  • effect -> rewardEffect
  • effectDisplay -> rewardDisplay
  • active -> challengeActive
',7),o=[l];function s(r,c,d,g,h,p){return t(),a("div",null,o)}const u=e(n,[["render",s]]);export{m as __pageData,u as default}; +import{_ as e,c as a,o as t,d as i}from"./app.830f7d24.js";const m=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/2.0-format-changes.md","lastUpdated":null}'),n={name:"public/gamedevtree/2.0-format-changes.md"},l=i('

2.0 format changes

  • Temp format is changed from temp.something[layer] to temp[layer].something, for consistency
  • Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
  • effectDisplay in Challenges and Upgrades no longer takes an argument, and neither does effect for Buyables
  • Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
  • Generation of Points now happens in the main game loop (not in a layer update function), enabled by canGenPoints in game.js.
  • Changed fullLayerReset to layerDataReset, which takes an array of names of values to keep

In addition, many names were changed, mostly expanding abbreviations:

All instances of:

  • chall -> challenge
  • unl -> unlocked
  • upg -> upgrade (besides CSS)
  • amt -> amount
  • desc -> description
  • resCeil -> roundUpCost
  • order -> unlockOrder
  • incr_order -> increaseUnlockOrder

Challenges:

  • desc -> challengeDescription
  • reward -> rewardDescription
  • effect -> rewardEffect
  • effectDisplay -> rewardDisplay
  • active -> challengeActive
',7),o=[l];function s(r,c,d,g,h,p){return t(),a("div",null,o)}const u=e(n,[["render",s]]);export{m as __pageData,u as default}; diff --git a/assets/public_gamedevtree_2.0-format-changes.md.94ee9d78.lean.js b/assets/public_gamedevtree_2.0-format-changes.md.250bb9c2.lean.js similarity index 84% rename from assets/public_gamedevtree_2.0-format-changes.md.94ee9d78.lean.js rename to assets/public_gamedevtree_2.0-format-changes.md.250bb9c2.lean.js index d8f17dcdf..5d4e43fec 100644 --- a/assets/public_gamedevtree_2.0-format-changes.md.94ee9d78.lean.js +++ b/assets/public_gamedevtree_2.0-format-changes.md.250bb9c2.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as i}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/2.0-format-changes.md","lastUpdated":null}'),n={name:"public/gamedevtree/2.0-format-changes.md"},l=i("",7),o=[l];function s(r,c,d,g,h,p){return t(),a("div",null,o)}const u=e(n,[["render",s]]);export{m as __pageData,u as default}; +import{_ as e,c as a,o as t,d as i}from"./app.830f7d24.js";const m=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/2.0-format-changes.md","lastUpdated":null}'),n={name:"public/gamedevtree/2.0-format-changes.md"},l=i("",7),o=[l];function s(r,c,d,g,h,p){return t(),a("div",null,o)}const u=e(n,[["render",s]]);export{m as __pageData,u as default}; diff --git a/assets/public_gamedevtree_README.md.e9b50baa.js b/assets/public_gamedevtree_README.md.f672a351.js similarity index 94% rename from assets/public_gamedevtree_README.md.e9b50baa.js rename to assets/public_gamedevtree_README.md.f672a351.js index 0fd64d229..69e3ac7f3 100644 --- a/assets/public_gamedevtree_README.md.e9b50baa.js +++ b/assets/public_gamedevtree_README.md.f672a351.js @@ -1 +1 @@ -import{_ as o,c as a,o as r,a as e,b as t}from"./app.c95a51e0.js";const T=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/README.md","lastUpdated":null}'),n={name:"public/gamedevtree/README.md"},s=e("h1",{id:"the-modding-tree",tabindex:"-1"},[t("The-Modding-Tree "),e("a",{class:"header-anchor",href:"#the-modding-tree","aria-hidden":"true"},"#")],-1),i=e("p",null,"A modified version of The Prestige Tree that is much easier to mod. It still requires programming knowledge, but it's mostly pretty easy things and copy/pasting.",-1),d=e("p",null,[e("a",{href:"./docs/getting-started"},"Look here for a tutorial on getting started with modding with TMT")],-1),l=e("p",null,[t("You can look in the "),e("a",{href:"./docs/!general-info"},"documentation"),t(" for more information on how it all works, or look at the code in layers.js to see what it all looks like.")],-1),c=[s,i,d,l];function h(m,p,_,g,u,f){return r(),a("div",null,c)}const E=o(n,[["render",h]]);export{T as __pageData,E as default}; +import{_ as o,c as a,o as r,a as e,b as t}from"./app.830f7d24.js";const T=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/README.md","lastUpdated":null}'),n={name:"public/gamedevtree/README.md"},s=e("h1",{id:"the-modding-tree",tabindex:"-1"},[t("The-Modding-Tree "),e("a",{class:"header-anchor",href:"#the-modding-tree","aria-hidden":"true"},"#")],-1),i=e("p",null,"A modified version of The Prestige Tree that is much easier to mod. It still requires programming knowledge, but it's mostly pretty easy things and copy/pasting.",-1),d=e("p",null,[e("a",{href:"./docs/getting-started"},"Look here for a tutorial on getting started with modding with TMT")],-1),l=e("p",null,[t("You can look in the "),e("a",{href:"./docs/!general-info"},"documentation"),t(" for more information on how it all works, or look at the code in layers.js to see what it all looks like.")],-1),c=[s,i,d,l];function h(m,p,_,g,u,f){return r(),a("div",null,c)}const E=o(n,[["render",h]]);export{T as __pageData,E as default}; diff --git a/assets/public_gamedevtree_README.md.e9b50baa.lean.js b/assets/public_gamedevtree_README.md.f672a351.lean.js similarity index 94% rename from assets/public_gamedevtree_README.md.e9b50baa.lean.js rename to assets/public_gamedevtree_README.md.f672a351.lean.js index 0fd64d229..69e3ac7f3 100644 --- a/assets/public_gamedevtree_README.md.e9b50baa.lean.js +++ b/assets/public_gamedevtree_README.md.f672a351.lean.js @@ -1 +1 @@ -import{_ as o,c as a,o as r,a as e,b as t}from"./app.c95a51e0.js";const T=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/README.md","lastUpdated":null}'),n={name:"public/gamedevtree/README.md"},s=e("h1",{id:"the-modding-tree",tabindex:"-1"},[t("The-Modding-Tree "),e("a",{class:"header-anchor",href:"#the-modding-tree","aria-hidden":"true"},"#")],-1),i=e("p",null,"A modified version of The Prestige Tree that is much easier to mod. It still requires programming knowledge, but it's mostly pretty easy things and copy/pasting.",-1),d=e("p",null,[e("a",{href:"./docs/getting-started"},"Look here for a tutorial on getting started with modding with TMT")],-1),l=e("p",null,[t("You can look in the "),e("a",{href:"./docs/!general-info"},"documentation"),t(" for more information on how it all works, or look at the code in layers.js to see what it all looks like.")],-1),c=[s,i,d,l];function h(m,p,_,g,u,f){return r(),a("div",null,c)}const E=o(n,[["render",h]]);export{T as __pageData,E as default}; +import{_ as o,c as a,o as r,a as e,b as t}from"./app.830f7d24.js";const T=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/README.md","lastUpdated":null}'),n={name:"public/gamedevtree/README.md"},s=e("h1",{id:"the-modding-tree",tabindex:"-1"},[t("The-Modding-Tree "),e("a",{class:"header-anchor",href:"#the-modding-tree","aria-hidden":"true"},"#")],-1),i=e("p",null,"A modified version of The Prestige Tree that is much easier to mod. It still requires programming knowledge, but it's mostly pretty easy things and copy/pasting.",-1),d=e("p",null,[e("a",{href:"./docs/getting-started"},"Look here for a tutorial on getting started with modding with TMT")],-1),l=e("p",null,[t("You can look in the "),e("a",{href:"./docs/!general-info"},"documentation"),t(" for more information on how it all works, or look at the code in layers.js to see what it all looks like.")],-1),c=[s,i,d,l];function h(m,p,_,g,u,f){return r(),a("div",null,c)}const E=o(n,[["render",h]]);export{T as __pageData,E as default}; diff --git a/assets/public_gamedevtree_changelog.md.96da44a6.js b/assets/public_gamedevtree_changelog.md.680c4058.js similarity index 98% rename from assets/public_gamedevtree_changelog.md.96da44a6.js rename to assets/public_gamedevtree_changelog.md.680c4058.js index 31ea6e881..5082cb6b6 100644 --- a/assets/public_gamedevtree_changelog.md.96da44a6.js +++ b/assets/public_gamedevtree_changelog.md.680c4058.js @@ -1 +1 @@ -import{_ as e,c as i,o as l,d as a}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"The Game Dev Tree changelog:","description":"","frontmatter":{},"headers":[{"level":3,"title":"v1.0.4 Version Bump [rebalanced,debuggedx3] - 2020-11-09","slug":"v1-0-4-version-bump-rebalanced-debuggedx3-2020-11-09","link":"#v1-0-4-version-bump-rebalanced-debuggedx3-2020-11-09","children":[]},{"level":3,"title":"v1.0.3 Version Bump [rebalanced,debuggedx2] - 2020-11-08","slug":"v1-0-3-version-bump-rebalanced-debuggedx2-2020-11-08","link":"#v1-0-3-version-bump-rebalanced-debuggedx2-2020-11-08","children":[]},{"level":3,"title":"v1.0.2 Version Bump [rebalanced,debugged] - 2020-11-08","slug":"v1-0-2-version-bump-rebalanced-debugged-2020-11-08","link":"#v1-0-2-version-bump-rebalanced-debugged-2020-11-08","children":[]},{"level":3,"title":"v1.0.1 Version Bump [rebalanced] - 2020-11-08","slug":"v1-0-1-version-bump-rebalanced-2020-11-08","link":"#v1-0-1-version-bump-rebalanced-2020-11-08","children":[]},{"level":3,"title":"v1.0 Version Bump - 2020-11-08","slug":"v1-0-version-bump-2020-11-08","link":"#v1-0-version-bump-2020-11-08","children":[]},{"level":3,"title":"v0.2.3 Stylish - 2020-10-30","slug":"v0-2-3-stylish-2020-10-30","link":"#v0-2-3-stylish-2020-10-30","children":[]},{"level":3,"title":"v0.2.2 Row 3 - 2020-10-22","slug":"v0-2-2-row-3-2020-10-22","link":"#v0-2-2-row-3-2020-10-22","children":[]},{"level":3,"title":"v0.2.1 Row 3 - 2020-10-21","slug":"v0-2-1-row-3-2020-10-21","link":"#v0-2-1-row-3-2020-10-21","children":[]},{"level":3,"title":"v0.2 Row 3 - 2020-10-21","slug":"v0-2-row-3-2020-10-21","link":"#v0-2-row-3-2020-10-21","children":[]},{"level":3,"title":"v0.1.1 Cash Influx [rebalanced] - 2020-10-19","slug":"v0-1-1-cash-influx-rebalanced-2020-10-19","link":"#v0-1-1-cash-influx-rebalanced-2020-10-19","children":[]},{"level":3,"title":"v0.1 Cash Influx - 2020-10-19","slug":"v0-1-cash-influx-2020-10-19","link":"#v0-1-cash-influx-2020-10-19","children":[]},{"level":3,"title":"v0.0 Initial Commit - 2020-10-18","slug":"v0-0-initial-commit-2020-10-18","link":"#v0-0-initial-commit-2020-10-18","children":[]}],"relativePath":"public/gamedevtree/changelog.md","lastUpdated":null}'),r={name:"public/gamedevtree/changelog.md"},n=a('

The Game Dev Tree changelog:

v1.0.4 Version Bump [rebalanced,debuggedx3] - 2020-11-09

  • Fixed refactorings 2, 3, and 4 not actually affecting productivity

v1.0.3 Version Bump [rebalanced,debuggedx2] - 2020-11-08

  • Fixed API milestone 4 not working

v1.0.2 Version Bump [rebalanced,debugged] - 2020-11-08

  • Fixed tree lines being hidden after hitting "keepGoing" in the victory screen

v1.0.1 Version Bump [rebalanced] - 2020-11-08

  • Buffed several TAs

v1.0 Version Bump - 2020-11-08

  • Finished row 4
  • Added colored text to lore
  • Fixed some visual bugs with milestones
  • Probably other stuff lol its been a week

v0.2.3 Stylish - 2020-10-30

  • Re-styled basically everything
  • Added favicon
  • Added header bar
  • Added changelog

v0.2.2 Row 3 - 2020-10-22

  • Removed debug statement
  • Moved milestones in F layer beneath the buyables

v0.2.1 Row 3 - 2020-10-21

  • Fixed layers hiding
  • Fixed typos/minor issues
  • Fixed S layer being highlighted before you can unlock the layer

v0.2 Row 3 - 2020-10-21

  • Implemented row 3

v0.1.1 Cash Influx [rebalanced] - 2020-10-19

  • Fixed notification issue
  • Rebalanced to make early game faster and late game slower
  • Fixed other minor issues

v0.1 Cash Influx - 2020-10-19

  • Implemented row 2

v0.0 Initial Commit - 2020-10-18

  • Implemented row 1
',25),d=[n];function t(s,h,o,u,c,v){return l(),i("div",null,d)}const m=e(r,[["render",t]]);export{g as __pageData,m as default}; +import{_ as e,c as i,o as l,d as a}from"./app.830f7d24.js";const g=JSON.parse('{"title":"The Game Dev Tree changelog:","description":"","frontmatter":{},"headers":[{"level":3,"title":"v1.0.4 Version Bump [rebalanced,debuggedx3] - 2020-11-09","slug":"v1-0-4-version-bump-rebalanced-debuggedx3-2020-11-09","link":"#v1-0-4-version-bump-rebalanced-debuggedx3-2020-11-09","children":[]},{"level":3,"title":"v1.0.3 Version Bump [rebalanced,debuggedx2] - 2020-11-08","slug":"v1-0-3-version-bump-rebalanced-debuggedx2-2020-11-08","link":"#v1-0-3-version-bump-rebalanced-debuggedx2-2020-11-08","children":[]},{"level":3,"title":"v1.0.2 Version Bump [rebalanced,debugged] - 2020-11-08","slug":"v1-0-2-version-bump-rebalanced-debugged-2020-11-08","link":"#v1-0-2-version-bump-rebalanced-debugged-2020-11-08","children":[]},{"level":3,"title":"v1.0.1 Version Bump [rebalanced] - 2020-11-08","slug":"v1-0-1-version-bump-rebalanced-2020-11-08","link":"#v1-0-1-version-bump-rebalanced-2020-11-08","children":[]},{"level":3,"title":"v1.0 Version Bump - 2020-11-08","slug":"v1-0-version-bump-2020-11-08","link":"#v1-0-version-bump-2020-11-08","children":[]},{"level":3,"title":"v0.2.3 Stylish - 2020-10-30","slug":"v0-2-3-stylish-2020-10-30","link":"#v0-2-3-stylish-2020-10-30","children":[]},{"level":3,"title":"v0.2.2 Row 3 - 2020-10-22","slug":"v0-2-2-row-3-2020-10-22","link":"#v0-2-2-row-3-2020-10-22","children":[]},{"level":3,"title":"v0.2.1 Row 3 - 2020-10-21","slug":"v0-2-1-row-3-2020-10-21","link":"#v0-2-1-row-3-2020-10-21","children":[]},{"level":3,"title":"v0.2 Row 3 - 2020-10-21","slug":"v0-2-row-3-2020-10-21","link":"#v0-2-row-3-2020-10-21","children":[]},{"level":3,"title":"v0.1.1 Cash Influx [rebalanced] - 2020-10-19","slug":"v0-1-1-cash-influx-rebalanced-2020-10-19","link":"#v0-1-1-cash-influx-rebalanced-2020-10-19","children":[]},{"level":3,"title":"v0.1 Cash Influx - 2020-10-19","slug":"v0-1-cash-influx-2020-10-19","link":"#v0-1-cash-influx-2020-10-19","children":[]},{"level":3,"title":"v0.0 Initial Commit - 2020-10-18","slug":"v0-0-initial-commit-2020-10-18","link":"#v0-0-initial-commit-2020-10-18","children":[]}],"relativePath":"public/gamedevtree/changelog.md","lastUpdated":null}'),r={name:"public/gamedevtree/changelog.md"},n=a('

The Game Dev Tree changelog:

v1.0.4 Version Bump [rebalanced,debuggedx3] - 2020-11-09

  • Fixed refactorings 2, 3, and 4 not actually affecting productivity

v1.0.3 Version Bump [rebalanced,debuggedx2] - 2020-11-08

  • Fixed API milestone 4 not working

v1.0.2 Version Bump [rebalanced,debugged] - 2020-11-08

  • Fixed tree lines being hidden after hitting "keepGoing" in the victory screen

v1.0.1 Version Bump [rebalanced] - 2020-11-08

  • Buffed several TAs

v1.0 Version Bump - 2020-11-08

  • Finished row 4
  • Added colored text to lore
  • Fixed some visual bugs with milestones
  • Probably other stuff lol its been a week

v0.2.3 Stylish - 2020-10-30

  • Re-styled basically everything
  • Added favicon
  • Added header bar
  • Added changelog

v0.2.2 Row 3 - 2020-10-22

  • Removed debug statement
  • Moved milestones in F layer beneath the buyables

v0.2.1 Row 3 - 2020-10-21

  • Fixed layers hiding
  • Fixed typos/minor issues
  • Fixed S layer being highlighted before you can unlock the layer

v0.2 Row 3 - 2020-10-21

  • Implemented row 3

v0.1.1 Cash Influx [rebalanced] - 2020-10-19

  • Fixed notification issue
  • Rebalanced to make early game faster and late game slower
  • Fixed other minor issues

v0.1 Cash Influx - 2020-10-19

  • Implemented row 2

v0.0 Initial Commit - 2020-10-18

  • Implemented row 1
',25),d=[n];function t(s,h,o,u,c,v){return l(),i("div",null,d)}const m=e(r,[["render",t]]);export{g as __pageData,m as default}; diff --git a/assets/public_gamedevtree_changelog.md.96da44a6.lean.js b/assets/public_gamedevtree_changelog.md.680c4058.lean.js similarity index 97% rename from assets/public_gamedevtree_changelog.md.96da44a6.lean.js rename to assets/public_gamedevtree_changelog.md.680c4058.lean.js index 5c01b563b..458e05964 100644 --- a/assets/public_gamedevtree_changelog.md.96da44a6.lean.js +++ b/assets/public_gamedevtree_changelog.md.680c4058.lean.js @@ -1 +1 @@ -import{_ as e,c as i,o as l,d as a}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"The Game Dev Tree changelog:","description":"","frontmatter":{},"headers":[{"level":3,"title":"v1.0.4 Version Bump [rebalanced,debuggedx3] - 2020-11-09","slug":"v1-0-4-version-bump-rebalanced-debuggedx3-2020-11-09","link":"#v1-0-4-version-bump-rebalanced-debuggedx3-2020-11-09","children":[]},{"level":3,"title":"v1.0.3 Version Bump [rebalanced,debuggedx2] - 2020-11-08","slug":"v1-0-3-version-bump-rebalanced-debuggedx2-2020-11-08","link":"#v1-0-3-version-bump-rebalanced-debuggedx2-2020-11-08","children":[]},{"level":3,"title":"v1.0.2 Version Bump [rebalanced,debugged] - 2020-11-08","slug":"v1-0-2-version-bump-rebalanced-debugged-2020-11-08","link":"#v1-0-2-version-bump-rebalanced-debugged-2020-11-08","children":[]},{"level":3,"title":"v1.0.1 Version Bump [rebalanced] - 2020-11-08","slug":"v1-0-1-version-bump-rebalanced-2020-11-08","link":"#v1-0-1-version-bump-rebalanced-2020-11-08","children":[]},{"level":3,"title":"v1.0 Version Bump - 2020-11-08","slug":"v1-0-version-bump-2020-11-08","link":"#v1-0-version-bump-2020-11-08","children":[]},{"level":3,"title":"v0.2.3 Stylish - 2020-10-30","slug":"v0-2-3-stylish-2020-10-30","link":"#v0-2-3-stylish-2020-10-30","children":[]},{"level":3,"title":"v0.2.2 Row 3 - 2020-10-22","slug":"v0-2-2-row-3-2020-10-22","link":"#v0-2-2-row-3-2020-10-22","children":[]},{"level":3,"title":"v0.2.1 Row 3 - 2020-10-21","slug":"v0-2-1-row-3-2020-10-21","link":"#v0-2-1-row-3-2020-10-21","children":[]},{"level":3,"title":"v0.2 Row 3 - 2020-10-21","slug":"v0-2-row-3-2020-10-21","link":"#v0-2-row-3-2020-10-21","children":[]},{"level":3,"title":"v0.1.1 Cash Influx [rebalanced] - 2020-10-19","slug":"v0-1-1-cash-influx-rebalanced-2020-10-19","link":"#v0-1-1-cash-influx-rebalanced-2020-10-19","children":[]},{"level":3,"title":"v0.1 Cash Influx - 2020-10-19","slug":"v0-1-cash-influx-2020-10-19","link":"#v0-1-cash-influx-2020-10-19","children":[]},{"level":3,"title":"v0.0 Initial Commit - 2020-10-18","slug":"v0-0-initial-commit-2020-10-18","link":"#v0-0-initial-commit-2020-10-18","children":[]}],"relativePath":"public/gamedevtree/changelog.md","lastUpdated":null}'),r={name:"public/gamedevtree/changelog.md"},n=a("",25),d=[n];function t(s,h,o,u,c,v){return l(),i("div",null,d)}const m=e(r,[["render",t]]);export{g as __pageData,m as default}; +import{_ as e,c as i,o as l,d as a}from"./app.830f7d24.js";const g=JSON.parse('{"title":"The Game Dev Tree changelog:","description":"","frontmatter":{},"headers":[{"level":3,"title":"v1.0.4 Version Bump [rebalanced,debuggedx3] - 2020-11-09","slug":"v1-0-4-version-bump-rebalanced-debuggedx3-2020-11-09","link":"#v1-0-4-version-bump-rebalanced-debuggedx3-2020-11-09","children":[]},{"level":3,"title":"v1.0.3 Version Bump [rebalanced,debuggedx2] - 2020-11-08","slug":"v1-0-3-version-bump-rebalanced-debuggedx2-2020-11-08","link":"#v1-0-3-version-bump-rebalanced-debuggedx2-2020-11-08","children":[]},{"level":3,"title":"v1.0.2 Version Bump [rebalanced,debugged] - 2020-11-08","slug":"v1-0-2-version-bump-rebalanced-debugged-2020-11-08","link":"#v1-0-2-version-bump-rebalanced-debugged-2020-11-08","children":[]},{"level":3,"title":"v1.0.1 Version Bump [rebalanced] - 2020-11-08","slug":"v1-0-1-version-bump-rebalanced-2020-11-08","link":"#v1-0-1-version-bump-rebalanced-2020-11-08","children":[]},{"level":3,"title":"v1.0 Version Bump - 2020-11-08","slug":"v1-0-version-bump-2020-11-08","link":"#v1-0-version-bump-2020-11-08","children":[]},{"level":3,"title":"v0.2.3 Stylish - 2020-10-30","slug":"v0-2-3-stylish-2020-10-30","link":"#v0-2-3-stylish-2020-10-30","children":[]},{"level":3,"title":"v0.2.2 Row 3 - 2020-10-22","slug":"v0-2-2-row-3-2020-10-22","link":"#v0-2-2-row-3-2020-10-22","children":[]},{"level":3,"title":"v0.2.1 Row 3 - 2020-10-21","slug":"v0-2-1-row-3-2020-10-21","link":"#v0-2-1-row-3-2020-10-21","children":[]},{"level":3,"title":"v0.2 Row 3 - 2020-10-21","slug":"v0-2-row-3-2020-10-21","link":"#v0-2-row-3-2020-10-21","children":[]},{"level":3,"title":"v0.1.1 Cash Influx [rebalanced] - 2020-10-19","slug":"v0-1-1-cash-influx-rebalanced-2020-10-19","link":"#v0-1-1-cash-influx-rebalanced-2020-10-19","children":[]},{"level":3,"title":"v0.1 Cash Influx - 2020-10-19","slug":"v0-1-cash-influx-2020-10-19","link":"#v0-1-cash-influx-2020-10-19","children":[]},{"level":3,"title":"v0.0 Initial Commit - 2020-10-18","slug":"v0-0-initial-commit-2020-10-18","link":"#v0-0-initial-commit-2020-10-18","children":[]}],"relativePath":"public/gamedevtree/changelog.md","lastUpdated":null}'),r={name:"public/gamedevtree/changelog.md"},n=a("",25),d=[n];function t(s,h,o,u,c,v){return l(),i("div",null,d)}const m=e(r,[["render",t]]);export{g as __pageData,m as default}; diff --git a/assets/public_gamedevtree_docs_!general-info.md.1dce9599.js b/assets/public_gamedevtree_docs_!general-info.md.a370d628.js similarity index 98% rename from assets/public_gamedevtree_docs_!general-info.md.1dce9599.js rename to assets/public_gamedevtree_docs_!general-info.md.a370d628.js index b6b43bfb3..967f07674 100644 --- a/assets/public_gamedevtree_docs_!general-info.md.1dce9599.js +++ b/assets/public_gamedevtree_docs_!general-info.md.a370d628.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as o}from"./app.c95a51e0.js";const p=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"General:","slug":"general","link":"#general","children":[]},{"level":2,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":2,"title":"Other components","slug":"other-components","link":"#other-components","children":[]}],"relativePath":"public/gamedevtree/docs/!general-info.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/!general-info.md"},r=o('

The-Modding-Tree

The main way to add content is through creating layers. You can either add a layer directly in the layers object in layersSupportjs, or declare it in another file and then do "addLayer(layername, layerdata)" (good for breaking things up into smaller files). The existing layers are just examples and can be freely deleted. You can also use them as references and a base for your own layers.

The first thing you need to do is to edit the modInfo at the top of game.js to set your modID (a string). A unique modId will prevent your mod's saves from conflicting with other mods.

Most of the time, you won't need to dive deep into the code to create things, but you still can if you really want to.

The Modding Tree uses break_eternity.js to store large values. This means that many numbers are Decimal objects, and must be treated differently. For example, you have to use new Decimal(x) to create a Decimal value instead of a plain number, and perform operations on them by calling functions. e.g, instead of x = x + y, use x = x.add(y).

Almost all values can be either a constant value, or a dynamic value. Dynamic values are defined by putting a function that returns what the value should be at any given time.

All display text can be basic HTML instead (But you can't use most Vue features there).

Table of Contents:

General:

  • Getting Started: Getting your own copy of the code set up with Github Desktop.
  • Main mod info: How to set up general things for your mod in mod.js.
  • Basic layer breakdown: Breaking down the components of a layer with minimal features.
  • Layer features: Explanations of all of the different properties that you can give a layer.
  • Custom Tab Layouts: An optional way to give your tabs a different layout. You can even create entirely new components to use.
  • Updating TMT: Using Github Desktop to update your mod's version of TMT.

Common components

  • Upgrades: How to create upgrades for a layer.
  • Milestones: How to create milestones for a layer.
  • Buyables: Create rebuyable upgrades for your layer (with the option to make them respec-able). Can be used to make Enhancers or Space Buildings.
  • Clickables: A more generalized variant of buyables, for any kind of thing that is sometimes clickable. Between these and Buyables, you can do just about anything.

Other components

  • Challenges: How to create challenges for a layer.
  • Bars: Display some information as a progress bar, gague, or similar. They are highly customizable, and can be horizontal and vertical as well.
  • Subtabs and Microtabs: Create subtabs for your tabs, as well as "microtab" components that you can put inside the tabs.
  • Achievements: How to create achievements for a layer (or for the whole game).
  • Infoboxes: Boxes containing text that can be shown or hidden.
',14),i=[r];function s(l,d,c,h,u,m){return t(),a("div",null,i)}const y=e(n,[["render",s]]);export{p as __pageData,y as default}; +import{_ as e,c as a,o as t,d as o}from"./app.830f7d24.js";const p=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"General:","slug":"general","link":"#general","children":[]},{"level":2,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":2,"title":"Other components","slug":"other-components","link":"#other-components","children":[]}],"relativePath":"public/gamedevtree/docs/!general-info.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/!general-info.md"},r=o('

The-Modding-Tree

The main way to add content is through creating layers. You can either add a layer directly in the layers object in layersSupportjs, or declare it in another file and then do "addLayer(layername, layerdata)" (good for breaking things up into smaller files). The existing layers are just examples and can be freely deleted. You can also use them as references and a base for your own layers.

The first thing you need to do is to edit the modInfo at the top of game.js to set your modID (a string). A unique modId will prevent your mod's saves from conflicting with other mods.

Most of the time, you won't need to dive deep into the code to create things, but you still can if you really want to.

The Modding Tree uses break_eternity.js to store large values. This means that many numbers are Decimal objects, and must be treated differently. For example, you have to use new Decimal(x) to create a Decimal value instead of a plain number, and perform operations on them by calling functions. e.g, instead of x = x + y, use x = x.add(y).

Almost all values can be either a constant value, or a dynamic value. Dynamic values are defined by putting a function that returns what the value should be at any given time.

All display text can be basic HTML instead (But you can't use most Vue features there).

Table of Contents:

General:

  • Getting Started: Getting your own copy of the code set up with Github Desktop.
  • Main mod info: How to set up general things for your mod in mod.js.
  • Basic layer breakdown: Breaking down the components of a layer with minimal features.
  • Layer features: Explanations of all of the different properties that you can give a layer.
  • Custom Tab Layouts: An optional way to give your tabs a different layout. You can even create entirely new components to use.
  • Updating TMT: Using Github Desktop to update your mod's version of TMT.

Common components

  • Upgrades: How to create upgrades for a layer.
  • Milestones: How to create milestones for a layer.
  • Buyables: Create rebuyable upgrades for your layer (with the option to make them respec-able). Can be used to make Enhancers or Space Buildings.
  • Clickables: A more generalized variant of buyables, for any kind of thing that is sometimes clickable. Between these and Buyables, you can do just about anything.

Other components

  • Challenges: How to create challenges for a layer.
  • Bars: Display some information as a progress bar, gague, or similar. They are highly customizable, and can be horizontal and vertical as well.
  • Subtabs and Microtabs: Create subtabs for your tabs, as well as "microtab" components that you can put inside the tabs.
  • Achievements: How to create achievements for a layer (or for the whole game).
  • Infoboxes: Boxes containing text that can be shown or hidden.
',14),i=[r];function s(l,d,c,h,u,m){return t(),a("div",null,i)}const y=e(n,[["render",s]]);export{p as __pageData,y as default}; diff --git a/assets/public_gamedevtree_docs_!general-info.md.1dce9599.lean.js b/assets/public_gamedevtree_docs_!general-info.md.a370d628.lean.js similarity index 91% rename from assets/public_gamedevtree_docs_!general-info.md.1dce9599.lean.js rename to assets/public_gamedevtree_docs_!general-info.md.a370d628.lean.js index e93459d46..8824a0730 100644 --- a/assets/public_gamedevtree_docs_!general-info.md.1dce9599.lean.js +++ b/assets/public_gamedevtree_docs_!general-info.md.a370d628.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as o}from"./app.c95a51e0.js";const p=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"General:","slug":"general","link":"#general","children":[]},{"level":2,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":2,"title":"Other components","slug":"other-components","link":"#other-components","children":[]}],"relativePath":"public/gamedevtree/docs/!general-info.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/!general-info.md"},r=o("",14),i=[r];function s(l,d,c,h,u,m){return t(),a("div",null,i)}const y=e(n,[["render",s]]);export{p as __pageData,y as default}; +import{_ as e,c as a,o as t,d as o}from"./app.830f7d24.js";const p=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"General:","slug":"general","link":"#general","children":[]},{"level":2,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":2,"title":"Other components","slug":"other-components","link":"#other-components","children":[]}],"relativePath":"public/gamedevtree/docs/!general-info.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/!general-info.md"},r=o("",14),i=[r];function s(l,d,c,h,u,m){return t(),a("div",null,i)}const y=e(n,[["render",s]]);export{p as __pageData,y as default}; diff --git a/assets/public_gamedevtree_docs_achievements.md.a176d052.js b/assets/public_gamedevtree_docs_achievements.md.5e5606f0.js similarity index 98% rename from assets/public_gamedevtree_docs_achievements.md.a176d052.js rename to assets/public_gamedevtree_docs_achievements.md.5e5606f0.js index 6c8121e72..fbb14a9ab 100644 --- a/assets/public_gamedevtree_docs_achievements.md.a176d052.js +++ b/assets/public_gamedevtree_docs_achievements.md.5e5606f0.js @@ -1,4 +1,4 @@ -import{_ as e,c as a,o as s,d as t}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/achievements.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/achievements.md"},o=t(`

Achievements

Achievements are awarded to the player when they meet a certain goal, and give some benefit. Currently, they are pretty basic, but additional features will be added later to help.

You can make global achievements by putting them in a side layer (make its row "side" instead of a number)

Useful functions for dealing with achievements and implementing their effects:

  • hasAchievement(layer, id): determine if the player has the Achievement
  • achievementEffect(layer, id): Returns the current effects of the achievement, if any

Achievements should be formatted like this:

js
    achievements: {
+import{_ as e,c as a,o as s,d as t}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/achievements.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/achievements.md"},o=t(`

Achievements

Achievements are awarded to the player when they meet a certain goal, and give some benefit. Currently, they are pretty basic, but additional features will be added later to help.

You can make global achievements by putting them in a side layer (make its row "side" instead of a number)

Useful functions for dealing with achievements and implementing their effects:

  • hasAchievement(layer, id): determine if the player has the Achievement
  • achievementEffect(layer, id): Returns the current effects of the achievement, if any

Achievements should be formatted like this:

js
    achievements: {
         rows: # of rows
         cols: # of columns
         11: {
diff --git a/assets/public_gamedevtree_docs_achievements.md.a176d052.lean.js b/assets/public_gamedevtree_docs_achievements.md.5e5606f0.lean.js
similarity index 84%
rename from assets/public_gamedevtree_docs_achievements.md.a176d052.lean.js
rename to assets/public_gamedevtree_docs_achievements.md.5e5606f0.lean.js
index 1798eba5b..da2eaa75b 100644
--- a/assets/public_gamedevtree_docs_achievements.md.a176d052.lean.js
+++ b/assets/public_gamedevtree_docs_achievements.md.5e5606f0.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as s,d as t}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/achievements.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/achievements.md"},o=t("",9),l=[o];function i(p,r,c,h,d,u){return s(),a("div",null,l)}const v=e(n,[["render",i]]);export{y as __pageData,v as default};
+import{_ as e,c as a,o as s,d as t}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/achievements.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/achievements.md"},o=t("",9),l=[o];function i(p,r,c,h,d,u){return s(),a("div",null,l)}const v=e(n,[["render",i]]);export{y as __pageData,v as default};
diff --git a/assets/public_gamedevtree_docs_bars.md.ee83b0f6.js b/assets/public_gamedevtree_docs_bars.md.9f59b3d0.js
similarity index 98%
rename from assets/public_gamedevtree_docs_bars.md.ee83b0f6.js
rename to assets/public_gamedevtree_docs_bars.md.9f59b3d0.js
index 8fdf1732f..6cd30d61a 100644
--- a/assets/public_gamedevtree_docs_bars.md.ee83b0f6.js
+++ b/assets/public_gamedevtree_docs_bars.md.9f59b3d0.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,d as t}from"./app.c95a51e0.js";const b=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/bars.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/bars.md"},o=t(`

Bars

Bars let you display information in a more direct way. It can be a progress bar, health bar, capacity gague, or anything else.

Bars are defined like other Big Features:

js
    bars: {
+import{_ as s,c as a,o as e,d as t}from"./app.830f7d24.js";const b=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/bars.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/bars.md"},o=t(`

Bars

Bars let you display information in a more direct way. It can be a progress bar, health bar, capacity gague, or anything else.

Bars are defined like other Big Features:

js
    bars: {
         bigBar: {
             display() {return "Blah"},
             etc
diff --git a/assets/public_gamedevtree_docs_bars.md.ee83b0f6.lean.js b/assets/public_gamedevtree_docs_bars.md.9f59b3d0.lean.js
similarity index 83%
rename from assets/public_gamedevtree_docs_bars.md.ee83b0f6.lean.js
rename to assets/public_gamedevtree_docs_bars.md.9f59b3d0.lean.js
index 86218264b..178793ee0 100644
--- a/assets/public_gamedevtree_docs_bars.md.ee83b0f6.lean.js
+++ b/assets/public_gamedevtree_docs_bars.md.9f59b3d0.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,d as t}from"./app.c95a51e0.js";const b=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/bars.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/bars.md"},o=t("",6),l=[o];function r(p,i,c,d,u,h){return e(),a("div",null,l)}const F=s(n,[["render",r]]);export{b as __pageData,F as default};
+import{_ as s,c as a,o as e,d as t}from"./app.830f7d24.js";const b=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/bars.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/bars.md"},o=t("",6),l=[o];function r(p,i,c,d,u,h){return e(),a("div",null,l)}const F=s(n,[["render",r]]);export{b as __pageData,F as default};
diff --git a/assets/public_gamedevtree_docs_basic-layer-breakdown.md.61396bc6.js b/assets/public_gamedevtree_docs_basic-layer-breakdown.md.a988a8f8.js
similarity index 99%
rename from assets/public_gamedevtree_docs_basic-layer-breakdown.md.61396bc6.js
rename to assets/public_gamedevtree_docs_basic-layer-breakdown.md.a988a8f8.js
index f410353e8..b7baabaa9 100644
--- a/assets/public_gamedevtree_docs_basic-layer-breakdown.md.61396bc6.js
+++ b/assets/public_gamedevtree_docs_basic-layer-breakdown.md.a988a8f8.js
@@ -1,4 +1,4 @@
-import{_ as s,c as n,o as a,d as l}from"./app.c95a51e0.js";const d=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/basic-layer-breakdown.md","lastUpdated":null}'),o={name:"public/gamedevtree/docs/basic-layer-breakdown.md"},p=l(`

Basic layer breakdown

This is a very minimal layer with minimal features. Most things will require additional features.

js
    p: {
+import{_ as s,c as n,o as a,d as l}from"./app.830f7d24.js";const d=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/basic-layer-breakdown.md","lastUpdated":null}'),o={name:"public/gamedevtree/docs/basic-layer-breakdown.md"},p=l(`

Basic layer breakdown

This is a very minimal layer with minimal features. Most things will require additional features.

js
    p: {
         startData() { return {                  // startData is a function that returns default data for a layer. 
             unlocked: false,                    // You can add more variables here to add them to your layer.
             points: new Decimal(0),             // "points" is the internal name for the main resource of the layer.
diff --git a/assets/public_gamedevtree_docs_basic-layer-breakdown.md.61396bc6.lean.js b/assets/public_gamedevtree_docs_basic-layer-breakdown.md.a988a8f8.lean.js
similarity index 85%
rename from assets/public_gamedevtree_docs_basic-layer-breakdown.md.61396bc6.lean.js
rename to assets/public_gamedevtree_docs_basic-layer-breakdown.md.a988a8f8.lean.js
index a5759b841..82ec4350f 100644
--- a/assets/public_gamedevtree_docs_basic-layer-breakdown.md.61396bc6.lean.js
+++ b/assets/public_gamedevtree_docs_basic-layer-breakdown.md.a988a8f8.lean.js
@@ -1 +1 @@
-import{_ as s,c as n,o as a,d as l}from"./app.c95a51e0.js";const d=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/basic-layer-breakdown.md","lastUpdated":null}'),o={name:"public/gamedevtree/docs/basic-layer-breakdown.md"},p=l("",3),e=[p];function t(r,c,F,y,i,D){return a(),n("div",null,e)}const h=s(o,[["render",t]]);export{d as __pageData,h as default};
+import{_ as s,c as n,o as a,d as l}from"./app.830f7d24.js";const d=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/basic-layer-breakdown.md","lastUpdated":null}'),o={name:"public/gamedevtree/docs/basic-layer-breakdown.md"},p=l("",3),e=[p];function t(r,c,F,y,i,D){return a(),n("div",null,e)}const h=s(o,[["render",t]]);export{d as __pageData,h as default};
diff --git a/assets/public_gamedevtree_docs_buyables.md.cdb25baa.js b/assets/public_gamedevtree_docs_buyables.md.cc740a16.js
similarity index 99%
rename from assets/public_gamedevtree_docs_buyables.md.cdb25baa.js
rename to assets/public_gamedevtree_docs_buyables.md.cc740a16.js
index 2c141cbbd..8495c986b 100644
--- a/assets/public_gamedevtree_docs_buyables.md.cdb25baa.js
+++ b/assets/public_gamedevtree_docs_buyables.md.cc740a16.js
@@ -1,4 +1,4 @@
-import{_ as s,c as e,o as a,d as n}from"./app.c95a51e0.js";const F=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/buyables.md","lastUpdated":null}'),t={name:"public/gamedevtree/docs/buyables.md"},l=n(`

Buyables

Buyables are usually things that can be bought multiple times with scaling costs. If you set a respec function, the player can reset the purchases to get their currency back.

The amount of a buyable owned is a Decimal. You can get or set the amount of a buyable with getBuyableAmt(layer, id) and setBuyableAmt(layer, id, amt). You can use buyableEffect(layer, id) to get the current effects of a buyable.

Buyables should be formatted like this:

js
    buyables: {
+import{_ as s,c as e,o as a,d as n}from"./app.830f7d24.js";const F=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/buyables.md","lastUpdated":null}'),t={name:"public/gamedevtree/docs/buyables.md"},l=n(`

Buyables

Buyables are usually things that can be bought multiple times with scaling costs. If you set a respec function, the player can reset the purchases to get their currency back.

The amount of a buyable owned is a Decimal. You can get or set the amount of a buyable with getBuyableAmt(layer, id) and setBuyableAmt(layer, id, amt). You can use buyableEffect(layer, id) to get the current effects of a buyable.

Buyables should be formatted like this:

js
    buyables: {
         rows: # of rows
         cols: # of columns
         respec() {}, //**optional**, implement it to reset things and give back your currency.
diff --git a/assets/public_gamedevtree_docs_buyables.md.cdb25baa.lean.js b/assets/public_gamedevtree_docs_buyables.md.cc740a16.lean.js
similarity index 84%
rename from assets/public_gamedevtree_docs_buyables.md.cdb25baa.lean.js
rename to assets/public_gamedevtree_docs_buyables.md.cc740a16.lean.js
index 100c6037c..82c05eaba 100644
--- a/assets/public_gamedevtree_docs_buyables.md.cdb25baa.lean.js
+++ b/assets/public_gamedevtree_docs_buyables.md.cc740a16.lean.js
@@ -1 +1 @@
-import{_ as s,c as e,o as a,d as n}from"./app.c95a51e0.js";const F=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/buyables.md","lastUpdated":null}'),t={name:"public/gamedevtree/docs/buyables.md"},l=n("",11),o=[l];function p(r,c,i,u,y,b){return a(),e("div",null,o)}const d=s(t,[["render",p]]);export{F as __pageData,d as default};
+import{_ as s,c as e,o as a,d as n}from"./app.830f7d24.js";const F=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/buyables.md","lastUpdated":null}'),t={name:"public/gamedevtree/docs/buyables.md"},l=n("",11),o=[l];function p(r,c,i,u,y,b){return a(),e("div",null,o)}const d=s(t,[["render",p]]);export{F as __pageData,d as default};
diff --git a/assets/public_gamedevtree_docs_challenges.md.75ce9378.js b/assets/public_gamedevtree_docs_challenges.md.021ae094.js
similarity index 99%
rename from assets/public_gamedevtree_docs_challenges.md.75ce9378.js
rename to assets/public_gamedevtree_docs_challenges.md.021ae094.js
index 4e3be3b92..e5515ae9e 100644
--- a/assets/public_gamedevtree_docs_challenges.md.75ce9378.js
+++ b/assets/public_gamedevtree_docs_challenges.md.021ae094.js
@@ -1,4 +1,4 @@
-import{_ as e,c as a,o as n,d as s}from"./app.c95a51e0.js";const d=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/challenges.md","lastUpdated":null}'),l={name:"public/gamedevtree/docs/challenges.md"},t=s(`

Challenges

Useful functions for dealing with Challenges and implementing their effects:

  • inChallenge(layer, id): determine if the player is in a given challenge (or another challenge on the same layer that counts as this one)
  • hasChallenge(layer, id): determine if the player has completed the challenge
  • challengeCompletions(layer, id): determine how many times the player completed the challenge
  • challEffect(layer, id): Returns the current effects of the challenge, if any

Challenges are stored in the following format:

js
    challenges: {
+import{_ as e,c as a,o as n,d as s}from"./app.830f7d24.js";const d=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/challenges.md","lastUpdated":null}'),l={name:"public/gamedevtree/docs/challenges.md"},t=s(`

Challenges

Useful functions for dealing with Challenges and implementing their effects:

  • inChallenge(layer, id): determine if the player is in a given challenge (or another challenge on the same layer that counts as this one)
  • hasChallenge(layer, id): determine if the player has completed the challenge
  • challengeCompletions(layer, id): determine how many times the player completed the challenge
  • challEffect(layer, id): Returns the current effects of the challenge, if any

Challenges are stored in the following format:

js
    challenges: {
         rows: # of rows
         cols: # of columns
         11: {
diff --git a/assets/public_gamedevtree_docs_challenges.md.75ce9378.lean.js b/assets/public_gamedevtree_docs_challenges.md.021ae094.lean.js
similarity index 84%
rename from assets/public_gamedevtree_docs_challenges.md.75ce9378.lean.js
rename to assets/public_gamedevtree_docs_challenges.md.021ae094.lean.js
index d776b9f99..d37b7f77c 100644
--- a/assets/public_gamedevtree_docs_challenges.md.75ce9378.lean.js
+++ b/assets/public_gamedevtree_docs_challenges.md.021ae094.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as n,d as s}from"./app.c95a51e0.js";const d=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/challenges.md","lastUpdated":null}'),l={name:"public/gamedevtree/docs/challenges.md"},t=s("",9),o=[t];function i(r,c,p,h,u,y){return n(),a("div",null,o)}const f=e(l,[["render",i]]);export{d as __pageData,f as default};
+import{_ as e,c as a,o as n,d as s}from"./app.830f7d24.js";const d=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/challenges.md","lastUpdated":null}'),l={name:"public/gamedevtree/docs/challenges.md"},t=s("",9),o=[t];function i(r,c,p,h,u,y){return n(),a("div",null,o)}const f=e(l,[["render",i]]);export{d as __pageData,f as default};
diff --git a/assets/public_gamedevtree_docs_clickables.md.8abdae17.js b/assets/public_gamedevtree_docs_clickables.md.6e246799.js
similarity index 98%
rename from assets/public_gamedevtree_docs_clickables.md.8abdae17.js
rename to assets/public_gamedevtree_docs_clickables.md.6e246799.js
index e0ce2dd68..14c9f5b42 100644
--- a/assets/public_gamedevtree_docs_clickables.md.8abdae17.js
+++ b/assets/public_gamedevtree_docs_clickables.md.6e246799.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,d as n}from"./app.c95a51e0.js";const d=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/clickables.md","lastUpdated":null}'),l={name:"public/gamedevtree/docs/clickables.md"},t=n(`

Clickables

Clickables are any kind of thing that you can click for an effect. They're a more generalized version of Buyables.

DO NOT USE THESE TO MAKE THINGS THAT YOU CLICK REPEATEDLY FOR A BONUS BECAUSE THOSE ARE AWFUL.

There are several differences between the two. One is that a buyable's saved data is its amount as a Decimal, while Clickables store a "state" which can be a number or string, but not Decimal, array, or object). Buyables have a number of extra features which you can see on their page. Clickables also have a smaller default size.

You can get and set a clickable's state with getClickableState(layer, id) and setClickableState(layer, id, state). You can use clickableEffect(layer, id) to get the current effects of a clickable.

Clickables should be formatted like this:

js
    clickables: {
+import{_ as s,c as a,o as e,d as n}from"./app.830f7d24.js";const d=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/clickables.md","lastUpdated":null}'),l={name:"public/gamedevtree/docs/clickables.md"},t=n(`

Clickables

Clickables are any kind of thing that you can click for an effect. They're a more generalized version of Buyables.

DO NOT USE THESE TO MAKE THINGS THAT YOU CLICK REPEATEDLY FOR A BONUS BECAUSE THOSE ARE AWFUL.

There are several differences between the two. One is that a buyable's saved data is its amount as a Decimal, while Clickables store a "state" which can be a number or string, but not Decimal, array, or object). Buyables have a number of extra features which you can see on their page. Clickables also have a smaller default size.

You can get and set a clickable's state with getClickableState(layer, id) and setClickableState(layer, id, state). You can use clickableEffect(layer, id) to get the current effects of a clickable.

Clickables should be formatted like this:

js
    clickables: {
         rows: # of rows
         cols: # of columns
         masterButtonPress() // **optional** If this is present, an additional button will appear above the clickables.
diff --git a/assets/public_gamedevtree_docs_clickables.md.8abdae17.lean.js b/assets/public_gamedevtree_docs_clickables.md.6e246799.lean.js
similarity index 84%
rename from assets/public_gamedevtree_docs_clickables.md.8abdae17.lean.js
rename to assets/public_gamedevtree_docs_clickables.md.6e246799.lean.js
index b25cae229..c86517383 100644
--- a/assets/public_gamedevtree_docs_clickables.md.8abdae17.lean.js
+++ b/assets/public_gamedevtree_docs_clickables.md.6e246799.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,d as n}from"./app.c95a51e0.js";const d=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/clickables.md","lastUpdated":null}'),l={name:"public/gamedevtree/docs/clickables.md"},t=n("",9),o=[t];function p(c,r,i,y,u,F){return e(),a("div",null,o)}const b=s(l,[["render",p]]);export{d as __pageData,b as default};
+import{_ as s,c as a,o as e,d as n}from"./app.830f7d24.js";const d=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/clickables.md","lastUpdated":null}'),l={name:"public/gamedevtree/docs/clickables.md"},t=n("",9),o=[t];function p(c,r,i,y,u,F){return e(),a("div",null,o)}const b=s(l,[["render",p]]);export{d as __pageData,b as default};
diff --git a/assets/public_gamedevtree_docs_custom-tab-layouts.md.e39f994d.js b/assets/public_gamedevtree_docs_custom-tab-layouts.md.cc6f28f2.js
similarity index 99%
rename from assets/public_gamedevtree_docs_custom-tab-layouts.md.e39f994d.js
rename to assets/public_gamedevtree_docs_custom-tab-layouts.md.cc6f28f2.js
index 5469a7543..f23c8bd21 100644
--- a/assets/public_gamedevtree_docs_custom-tab-layouts.md.e39f994d.js
+++ b/assets/public_gamedevtree_docs_custom-tab-layouts.md.cc6f28f2.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o,d as t}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/custom-tab-layouts.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/custom-tab-layouts.md"},e=t(`

Custom tab layouts

Note: If you are using subtabs, tabFormat is used differently, but you still use the same format within each subtabs. See here for more on subtabs

Custom tab layouts can be used to do basically anything in a tab window, especially combined with the "style" layer feature. The tabFormat feature is an array of things, like this:

js
    tabFormat: ["main-display",
+import{_ as s,c as a,o,d as t}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/custom-tab-layouts.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/custom-tab-layouts.md"},e=t(`

Custom tab layouts

Note: If you are using subtabs, tabFormat is used differently, but you still use the same format within each subtabs. See here for more on subtabs

Custom tab layouts can be used to do basically anything in a tab window, especially combined with the "style" layer feature. The tabFormat feature is an array of things, like this:

js
    tabFormat: ["main-display",
             ["prestige-button", function(){return "Melt your points into "}],
             "blank",
             ["display-text",
diff --git a/assets/public_gamedevtree_docs_custom-tab-layouts.md.e39f994d.lean.js b/assets/public_gamedevtree_docs_custom-tab-layouts.md.cc6f28f2.lean.js
similarity index 84%
rename from assets/public_gamedevtree_docs_custom-tab-layouts.md.e39f994d.lean.js
rename to assets/public_gamedevtree_docs_custom-tab-layouts.md.cc6f28f2.lean.js
index ee81ea41d..a97174df6 100644
--- a/assets/public_gamedevtree_docs_custom-tab-layouts.md.e39f994d.lean.js
+++ b/assets/public_gamedevtree_docs_custom-tab-layouts.md.cc6f28f2.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o,d as t}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/custom-tab-layouts.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/custom-tab-layouts.md"},e=t("",9),l=[e];function p(r,c,i,y,D,u){return o(),a("div",null,l)}const b=s(n,[["render",p]]);export{h as __pageData,b as default};
+import{_ as s,c as a,o,d as t}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/custom-tab-layouts.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/custom-tab-layouts.md"},e=t("",9),l=[e];function p(r,c,i,y,D,u){return o(),a("div",null,l)}const b=s(n,[["render",p]]);export{h as __pageData,b as default};
diff --git a/assets/public_gamedevtree_docs_getting-started.md.7d2bd537.js b/assets/public_gamedevtree_docs_getting-started.md.5a4afb00.js
similarity index 98%
rename from assets/public_gamedevtree_docs_getting-started.md.7d2bd537.js
rename to assets/public_gamedevtree_docs_getting-started.md.5a4afb00.js
index 739ff8aad..11668fcea 100644
--- a/assets/public_gamedevtree_docs_getting-started.md.7d2bd537.js
+++ b/assets/public_gamedevtree_docs_getting-started.md.5a4afb00.js
@@ -1 +1 @@
-import{_ as e,c as t,o,d as i}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github and The Modding Tree:","slug":"getting-set-up-with-github-and-the-modding-tree","link":"#getting-set-up-with-github-and-the-modding-tree","children":[]},{"level":2,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}],"relativePath":"public/gamedevtree/docs/getting-started.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/getting-started.md"},a=i('

Getting started

Welcome to The Modding Tree!

Using the Modding Tree, at its simplest level, just requires getting a copy of it onto your computer. However, if you do it the right way, it will help in many ways.

Don't let the word "Github" scare you away. It's actually much easier to use than most people think, especially because most people use it the hard way. The key is Github Desktop, which lets you do everything you need to, without even touching the command line.

The benefits of using Github:

  • It makes it much, much easier to update The Modding Tree.
  • You can share your work without any extra effort using githack, or with a bit more effort, set up a github.io site.
  • It lets you undo changes to your code, and to have multiple versions of it.
  • It lets you collaborate with other people, if you want to.

Getting set up with Github and The Modding Tree:

  1. Install Github Desktop and Visual Studio Code.

  2. Make a Github account. You can handle this on your own.

  3. Log in on your browser, and go back to The Modding Tree page. At the top right, there should be a button that says "fork". Click on it, and then on your username. You now have your own fork, or copy, of The Modding Tree.

  4. Open Github Desktop and log in. Ignore everything else and choose "clone a repository". A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is downloading a copy of the repository to your computer.

  5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".

  6. Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.

Using your repository

  1. Click on "show in finder" to the right, and then open index.html. This will let you view and test your project!

  2. To edit your project, click "open in VSCode" in Github Desktop.

  3. Open mod.js in VSCode, and look at the top part where it says "modInfo". On the lines below that, change the mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later.)

  4. Save game.js, and then reload index.html. The title on the tab, as well as on the info page, will now be the new ones!

  5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit".

  6. At the bottom right corner, add a summary of your changes, and then click "commit to master".

  7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository.

  8. You can view your project on line, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html

And now, you have successfully used Github! You can look at the documentation to see how The Modding Tree's system works and to make your mod a reality.

',11),r=[a];function h(s,l,u,d,p,g){return o(),t("div",null,r)}const m=e(n,[["render",h]]);export{y as __pageData,m as default}; +import{_ as e,c as t,o,d as i}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github and The Modding Tree:","slug":"getting-set-up-with-github-and-the-modding-tree","link":"#getting-set-up-with-github-and-the-modding-tree","children":[]},{"level":2,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}],"relativePath":"public/gamedevtree/docs/getting-started.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/getting-started.md"},a=i('

Getting started

Welcome to The Modding Tree!

Using the Modding Tree, at its simplest level, just requires getting a copy of it onto your computer. However, if you do it the right way, it will help in many ways.

Don't let the word "Github" scare you away. It's actually much easier to use than most people think, especially because most people use it the hard way. The key is Github Desktop, which lets you do everything you need to, without even touching the command line.

The benefits of using Github:

  • It makes it much, much easier to update The Modding Tree.
  • You can share your work without any extra effort using githack, or with a bit more effort, set up a github.io site.
  • It lets you undo changes to your code, and to have multiple versions of it.
  • It lets you collaborate with other people, if you want to.

Getting set up with Github and The Modding Tree:

  1. Install Github Desktop and Visual Studio Code.

  2. Make a Github account. You can handle this on your own.

  3. Log in on your browser, and go back to The Modding Tree page. At the top right, there should be a button that says "fork". Click on it, and then on your username. You now have your own fork, or copy, of The Modding Tree.

  4. Open Github Desktop and log in. Ignore everything else and choose "clone a repository". A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is downloading a copy of the repository to your computer.

  5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".

  6. Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.

Using your repository

  1. Click on "show in finder" to the right, and then open index.html. This will let you view and test your project!

  2. To edit your project, click "open in VSCode" in Github Desktop.

  3. Open mod.js in VSCode, and look at the top part where it says "modInfo". On the lines below that, change the mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later.)

  4. Save game.js, and then reload index.html. The title on the tab, as well as on the info page, will now be the new ones!

  5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit".

  6. At the bottom right corner, add a summary of your changes, and then click "commit to master".

  7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository.

  8. You can view your project on line, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html

And now, you have successfully used Github! You can look at the documentation to see how The Modding Tree's system works and to make your mod a reality.

',11),r=[a];function h(s,l,u,d,p,g){return o(),t("div",null,r)}const m=e(n,[["render",h]]);export{y as __pageData,m as default}; diff --git a/assets/public_gamedevtree_docs_getting-started.md.7d2bd537.lean.js b/assets/public_gamedevtree_docs_getting-started.md.5a4afb00.lean.js similarity index 91% rename from assets/public_gamedevtree_docs_getting-started.md.7d2bd537.lean.js rename to assets/public_gamedevtree_docs_getting-started.md.5a4afb00.lean.js index 1fa3559cf..6f408fcca 100644 --- a/assets/public_gamedevtree_docs_getting-started.md.7d2bd537.lean.js +++ b/assets/public_gamedevtree_docs_getting-started.md.5a4afb00.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,d as i}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github and The Modding Tree:","slug":"getting-set-up-with-github-and-the-modding-tree","link":"#getting-set-up-with-github-and-the-modding-tree","children":[]},{"level":2,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}],"relativePath":"public/gamedevtree/docs/getting-started.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/getting-started.md"},a=i("",11),r=[a];function h(s,l,u,d,p,g){return o(),t("div",null,r)}const m=e(n,[["render",h]]);export{y as __pageData,m as default}; +import{_ as e,c as t,o,d as i}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github and The Modding Tree:","slug":"getting-set-up-with-github-and-the-modding-tree","link":"#getting-set-up-with-github-and-the-modding-tree","children":[]},{"level":2,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}],"relativePath":"public/gamedevtree/docs/getting-started.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/getting-started.md"},a=i("",11),r=[a];function h(s,l,u,d,p,g){return o(),t("div",null,r)}const m=e(n,[["render",h]]);export{y as __pageData,m as default}; diff --git a/assets/public_gamedevtree_docs_infoboxes.md.910ca43a.js b/assets/public_gamedevtree_docs_infoboxes.md.4b02f838.js similarity index 98% rename from assets/public_gamedevtree_docs_infoboxes.md.910ca43a.js rename to assets/public_gamedevtree_docs_infoboxes.md.4b02f838.js index e36ebb63d..5f54b00b6 100644 --- a/assets/public_gamedevtree_docs_infoboxes.md.910ca43a.js +++ b/assets/public_gamedevtree_docs_infoboxes.md.4b02f838.js @@ -1,4 +1,4 @@ -import{_ as s,c as e,o as a,d as o}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/infoboxes.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/infoboxes.md"},t=o(`

Infoboxes

Infoboxes are good for displaying "lore", or story elements, as well as for explaining complicated things.

In the default tab layout, the first infobox will be displayed at the very top of the tab.

Infoboxes are defined like other Big Features:

js
    infoboxes: {
+import{_ as s,c as e,o as a,d as o}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/infoboxes.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/infoboxes.md"},t=o(`

Infoboxes

Infoboxes are good for displaying "lore", or story elements, as well as for explaining complicated things.

In the default tab layout, the first infobox will be displayed at the very top of the tab.

Infoboxes are defined like other Big Features:

js
    infoboxes: {
         infobox: {
             display() {return "Blah"},
             etc
diff --git a/assets/public_gamedevtree_docs_infoboxes.md.910ca43a.lean.js b/assets/public_gamedevtree_docs_infoboxes.md.4b02f838.lean.js
similarity index 84%
rename from assets/public_gamedevtree_docs_infoboxes.md.910ca43a.lean.js
rename to assets/public_gamedevtree_docs_infoboxes.md.4b02f838.lean.js
index 2cffe1a51..3f680c860 100644
--- a/assets/public_gamedevtree_docs_infoboxes.md.910ca43a.lean.js
+++ b/assets/public_gamedevtree_docs_infoboxes.md.4b02f838.lean.js
@@ -1 +1 @@
-import{_ as s,c as e,o as a,d as o}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/infoboxes.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/infoboxes.md"},t=o("",7),l=[t];function p(i,r,c,d,y,u){return a(),e("div",null,l)}const f=s(n,[["render",p]]);export{h as __pageData,f as default};
+import{_ as s,c as e,o as a,d as o}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/infoboxes.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/infoboxes.md"},t=o("",7),l=[t];function p(i,r,c,d,y,u){return a(),e("div",null,l)}const f=s(n,[["render",p]]);export{h as __pageData,f as default};
diff --git a/assets/public_gamedevtree_docs_layer-features.md.6cc59d65.js b/assets/public_gamedevtree_docs_layer-features.md.77f76a11.js
similarity index 99%
rename from assets/public_gamedevtree_docs_layer-features.md.6cc59d65.js
rename to assets/public_gamedevtree_docs_layer-features.md.77f76a11.js
index 638671f2e..ec6540654 100644
--- a/assets/public_gamedevtree_docs_layer-features.md.6cc59d65.js
+++ b/assets/public_gamedevtree_docs_layer-features.md.77f76a11.js
@@ -1,4 +1,4 @@
-import{_ as e,c as t,o as a,d as s}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/gamedevtree/docs/layer-features.md","lastUpdated":null}'),o={name:"public/gamedevtree/docs/layer-features.md"},n=s(`

Layer Features

This is a more comprehensive list of established features to add to layers. You can add more freely, if you want to have other functions or values associated with your layer. These have special functionality, though.

You can make almost any value dynamic by using a function in its place, including all display strings and styling/color features.

Key:

  • No label: This is required and the game will crash if it isn't included.
  • sometimes required: This is may be required, depending on other things in the layer.
  • optional: You can leave this out if you don't intend to use that feature for the layer.

Layer Definition features

  • layer: Assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar to access the save value. It makes copying code to new layers easier. It is also assigned to all upgrades and buyables and such.

  • name: Optional, used in reset confirmations (and maybe other places). If absent, it just uses the layer's id.

  • startData(): A function to return the default save data for this layer. Add any variables you have to it. Any nonstandard Decimal variables need to be added to convertToDecimal as well. Standard values: Required: unlocked: a bool determining if this layer is unlocked or not points: a Decimal, the main currency for the layer Optional: total: A Decimal, tracks total amount of main prestige currency best: A Decimal, tracks highest amount of main prestige currency unlockOrder: used to keep track of relevant layers unlocked before this one.

  • color: A color associated with this layer, used in many places. (A string in hex format with a #)

  • row: The row of the layer, starting at 0. This affects where the node appears on the tree, and which resets affect the layer.

     Using "side" instead of a number will cause the layer to appear off to the side as a smaller node (useful for achievements
    +import{_ as e,c as t,o as a,d as s}from"./app.830f7d24.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/gamedevtree/docs/layer-features.md","lastUpdated":null}'),o={name:"public/gamedevtree/docs/layer-features.md"},n=s(`

    Layer Features

    This is a more comprehensive list of established features to add to layers. You can add more freely, if you want to have other functions or values associated with your layer. These have special functionality, though.

    You can make almost any value dynamic by using a function in its place, including all display strings and styling/color features.

    Key:

    • No label: This is required and the game will crash if it isn't included.
    • sometimes required: This is may be required, depending on other things in the layer.
    • optional: You can leave this out if you don't intend to use that feature for the layer.

    Layer Definition features

    • layer: Assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar to access the save value. It makes copying code to new layers easier. It is also assigned to all upgrades and buyables and such.

    • name: Optional, used in reset confirmations (and maybe other places). If absent, it just uses the layer's id.

    • startData(): A function to return the default save data for this layer. Add any variables you have to it. Any nonstandard Decimal variables need to be added to convertToDecimal as well. Standard values: Required: unlocked: a bool determining if this layer is unlocked or not points: a Decimal, the main currency for the layer Optional: total: A Decimal, tracks total amount of main prestige currency best: A Decimal, tracks highest amount of main prestige currency unlockOrder: used to keep track of relevant layers unlocked before this one.

    • color: A color associated with this layer, used in many places. (A string in hex format with a #)

    • row: The row of the layer, starting at 0. This affects where the node appears on the tree, and which resets affect the layer.

       Using "side" instead of a number will cause the layer to appear off to the side as a smaller node (useful for achievements
        and statistics). Side layers are not affected by resets unless you add a doReset to them.
       
    • resource: Name of the main currency you gain by resetting on this layer.

    • effect(): optional, A function that calculates and returns the current values of any bonuses inherent to the main currency. Can return a value or an object containing multiple values. You will also have to implement the effect where it is applied.

    • effectDescription: optional, A function that returns a description of this effect. If the text stays constant, it can just be a string.

    • layerShown(): A function returning a bool which determines if this layer's node should be visible on the tree. It can also return "ghost", which will hide the layer, but its node will still take up space in the tree.

    • hotkeys: optional, An array containing information on any hotkeys associated with this layer:

      js
      hotkeys: [
           {key: "p", // What the hotkey button is. Use uppercase if it's combined with shift, or "ctrl+x" if ctrl is.
      diff --git a/assets/public_gamedevtree_docs_layer-features.md.6cc59d65.lean.js b/assets/public_gamedevtree_docs_layer-features.md.77f76a11.lean.js
      similarity index 94%
      rename from assets/public_gamedevtree_docs_layer-features.md.6cc59d65.lean.js
      rename to assets/public_gamedevtree_docs_layer-features.md.77f76a11.lean.js
      index 70bb6d49f..54eafbec2 100644
      --- a/assets/public_gamedevtree_docs_layer-features.md.6cc59d65.lean.js
      +++ b/assets/public_gamedevtree_docs_layer-features.md.77f76a11.lean.js
      @@ -1 +1 @@
      -import{_ as e,c as t,o as a,d as s}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/gamedevtree/docs/layer-features.md","lastUpdated":null}'),o={name:"public/gamedevtree/docs/layer-features.md"},n=s("",18),r=[n];function l(i,p,c,u,h,y){return a(),t("div",null,r)}const g=e(o,[["render",l]]);export{f as __pageData,g as default};
      +import{_ as e,c as t,o as a,d as s}from"./app.830f7d24.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/gamedevtree/docs/layer-features.md","lastUpdated":null}'),o={name:"public/gamedevtree/docs/layer-features.md"},n=s("",18),r=[n];function l(i,p,c,u,h,y){return a(),t("div",null,r)}const g=e(o,[["render",l]]);export{f as __pageData,g as default};
      diff --git a/assets/public_gamedevtree_docs_main-mod-info.md.df63d099.js b/assets/public_gamedevtree_docs_main-mod-info.md.3e358a25.js
      similarity index 99%
      rename from assets/public_gamedevtree_docs_main-mod-info.md.df63d099.js
      rename to assets/public_gamedevtree_docs_main-mod-info.md.3e358a25.js
      index 74863dd5b..ce5df039e 100644
      --- a/assets/public_gamedevtree_docs_main-mod-info.md.df63d099.js
      +++ b/assets/public_gamedevtree_docs_main-mod-info.md.3e358a25.js
      @@ -1,4 +1,4 @@
      -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/main-mod-info.md"},o=t(`

      mod.js

      All of the code and data that you're likely to edit is here in mod.js! Everything in mod.js will not be altered by updates, besides the addition of new things.

      Here's a breakdown of what's in it:

      • modInfo is where most of the basic configuration for the mod is. It contains:

        • name: The name of your mod. (a string)
        • id: The id for your mod, a unique string that is used to determine savefile location. Setting it is important!
        • author: The name of the author, displayed in the info tab.
        • pointsName: This changes what is displayed instead of "points" for the main currency. (It does not affect it in the code.)
        • discordName, discordLink: If you have a Discord server or other discussion place, you can add a link to it. "discordName" is the text on the link, and "discordLink" is the url of an invite. If you're using a Discord invite, please make sure it's set to never expire.
        • changelogLink: You can use this to set a link to a page where your changelog for the game is displayed.
        • offlineLimit: The maximum amount of offline time that the player can accumulate, in hours. Any extra time is lost. (a number) This is useful because most of these mods are fast-paced enough that too much offline time ruins the balance, such as the time in between updates. That is why I suggest developers disable offline time on their own savefile.
        • initialStartPoints: A Decimal for the amount of points a new player should start with.
      • VERSION is used to describe the current version of your mod. It contains: num: The mod's version number, displayed at the top right of the tree tab. name: The version's name, displayed alongside the number in the info tab.

      • doNotCallTheseFunctionsEveryTick is very important. TMT calls every function anywhere in "layers" every tick to store the result, unless specifically told not to. Functions that have are used to do an action need to be identified. "Official" functions (those in the documentation) are all fine, but if you make any new ones, add their names to this array.

      js
      // (The ones here are examples, all official functions are already taken care of)
      +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/main-mod-info.md"},o=t(`

      mod.js

      All of the code and data that you're likely to edit is here in mod.js! Everything in mod.js will not be altered by updates, besides the addition of new things.

      Here's a breakdown of what's in it:

      • modInfo is where most of the basic configuration for the mod is. It contains:

        • name: The name of your mod. (a string)
        • id: The id for your mod, a unique string that is used to determine savefile location. Setting it is important!
        • author: The name of the author, displayed in the info tab.
        • pointsName: This changes what is displayed instead of "points" for the main currency. (It does not affect it in the code.)
        • discordName, discordLink: If you have a Discord server or other discussion place, you can add a link to it. "discordName" is the text on the link, and "discordLink" is the url of an invite. If you're using a Discord invite, please make sure it's set to never expire.
        • changelogLink: You can use this to set a link to a page where your changelog for the game is displayed.
        • offlineLimit: The maximum amount of offline time that the player can accumulate, in hours. Any extra time is lost. (a number) This is useful because most of these mods are fast-paced enough that too much offline time ruins the balance, such as the time in between updates. That is why I suggest developers disable offline time on their own savefile.
        • initialStartPoints: A Decimal for the amount of points a new player should start with.
      • VERSION is used to describe the current version of your mod. It contains: num: The mod's version number, displayed at the top right of the tree tab. name: The version's name, displayed alongside the number in the info tab.

      • doNotCallTheseFunctionsEveryTick is very important. TMT calls every function anywhere in "layers" every tick to store the result, unless specifically told not to. Functions that have are used to do an action need to be identified. "Official" functions (those in the documentation) are all fine, but if you make any new ones, add their names to this array.

      js
      // (The ones here are examples, all official functions are already taken care of)
       var doNotCallTheseFunctionsEveryTick = ["doReset", "buy", "onPurchase", "blowUpEverything"]
       
      • getStartPoints(): A function to determine the amount of points the player starts with after a reset. (returns a Decimal value)

      • canGenPoints(): A function returning a boolean for if points should be generated. Use this if you want an upgrade to unlock generating points.

      • getPointGen(): A function that calculates your points per second. Anything that affects your point gain should go into the calculation here.

      • addedPlayerData(): A function that returns any non-layer-related data that you want to be added to the save data and "player" object.

      js
      function addedPlayerData() { return {
       	weather: "Yes",
      diff --git a/assets/public_gamedevtree_docs_main-mod-info.md.df63d099.lean.js b/assets/public_gamedevtree_docs_main-mod-info.md.3e358a25.lean.js
      similarity index 84%
      rename from assets/public_gamedevtree_docs_main-mod-info.md.df63d099.lean.js
      rename to assets/public_gamedevtree_docs_main-mod-info.md.3e358a25.lean.js
      index 7690d45e4..3fdaf8562 100644
      --- a/assets/public_gamedevtree_docs_main-mod-info.md.df63d099.lean.js
      +++ b/assets/public_gamedevtree_docs_main-mod-info.md.3e358a25.lean.js
      @@ -1 +1 @@
      -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/main-mod-info.md"},o=t("",10),l=[o];function i(p,r,c,u,d,h){return a(),s("div",null,l)}const m=e(n,[["render",i]]);export{f as __pageData,m as default};
      +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/main-mod-info.md"},o=t("",10),l=[o];function i(p,r,c,u,d,h){return a(),s("div",null,l)}const m=e(n,[["render",i]]);export{f as __pageData,m as default};
      diff --git a/assets/public_gamedevtree_docs_milestones.md.1c4f21e9.js b/assets/public_gamedevtree_docs_milestones.md.be6a9ab0.js
      similarity index 98%
      rename from assets/public_gamedevtree_docs_milestones.md.1c4f21e9.js
      rename to assets/public_gamedevtree_docs_milestones.md.be6a9ab0.js
      index 488563d73..cf103a378 100644
      --- a/assets/public_gamedevtree_docs_milestones.md.1c4f21e9.js
      +++ b/assets/public_gamedevtree_docs_milestones.md.be6a9ab0.js
      @@ -1,4 +1,4 @@
      -import{_ as e,c as s,o as t,d as n}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/milestones.md","lastUpdated":null}'),a={name:"public/gamedevtree/docs/milestones.md"},o=n(`

      Milestones

      Milestones are awarded to the player when they meet a certain goal, and give some benefit. Milestones should be formatted like this:

      js
          milestones: {
      +import{_ as e,c as s,o as t,d as n}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/milestones.md","lastUpdated":null}'),a={name:"public/gamedevtree/docs/milestones.md"},o=n(`

      Milestones

      Milestones are awarded to the player when they meet a certain goal, and give some benefit. Milestones should be formatted like this:

      js
          milestones: {
               0: {
                   requirementDesc: "123 waffles",
               }
      diff --git a/assets/public_gamedevtree_docs_milestones.md.1c4f21e9.lean.js b/assets/public_gamedevtree_docs_milestones.md.be6a9ab0.lean.js
      similarity index 84%
      rename from assets/public_gamedevtree_docs_milestones.md.1c4f21e9.lean.js
      rename to assets/public_gamedevtree_docs_milestones.md.be6a9ab0.lean.js
      index 6cd9b5c3e..1c9c217ca 100644
      --- a/assets/public_gamedevtree_docs_milestones.md.1c4f21e9.lean.js
      +++ b/assets/public_gamedevtree_docs_milestones.md.be6a9ab0.lean.js
      @@ -1 +1 @@
      -import{_ as e,c as s,o as t,d as n}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/milestones.md","lastUpdated":null}'),a={name:"public/gamedevtree/docs/milestones.md"},o=n("",6),l=[o];function i(r,p,c,h,d,u){return t(),s("div",null,l)}const y=e(a,[["render",i]]);export{m as __pageData,y as default};
      +import{_ as e,c as s,o as t,d as n}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/milestones.md","lastUpdated":null}'),a={name:"public/gamedevtree/docs/milestones.md"},o=n("",6),l=[o];function i(r,p,c,h,d,u){return t(),s("div",null,l)}const y=e(a,[["render",i]]);export{m as __pageData,y as default};
      diff --git a/assets/public_gamedevtree_docs_subtabs-and-microtabs.md.f3edf9fd.js b/assets/public_gamedevtree_docs_subtabs-and-microtabs.md.c1a317e6.js
      similarity index 98%
      rename from assets/public_gamedevtree_docs_subtabs-and-microtabs.md.f3edf9fd.js
      rename to assets/public_gamedevtree_docs_subtabs-and-microtabs.md.c1a317e6.js
      index a45d7e6c2..7b6b165ed 100644
      --- a/assets/public_gamedevtree_docs_subtabs-and-microtabs.md.f3edf9fd.js
      +++ b/assets/public_gamedevtree_docs_subtabs-and-microtabs.md.c1a317e6.js
      @@ -1,4 +1,4 @@
      -import{_ as s,c as a,o as n,d as t}from"./app.c95a51e0.js";const D=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/subtabs-and-microtabs.md","lastUpdated":null}'),e={name:"public/gamedevtree/docs/subtabs-and-microtabs.md"},o=t(`

      Subtabs and Microtabs

      Subtabs are separate sections of a tab that you can view by selecting one at the top of the tab. Microtabs are smaller areas that function in much the same way.

      Subtabs are defined by using the tab format like this, where each element of tabFormat is given the name of that subtab:

      js
          tabFormat: {
      +import{_ as s,c as a,o as n,d as t}from"./app.830f7d24.js";const D=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/subtabs-and-microtabs.md","lastUpdated":null}'),e={name:"public/gamedevtree/docs/subtabs-and-microtabs.md"},o=t(`

      Subtabs and Microtabs

      Subtabs are separate sections of a tab that you can view by selecting one at the top of the tab. Microtabs are smaller areas that function in much the same way.

      Subtabs are defined by using the tab format like this, where each element of tabFormat is given the name of that subtab:

      js
          tabFormat: {
               "Main tab": {
                   *subtab features*
               },
      diff --git a/assets/public_gamedevtree_docs_subtabs-and-microtabs.md.f3edf9fd.lean.js b/assets/public_gamedevtree_docs_subtabs-and-microtabs.md.c1a317e6.lean.js
      similarity index 85%
      rename from assets/public_gamedevtree_docs_subtabs-and-microtabs.md.f3edf9fd.lean.js
      rename to assets/public_gamedevtree_docs_subtabs-and-microtabs.md.c1a317e6.lean.js
      index eaa62bbce..53f48f6ff 100644
      --- a/assets/public_gamedevtree_docs_subtabs-and-microtabs.md.f3edf9fd.lean.js
      +++ b/assets/public_gamedevtree_docs_subtabs-and-microtabs.md.c1a317e6.lean.js
      @@ -1 +1 @@
      -import{_ as s,c as a,o as n,d as t}from"./app.c95a51e0.js";const D=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/subtabs-and-microtabs.md","lastUpdated":null}'),e={name:"public/gamedevtree/docs/subtabs-and-microtabs.md"},o=t("",9),l=[o];function p(c,r,i,F,u,y){return n(),a("div",null,l)}const h=s(e,[["render",p]]);export{D as __pageData,h as default};
      +import{_ as s,c as a,o as n,d as t}from"./app.830f7d24.js";const D=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/subtabs-and-microtabs.md","lastUpdated":null}'),e={name:"public/gamedevtree/docs/subtabs-and-microtabs.md"},o=t("",9),l=[o];function p(c,r,i,F,u,y){return n(),a("div",null,l)}const h=s(e,[["render",p]]);export{D as __pageData,h as default};
      diff --git a/assets/public_gamedevtree_docs_updating-tmt.md.c236d30e.js b/assets/public_gamedevtree_docs_updating-tmt.md.90ea8414.js
      similarity index 96%
      rename from assets/public_gamedevtree_docs_updating-tmt.md.c236d30e.js
      rename to assets/public_gamedevtree_docs_updating-tmt.md.90ea8414.js
      index b629534ab..49160d1e5 100644
      --- a/assets/public_gamedevtree_docs_updating-tmt.md.c236d30e.js
      +++ b/assets/public_gamedevtree_docs_updating-tmt.md.90ea8414.js
      @@ -1 +1 @@
      -import{_ as e,c as t,o as a,d as o}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/gamedevtree/docs/updating-tmt.md"},n=o('

      Updating The Modding Tree

      This tutorial assumes that you have used the Getting Started Tutorial, and are using Github Desktop and VSCode for your mod.

      Here's what you have to do when there's a TMT update:

      1. Look at the changelog. It will warn you if the update will break anything or require any changes. Decide if you want to try to update.

      2. Open Github Desktop, and at the top middle, click "fetch origin". This will make Github Desktop get information about the update.

      3. Click where it says "current branch: master" at the top middle, and at the bottom of the thing that appears, click "choose a branch to merge into master.

      4. Select upstream/master. It will likely say there are conflicts, but you have tools to resolve them. Click "Merge upstream/master into master".

      5. A conflict happens when the things you're trying to merge have both made changes in the same place. Click "open in Visual Studio Code" next to the first file.

      6. Scroll down through the file, and look for the parts highlighted in red and green. One of these is your code, and the other is some code that will be modified by the update. Do your best to try to edit things to keep the updated changes, but keep your content.

      7. Continue to do this for all remaining challenges.

      8. Do any other changes required by the update, run the game, fix issues, etc.

      ',4),r=[n];function d(h,s,l,p,u,c){return a(),t("div",null,r)}const _=e(i,[["render",d]]);export{m as __pageData,_ as default}; +import{_ as e,c as t,o as a,d as o}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/gamedevtree/docs/updating-tmt.md"},n=o('

      Updating The Modding Tree

      This tutorial assumes that you have used the Getting Started Tutorial, and are using Github Desktop and VSCode for your mod.

      Here's what you have to do when there's a TMT update:

      1. Look at the changelog. It will warn you if the update will break anything or require any changes. Decide if you want to try to update.

      2. Open Github Desktop, and at the top middle, click "fetch origin". This will make Github Desktop get information about the update.

      3. Click where it says "current branch: master" at the top middle, and at the bottom of the thing that appears, click "choose a branch to merge into master.

      4. Select upstream/master. It will likely say there are conflicts, but you have tools to resolve them. Click "Merge upstream/master into master".

      5. A conflict happens when the things you're trying to merge have both made changes in the same place. Click "open in Visual Studio Code" next to the first file.

      6. Scroll down through the file, and look for the parts highlighted in red and green. One of these is your code, and the other is some code that will be modified by the update. Do your best to try to edit things to keep the updated changes, but keep your content.

      7. Continue to do this for all remaining challenges.

      8. Do any other changes required by the update, run the game, fix issues, etc.

      ',4),r=[n];function d(h,s,l,p,u,c){return a(),t("div",null,r)}const _=e(i,[["render",d]]);export{m as __pageData,_ as default}; diff --git a/assets/public_gamedevtree_docs_updating-tmt.md.c236d30e.lean.js b/assets/public_gamedevtree_docs_updating-tmt.md.90ea8414.lean.js similarity index 84% rename from assets/public_gamedevtree_docs_updating-tmt.md.c236d30e.lean.js rename to assets/public_gamedevtree_docs_updating-tmt.md.90ea8414.lean.js index 2cb44ad11..59b7802ef 100644 --- a/assets/public_gamedevtree_docs_updating-tmt.md.c236d30e.lean.js +++ b/assets/public_gamedevtree_docs_updating-tmt.md.90ea8414.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,d as o}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/gamedevtree/docs/updating-tmt.md"},n=o("",4),r=[n];function d(h,s,l,p,u,c){return a(),t("div",null,r)}const _=e(i,[["render",d]]);export{m as __pageData,_ as default}; +import{_ as e,c as t,o as a,d as o}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/gamedevtree/docs/updating-tmt.md"},n=o("",4),r=[n];function d(h,s,l,p,u,c){return a(),t("div",null,r)}const _=e(i,[["render",d]]);export{m as __pageData,_ as default}; diff --git a/assets/public_gamedevtree_docs_upgrades.md.db56e31b.js b/assets/public_gamedevtree_docs_upgrades.md.476f8ded.js similarity index 98% rename from assets/public_gamedevtree_docs_upgrades.md.db56e31b.js rename to assets/public_gamedevtree_docs_upgrades.md.476f8ded.js index bd390988d..02a2daa31 100644 --- a/assets/public_gamedevtree_docs_upgrades.md.db56e31b.js +++ b/assets/public_gamedevtree_docs_upgrades.md.476f8ded.js @@ -1,4 +1,4 @@ -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/upgrades.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/upgrades.md"},o=t(`

      Upgrades

      Useful functions for dealing with Upgrades and implementing their effects:

      • hasUpgrade(layer, id): determine if the player has the upgrade
      • upgradeEffect(layer, id): Returns the current effects of the upgrade, if any
      • buyUpgrade(layer, id): Buys an upgrade directly (if affordable)

      Hint: Basic point gain is calculated in mod.js's "getPointGen".

      Upgrades are stored in the following format:

      js
          upgrades: {
      +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/upgrades.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/upgrades.md"},o=t(`

      Upgrades

      Useful functions for dealing with Upgrades and implementing their effects:

      • hasUpgrade(layer, id): determine if the player has the upgrade
      • upgradeEffect(layer, id): Returns the current effects of the upgrade, if any
      • buyUpgrade(layer, id): Buys an upgrade directly (if affordable)

      Hint: Basic point gain is calculated in mod.js's "getPointGen".

      Upgrades are stored in the following format:

      js
          upgrades: {
               rows: # of rows
               cols: # of columns
               11: {
      diff --git a/assets/public_gamedevtree_docs_upgrades.md.db56e31b.lean.js b/assets/public_gamedevtree_docs_upgrades.md.476f8ded.lean.js
      similarity index 84%
      rename from assets/public_gamedevtree_docs_upgrades.md.db56e31b.lean.js
      rename to assets/public_gamedevtree_docs_upgrades.md.476f8ded.lean.js
      index 74eaf1d99..eb620049d 100644
      --- a/assets/public_gamedevtree_docs_upgrades.md.db56e31b.lean.js
      +++ b/assets/public_gamedevtree_docs_upgrades.md.476f8ded.lean.js
      @@ -1 +1 @@
      -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/upgrades.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/upgrades.md"},o=t("",10),l=[o];function r(p,i,c,u,d,h){return a(),s("div",null,l)}const f=e(n,[["render",r]]);export{g as __pageData,f as default};
      +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/upgrades.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/upgrades.md"},o=t("",10),l=[o];function r(p,i,c,u,d,h){return a(),s("div",null,l)}const f=e(n,[["render",r]]);export{g as __pageData,f as default};
      diff --git a/assets/public_kronos_Old Things_2.0-format-changes.md.ac36228e.js b/assets/public_kronos_Old Things_2.0-format-changes.md.3c8d644e.js
      similarity index 96%
      rename from assets/public_kronos_Old Things_2.0-format-changes.md.ac36228e.js
      rename to assets/public_kronos_Old Things_2.0-format-changes.md.3c8d644e.js
      index 3bad7bf4a..6d65bf52e 100644
      --- a/assets/public_kronos_Old Things_2.0-format-changes.md.ac36228e.js	
      +++ b/assets/public_kronos_Old Things_2.0-format-changes.md.3c8d644e.js	
      @@ -1 +1 @@
      -import{_ as e,c as a,o as t,d as n}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/Old Things/2.0-format-changes.md","lastUpdated":null}'),i={name:"public/kronos/Old Things/2.0-format-changes.md"},o=n('

      2.0 format changes

      • Temp format is changed from temp.something[layer] to temp[layer].something, for consistency
      • Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
      • effectDisplay in Challenges and Upgrades no longer takes an argument, and neither does effect for Buyables
      • Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
      • Generation of Points now happens in the main game loop (not in a layer update function), enabled by canGenPoints in game.js.
      • Changed fullLayerReset to layerDataReset, which takes an array of names of values to keep

      In addition, many names were changed, mostly expanding abbreviations:

      All instances of:

      • chall -> challenge
      • unl -> unlocked
      • upg -> upgrade (besides CSS)
      • amt -> amount
      • desc -> description
      • resCeil -> roundUpCost
      • order -> unlockOrder
      • incr_order -> increaseUnlockOrder

      Challenges:

      • desc -> challengeDescription
      • reward -> rewardDescription
      • effect -> rewardEffect
      • effectDisplay -> rewardDisplay
      • active -> challengeActive
      ',7),l=[o];function s(r,c,d,h,g,p){return t(),a("div",null,l)}const m=e(i,[["render",s]]);export{u as __pageData,m as default}; +import{_ as e,c as a,o as t,d as n}from"./app.830f7d24.js";const u=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/Old Things/2.0-format-changes.md","lastUpdated":null}'),i={name:"public/kronos/Old Things/2.0-format-changes.md"},o=n('

      2.0 format changes

      • Temp format is changed from temp.something[layer] to temp[layer].something, for consistency
      • Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
      • effectDisplay in Challenges and Upgrades no longer takes an argument, and neither does effect for Buyables
      • Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
      • Generation of Points now happens in the main game loop (not in a layer update function), enabled by canGenPoints in game.js.
      • Changed fullLayerReset to layerDataReset, which takes an array of names of values to keep

      In addition, many names were changed, mostly expanding abbreviations:

      All instances of:

      • chall -> challenge
      • unl -> unlocked
      • upg -> upgrade (besides CSS)
      • amt -> amount
      • desc -> description
      • resCeil -> roundUpCost
      • order -> unlockOrder
      • incr_order -> increaseUnlockOrder

      Challenges:

      • desc -> challengeDescription
      • reward -> rewardDescription
      • effect -> rewardEffect
      • effectDisplay -> rewardDisplay
      • active -> challengeActive
      ',7),l=[o];function s(r,c,d,h,g,p){return t(),a("div",null,l)}const m=e(i,[["render",s]]);export{u as __pageData,m as default}; diff --git a/assets/public_kronos_Old Things_2.0-format-changes.md.ac36228e.lean.js b/assets/public_kronos_Old Things_2.0-format-changes.md.3c8d644e.lean.js similarity index 85% rename from assets/public_kronos_Old Things_2.0-format-changes.md.ac36228e.lean.js rename to assets/public_kronos_Old Things_2.0-format-changes.md.3c8d644e.lean.js index 98acf766f..4596a22f0 100644 --- a/assets/public_kronos_Old Things_2.0-format-changes.md.ac36228e.lean.js +++ b/assets/public_kronos_Old Things_2.0-format-changes.md.3c8d644e.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as n}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/Old Things/2.0-format-changes.md","lastUpdated":null}'),i={name:"public/kronos/Old Things/2.0-format-changes.md"},o=n("",7),l=[o];function s(r,c,d,h,g,p){return t(),a("div",null,l)}const m=e(i,[["render",s]]);export{u as __pageData,m as default}; +import{_ as e,c as a,o as t,d as n}from"./app.830f7d24.js";const u=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/Old Things/2.0-format-changes.md","lastUpdated":null}'),i={name:"public/kronos/Old Things/2.0-format-changes.md"},o=n("",7),l=[o];function s(r,c,d,h,g,p){return t(),a("div",null,l)}const m=e(i,[["render",s]]);export{u as __pageData,m as default}; diff --git a/assets/public_kronos_README.md.4583e09d.js b/assets/public_kronos_README.md.1363fb63.js similarity index 91% rename from assets/public_kronos_README.md.4583e09d.js rename to assets/public_kronos_README.md.1363fb63.js index bc09b7b3d..260b4b731 100644 --- a/assets/public_kronos_README.md.4583e09d.js +++ b/assets/public_kronos_README.md.1363fb63.js @@ -1 +1 @@ -import{_ as e,c as o,o as t,d as r}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Kronos","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/README.md","lastUpdated":null}'),a={name:"public/kronos/README.md"},s=r('

      Kronos

      Play here.

      Updating the website:

      • git submodule update --remote
      • git add -A
      • git commit -m "Updated kronos"
      • git push
      ',4),d=[s];function i(n,c,l,_,p,h){return t(),o("div",null,d)}const f=e(a,[["render",i]]);export{m as __pageData,f as default}; +import{_ as e,c as o,o as t,d as r}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Kronos","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/README.md","lastUpdated":null}'),a={name:"public/kronos/README.md"},s=r('

      Kronos

      Play here.

      Updating the website:

      • git submodule update --remote
      • git add -A
      • git commit -m "Updated kronos"
      • git push
      ',4),d=[s];function i(n,c,l,_,p,h){return t(),o("div",null,d)}const f=e(a,[["render",i]]);export{m as __pageData,f as default}; diff --git a/assets/public_kronos_README.md.4583e09d.lean.js b/assets/public_kronos_README.md.1363fb63.lean.js similarity index 82% rename from assets/public_kronos_README.md.4583e09d.lean.js rename to assets/public_kronos_README.md.1363fb63.lean.js index fddbe40a8..6ab00a0dd 100644 --- a/assets/public_kronos_README.md.4583e09d.lean.js +++ b/assets/public_kronos_README.md.1363fb63.lean.js @@ -1 +1 @@ -import{_ as e,c as o,o as t,d as r}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Kronos","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/README.md","lastUpdated":null}'),a={name:"public/kronos/README.md"},s=r("",4),d=[s];function i(n,c,l,_,p,h){return t(),o("div",null,d)}const f=e(a,[["render",i]]);export{m as __pageData,f as default}; +import{_ as e,c as o,o as t,d as r}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Kronos","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/README.md","lastUpdated":null}'),a={name:"public/kronos/README.md"},s=r("",4),d=[s];function i(n,c,l,_,p,h){return t(),o("div",null,d)}const f=e(a,[["render",i]]);export{m as __pageData,f as default}; diff --git a/assets/public_kronos_changelog.md.f4e479b5.js b/assets/public_kronos_changelog.md.d41b9d1c.js similarity index 99% rename from assets/public_kronos_changelog.md.f4e479b5.js rename to assets/public_kronos_changelog.md.d41b9d1c.js index 44c6990ef..f60f89f96 100644 --- a/assets/public_kronos_changelog.md.f4e479b5.js +++ b/assets/public_kronos_changelog.md.d41b9d1c.js @@ -1 +1 @@ -import{_ as e,c as i,o as l,d as a}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"The Modding Tree changelog:","description":"","frontmatter":{},"headers":[{"level":3,"title":"v2.5.9.2 - 5/19/21","slug":"v2-5-9-2-5-19-21","link":"#v2-5-9-2-5-19-21","children":[]},{"level":3,"title":"v2.5.9.1 - 5/18/21","slug":"v2-5-9-1-5-18-21","link":"#v2-5-9-1-5-18-21","children":[]},{"level":3,"title":"v2.5.9 - 5/18/21","slug":"v2-5-9-5-18-21","link":"#v2-5-9-5-18-21","children":[]},{"level":3,"title":"v2.5.8 - 5/17/21","slug":"v2-5-8-5-17-21","link":"#v2-5-8-5-17-21","children":[]},{"level":3,"title":"v2.5.7 - 5/15/21","slug":"v2-5-7-5-15-21","link":"#v2-5-7-5-15-21","children":[]},{"level":3,"title":"v2.5.6 - 5/14/21","slug":"v2-5-6-5-14-21","link":"#v2-5-6-5-14-21","children":[]},{"level":3,"title":"v2.5.5.2 - 5/12/21","slug":"v2-5-5-2-5-12-21","link":"#v2-5-5-2-5-12-21","children":[]},{"level":3,"title":"v2.5.5.1 - 5/12/21","slug":"v2-5-5-1-5-12-21","link":"#v2-5-5-1-5-12-21","children":[]},{"level":3,"title":"v2.5.5 - 5/12/21","slug":"v2-5-5-5-12-21","link":"#v2-5-5-5-12-21","children":[]},{"level":3,"title":"v2.5.4 - 5/10/21","slug":"v2-5-4-5-10-21","link":"#v2-5-4-5-10-21","children":[]},{"level":3,"title":"v2.5.3 - 5/8/21","slug":"v2-5-3-5-8-21","link":"#v2-5-3-5-8-21","children":[]},{"level":3,"title":"v2.5.2.1 - 5/7/21","slug":"v2-5-2-1-5-7-21","link":"#v2-5-2-1-5-7-21","children":[]},{"level":3,"title":"v2.5.2 - 5/7/21","slug":"v2-5-2-5-7-21","link":"#v2-5-2-5-7-21","children":[]},{"level":3,"title":"v2.5.1 - 5/7/21","slug":"v2-5-1-5-7-21","link":"#v2-5-1-5-7-21","children":[]},{"level":2,"title":"v2.5: Dreams Really Do Come True - 5/7/21","slug":"v2-5-dreams-really-do-come-true-5-7-21","link":"#v2-5-dreams-really-do-come-true-5-7-21","children":[{"level":3,"title":"v2.4.1 - 4/29/21","slug":"v2-4-1-4-29-21","link":"#v2-4-1-4-29-21","children":[]}]},{"level":2,"title":"v2.4: Rationalized Edition - 4/29/21","slug":"v2-4-rationalized-edition-4-29-21","link":"#v2-4-rationalized-edition-4-29-21","children":[{"level":3,"title":"v2.\u03C0.1 - 4/7/21","slug":"v2-\u03C0-1-4-7-21","link":"#v2-\u03C0-1-4-7-21","children":[]}]},{"level":2,"title":"v2.\u03C0: Incrementally Updated - 2/5/21","slug":"v2-\u03C0-incrementally-updated-2-5-21","link":"#v2-\u03C0-incrementally-updated-2-5-21","children":[{"level":3,"title":"v2.3.5 - 12/21/20","slug":"v2-3-5-12-21-20","link":"#v2-3-5-12-21-20","children":[]},{"level":3,"title":"v2.3.4 - 12/16/20","slug":"v2-3-4-12-16-20","link":"#v2-3-4-12-16-20","children":[]},{"level":3,"title":"v2.3.3 - 12/13/20","slug":"v2-3-3-12-13-20","link":"#v2-3-3-12-13-20","children":[]},{"level":3,"title":"v2.3.2 - 12/13/20","slug":"v2-3-2-12-13-20","link":"#v2-3-2-12-13-20","children":[]},{"level":3,"title":"v2.3.1 - 12/12/20","slug":"v2-3-1-12-12-20","link":"#v2-3-1-12-12-20","children":[]}]},{"level":2,"title":"v2.3: Cooler and Newer Edition - 12/10/20","slug":"v2-3-cooler-and-newer-edition-12-10-20","link":"#v2-3-cooler-and-newer-edition-12-10-20","children":[{"level":3,"title":"v2.2.8 - 12/03/20","slug":"v2-2-8-12-03-20","link":"#v2-2-8-12-03-20","children":[]},{"level":3,"title":"v2.2.7 - 11/30/20","slug":"v2-2-7-11-30-20","link":"#v2-2-7-11-30-20","children":[]},{"level":3,"title":"v2.2.6 - 11/30/20","slug":"v2-2-6-11-30-20","link":"#v2-2-6-11-30-20","children":[]},{"level":3,"title":"v2.2.5 - 11/29/20","slug":"v2-2-5-11-29-20","link":"#v2-2-5-11-29-20","children":[]},{"level":3,"title":"v2.2.4 - 11/28/20","slug":"v2-2-4-11-28-20","link":"#v2-2-4-11-28-20","children":[]},{"level":3,"title":"v2.2.3 - 11/28/20","slug":"v2-2-3-11-28-20","link":"#v2-2-3-11-28-20","children":[]},{"level":3,"title":"v2.2.2 - 11/22/20","slug":"v2-2-2-11-22-20","link":"#v2-2-2-11-22-20","children":[]},{"level":3,"title":"v2.2.1 - 11/7/20","slug":"v2-2-1-11-7-20","link":"#v2-2-1-11-7-20","children":[]}]},{"level":2,"title":"v2.2: Uprooted - 11/7/20","slug":"v2-2-uprooted-11-7-20","link":"#v2-2-uprooted-11-7-20","children":[{"level":3,"title":"v2.1.4 - 10/25/20","slug":"v2-1-4-10-25-20","link":"#v2-1-4-10-25-20","children":[]},{"level":3,"title":"v2.1.3.1 - 10/21/20","slug":"v2-1-3-1-10-21-20","link":"#v2-1-3-1-10-21-20","children":[]},{"level":3,"title":"v2.1.3 - 10/21/20","slug":"v2-1-3-10-21-20","link":"#v2-1-3-10-21-20","children":[]},{"level":3,"title":"v2.1.2 - 10/19/20","slug":"v2-1-2-10-19-20","link":"#v2-1-2-10-19-20","children":[]},{"level":3,"title":"v2.1.1 - 10/17/20","slug":"v2-1-1-10-17-20","link":"#v2-1-1-10-17-20","children":[]}]},{"level":2,"title":"v2.1: We should have thought of this sooner! - 10/17/20","slug":"v2-1-we-should-have-thought-of-this-sooner-10-17-20","link":"#v2-1-we-should-have-thought-of-this-sooner-10-17-20","children":[{"level":3,"title":"v2.0.5 - 10/16/20","slug":"v2-0-5-10-16-20","link":"#v2-0-5-10-16-20","children":[]},{"level":3,"title":"v2.0.4 - 10/16/20","slug":"v2-0-4-10-16-20","link":"#v2-0-4-10-16-20","children":[]},{"level":3,"title":"v2.0.3 - 10/16/20","slug":"v2-0-3-10-16-20","link":"#v2-0-3-10-16-20","children":[]},{"level":3,"title":"v2.0.2 - 10/15/20","slug":"v2-0-2-10-15-20","link":"#v2-0-2-10-15-20","children":[]},{"level":3,"title":"v2.0.1 - 10/15/20","slug":"v2-0-1-10-15-20","link":"#v2-0-1-10-15-20","children":[]}]},{"level":2,"title":"v2.0: The Pinnacle of Achievement Mountain - 10/15/20","slug":"v2-0-the-pinnacle-of-achievement-mountain-10-15-20","link":"#v2-0-the-pinnacle-of-achievement-mountain-10-15-20","children":[{"level":3,"title":"v1.3.5:","slug":"v1-3-5","link":"#v1-3-5","children":[]},{"level":3,"title":"v1.3.4 - 10/8/20","slug":"v1-3-4-10-8-20","link":"#v1-3-4-10-8-20","children":[]},{"level":3,"title":"v1.3.3 - 10/7/20","slug":"v1-3-3-10-7-20","link":"#v1-3-3-10-7-20","children":[]},{"level":3,"title":"v1.3.1 - 10/7/20","slug":"v1-3-1-10-7-20","link":"#v1-3-1-10-7-20","children":[]}]},{"level":2,"title":"v1.3: Tabception... ception! - 10/7/20","slug":"v1-3-tabception-ception-10-7-20","link":"#v1-3-tabception-ception-10-7-20","children":[{"level":3,"title":"v1.2.4 - 10/4/20","slug":"v1-2-4-10-4-20","link":"#v1-2-4-10-4-20","children":[]},{"level":3,"title":"v1.2.3 - 10/3/20","slug":"v1-2-3-10-3-20","link":"#v1-2-3-10-3-20","children":[]}]},{"level":2,"title":"v1.2: This Changes Everything! - 10/3/20","slug":"v1-2-this-changes-everything-10-3-20","link":"#v1-2-this-changes-everything-10-3-20","children":[{"level":3,"title":"v1.1.1 - 9/30/20","slug":"v1-1-1-9-30-20","link":"#v1-1-1-9-30-20","children":[]}]},{"level":2,"title":"v1.1: Enhanced Edition - 9/30/20","slug":"v1-1-enhanced-edition-9-30-20","link":"#v1-1-enhanced-edition-9-30-20","children":[]},{"level":2,"title":"v1.0 - 9/27/20","slug":"v1-0-9-27-20","link":"#v1-0-9-27-20","children":[]}],"relativePath":"public/kronos/changelog.md","lastUpdated":null}'),t={name:"public/kronos/changelog.md"},n=a('

      The Modding Tree changelog:

      v2.5.9.2 - 5/19/21

      • Fixed many issues with things not updating.

      v2.5.9.1 - 5/18/21

      • Made text inputs never give NaNs.

      v2.5.9 - 5/18/21

      • Fixed issue when using text inputs for Numbers.
      • Added particle color feature.
      • Particle speed and dir are updated as it moves.
      • Added setSpeed and setDir for particles.
      • Added more trig functions.

      v2.5.8 - 5/17/21

      • Added makeShinies, which creates a stationary particle in a random spot.
      • Bars will visually update more quickly.
      • Fixed a major particle-related issue.
      • Fixed autoUpgrade.
      • Fixed a minor visual issue with tree nodes.

      v2.5.7 - 5/15/21

      • Added a particle system! Not only can it be used for visual effects, but particles can interact with the mouse. They could be used to create golden cookies or collectables, for example.
      • Added marked feature to buyables, clickables, and challenges. By default, stars multi-completion challenges when maxed.
      • Added 'deactivated' feature to layers, which disables many features.
      • Improved number formatting slightly.

      v2.5.6 - 5/14/21

      • You can now use non-numeric ids for upgrades, buyables, etc.
      • Fixed an exploit that let you buy an extra buyable.
      • Moved basic getter/setter functions to easyAccess.js.

      v2.5.5.2 - 5/12/21

      • Fixed a major issue with buyables.
      • Fixed a variety of tabFormat-related issues.
      • Fixed commas appearing in decimal places (thanks to pg132!)

      v2.5.5.1 - 5/12/21

      • Fixed clickables.

      v2.5.5 - 5/12/21

      • Added grids! They are a grid of buttons which behave the same, but have their own data. Good for inventory grids, map tiles, and more!
      • Added "marked" feature to add a mark to a node. Can be an image instead of a star. (Originally by Jacorb)
      • Added "layer-proxy" component that lets you use components from another layer.
      • Added the ability to display non-whole numbers in main-display.

      v2.5.4 - 5/10/21

      • Added a setting to always use single-tab mode.
      • Added directMult, which multiplies prestige gain after exponents and softcaps. It actually multiplies gain for static layers.
      • Added onEnter and onExit for challenges.
      • Improved displaying numbers between 0.0001 and 0.1.
      • Added documentation on how gainMult/Exp work for static layers.
      • Fixed a visual issue on mobile, thanks to thepaperpilot.
      • Improved documentation in general.

      v2.5.3 - 5/8/21

      • Improved performance of tab formats and bars.
      • Respec confirmation settings are now kept on resets.
      • Improved compatibility with older browsers.
      • Fixed missing pixel on vertical bars.

      v2.5.2.1 - 5/7/21

      • Fixed microtabs making layers highlight incorrectly.

      v2.5.2 - 5/7/21

      • Added glowColor for subtabs.
      • Improved the display for extremely small numbers.
      • Fixed issues in the buyable docs.

      v2.5.1 - 5/7/21

      • Fixed dynamic things in tabFormat not updating.

      v2.5: Dreams Really Do Come True - 5/7/21

      • Optimizations, hopefully a significant amount.
      • Added OOM/s point gen display at high values (thanks to Ducdat!)
      • Only one tab will display if the window is not wide enough (also thanks to Ducdat!)
      • Holding down a buyable's button now buys it continuously.
      • New milestone setting will also show the most recently unlocked milestone. (Also renamed all settings to be clearer)
      • Added an onHold feature for clickables.
      • Layer nodes will be highlighted even if the player is on the same tab.
      • Added customizable node glowColor.
      • Added buyable purchaseLimit.
      • Amount is automatically supplied to buyable cost and effect functions.
      • Locked (not yet visible) milestones no longer take up space. Also fixed hidden milestones taking a tiny bit of space.
      • Re-centered respec buttons.
      • Force-displayed tooltips are not hidden by resets.
      • Added formatting support for very small numbers. Disabled in most places by default because rounding errors might cause issues. Access it with formatSmall, or enable it globally by adding "allowSmall: true" to modInfo.

      v2.4.1 - 4/29/21

      • A number of minor fixes, many thanks to thepaperpilot.
      • The respec confirmation checkbox is now part of the respec-button component. (This also fixes the checkbox appearing when there is no respec button)
      • Added a few undocumented changes to the 2.4 changelog (the two at the bottom)

      v2.4: Rationalized Edition - 4/29/21

      • Completely reworked tooltips. Shift-click a node to force its tooltip to stay displayed. (And hopefully finally fixed flickering!)

      • Added text-input and slider components.

      • Added the ability to toggle respec confirmations.

      • Added custom respec confirmation messages.

      • The red layer highlight will not appear before a layer is unlocked.

      • Added unlocking hotkeys.

      • You no longer need to supply 'rows' and 'cols' for any Big Features.

      • Node symbols can use HTML.

      • Added documentation for the respec button.

      • Added prestigeNotify to subtabs, and prestigeNotify in subtabs also highlights the layer node.

      • The version number no longer contains special characters or irrational numbers.

      • Added ctrlDown and shiftDown variables.

      • Tooltips now use HTML (this means you need to replace any newlines with
        )

      v2.\u03C0.1 - 4/7/21

      • Fixed formatting for some larger numbers.
      • Upgrades will expand if there is too much text to display.
      • Fixed styling challenges.
      • No longer attempts to display a base currency when there is none.

      v2.\u03C0: Incrementally Updated - 2/5/21

      • Performance improvements.
      • Fixed tooltips overlapping with the top display.
      • Clicking a popup dismisses it immediately.
      • Added support for bulk challenge completions.
      • "Best" is updated automatically.
      • Fixed keeping Decimal values on reset.
      • Code reorganization and style improvements by fudo.

      v2.3.5 - 12/21/20

      • Added resetTime, which tracks the time since a layer prestiged or was reset.
      • A layer node will be highlighted red if one of its subtabs is highlighted red.
      • Fixed issues with keeping challenges, buyables, and clickables on reset.
      • Improved the unlocking of custom layers.
      • Other minor fixes.

      v2.3.4 - 12/16/20

      • Added a node image feature.
      • Resource display now always shows the amount of the currency the layer's gain is based on.
      • Added spacing between tree nodes.
      • Another attempt to fix tooltip flickering.

      v2.3.3 - 12/13/20

      • Fixed the first node in a row always taking up space.
      • layerShown is now optional.
      • All prestige types can now use features for custom prestige types.

      v2.3.2 - 12/13/20

      • Fixed achievement/milestone popups.

      v2.3.1 - 12/12/20

      • Another attempt to fix flickering tooltips.
      • The "this" keyword should work everywhere except tabFormat arrays (although I may have missed some things).
      • Fixed tree branches not updating when scrolling on the right-side tab.
      • Fixed a spacing issue when a node's symbol is ""
      • Removed some old, unneeded files.

      v2.3: Cooler and Newer Edition - 12/10/20

      • Added achievement/milestone popups (thank you to Jacorb for this contribution!)
      • The changelog tab is back, and can be set in mod.js.
      • Layer nodes and respec buttons will not be clicked by pressing "enter".
      • Possible fix for flickering tooltips and strange transitions.
      • The victory screen text is configurable.
      • Added image and textStyle features to achievements.
      • Added an argument to use specific rows in an "upgrades" component.
      • Fixed the comma appearing in the main display when there was no effectDescription
      • Added the ability to easily make a tab that is a collection of layers in subtabs.
      • Improved spacing for embedding layers with subtabs into subtabs.

      v2.2.8 - 12/03/20

      • Double-clicking a layer node brings you to the main subtab for that layer.
      • Attempted to fix challenges visually updating a different way.
      • Added a softcap function for use in formulas.
      • Added displayRow feature, which lets layers be shown somewhere separate from where they are in the reset order (e.g. side layers)
      • Fixed autoupgrade issue.

      v2.2.7 - 11/30/20

      • Added autoUpgrade feature.
      • resource-display now shows resource gain per second if passiveGain is active.
      • Fixed formatting issues on some large numbers.
      • Better support for using classed objects in player and in layers/tmp.
      • Made hard resetting more effective.
      • Removed Herobrine from getStartClickables.

      v2.2.6 - 11/30/20

      • Added goalDescription for challenges and made the new "canComplete" system the standard.
      • Another attempt to fix challenges not visually updating.
      • Fixed side layers not appearing.
      • Fixed getStartClickables again.

      v2.2.5 - 11/29/20

      • Added features for overriding the displays and costs/goals of upgrades and challenges to make them fully custom.
      • best, total, and unlocked are always automatically added to layerData (but best and total will only display if you add them yourself).
      • Fixed getStartClickables.

      v2.2.4 - 11/28/20

      • Added softcap and softcapPower features (for Normal layers)
      • Offline time limit and default max tick length were fixed (previously the limits were 1000x too large)
      • Added fixOldSaves.
      • You can use HTML in main-display.
      • Fixed a number of minor oddities.

      v2.2.3 - 11/28/20

      • Layers will be highlighted if you can finish a challenge.
      • The "can complete challenge" color now overrides the "already completed" color.
      • Button nodes now work as side "layers".
      • Setting a tooltip to "" hides it entirely.

      v2.2.2 - 11/22/20

      • Fixed right half of the screen being unclickable in some circumstances.
      • Fixed tree branches being offset.
      • Fix to lastSafeTab.

      v2.2.1 - 11/7/20

      • Added a small highlight to layers you can meaningfully prestige on.
      • Added passiveGeneration and autoPrestige features to standardize prestige automation. (The old ways still work, but the new ones work better with other things)
      • Improved milestones visually a bit.
      • "best" and "total" are now only displayed if present in startData.
      • Fixed issues with things not updating visually. (Thank you to to Jacorb!)
      • Side layers and button nodes can now be highlighted.
      • Updated docs on the new tree-related features.

      v2.2: Uprooted - 11/7/20

      • You can now embed a layer inside of a subtab or microtab!
      • Added support for hiding or reformatting the tree tab
      • Added non-layer button nodes
      • Added shouldNotify to subtab/microtab buttons. (You can make them highlighted)
      • Added commas to large exponents.
      • Upgrades now only show "currently" if they have an effectDisplay (so not for constant effects).
      • Achievements are part of the default tab format.
      • NaN is now handled more intelligently.
      • Renamed files, and moved less relevant ones to another folder.
      • The "hide completed challenges" setting now only hides challenges at max completions.
      • Thank you to thepaperpilot for fixing errors in docs and improving the infobox appearance!
      • Many other minor fixes.

      v2.1.4 - 10/25/20

      • Added an infobox component. Thank you to thepaperpilot for this contribution!
      • Layer type is now optional, and defaults to "none".
      • Improved the look of bars and tab buttons.
      • Improved spacing between layer nodes (also thanks to thepaperpilot!)
      • Fixed the "blank" component breaking if only specifying the height.
      • Fixed some numbers not displaying with enough digits.
      • Made a few more things able to be functions.
      • A few other minor fixes.

      v2.1.3.1 - 10/21/20

      • Fixed the update function.

      v2.1.3 - 10/21/20

      • gainMult and gainExp are now optional.
      • Layer unlocking is now kept on reset.
      • Game should start up faster.
      • Layer updates now have a determined order and starts with earlier-rowed layers.
      • Automation now has a determined order and starts with later-rowed layers.
      • Fixed issues with resetting clickables and challenges.
      • Commas should no longer appear in the decimal places of a number.
      • Fixed potential issue in displaying the tree.

      v2.1.2 - 10/19/20

      • Added buyUpgrade function (buyUpg still works though)
      • Added author name to modInfo.
      • Fix to crash caused when the name of a subtab or microtab is changed.
      • Fixes to outdated information in docs.
      • Improvements to Discord links.
      • Thank you to thepaperpilot for contributing to this update!

      v2.1.1 - 10/17/20

      • Added resource-display component, which displays the base currency for the prestige layer, as well as the best and/or total of this layer's prestige currency.
      • Fixed the value for the base currency not updating in resource-display.

      v2.1: We should have thought of this sooner! - 10/17/20

      • Moved most of the code users will want to edit to mod.js, added documentation for it.
        • Specifically, modInfo, VERSION, canGenPoints, getPointGen, and maxTickLength
      • Added getStartPoints()
      • Added the ability to store non-layer-related data
      • Added the ability to display more things at the top of the tree tab below points.
      • Made the endgame condition customizable
      • Added "sell one" and "sell all" buttons for buyables.
      • Moved the old "game" to demo.js, and replaced it with a minimal game that won't cause issues when edited.
      • Fixed issues with version number
      • Fixed number formatting issue making things like "10e9" appear.

      v2.0.5 - 10/16/20

      • Made more features (including prestige parameters) able to be dynamic.
      • Layer nodes can be hidden but still take up space with "ghost" visibility
      • Added clickableEffect for real.
      • Fixed some visual issues with bars.
      • A few other minor tweaks and improvements.

      v2.0.4 - 10/16/20

      • Fixed HTML on buttons interfering with clicking on them.

      v2.0.3 - 10/16/20

      • Fixed hotkeys not displaying in info.
      • Fixed the game supressing all external hotkeys.
      • You can use more things as currencies for upgrade costs and challenge goals using currencyLocation.
      • Added maxTickLength, which can be used to prevent offline time or tab-switching from breaking time-limit based mechanics.
      • Made buyable respec buttons and clickable "master" buttons their own components, and gave them a hide/show feature.
      • Added a general "tooltip" feature for achievements.

      v2.0.2 - 10/15/20

      • Branches are now dynamic (they can be functions).
      • Fixed a crash related to offline time.
      • Fixed links being too wide.

      v2.0.1 - 10/15/20

      • Fixed side layers appearing multiple times.

      v2.0: The Pinnacle of Achievement Mountain - 10/15/20

      • Added progress bars, which are highly customizable and can be horizontal or vertical!
      • Added "side layers", displayed smaller and off to the side, and don't get reset by default. They can be used for global achievements and statistics. Speaking of which...
      • Added achievements!
      • Added clickables, a more generalized variant of buyables.
      • Almost every value in layer data can be either a function or a constant value!
      • Added support for multiple completions of challenges.
      • Added "none" prestige type, which removes the need for any other prestige-related features.
      • The points display and other gui elements stay at the top of the screen when the tree scrolls.
      • Added getter/setter functions for the amounts and effects of most Big Features
      • Moved modInfo to game.js, added a spot in modInfo for a Discord link, changelog link. Also added a separate mod version from the TMT version in VERSION.
      • Tree structure is based on layer data, no index.html editing is needed.
      • Tmp does not need to be manually updated.
      • You don't have to have the same amount of upgrades in every row (and challs and buyables)
      • "unlocked" is optional for all Big Components (defaults to true).
      • All displays will update correctly.
      • Changelog is no longer in index.html at all.
      • Generation of Points now happens in the main game loop
      • Changed the reset functions to make keeping things easier
      • Renamed many things to increase readability (see the list in the link below)
      • Improved documentation based on feedback

      v1.3.5:

      • Completely automated convertToDecimal, now you never have to worry about it again.
      • Branches can be defined without a color id. But they can also use hex values for color ids!
      • Created a tutorial for getting started with TMT and Github.
      • Page title is now automatically taken from mod name.

      v1.3.4 - 10/8/20

      • Added "midsection" feature to add things to a tab's layout while still keeping the standard layout.
      • Fix for being able to buy more buyables than you should.

      v1.3.3 - 10/7/20

      • Fix for the "order of operations" issue in temp.

      v1.3.1 - 10/7/20

      • Added custom CSS and tooltips for Layer Nodes.
      • Added custom CSS for upgrades, buyables, milestones, and challenges, both individually and layer-wide.
      • You can now use HTML in most display text!
      • You can now make milestones unlockable and not display immediately.
      • Fixed importing saves, and issue with upgrades not appearing, and probably more.
      • Optional "name" layer feature, used in confirmation messages.

      v1.3: Tabception... ception! - 10/7/20

      • Added subtabs! And also a Micro-tab component to let you make smaller subtab-esque areas anywhere.
      • Added a "custom" prestige formula type, and a number of features to support it.
      • Added points/sec display (can be disabled).
      • Added h-line, v-line and image-display components, plus components for individual upgrades, challenges, and milestones.
      • Added upgEffect, buyableEffect, and challEffect functions.
      • Added "hide completed challenges" setting.
      • Moved old changelogs to a separate place.
      • Fixed hasMilestone and incr_order.
      • Static layers now show the currency amount needed for the next one if you can buy max.

      v1.2.4 - 10/4/20

      • Layers are now highlighted if you can buy an upgrade, and a new feature, shouldNotify, lets you make it highlight other ways.
      • Fixed bugs with hasUpg, hasChall, hasMilestone, and inChallenge.
      • Changed the sample code to use the above functions for convenience.

      v1.2.3 - 10/3/20

      • Added a row component, which displays a list of objects in a row.
      • Added a column component, which displays a list of objects in a column (useful within a row).
      • Changed blanks to have a customizable width and height.

      v1.2: This Changes Everything! - 10/3/20

      • Many layer features can now be static values or functions. (This made some formats change, which will break old things)
      • You can now use the "this" keyword, to make code easier to transfer when making new layers.
      • Also added "this.layer", which is the current layer's name, and works on existing subfeatures (e.g. individual upgrades) as well! Subfeatures also have "this.id".
      • Fixed a big save issue. If you use a unique mod id, your save will never conflict with other mods.
      • Added a configurable offline time limit in modinfo at the top of index.html. (default 1 hour)
      • Added a few minor features, and updated the docs with new information.

      v1.1.1 - 9/30/20

      • You can define hotkeys directly from layer config.

      v1.1: Enhanced Edition - 9/30/20

      • Added "Buyables", which can function like Space Buildings or Enhancers.
      • Custom CSS can now be used on any component! Make the third argument an object with CSS parameters.
      • Lots of minor good things.

      v1.0 - 9/27/20

      • First release.
      ',115),o=[n];function d(r,s,h,u,c,v){return l(),i("div",null,o)}const g=e(t,[["render",d]]);export{m as __pageData,g as default}; +import{_ as e,c as i,o as l,d as a}from"./app.830f7d24.js";const m=JSON.parse('{"title":"The Modding Tree changelog:","description":"","frontmatter":{},"headers":[{"level":3,"title":"v2.5.9.2 - 5/19/21","slug":"v2-5-9-2-5-19-21","link":"#v2-5-9-2-5-19-21","children":[]},{"level":3,"title":"v2.5.9.1 - 5/18/21","slug":"v2-5-9-1-5-18-21","link":"#v2-5-9-1-5-18-21","children":[]},{"level":3,"title":"v2.5.9 - 5/18/21","slug":"v2-5-9-5-18-21","link":"#v2-5-9-5-18-21","children":[]},{"level":3,"title":"v2.5.8 - 5/17/21","slug":"v2-5-8-5-17-21","link":"#v2-5-8-5-17-21","children":[]},{"level":3,"title":"v2.5.7 - 5/15/21","slug":"v2-5-7-5-15-21","link":"#v2-5-7-5-15-21","children":[]},{"level":3,"title":"v2.5.6 - 5/14/21","slug":"v2-5-6-5-14-21","link":"#v2-5-6-5-14-21","children":[]},{"level":3,"title":"v2.5.5.2 - 5/12/21","slug":"v2-5-5-2-5-12-21","link":"#v2-5-5-2-5-12-21","children":[]},{"level":3,"title":"v2.5.5.1 - 5/12/21","slug":"v2-5-5-1-5-12-21","link":"#v2-5-5-1-5-12-21","children":[]},{"level":3,"title":"v2.5.5 - 5/12/21","slug":"v2-5-5-5-12-21","link":"#v2-5-5-5-12-21","children":[]},{"level":3,"title":"v2.5.4 - 5/10/21","slug":"v2-5-4-5-10-21","link":"#v2-5-4-5-10-21","children":[]},{"level":3,"title":"v2.5.3 - 5/8/21","slug":"v2-5-3-5-8-21","link":"#v2-5-3-5-8-21","children":[]},{"level":3,"title":"v2.5.2.1 - 5/7/21","slug":"v2-5-2-1-5-7-21","link":"#v2-5-2-1-5-7-21","children":[]},{"level":3,"title":"v2.5.2 - 5/7/21","slug":"v2-5-2-5-7-21","link":"#v2-5-2-5-7-21","children":[]},{"level":3,"title":"v2.5.1 - 5/7/21","slug":"v2-5-1-5-7-21","link":"#v2-5-1-5-7-21","children":[]},{"level":2,"title":"v2.5: Dreams Really Do Come True - 5/7/21","slug":"v2-5-dreams-really-do-come-true-5-7-21","link":"#v2-5-dreams-really-do-come-true-5-7-21","children":[{"level":3,"title":"v2.4.1 - 4/29/21","slug":"v2-4-1-4-29-21","link":"#v2-4-1-4-29-21","children":[]}]},{"level":2,"title":"v2.4: Rationalized Edition - 4/29/21","slug":"v2-4-rationalized-edition-4-29-21","link":"#v2-4-rationalized-edition-4-29-21","children":[{"level":3,"title":"v2.\u03C0.1 - 4/7/21","slug":"v2-\u03C0-1-4-7-21","link":"#v2-\u03C0-1-4-7-21","children":[]}]},{"level":2,"title":"v2.\u03C0: Incrementally Updated - 2/5/21","slug":"v2-\u03C0-incrementally-updated-2-5-21","link":"#v2-\u03C0-incrementally-updated-2-5-21","children":[{"level":3,"title":"v2.3.5 - 12/21/20","slug":"v2-3-5-12-21-20","link":"#v2-3-5-12-21-20","children":[]},{"level":3,"title":"v2.3.4 - 12/16/20","slug":"v2-3-4-12-16-20","link":"#v2-3-4-12-16-20","children":[]},{"level":3,"title":"v2.3.3 - 12/13/20","slug":"v2-3-3-12-13-20","link":"#v2-3-3-12-13-20","children":[]},{"level":3,"title":"v2.3.2 - 12/13/20","slug":"v2-3-2-12-13-20","link":"#v2-3-2-12-13-20","children":[]},{"level":3,"title":"v2.3.1 - 12/12/20","slug":"v2-3-1-12-12-20","link":"#v2-3-1-12-12-20","children":[]}]},{"level":2,"title":"v2.3: Cooler and Newer Edition - 12/10/20","slug":"v2-3-cooler-and-newer-edition-12-10-20","link":"#v2-3-cooler-and-newer-edition-12-10-20","children":[{"level":3,"title":"v2.2.8 - 12/03/20","slug":"v2-2-8-12-03-20","link":"#v2-2-8-12-03-20","children":[]},{"level":3,"title":"v2.2.7 - 11/30/20","slug":"v2-2-7-11-30-20","link":"#v2-2-7-11-30-20","children":[]},{"level":3,"title":"v2.2.6 - 11/30/20","slug":"v2-2-6-11-30-20","link":"#v2-2-6-11-30-20","children":[]},{"level":3,"title":"v2.2.5 - 11/29/20","slug":"v2-2-5-11-29-20","link":"#v2-2-5-11-29-20","children":[]},{"level":3,"title":"v2.2.4 - 11/28/20","slug":"v2-2-4-11-28-20","link":"#v2-2-4-11-28-20","children":[]},{"level":3,"title":"v2.2.3 - 11/28/20","slug":"v2-2-3-11-28-20","link":"#v2-2-3-11-28-20","children":[]},{"level":3,"title":"v2.2.2 - 11/22/20","slug":"v2-2-2-11-22-20","link":"#v2-2-2-11-22-20","children":[]},{"level":3,"title":"v2.2.1 - 11/7/20","slug":"v2-2-1-11-7-20","link":"#v2-2-1-11-7-20","children":[]}]},{"level":2,"title":"v2.2: Uprooted - 11/7/20","slug":"v2-2-uprooted-11-7-20","link":"#v2-2-uprooted-11-7-20","children":[{"level":3,"title":"v2.1.4 - 10/25/20","slug":"v2-1-4-10-25-20","link":"#v2-1-4-10-25-20","children":[]},{"level":3,"title":"v2.1.3.1 - 10/21/20","slug":"v2-1-3-1-10-21-20","link":"#v2-1-3-1-10-21-20","children":[]},{"level":3,"title":"v2.1.3 - 10/21/20","slug":"v2-1-3-10-21-20","link":"#v2-1-3-10-21-20","children":[]},{"level":3,"title":"v2.1.2 - 10/19/20","slug":"v2-1-2-10-19-20","link":"#v2-1-2-10-19-20","children":[]},{"level":3,"title":"v2.1.1 - 10/17/20","slug":"v2-1-1-10-17-20","link":"#v2-1-1-10-17-20","children":[]}]},{"level":2,"title":"v2.1: We should have thought of this sooner! - 10/17/20","slug":"v2-1-we-should-have-thought-of-this-sooner-10-17-20","link":"#v2-1-we-should-have-thought-of-this-sooner-10-17-20","children":[{"level":3,"title":"v2.0.5 - 10/16/20","slug":"v2-0-5-10-16-20","link":"#v2-0-5-10-16-20","children":[]},{"level":3,"title":"v2.0.4 - 10/16/20","slug":"v2-0-4-10-16-20","link":"#v2-0-4-10-16-20","children":[]},{"level":3,"title":"v2.0.3 - 10/16/20","slug":"v2-0-3-10-16-20","link":"#v2-0-3-10-16-20","children":[]},{"level":3,"title":"v2.0.2 - 10/15/20","slug":"v2-0-2-10-15-20","link":"#v2-0-2-10-15-20","children":[]},{"level":3,"title":"v2.0.1 - 10/15/20","slug":"v2-0-1-10-15-20","link":"#v2-0-1-10-15-20","children":[]}]},{"level":2,"title":"v2.0: The Pinnacle of Achievement Mountain - 10/15/20","slug":"v2-0-the-pinnacle-of-achievement-mountain-10-15-20","link":"#v2-0-the-pinnacle-of-achievement-mountain-10-15-20","children":[{"level":3,"title":"v1.3.5:","slug":"v1-3-5","link":"#v1-3-5","children":[]},{"level":3,"title":"v1.3.4 - 10/8/20","slug":"v1-3-4-10-8-20","link":"#v1-3-4-10-8-20","children":[]},{"level":3,"title":"v1.3.3 - 10/7/20","slug":"v1-3-3-10-7-20","link":"#v1-3-3-10-7-20","children":[]},{"level":3,"title":"v1.3.1 - 10/7/20","slug":"v1-3-1-10-7-20","link":"#v1-3-1-10-7-20","children":[]}]},{"level":2,"title":"v1.3: Tabception... ception! - 10/7/20","slug":"v1-3-tabception-ception-10-7-20","link":"#v1-3-tabception-ception-10-7-20","children":[{"level":3,"title":"v1.2.4 - 10/4/20","slug":"v1-2-4-10-4-20","link":"#v1-2-4-10-4-20","children":[]},{"level":3,"title":"v1.2.3 - 10/3/20","slug":"v1-2-3-10-3-20","link":"#v1-2-3-10-3-20","children":[]}]},{"level":2,"title":"v1.2: This Changes Everything! - 10/3/20","slug":"v1-2-this-changes-everything-10-3-20","link":"#v1-2-this-changes-everything-10-3-20","children":[{"level":3,"title":"v1.1.1 - 9/30/20","slug":"v1-1-1-9-30-20","link":"#v1-1-1-9-30-20","children":[]}]},{"level":2,"title":"v1.1: Enhanced Edition - 9/30/20","slug":"v1-1-enhanced-edition-9-30-20","link":"#v1-1-enhanced-edition-9-30-20","children":[]},{"level":2,"title":"v1.0 - 9/27/20","slug":"v1-0-9-27-20","link":"#v1-0-9-27-20","children":[]}],"relativePath":"public/kronos/changelog.md","lastUpdated":null}'),t={name:"public/kronos/changelog.md"},n=a('

      The Modding Tree changelog:

      v2.5.9.2 - 5/19/21

      • Fixed many issues with things not updating.

      v2.5.9.1 - 5/18/21

      • Made text inputs never give NaNs.

      v2.5.9 - 5/18/21

      • Fixed issue when using text inputs for Numbers.
      • Added particle color feature.
      • Particle speed and dir are updated as it moves.
      • Added setSpeed and setDir for particles.
      • Added more trig functions.

      v2.5.8 - 5/17/21

      • Added makeShinies, which creates a stationary particle in a random spot.
      • Bars will visually update more quickly.
      • Fixed a major particle-related issue.
      • Fixed autoUpgrade.
      • Fixed a minor visual issue with tree nodes.

      v2.5.7 - 5/15/21

      • Added a particle system! Not only can it be used for visual effects, but particles can interact with the mouse. They could be used to create golden cookies or collectables, for example.
      • Added marked feature to buyables, clickables, and challenges. By default, stars multi-completion challenges when maxed.
      • Added 'deactivated' feature to layers, which disables many features.
      • Improved number formatting slightly.

      v2.5.6 - 5/14/21

      • You can now use non-numeric ids for upgrades, buyables, etc.
      • Fixed an exploit that let you buy an extra buyable.
      • Moved basic getter/setter functions to easyAccess.js.

      v2.5.5.2 - 5/12/21

      • Fixed a major issue with buyables.
      • Fixed a variety of tabFormat-related issues.
      • Fixed commas appearing in decimal places (thanks to pg132!)

      v2.5.5.1 - 5/12/21

      • Fixed clickables.

      v2.5.5 - 5/12/21

      • Added grids! They are a grid of buttons which behave the same, but have their own data. Good for inventory grids, map tiles, and more!
      • Added "marked" feature to add a mark to a node. Can be an image instead of a star. (Originally by Jacorb)
      • Added "layer-proxy" component that lets you use components from another layer.
      • Added the ability to display non-whole numbers in main-display.

      v2.5.4 - 5/10/21

      • Added a setting to always use single-tab mode.
      • Added directMult, which multiplies prestige gain after exponents and softcaps. It actually multiplies gain for static layers.
      • Added onEnter and onExit for challenges.
      • Improved displaying numbers between 0.0001 and 0.1.
      • Added documentation on how gainMult/Exp work for static layers.
      • Fixed a visual issue on mobile, thanks to thepaperpilot.
      • Improved documentation in general.

      v2.5.3 - 5/8/21

      • Improved performance of tab formats and bars.
      • Respec confirmation settings are now kept on resets.
      • Improved compatibility with older browsers.
      • Fixed missing pixel on vertical bars.

      v2.5.2.1 - 5/7/21

      • Fixed microtabs making layers highlight incorrectly.

      v2.5.2 - 5/7/21

      • Added glowColor for subtabs.
      • Improved the display for extremely small numbers.
      • Fixed issues in the buyable docs.

      v2.5.1 - 5/7/21

      • Fixed dynamic things in tabFormat not updating.

      v2.5: Dreams Really Do Come True - 5/7/21

      • Optimizations, hopefully a significant amount.
      • Added OOM/s point gen display at high values (thanks to Ducdat!)
      • Only one tab will display if the window is not wide enough (also thanks to Ducdat!)
      • Holding down a buyable's button now buys it continuously.
      • New milestone setting will also show the most recently unlocked milestone. (Also renamed all settings to be clearer)
      • Added an onHold feature for clickables.
      • Layer nodes will be highlighted even if the player is on the same tab.
      • Added customizable node glowColor.
      • Added buyable purchaseLimit.
      • Amount is automatically supplied to buyable cost and effect functions.
      • Locked (not yet visible) milestones no longer take up space. Also fixed hidden milestones taking a tiny bit of space.
      • Re-centered respec buttons.
      • Force-displayed tooltips are not hidden by resets.
      • Added formatting support for very small numbers. Disabled in most places by default because rounding errors might cause issues. Access it with formatSmall, or enable it globally by adding "allowSmall: true" to modInfo.

      v2.4.1 - 4/29/21

      • A number of minor fixes, many thanks to thepaperpilot.
      • The respec confirmation checkbox is now part of the respec-button component. (This also fixes the checkbox appearing when there is no respec button)
      • Added a few undocumented changes to the 2.4 changelog (the two at the bottom)

      v2.4: Rationalized Edition - 4/29/21

      • Completely reworked tooltips. Shift-click a node to force its tooltip to stay displayed. (And hopefully finally fixed flickering!)

      • Added text-input and slider components.

      • Added the ability to toggle respec confirmations.

      • Added custom respec confirmation messages.

      • The red layer highlight will not appear before a layer is unlocked.

      • Added unlocking hotkeys.

      • You no longer need to supply 'rows' and 'cols' for any Big Features.

      • Node symbols can use HTML.

      • Added documentation for the respec button.

      • Added prestigeNotify to subtabs, and prestigeNotify in subtabs also highlights the layer node.

      • The version number no longer contains special characters or irrational numbers.

      • Added ctrlDown and shiftDown variables.

      • Tooltips now use HTML (this means you need to replace any newlines with
        )

      v2.\u03C0.1 - 4/7/21

      • Fixed formatting for some larger numbers.
      • Upgrades will expand if there is too much text to display.
      • Fixed styling challenges.
      • No longer attempts to display a base currency when there is none.

      v2.\u03C0: Incrementally Updated - 2/5/21

      • Performance improvements.
      • Fixed tooltips overlapping with the top display.
      • Clicking a popup dismisses it immediately.
      • Added support for bulk challenge completions.
      • "Best" is updated automatically.
      • Fixed keeping Decimal values on reset.
      • Code reorganization and style improvements by fudo.

      v2.3.5 - 12/21/20

      • Added resetTime, which tracks the time since a layer prestiged or was reset.
      • A layer node will be highlighted red if one of its subtabs is highlighted red.
      • Fixed issues with keeping challenges, buyables, and clickables on reset.
      • Improved the unlocking of custom layers.
      • Other minor fixes.

      v2.3.4 - 12/16/20

      • Added a node image feature.
      • Resource display now always shows the amount of the currency the layer's gain is based on.
      • Added spacing between tree nodes.
      • Another attempt to fix tooltip flickering.

      v2.3.3 - 12/13/20

      • Fixed the first node in a row always taking up space.
      • layerShown is now optional.
      • All prestige types can now use features for custom prestige types.

      v2.3.2 - 12/13/20

      • Fixed achievement/milestone popups.

      v2.3.1 - 12/12/20

      • Another attempt to fix flickering tooltips.
      • The "this" keyword should work everywhere except tabFormat arrays (although I may have missed some things).
      • Fixed tree branches not updating when scrolling on the right-side tab.
      • Fixed a spacing issue when a node's symbol is ""
      • Removed some old, unneeded files.

      v2.3: Cooler and Newer Edition - 12/10/20

      • Added achievement/milestone popups (thank you to Jacorb for this contribution!)
      • The changelog tab is back, and can be set in mod.js.
      • Layer nodes and respec buttons will not be clicked by pressing "enter".
      • Possible fix for flickering tooltips and strange transitions.
      • The victory screen text is configurable.
      • Added image and textStyle features to achievements.
      • Added an argument to use specific rows in an "upgrades" component.
      • Fixed the comma appearing in the main display when there was no effectDescription
      • Added the ability to easily make a tab that is a collection of layers in subtabs.
      • Improved spacing for embedding layers with subtabs into subtabs.

      v2.2.8 - 12/03/20

      • Double-clicking a layer node brings you to the main subtab for that layer.
      • Attempted to fix challenges visually updating a different way.
      • Added a softcap function for use in formulas.
      • Added displayRow feature, which lets layers be shown somewhere separate from where they are in the reset order (e.g. side layers)
      • Fixed autoupgrade issue.

      v2.2.7 - 11/30/20

      • Added autoUpgrade feature.
      • resource-display now shows resource gain per second if passiveGain is active.
      • Fixed formatting issues on some large numbers.
      • Better support for using classed objects in player and in layers/tmp.
      • Made hard resetting more effective.
      • Removed Herobrine from getStartClickables.

      v2.2.6 - 11/30/20

      • Added goalDescription for challenges and made the new "canComplete" system the standard.
      • Another attempt to fix challenges not visually updating.
      • Fixed side layers not appearing.
      • Fixed getStartClickables again.

      v2.2.5 - 11/29/20

      • Added features for overriding the displays and costs/goals of upgrades and challenges to make them fully custom.
      • best, total, and unlocked are always automatically added to layerData (but best and total will only display if you add them yourself).
      • Fixed getStartClickables.

      v2.2.4 - 11/28/20

      • Added softcap and softcapPower features (for Normal layers)
      • Offline time limit and default max tick length were fixed (previously the limits were 1000x too large)
      • Added fixOldSaves.
      • You can use HTML in main-display.
      • Fixed a number of minor oddities.

      v2.2.3 - 11/28/20

      • Layers will be highlighted if you can finish a challenge.
      • The "can complete challenge" color now overrides the "already completed" color.
      • Button nodes now work as side "layers".
      • Setting a tooltip to "" hides it entirely.

      v2.2.2 - 11/22/20

      • Fixed right half of the screen being unclickable in some circumstances.
      • Fixed tree branches being offset.
      • Fix to lastSafeTab.

      v2.2.1 - 11/7/20

      • Added a small highlight to layers you can meaningfully prestige on.
      • Added passiveGeneration and autoPrestige features to standardize prestige automation. (The old ways still work, but the new ones work better with other things)
      • Improved milestones visually a bit.
      • "best" and "total" are now only displayed if present in startData.
      • Fixed issues with things not updating visually. (Thank you to to Jacorb!)
      • Side layers and button nodes can now be highlighted.
      • Updated docs on the new tree-related features.

      v2.2: Uprooted - 11/7/20

      • You can now embed a layer inside of a subtab or microtab!
      • Added support for hiding or reformatting the tree tab
      • Added non-layer button nodes
      • Added shouldNotify to subtab/microtab buttons. (You can make them highlighted)
      • Added commas to large exponents.
      • Upgrades now only show "currently" if they have an effectDisplay (so not for constant effects).
      • Achievements are part of the default tab format.
      • NaN is now handled more intelligently.
      • Renamed files, and moved less relevant ones to another folder.
      • The "hide completed challenges" setting now only hides challenges at max completions.
      • Thank you to thepaperpilot for fixing errors in docs and improving the infobox appearance!
      • Many other minor fixes.

      v2.1.4 - 10/25/20

      • Added an infobox component. Thank you to thepaperpilot for this contribution!
      • Layer type is now optional, and defaults to "none".
      • Improved the look of bars and tab buttons.
      • Improved spacing between layer nodes (also thanks to thepaperpilot!)
      • Fixed the "blank" component breaking if only specifying the height.
      • Fixed some numbers not displaying with enough digits.
      • Made a few more things able to be functions.
      • A few other minor fixes.

      v2.1.3.1 - 10/21/20

      • Fixed the update function.

      v2.1.3 - 10/21/20

      • gainMult and gainExp are now optional.
      • Layer unlocking is now kept on reset.
      • Game should start up faster.
      • Layer updates now have a determined order and starts with earlier-rowed layers.
      • Automation now has a determined order and starts with later-rowed layers.
      • Fixed issues with resetting clickables and challenges.
      • Commas should no longer appear in the decimal places of a number.
      • Fixed potential issue in displaying the tree.

      v2.1.2 - 10/19/20

      • Added buyUpgrade function (buyUpg still works though)
      • Added author name to modInfo.
      • Fix to crash caused when the name of a subtab or microtab is changed.
      • Fixes to outdated information in docs.
      • Improvements to Discord links.
      • Thank you to thepaperpilot for contributing to this update!

      v2.1.1 - 10/17/20

      • Added resource-display component, which displays the base currency for the prestige layer, as well as the best and/or total of this layer's prestige currency.
      • Fixed the value for the base currency not updating in resource-display.

      v2.1: We should have thought of this sooner! - 10/17/20

      • Moved most of the code users will want to edit to mod.js, added documentation for it.
        • Specifically, modInfo, VERSION, canGenPoints, getPointGen, and maxTickLength
      • Added getStartPoints()
      • Added the ability to store non-layer-related data
      • Added the ability to display more things at the top of the tree tab below points.
      • Made the endgame condition customizable
      • Added "sell one" and "sell all" buttons for buyables.
      • Moved the old "game" to demo.js, and replaced it with a minimal game that won't cause issues when edited.
      • Fixed issues with version number
      • Fixed number formatting issue making things like "10e9" appear.

      v2.0.5 - 10/16/20

      • Made more features (including prestige parameters) able to be dynamic.
      • Layer nodes can be hidden but still take up space with "ghost" visibility
      • Added clickableEffect for real.
      • Fixed some visual issues with bars.
      • A few other minor tweaks and improvements.

      v2.0.4 - 10/16/20

      • Fixed HTML on buttons interfering with clicking on them.

      v2.0.3 - 10/16/20

      • Fixed hotkeys not displaying in info.
      • Fixed the game supressing all external hotkeys.
      • You can use more things as currencies for upgrade costs and challenge goals using currencyLocation.
      • Added maxTickLength, which can be used to prevent offline time or tab-switching from breaking time-limit based mechanics.
      • Made buyable respec buttons and clickable "master" buttons their own components, and gave them a hide/show feature.
      • Added a general "tooltip" feature for achievements.

      v2.0.2 - 10/15/20

      • Branches are now dynamic (they can be functions).
      • Fixed a crash related to offline time.
      • Fixed links being too wide.

      v2.0.1 - 10/15/20

      • Fixed side layers appearing multiple times.

      v2.0: The Pinnacle of Achievement Mountain - 10/15/20

      • Added progress bars, which are highly customizable and can be horizontal or vertical!
      • Added "side layers", displayed smaller and off to the side, and don't get reset by default. They can be used for global achievements and statistics. Speaking of which...
      • Added achievements!
      • Added clickables, a more generalized variant of buyables.
      • Almost every value in layer data can be either a function or a constant value!
      • Added support for multiple completions of challenges.
      • Added "none" prestige type, which removes the need for any other prestige-related features.
      • The points display and other gui elements stay at the top of the screen when the tree scrolls.
      • Added getter/setter functions for the amounts and effects of most Big Features
      • Moved modInfo to game.js, added a spot in modInfo for a Discord link, changelog link. Also added a separate mod version from the TMT version in VERSION.
      • Tree structure is based on layer data, no index.html editing is needed.
      • Tmp does not need to be manually updated.
      • You don't have to have the same amount of upgrades in every row (and challs and buyables)
      • "unlocked" is optional for all Big Components (defaults to true).
      • All displays will update correctly.
      • Changelog is no longer in index.html at all.
      • Generation of Points now happens in the main game loop
      • Changed the reset functions to make keeping things easier
      • Renamed many things to increase readability (see the list in the link below)
      • Improved documentation based on feedback

      v1.3.5:

      • Completely automated convertToDecimal, now you never have to worry about it again.
      • Branches can be defined without a color id. But they can also use hex values for color ids!
      • Created a tutorial for getting started with TMT and Github.
      • Page title is now automatically taken from mod name.

      v1.3.4 - 10/8/20

      • Added "midsection" feature to add things to a tab's layout while still keeping the standard layout.
      • Fix for being able to buy more buyables than you should.

      v1.3.3 - 10/7/20

      • Fix for the "order of operations" issue in temp.

      v1.3.1 - 10/7/20

      • Added custom CSS and tooltips for Layer Nodes.
      • Added custom CSS for upgrades, buyables, milestones, and challenges, both individually and layer-wide.
      • You can now use HTML in most display text!
      • You can now make milestones unlockable and not display immediately.
      • Fixed importing saves, and issue with upgrades not appearing, and probably more.
      • Optional "name" layer feature, used in confirmation messages.

      v1.3: Tabception... ception! - 10/7/20

      • Added subtabs! And also a Micro-tab component to let you make smaller subtab-esque areas anywhere.
      • Added a "custom" prestige formula type, and a number of features to support it.
      • Added points/sec display (can be disabled).
      • Added h-line, v-line and image-display components, plus components for individual upgrades, challenges, and milestones.
      • Added upgEffect, buyableEffect, and challEffect functions.
      • Added "hide completed challenges" setting.
      • Moved old changelogs to a separate place.
      • Fixed hasMilestone and incr_order.
      • Static layers now show the currency amount needed for the next one if you can buy max.

      v1.2.4 - 10/4/20

      • Layers are now highlighted if you can buy an upgrade, and a new feature, shouldNotify, lets you make it highlight other ways.
      • Fixed bugs with hasUpg, hasChall, hasMilestone, and inChallenge.
      • Changed the sample code to use the above functions for convenience.

      v1.2.3 - 10/3/20

      • Added a row component, which displays a list of objects in a row.
      • Added a column component, which displays a list of objects in a column (useful within a row).
      • Changed blanks to have a customizable width and height.

      v1.2: This Changes Everything! - 10/3/20

      • Many layer features can now be static values or functions. (This made some formats change, which will break old things)
      • You can now use the "this" keyword, to make code easier to transfer when making new layers.
      • Also added "this.layer", which is the current layer's name, and works on existing subfeatures (e.g. individual upgrades) as well! Subfeatures also have "this.id".
      • Fixed a big save issue. If you use a unique mod id, your save will never conflict with other mods.
      • Added a configurable offline time limit in modinfo at the top of index.html. (default 1 hour)
      • Added a few minor features, and updated the docs with new information.

      v1.1.1 - 9/30/20

      • You can define hotkeys directly from layer config.

      v1.1: Enhanced Edition - 9/30/20

      • Added "Buyables", which can function like Space Buildings or Enhancers.
      • Custom CSS can now be used on any component! Make the third argument an object with CSS parameters.
      • Lots of minor good things.

      v1.0 - 9/27/20

      • First release.
      ',115),o=[n];function d(r,s,h,u,c,v){return l(),i("div",null,o)}const g=e(t,[["render",d]]);export{m as __pageData,g as default}; diff --git a/assets/public_kronos_changelog.md.f4e479b5.lean.js b/assets/public_kronos_changelog.md.d41b9d1c.lean.js similarity index 99% rename from assets/public_kronos_changelog.md.f4e479b5.lean.js rename to assets/public_kronos_changelog.md.d41b9d1c.lean.js index 460d0d042..11b8c114b 100644 --- a/assets/public_kronos_changelog.md.f4e479b5.lean.js +++ b/assets/public_kronos_changelog.md.d41b9d1c.lean.js @@ -1 +1 @@ -import{_ as e,c as i,o as l,d as a}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"The Modding Tree changelog:","description":"","frontmatter":{},"headers":[{"level":3,"title":"v2.5.9.2 - 5/19/21","slug":"v2-5-9-2-5-19-21","link":"#v2-5-9-2-5-19-21","children":[]},{"level":3,"title":"v2.5.9.1 - 5/18/21","slug":"v2-5-9-1-5-18-21","link":"#v2-5-9-1-5-18-21","children":[]},{"level":3,"title":"v2.5.9 - 5/18/21","slug":"v2-5-9-5-18-21","link":"#v2-5-9-5-18-21","children":[]},{"level":3,"title":"v2.5.8 - 5/17/21","slug":"v2-5-8-5-17-21","link":"#v2-5-8-5-17-21","children":[]},{"level":3,"title":"v2.5.7 - 5/15/21","slug":"v2-5-7-5-15-21","link":"#v2-5-7-5-15-21","children":[]},{"level":3,"title":"v2.5.6 - 5/14/21","slug":"v2-5-6-5-14-21","link":"#v2-5-6-5-14-21","children":[]},{"level":3,"title":"v2.5.5.2 - 5/12/21","slug":"v2-5-5-2-5-12-21","link":"#v2-5-5-2-5-12-21","children":[]},{"level":3,"title":"v2.5.5.1 - 5/12/21","slug":"v2-5-5-1-5-12-21","link":"#v2-5-5-1-5-12-21","children":[]},{"level":3,"title":"v2.5.5 - 5/12/21","slug":"v2-5-5-5-12-21","link":"#v2-5-5-5-12-21","children":[]},{"level":3,"title":"v2.5.4 - 5/10/21","slug":"v2-5-4-5-10-21","link":"#v2-5-4-5-10-21","children":[]},{"level":3,"title":"v2.5.3 - 5/8/21","slug":"v2-5-3-5-8-21","link":"#v2-5-3-5-8-21","children":[]},{"level":3,"title":"v2.5.2.1 - 5/7/21","slug":"v2-5-2-1-5-7-21","link":"#v2-5-2-1-5-7-21","children":[]},{"level":3,"title":"v2.5.2 - 5/7/21","slug":"v2-5-2-5-7-21","link":"#v2-5-2-5-7-21","children":[]},{"level":3,"title":"v2.5.1 - 5/7/21","slug":"v2-5-1-5-7-21","link":"#v2-5-1-5-7-21","children":[]},{"level":2,"title":"v2.5: Dreams Really Do Come True - 5/7/21","slug":"v2-5-dreams-really-do-come-true-5-7-21","link":"#v2-5-dreams-really-do-come-true-5-7-21","children":[{"level":3,"title":"v2.4.1 - 4/29/21","slug":"v2-4-1-4-29-21","link":"#v2-4-1-4-29-21","children":[]}]},{"level":2,"title":"v2.4: Rationalized Edition - 4/29/21","slug":"v2-4-rationalized-edition-4-29-21","link":"#v2-4-rationalized-edition-4-29-21","children":[{"level":3,"title":"v2.\u03C0.1 - 4/7/21","slug":"v2-\u03C0-1-4-7-21","link":"#v2-\u03C0-1-4-7-21","children":[]}]},{"level":2,"title":"v2.\u03C0: Incrementally Updated - 2/5/21","slug":"v2-\u03C0-incrementally-updated-2-5-21","link":"#v2-\u03C0-incrementally-updated-2-5-21","children":[{"level":3,"title":"v2.3.5 - 12/21/20","slug":"v2-3-5-12-21-20","link":"#v2-3-5-12-21-20","children":[]},{"level":3,"title":"v2.3.4 - 12/16/20","slug":"v2-3-4-12-16-20","link":"#v2-3-4-12-16-20","children":[]},{"level":3,"title":"v2.3.3 - 12/13/20","slug":"v2-3-3-12-13-20","link":"#v2-3-3-12-13-20","children":[]},{"level":3,"title":"v2.3.2 - 12/13/20","slug":"v2-3-2-12-13-20","link":"#v2-3-2-12-13-20","children":[]},{"level":3,"title":"v2.3.1 - 12/12/20","slug":"v2-3-1-12-12-20","link":"#v2-3-1-12-12-20","children":[]}]},{"level":2,"title":"v2.3: Cooler and Newer Edition - 12/10/20","slug":"v2-3-cooler-and-newer-edition-12-10-20","link":"#v2-3-cooler-and-newer-edition-12-10-20","children":[{"level":3,"title":"v2.2.8 - 12/03/20","slug":"v2-2-8-12-03-20","link":"#v2-2-8-12-03-20","children":[]},{"level":3,"title":"v2.2.7 - 11/30/20","slug":"v2-2-7-11-30-20","link":"#v2-2-7-11-30-20","children":[]},{"level":3,"title":"v2.2.6 - 11/30/20","slug":"v2-2-6-11-30-20","link":"#v2-2-6-11-30-20","children":[]},{"level":3,"title":"v2.2.5 - 11/29/20","slug":"v2-2-5-11-29-20","link":"#v2-2-5-11-29-20","children":[]},{"level":3,"title":"v2.2.4 - 11/28/20","slug":"v2-2-4-11-28-20","link":"#v2-2-4-11-28-20","children":[]},{"level":3,"title":"v2.2.3 - 11/28/20","slug":"v2-2-3-11-28-20","link":"#v2-2-3-11-28-20","children":[]},{"level":3,"title":"v2.2.2 - 11/22/20","slug":"v2-2-2-11-22-20","link":"#v2-2-2-11-22-20","children":[]},{"level":3,"title":"v2.2.1 - 11/7/20","slug":"v2-2-1-11-7-20","link":"#v2-2-1-11-7-20","children":[]}]},{"level":2,"title":"v2.2: Uprooted - 11/7/20","slug":"v2-2-uprooted-11-7-20","link":"#v2-2-uprooted-11-7-20","children":[{"level":3,"title":"v2.1.4 - 10/25/20","slug":"v2-1-4-10-25-20","link":"#v2-1-4-10-25-20","children":[]},{"level":3,"title":"v2.1.3.1 - 10/21/20","slug":"v2-1-3-1-10-21-20","link":"#v2-1-3-1-10-21-20","children":[]},{"level":3,"title":"v2.1.3 - 10/21/20","slug":"v2-1-3-10-21-20","link":"#v2-1-3-10-21-20","children":[]},{"level":3,"title":"v2.1.2 - 10/19/20","slug":"v2-1-2-10-19-20","link":"#v2-1-2-10-19-20","children":[]},{"level":3,"title":"v2.1.1 - 10/17/20","slug":"v2-1-1-10-17-20","link":"#v2-1-1-10-17-20","children":[]}]},{"level":2,"title":"v2.1: We should have thought of this sooner! - 10/17/20","slug":"v2-1-we-should-have-thought-of-this-sooner-10-17-20","link":"#v2-1-we-should-have-thought-of-this-sooner-10-17-20","children":[{"level":3,"title":"v2.0.5 - 10/16/20","slug":"v2-0-5-10-16-20","link":"#v2-0-5-10-16-20","children":[]},{"level":3,"title":"v2.0.4 - 10/16/20","slug":"v2-0-4-10-16-20","link":"#v2-0-4-10-16-20","children":[]},{"level":3,"title":"v2.0.3 - 10/16/20","slug":"v2-0-3-10-16-20","link":"#v2-0-3-10-16-20","children":[]},{"level":3,"title":"v2.0.2 - 10/15/20","slug":"v2-0-2-10-15-20","link":"#v2-0-2-10-15-20","children":[]},{"level":3,"title":"v2.0.1 - 10/15/20","slug":"v2-0-1-10-15-20","link":"#v2-0-1-10-15-20","children":[]}]},{"level":2,"title":"v2.0: The Pinnacle of Achievement Mountain - 10/15/20","slug":"v2-0-the-pinnacle-of-achievement-mountain-10-15-20","link":"#v2-0-the-pinnacle-of-achievement-mountain-10-15-20","children":[{"level":3,"title":"v1.3.5:","slug":"v1-3-5","link":"#v1-3-5","children":[]},{"level":3,"title":"v1.3.4 - 10/8/20","slug":"v1-3-4-10-8-20","link":"#v1-3-4-10-8-20","children":[]},{"level":3,"title":"v1.3.3 - 10/7/20","slug":"v1-3-3-10-7-20","link":"#v1-3-3-10-7-20","children":[]},{"level":3,"title":"v1.3.1 - 10/7/20","slug":"v1-3-1-10-7-20","link":"#v1-3-1-10-7-20","children":[]}]},{"level":2,"title":"v1.3: Tabception... ception! - 10/7/20","slug":"v1-3-tabception-ception-10-7-20","link":"#v1-3-tabception-ception-10-7-20","children":[{"level":3,"title":"v1.2.4 - 10/4/20","slug":"v1-2-4-10-4-20","link":"#v1-2-4-10-4-20","children":[]},{"level":3,"title":"v1.2.3 - 10/3/20","slug":"v1-2-3-10-3-20","link":"#v1-2-3-10-3-20","children":[]}]},{"level":2,"title":"v1.2: This Changes Everything! - 10/3/20","slug":"v1-2-this-changes-everything-10-3-20","link":"#v1-2-this-changes-everything-10-3-20","children":[{"level":3,"title":"v1.1.1 - 9/30/20","slug":"v1-1-1-9-30-20","link":"#v1-1-1-9-30-20","children":[]}]},{"level":2,"title":"v1.1: Enhanced Edition - 9/30/20","slug":"v1-1-enhanced-edition-9-30-20","link":"#v1-1-enhanced-edition-9-30-20","children":[]},{"level":2,"title":"v1.0 - 9/27/20","slug":"v1-0-9-27-20","link":"#v1-0-9-27-20","children":[]}],"relativePath":"public/kronos/changelog.md","lastUpdated":null}'),t={name:"public/kronos/changelog.md"},n=a("",115),o=[n];function d(r,s,h,u,c,v){return l(),i("div",null,o)}const g=e(t,[["render",d]]);export{m as __pageData,g as default}; +import{_ as e,c as i,o as l,d as a}from"./app.830f7d24.js";const m=JSON.parse('{"title":"The Modding Tree changelog:","description":"","frontmatter":{},"headers":[{"level":3,"title":"v2.5.9.2 - 5/19/21","slug":"v2-5-9-2-5-19-21","link":"#v2-5-9-2-5-19-21","children":[]},{"level":3,"title":"v2.5.9.1 - 5/18/21","slug":"v2-5-9-1-5-18-21","link":"#v2-5-9-1-5-18-21","children":[]},{"level":3,"title":"v2.5.9 - 5/18/21","slug":"v2-5-9-5-18-21","link":"#v2-5-9-5-18-21","children":[]},{"level":3,"title":"v2.5.8 - 5/17/21","slug":"v2-5-8-5-17-21","link":"#v2-5-8-5-17-21","children":[]},{"level":3,"title":"v2.5.7 - 5/15/21","slug":"v2-5-7-5-15-21","link":"#v2-5-7-5-15-21","children":[]},{"level":3,"title":"v2.5.6 - 5/14/21","slug":"v2-5-6-5-14-21","link":"#v2-5-6-5-14-21","children":[]},{"level":3,"title":"v2.5.5.2 - 5/12/21","slug":"v2-5-5-2-5-12-21","link":"#v2-5-5-2-5-12-21","children":[]},{"level":3,"title":"v2.5.5.1 - 5/12/21","slug":"v2-5-5-1-5-12-21","link":"#v2-5-5-1-5-12-21","children":[]},{"level":3,"title":"v2.5.5 - 5/12/21","slug":"v2-5-5-5-12-21","link":"#v2-5-5-5-12-21","children":[]},{"level":3,"title":"v2.5.4 - 5/10/21","slug":"v2-5-4-5-10-21","link":"#v2-5-4-5-10-21","children":[]},{"level":3,"title":"v2.5.3 - 5/8/21","slug":"v2-5-3-5-8-21","link":"#v2-5-3-5-8-21","children":[]},{"level":3,"title":"v2.5.2.1 - 5/7/21","slug":"v2-5-2-1-5-7-21","link":"#v2-5-2-1-5-7-21","children":[]},{"level":3,"title":"v2.5.2 - 5/7/21","slug":"v2-5-2-5-7-21","link":"#v2-5-2-5-7-21","children":[]},{"level":3,"title":"v2.5.1 - 5/7/21","slug":"v2-5-1-5-7-21","link":"#v2-5-1-5-7-21","children":[]},{"level":2,"title":"v2.5: Dreams Really Do Come True - 5/7/21","slug":"v2-5-dreams-really-do-come-true-5-7-21","link":"#v2-5-dreams-really-do-come-true-5-7-21","children":[{"level":3,"title":"v2.4.1 - 4/29/21","slug":"v2-4-1-4-29-21","link":"#v2-4-1-4-29-21","children":[]}]},{"level":2,"title":"v2.4: Rationalized Edition - 4/29/21","slug":"v2-4-rationalized-edition-4-29-21","link":"#v2-4-rationalized-edition-4-29-21","children":[{"level":3,"title":"v2.\u03C0.1 - 4/7/21","slug":"v2-\u03C0-1-4-7-21","link":"#v2-\u03C0-1-4-7-21","children":[]}]},{"level":2,"title":"v2.\u03C0: Incrementally Updated - 2/5/21","slug":"v2-\u03C0-incrementally-updated-2-5-21","link":"#v2-\u03C0-incrementally-updated-2-5-21","children":[{"level":3,"title":"v2.3.5 - 12/21/20","slug":"v2-3-5-12-21-20","link":"#v2-3-5-12-21-20","children":[]},{"level":3,"title":"v2.3.4 - 12/16/20","slug":"v2-3-4-12-16-20","link":"#v2-3-4-12-16-20","children":[]},{"level":3,"title":"v2.3.3 - 12/13/20","slug":"v2-3-3-12-13-20","link":"#v2-3-3-12-13-20","children":[]},{"level":3,"title":"v2.3.2 - 12/13/20","slug":"v2-3-2-12-13-20","link":"#v2-3-2-12-13-20","children":[]},{"level":3,"title":"v2.3.1 - 12/12/20","slug":"v2-3-1-12-12-20","link":"#v2-3-1-12-12-20","children":[]}]},{"level":2,"title":"v2.3: Cooler and Newer Edition - 12/10/20","slug":"v2-3-cooler-and-newer-edition-12-10-20","link":"#v2-3-cooler-and-newer-edition-12-10-20","children":[{"level":3,"title":"v2.2.8 - 12/03/20","slug":"v2-2-8-12-03-20","link":"#v2-2-8-12-03-20","children":[]},{"level":3,"title":"v2.2.7 - 11/30/20","slug":"v2-2-7-11-30-20","link":"#v2-2-7-11-30-20","children":[]},{"level":3,"title":"v2.2.6 - 11/30/20","slug":"v2-2-6-11-30-20","link":"#v2-2-6-11-30-20","children":[]},{"level":3,"title":"v2.2.5 - 11/29/20","slug":"v2-2-5-11-29-20","link":"#v2-2-5-11-29-20","children":[]},{"level":3,"title":"v2.2.4 - 11/28/20","slug":"v2-2-4-11-28-20","link":"#v2-2-4-11-28-20","children":[]},{"level":3,"title":"v2.2.3 - 11/28/20","slug":"v2-2-3-11-28-20","link":"#v2-2-3-11-28-20","children":[]},{"level":3,"title":"v2.2.2 - 11/22/20","slug":"v2-2-2-11-22-20","link":"#v2-2-2-11-22-20","children":[]},{"level":3,"title":"v2.2.1 - 11/7/20","slug":"v2-2-1-11-7-20","link":"#v2-2-1-11-7-20","children":[]}]},{"level":2,"title":"v2.2: Uprooted - 11/7/20","slug":"v2-2-uprooted-11-7-20","link":"#v2-2-uprooted-11-7-20","children":[{"level":3,"title":"v2.1.4 - 10/25/20","slug":"v2-1-4-10-25-20","link":"#v2-1-4-10-25-20","children":[]},{"level":3,"title":"v2.1.3.1 - 10/21/20","slug":"v2-1-3-1-10-21-20","link":"#v2-1-3-1-10-21-20","children":[]},{"level":3,"title":"v2.1.3 - 10/21/20","slug":"v2-1-3-10-21-20","link":"#v2-1-3-10-21-20","children":[]},{"level":3,"title":"v2.1.2 - 10/19/20","slug":"v2-1-2-10-19-20","link":"#v2-1-2-10-19-20","children":[]},{"level":3,"title":"v2.1.1 - 10/17/20","slug":"v2-1-1-10-17-20","link":"#v2-1-1-10-17-20","children":[]}]},{"level":2,"title":"v2.1: We should have thought of this sooner! - 10/17/20","slug":"v2-1-we-should-have-thought-of-this-sooner-10-17-20","link":"#v2-1-we-should-have-thought-of-this-sooner-10-17-20","children":[{"level":3,"title":"v2.0.5 - 10/16/20","slug":"v2-0-5-10-16-20","link":"#v2-0-5-10-16-20","children":[]},{"level":3,"title":"v2.0.4 - 10/16/20","slug":"v2-0-4-10-16-20","link":"#v2-0-4-10-16-20","children":[]},{"level":3,"title":"v2.0.3 - 10/16/20","slug":"v2-0-3-10-16-20","link":"#v2-0-3-10-16-20","children":[]},{"level":3,"title":"v2.0.2 - 10/15/20","slug":"v2-0-2-10-15-20","link":"#v2-0-2-10-15-20","children":[]},{"level":3,"title":"v2.0.1 - 10/15/20","slug":"v2-0-1-10-15-20","link":"#v2-0-1-10-15-20","children":[]}]},{"level":2,"title":"v2.0: The Pinnacle of Achievement Mountain - 10/15/20","slug":"v2-0-the-pinnacle-of-achievement-mountain-10-15-20","link":"#v2-0-the-pinnacle-of-achievement-mountain-10-15-20","children":[{"level":3,"title":"v1.3.5:","slug":"v1-3-5","link":"#v1-3-5","children":[]},{"level":3,"title":"v1.3.4 - 10/8/20","slug":"v1-3-4-10-8-20","link":"#v1-3-4-10-8-20","children":[]},{"level":3,"title":"v1.3.3 - 10/7/20","slug":"v1-3-3-10-7-20","link":"#v1-3-3-10-7-20","children":[]},{"level":3,"title":"v1.3.1 - 10/7/20","slug":"v1-3-1-10-7-20","link":"#v1-3-1-10-7-20","children":[]}]},{"level":2,"title":"v1.3: Tabception... ception! - 10/7/20","slug":"v1-3-tabception-ception-10-7-20","link":"#v1-3-tabception-ception-10-7-20","children":[{"level":3,"title":"v1.2.4 - 10/4/20","slug":"v1-2-4-10-4-20","link":"#v1-2-4-10-4-20","children":[]},{"level":3,"title":"v1.2.3 - 10/3/20","slug":"v1-2-3-10-3-20","link":"#v1-2-3-10-3-20","children":[]}]},{"level":2,"title":"v1.2: This Changes Everything! - 10/3/20","slug":"v1-2-this-changes-everything-10-3-20","link":"#v1-2-this-changes-everything-10-3-20","children":[{"level":3,"title":"v1.1.1 - 9/30/20","slug":"v1-1-1-9-30-20","link":"#v1-1-1-9-30-20","children":[]}]},{"level":2,"title":"v1.1: Enhanced Edition - 9/30/20","slug":"v1-1-enhanced-edition-9-30-20","link":"#v1-1-enhanced-edition-9-30-20","children":[]},{"level":2,"title":"v1.0 - 9/27/20","slug":"v1-0-9-27-20","link":"#v1-0-9-27-20","children":[]}],"relativePath":"public/kronos/changelog.md","lastUpdated":null}'),t={name:"public/kronos/changelog.md"},n=a("",115),o=[n];function d(r,s,h,u,c,v){return l(),i("div",null,o)}const g=e(t,[["render",d]]);export{m as __pageData,g as default}; diff --git a/assets/public_kronos_docs_!general-info.md.16ffc414.js b/assets/public_kronos_docs_!general-info.md.497ef86e.js similarity index 99% rename from assets/public_kronos_docs_!general-info.md.16ffc414.js rename to assets/public_kronos_docs_!general-info.md.497ef86e.js index 100588e3b..80fac8415 100644 --- a/assets/public_kronos_docs_!general-info.md.16ffc414.js +++ b/assets/public_kronos_docs_!general-info.md.497ef86e.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as o}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"Table of Contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"General","slug":"general","link":"#general","children":[]},{"level":3,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":3,"title":"Other components and features","slug":"other-components-and-features","link":"#other-components-and-features","children":[]}]}],"relativePath":"public/kronos/docs/!general-info.md","lastUpdated":null}'),n={name:"public/kronos/docs/!general-info.md"},r=o('

      The-Modding-Tree

      Making a game in The Modding Tree mostly involves defining parameters or functions on objects. If you aren't following the getting started guide, you should start by setting up your basic mod info in mod.js. It's important to set a mod id to ensure saving works properly.

      Beyond that, the main way to add content is through creating layers, often in layers.js. You can add new layers by calling addLayer(layername, layerdata). There is an example of a basic layer in layers.js showing the recommended method. It is just an example and can be freely deleted. You can also use it as a reference or a base for your own layers.

      Most of the time, you won't need to dive deep into the code to create things, but you still can if you really want to, for example to add new Vue components in components.js.

      The Modding Tree uses break_eternity.js to store large values. This means that many numbers are Decimal objects, and must be treated differently. For example, you have to use new Decimal(x) to create a Decimal value instead of a plain number, and perform operations on them by calling functions. e.g, instead of x = x + y, use x = x.add(y). Keep in mind this also applies to comparison operators, which should be replaced with calling the .gt, .gte, .lt, .lte, .eq, and .neq functions. See the break_eternity.js docs for more details on working with Decimal values.

      Almost all values can be either a constant value, or a dynamic value. Dynamic values are defined by putting a function that returns what the value should be at any given time.

      All display text can use basic HTML elements (But you can't use most Vue features there).

      While reading this documentation, the following key will be used when describing features:

      • No label: This is required and the game may crash if it isn't included.
      • sometimes required: This is may be required, depending on other things in the layer.
      • optional: You can leave this out if you don't intend to use that feature for the layer.
      • assigned automagically: This value will be set automatically and override any value you set.
      • deprecated: This feature is not recommended to be used, because newer features are able to achieve the same thing in a better, easier way.

      Table of Contents

      General

      • Getting Started: Getting your own copy of the code set up with Github Desktop.
      • Main mod info: How to set up general things for your mod in mod.js.
      • Basic layer breakdown: Breaking down the components of a layer with minimal features.
      • Layer features: Explanations of all of the different properties that you can give a layer.
      • Custom Tab Layouts: An optional way to give your tabs a different layout. You can even create entirely new components to use.
      • Custom game layouts: You can get rid of the tree tab, add buttons and other things to the tree, or even customize the tab's layout like a layer tab.
      • Updating TMT: Using Github Desktop to update your mod's version of TMT.

      Common components

      • Upgrades: How to create upgrades for a layer.
      • Milestones: How to create milestones for a layer.
      • Buyables: Create rebuyable upgrades for your layer (with the option to make them respec-able). Can be used to make Enhancers or Space Buildings, for example.
      • Clickables: A more generalized variant of buyables, for any kind of thing that is sometimes clickable. Between these and Buyables, you can do just about anything.
      • Achievements: How to create achievements for a layer (or for the whole game).

      Other components and features

      • Challenges: How to create challenges for a layer.
      • Bars: Display some information as a progress bar, gauge, or similar. They are highly customizable, and can be horizontal and vertical as well.
      • Subtabs and Microtabs: Create subtabs for your tabs, as well as "microtab" components that you can put inside the tabs. You can even use them to embed a layer inside another layer!
      • [Grids][grids.md]: Create a group buttons that behave the same, but have their own data. Good for map tiles, an inventory grid, and more!
      • Infoboxes: Boxes containing text that can be shown or hidden.
      • Trees: Make your own trees. You can make non-layer button nodes too!
      • Particle system: Can be used to create particles for visual effects, but also interactable things like golden cookies or collectables.
      ',16),s=[r];function i(l,d,c,h,u,m){return t(),a("div",null,s)}const b=e(n,[["render",i]]);export{g as __pageData,b as default}; +import{_ as e,c as a,o as t,d as o}from"./app.830f7d24.js";const g=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"Table of Contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"General","slug":"general","link":"#general","children":[]},{"level":3,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":3,"title":"Other components and features","slug":"other-components-and-features","link":"#other-components-and-features","children":[]}]}],"relativePath":"public/kronos/docs/!general-info.md","lastUpdated":null}'),n={name:"public/kronos/docs/!general-info.md"},r=o('

      The-Modding-Tree

      Making a game in The Modding Tree mostly involves defining parameters or functions on objects. If you aren't following the getting started guide, you should start by setting up your basic mod info in mod.js. It's important to set a mod id to ensure saving works properly.

      Beyond that, the main way to add content is through creating layers, often in layers.js. You can add new layers by calling addLayer(layername, layerdata). There is an example of a basic layer in layers.js showing the recommended method. It is just an example and can be freely deleted. You can also use it as a reference or a base for your own layers.

      Most of the time, you won't need to dive deep into the code to create things, but you still can if you really want to, for example to add new Vue components in components.js.

      The Modding Tree uses break_eternity.js to store large values. This means that many numbers are Decimal objects, and must be treated differently. For example, you have to use new Decimal(x) to create a Decimal value instead of a plain number, and perform operations on them by calling functions. e.g, instead of x = x + y, use x = x.add(y). Keep in mind this also applies to comparison operators, which should be replaced with calling the .gt, .gte, .lt, .lte, .eq, and .neq functions. See the break_eternity.js docs for more details on working with Decimal values.

      Almost all values can be either a constant value, or a dynamic value. Dynamic values are defined by putting a function that returns what the value should be at any given time.

      All display text can use basic HTML elements (But you can't use most Vue features there).

      While reading this documentation, the following key will be used when describing features:

      • No label: This is required and the game may crash if it isn't included.
      • sometimes required: This is may be required, depending on other things in the layer.
      • optional: You can leave this out if you don't intend to use that feature for the layer.
      • assigned automagically: This value will be set automatically and override any value you set.
      • deprecated: This feature is not recommended to be used, because newer features are able to achieve the same thing in a better, easier way.

      Table of Contents

      General

      • Getting Started: Getting your own copy of the code set up with Github Desktop.
      • Main mod info: How to set up general things for your mod in mod.js.
      • Basic layer breakdown: Breaking down the components of a layer with minimal features.
      • Layer features: Explanations of all of the different properties that you can give a layer.
      • Custom Tab Layouts: An optional way to give your tabs a different layout. You can even create entirely new components to use.
      • Custom game layouts: You can get rid of the tree tab, add buttons and other things to the tree, or even customize the tab's layout like a layer tab.
      • Updating TMT: Using Github Desktop to update your mod's version of TMT.

      Common components

      • Upgrades: How to create upgrades for a layer.
      • Milestones: How to create milestones for a layer.
      • Buyables: Create rebuyable upgrades for your layer (with the option to make them respec-able). Can be used to make Enhancers or Space Buildings, for example.
      • Clickables: A more generalized variant of buyables, for any kind of thing that is sometimes clickable. Between these and Buyables, you can do just about anything.
      • Achievements: How to create achievements for a layer (or for the whole game).

      Other components and features

      • Challenges: How to create challenges for a layer.
      • Bars: Display some information as a progress bar, gauge, or similar. They are highly customizable, and can be horizontal and vertical as well.
      • Subtabs and Microtabs: Create subtabs for your tabs, as well as "microtab" components that you can put inside the tabs. You can even use them to embed a layer inside another layer!
      • [Grids][grids.md]: Create a group buttons that behave the same, but have their own data. Good for map tiles, an inventory grid, and more!
      • Infoboxes: Boxes containing text that can be shown or hidden.
      • Trees: Make your own trees. You can make non-layer button nodes too!
      • Particle system: Can be used to create particles for visual effects, but also interactable things like golden cookies or collectables.
      ',16),s=[r];function i(l,d,c,h,u,m){return t(),a("div",null,s)}const b=e(n,[["render",i]]);export{g as __pageData,b as default}; diff --git a/assets/public_kronos_docs_!general-info.md.16ffc414.lean.js b/assets/public_kronos_docs_!general-info.md.497ef86e.lean.js similarity index 92% rename from assets/public_kronos_docs_!general-info.md.16ffc414.lean.js rename to assets/public_kronos_docs_!general-info.md.497ef86e.lean.js index 2e746c78f..dd53bd4cc 100644 --- a/assets/public_kronos_docs_!general-info.md.16ffc414.lean.js +++ b/assets/public_kronos_docs_!general-info.md.497ef86e.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as o}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"Table of Contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"General","slug":"general","link":"#general","children":[]},{"level":3,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":3,"title":"Other components and features","slug":"other-components-and-features","link":"#other-components-and-features","children":[]}]}],"relativePath":"public/kronos/docs/!general-info.md","lastUpdated":null}'),n={name:"public/kronos/docs/!general-info.md"},r=o("",16),s=[r];function i(l,d,c,h,u,m){return t(),a("div",null,s)}const b=e(n,[["render",i]]);export{g as __pageData,b as default}; +import{_ as e,c as a,o as t,d as o}from"./app.830f7d24.js";const g=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"Table of Contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"General","slug":"general","link":"#general","children":[]},{"level":3,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":3,"title":"Other components and features","slug":"other-components-and-features","link":"#other-components-and-features","children":[]}]}],"relativePath":"public/kronos/docs/!general-info.md","lastUpdated":null}'),n={name:"public/kronos/docs/!general-info.md"},r=o("",16),s=[r];function i(l,d,c,h,u,m){return t(),a("div",null,s)}const b=e(n,[["render",i]]);export{g as __pageData,b as default}; diff --git a/assets/public_kronos_docs_achievements.md.26508a7a.js b/assets/public_kronos_docs_achievements.md.dddf94a6.js similarity index 98% rename from assets/public_kronos_docs_achievements.md.26508a7a.js rename to assets/public_kronos_docs_achievements.md.dddf94a6.js index 274925f55..2559b1509 100644 --- a/assets/public_kronos_docs_achievements.md.26508a7a.js +++ b/assets/public_kronos_docs_achievements.md.dddf94a6.js @@ -1,4 +1,4 @@ -import{_ as e,c as t,o as a,d as s}from"./app.c95a51e0.js";const v=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/achievements.md","lastUpdated":null}'),n={name:"public/kronos/docs/achievements.md"},o=s(`

      Achievements

      Achievements are awarded to the player when they meet a certain goal, and optionally give some benefit.

      You can make global achievements by putting them in a side layer by making its row equal to "side" instead of a number.

      Useful functions for dealing with achievements and implementing their effects:

      • hasAchievement(layer, id): determine if the player has the Achievement.
      • achievementEffect(layer, id): Returns the current effects of the achievement, if any.

      Achievements should be formatted like this:

      js
      achievements: {
      +import{_ as e,c as t,o as a,d as s}from"./app.830f7d24.js";const v=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/achievements.md","lastUpdated":null}'),n={name:"public/kronos/docs/achievements.md"},o=s(`

      Achievements

      Achievements are awarded to the player when they meet a certain goal, and optionally give some benefit.

      You can make global achievements by putting them in a side layer by making its row equal to "side" instead of a number.

      Useful functions for dealing with achievements and implementing their effects:

      • hasAchievement(layer, id): determine if the player has the Achievement.
      • achievementEffect(layer, id): Returns the current effects of the achievement, if any.

      Achievements should be formatted like this:

      js
      achievements: {
           11: {
               name: "Blah",
               more features
      diff --git a/assets/public_kronos_docs_achievements.md.26508a7a.lean.js b/assets/public_kronos_docs_achievements.md.dddf94a6.lean.js
      similarity index 84%
      rename from assets/public_kronos_docs_achievements.md.26508a7a.lean.js
      rename to assets/public_kronos_docs_achievements.md.dddf94a6.lean.js
      index ab09ec49e..f3e4555ef 100644
      --- a/assets/public_kronos_docs_achievements.md.26508a7a.lean.js
      +++ b/assets/public_kronos_docs_achievements.md.dddf94a6.lean.js
      @@ -1 +1 @@
      -import{_ as e,c as t,o as a,d as s}from"./app.c95a51e0.js";const v=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/achievements.md","lastUpdated":null}'),n={name:"public/kronos/docs/achievements.md"},o=s("",11),i=[o];function l(p,r,c,h,d,u){return a(),t("div",null,i)}const g=e(n,[["render",l]]);export{v as __pageData,g as default};
      +import{_ as e,c as t,o as a,d as s}from"./app.830f7d24.js";const v=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/achievements.md","lastUpdated":null}'),n={name:"public/kronos/docs/achievements.md"},o=s("",11),i=[o];function l(p,r,c,h,d,u){return a(),t("div",null,i)}const g=e(n,[["render",l]]);export{v as __pageData,g as default};
      diff --git a/assets/public_kronos_docs_bars.md.72a3fb7d.js b/assets/public_kronos_docs_bars.md.07743100.js
      similarity index 98%
      rename from assets/public_kronos_docs_bars.md.72a3fb7d.js
      rename to assets/public_kronos_docs_bars.md.07743100.js
      index bff38ece5..2b02325f0 100644
      --- a/assets/public_kronos_docs_bars.md.72a3fb7d.js
      +++ b/assets/public_kronos_docs_bars.md.07743100.js
      @@ -1,4 +1,4 @@
      -import{_ as s,c as a,o as n,d as e}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/bars.md","lastUpdated":null}'),o={name:"public/kronos/docs/bars.md"},t=e(`

      Bars

      Bars let you display information in a more direct way. It can be a progress bar, health bar, capacity gauge, or anything else.

      Bars are defined like other Big Features:

      js
      bars: {
      +import{_ as s,c as a,o as n,d as e}from"./app.830f7d24.js";const u=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/bars.md","lastUpdated":null}'),o={name:"public/kronos/docs/bars.md"},t=e(`

      Bars

      Bars let you display information in a more direct way. It can be a progress bar, health bar, capacity gauge, or anything else.

      Bars are defined like other Big Features:

      js
      bars: {
           bigBar: {
               direction: RIGHT,
               width: 200,
      diff --git a/assets/public_kronos_docs_bars.md.72a3fb7d.lean.js b/assets/public_kronos_docs_bars.md.07743100.lean.js
      similarity index 83%
      rename from assets/public_kronos_docs_bars.md.72a3fb7d.lean.js
      rename to assets/public_kronos_docs_bars.md.07743100.lean.js
      index be8f75bb6..fc1cf800f 100644
      --- a/assets/public_kronos_docs_bars.md.72a3fb7d.lean.js
      +++ b/assets/public_kronos_docs_bars.md.07743100.lean.js
      @@ -1 +1 @@
      -import{_ as s,c as a,o as n,d as e}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/bars.md","lastUpdated":null}'),o={name:"public/kronos/docs/bars.md"},t=e("",6),l=[t];function p(r,i,c,y,d,F){return n(),a("div",null,l)}const b=s(o,[["render",p]]);export{u as __pageData,b as default};
      +import{_ as s,c as a,o as n,d as e}from"./app.830f7d24.js";const u=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/bars.md","lastUpdated":null}'),o={name:"public/kronos/docs/bars.md"},t=e("",6),l=[t];function p(r,i,c,y,d,F){return n(),a("div",null,l)}const b=s(o,[["render",p]]);export{u as __pageData,b as default};
      diff --git a/assets/public_kronos_docs_basic-layer-breakdown.md.76fdeb94.js b/assets/public_kronos_docs_basic-layer-breakdown.md.dd77b1be.js
      similarity index 99%
      rename from assets/public_kronos_docs_basic-layer-breakdown.md.76fdeb94.js
      rename to assets/public_kronos_docs_basic-layer-breakdown.md.dd77b1be.js
      index 181917ec5..bb0fc52cd 100644
      --- a/assets/public_kronos_docs_basic-layer-breakdown.md.76fdeb94.js
      +++ b/assets/public_kronos_docs_basic-layer-breakdown.md.dd77b1be.js
      @@ -1,4 +1,4 @@
      -import{_ as s,c as n,o as a,d as o}from"./app.c95a51e0.js";const A=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/basic-layer-breakdown.md","lastUpdated":null}'),l={name:"public/kronos/docs/basic-layer-breakdown.md"},p=o(`

      Basic layer breakdown

      This is a very minimal layer with minimal features. Most things will require additional features.

      js
      addLayer("p", {
      +import{_ as s,c as n,o as a,d as o}from"./app.830f7d24.js";const A=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/basic-layer-breakdown.md","lastUpdated":null}'),l={name:"public/kronos/docs/basic-layer-breakdown.md"},p=o(`

      Basic layer breakdown

      This is a very minimal layer with minimal features. Most things will require additional features.

      js
      addLayer("p", {
           startData() { return {                  // startData is a function that returns default data for a layer. 
               unlocked: true,                     // You can add more variables here to add them to your layer.
               points: new Decimal(0),             // "points" is the internal name for the main resource of the layer.
      diff --git a/assets/public_kronos_docs_basic-layer-breakdown.md.76fdeb94.lean.js b/assets/public_kronos_docs_basic-layer-breakdown.md.dd77b1be.lean.js
      similarity index 85%
      rename from assets/public_kronos_docs_basic-layer-breakdown.md.76fdeb94.lean.js
      rename to assets/public_kronos_docs_basic-layer-breakdown.md.dd77b1be.lean.js
      index 6ef872ea2..00ad4b581 100644
      --- a/assets/public_kronos_docs_basic-layer-breakdown.md.76fdeb94.lean.js
      +++ b/assets/public_kronos_docs_basic-layer-breakdown.md.dd77b1be.lean.js
      @@ -1 +1 @@
      -import{_ as s,c as n,o as a,d as o}from"./app.c95a51e0.js";const A=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/basic-layer-breakdown.md","lastUpdated":null}'),l={name:"public/kronos/docs/basic-layer-breakdown.md"},p=o("",3),e=[p];function t(r,c,y,F,D,i){return a(),n("div",null,e)}const u=s(l,[["render",t]]);export{A as __pageData,u as default};
      +import{_ as s,c as n,o as a,d as o}from"./app.830f7d24.js";const A=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/basic-layer-breakdown.md","lastUpdated":null}'),l={name:"public/kronos/docs/basic-layer-breakdown.md"},p=o("",3),e=[p];function t(r,c,y,F,D,i){return a(),n("div",null,e)}const u=s(l,[["render",t]]);export{A as __pageData,u as default};
      diff --git a/assets/public_kronos_docs_buyables.md.66ebb48e.js b/assets/public_kronos_docs_buyables.md.96620441.js
      similarity index 99%
      rename from assets/public_kronos_docs_buyables.md.66ebb48e.js
      rename to assets/public_kronos_docs_buyables.md.96620441.js
      index e900024bc..6459676fe 100644
      --- a/assets/public_kronos_docs_buyables.md.66ebb48e.js
      +++ b/assets/public_kronos_docs_buyables.md.96620441.js
      @@ -1,4 +1,4 @@
      -import{_ as s,c as a,o as n,d as e}from"./app.c95a51e0.js";const b=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/buyables.md","lastUpdated":null}'),l={name:"public/kronos/docs/buyables.md"},o=e(`

      Buyables

      Buyables are usually things that can be bought multiple times with scaling costs. They come with optional buttons that can be used for respeccing or selling buyables, among other things.

      The amount of a buyable owned is a Decimal.

      Useful functions for dealing with buyables and implementing their effects:

      • getBuyableAmount(layer, id): get the amount of the buyable the player has
      • setBuyableAmount(layer, id, amount): set the amount of the buyable the player has
      • buyableEffect(layer, id): Returns the current effects of the buyable, if any.

      Buyables should be formatted like this:

      js
      buyables: {
      +import{_ as s,c as a,o as n,d as e}from"./app.830f7d24.js";const b=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/buyables.md","lastUpdated":null}'),l={name:"public/kronos/docs/buyables.md"},o=e(`

      Buyables

      Buyables are usually things that can be bought multiple times with scaling costs. They come with optional buttons that can be used for respeccing or selling buyables, among other things.

      The amount of a buyable owned is a Decimal.

      Useful functions for dealing with buyables and implementing their effects:

      • getBuyableAmount(layer, id): get the amount of the buyable the player has
      • setBuyableAmount(layer, id, amount): set the amount of the buyable the player has
      • buyableEffect(layer, id): Returns the current effects of the buyable, if any.

      Buyables should be formatted like this:

      js
      buyables: {
           11: {
               cost(x) { return new Decimal(1).mul(x) },
               display() { return "Blah" },
      diff --git a/assets/public_kronos_docs_buyables.md.66ebb48e.lean.js b/assets/public_kronos_docs_buyables.md.96620441.lean.js
      similarity index 83%
      rename from assets/public_kronos_docs_buyables.md.66ebb48e.lean.js
      rename to assets/public_kronos_docs_buyables.md.96620441.lean.js
      index 49e4da64f..fe4f76254 100644
      --- a/assets/public_kronos_docs_buyables.md.66ebb48e.lean.js
      +++ b/assets/public_kronos_docs_buyables.md.96620441.lean.js
      @@ -1 +1 @@
      -import{_ as s,c as a,o as n,d as e}from"./app.c95a51e0.js";const b=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/buyables.md","lastUpdated":null}'),l={name:"public/kronos/docs/buyables.md"},o=e("",14),t=[o];function p(r,c,i,y,u,F){return n(),a("div",null,t)}const D=s(l,[["render",p]]);export{b as __pageData,D as default};
      +import{_ as s,c as a,o as n,d as e}from"./app.830f7d24.js";const b=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/buyables.md","lastUpdated":null}'),l={name:"public/kronos/docs/buyables.md"},o=e("",14),t=[o];function p(r,c,i,y,u,F){return n(),a("div",null,t)}const D=s(l,[["render",p]]);export{b as __pageData,D as default};
      diff --git a/assets/public_kronos_docs_challenges.md.0feee9d3.js b/assets/public_kronos_docs_challenges.md.bae87348.js
      similarity index 99%
      rename from assets/public_kronos_docs_challenges.md.0feee9d3.js
      rename to assets/public_kronos_docs_challenges.md.bae87348.js
      index 8240df4fb..d162d5d29 100644
      --- a/assets/public_kronos_docs_challenges.md.0feee9d3.js
      +++ b/assets/public_kronos_docs_challenges.md.bae87348.js
      @@ -1,4 +1,4 @@
      -import{_ as e,c as n,o as a,d as l}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/challenges.md","lastUpdated":null}'),s={name:"public/kronos/docs/challenges.md"},t=l(`

      Challenges

      Challenges can have fully customizable win conditions. Useful functions for dealing with Challenges and implementing their effects:

      • inChallenge(layer, id): determine if the player is in a given challenge (or another challenge on the same layer that counts as this one).
      • hasChallenge(layer, id): determine if the player has completed the challenge.
      • challengeCompletions(layer, id): determine how many times the player completed the challenge.
      • maxedChallenge(layer, id): determines if the player has reached the maximum completions.
      • challengeEffect(layer, id): Returns the current effects of the challenge, if any.

      Challenges are stored in the following format:

      js
      challenges: {
      +import{_ as e,c as n,o as a,d as l}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/challenges.md","lastUpdated":null}'),s={name:"public/kronos/docs/challenges.md"},t=l(`

      Challenges

      Challenges can have fully customizable win conditions. Useful functions for dealing with Challenges and implementing their effects:

      • inChallenge(layer, id): determine if the player is in a given challenge (or another challenge on the same layer that counts as this one).
      • hasChallenge(layer, id): determine if the player has completed the challenge.
      • challengeCompletions(layer, id): determine how many times the player completed the challenge.
      • maxedChallenge(layer, id): determines if the player has reached the maximum completions.
      • challengeEffect(layer, id): Returns the current effects of the challenge, if any.

      Challenges are stored in the following format:

      js
      challenges: {
           11: {
               name: "Ouch",
               challengeDescription: "description of ouchie",
      diff --git a/assets/public_kronos_docs_challenges.md.0feee9d3.lean.js b/assets/public_kronos_docs_challenges.md.bae87348.lean.js
      similarity index 83%
      rename from assets/public_kronos_docs_challenges.md.0feee9d3.lean.js
      rename to assets/public_kronos_docs_challenges.md.bae87348.lean.js
      index 0566ca44e..539fec775 100644
      --- a/assets/public_kronos_docs_challenges.md.0feee9d3.lean.js
      +++ b/assets/public_kronos_docs_challenges.md.bae87348.lean.js
      @@ -1 +1 @@
      -import{_ as e,c as n,o as a,d as l}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/challenges.md","lastUpdated":null}'),s={name:"public/kronos/docs/challenges.md"},t=l("",10),o=[t];function i(r,p,c,h,u,g){return a(),n("div",null,o)}const f=e(s,[["render",i]]);export{y as __pageData,f as default};
      +import{_ as e,c as n,o as a,d as l}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/challenges.md","lastUpdated":null}'),s={name:"public/kronos/docs/challenges.md"},t=l("",10),o=[t];function i(r,p,c,h,u,g){return a(),n("div",null,o)}const f=e(s,[["render",i]]);export{y as __pageData,f as default};
      diff --git a/assets/public_kronos_docs_clickables.md.6b4c30f9.js b/assets/public_kronos_docs_clickables.md.7f6f2b3b.js
      similarity index 98%
      rename from assets/public_kronos_docs_clickables.md.6b4c30f9.js
      rename to assets/public_kronos_docs_clickables.md.7f6f2b3b.js
      index 171afa0b3..c8a59c9d4 100644
      --- a/assets/public_kronos_docs_clickables.md.6b4c30f9.js
      +++ b/assets/public_kronos_docs_clickables.md.7f6f2b3b.js
      @@ -1,4 +1,4 @@
      -import{_ as e,c as t,o as a,d as s}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/clickables.md","lastUpdated":null}'),l={name:"public/kronos/docs/clickables.md"},n=s(`

      Clickables

      Clickables are any kind of thing that you can click for an effect. They're a more generalized version of Buyables.

      DO NOT USE THESE TO MAKE THINGS THAT YOU CLICK REPEATEDLY FOR A BONUS BECAUSE THOSE ARE AWFUL.

      There are several differences between the two. One is that a buyable's saved data is its amount as a Decimal, while Clickables store a "state" which can be a number or string, but not Decimal, array, or object). Buyables have a number of extra features which you can see on their page. Clickables also have a smaller default size.

      Useful functions for dealing with clickables and implementing their effects:

      • getClickableState(layer, id): get the state of the clickable the player has
      • setClickableState(layer, id, state): set the state of the clickable the player has
      • clickableEffect(layer, id): Returns the current effects of the clickable, if any.

      Clickables should be formatted like this:

      js
      clickables: {
      +import{_ as e,c as t,o as a,d as s}from"./app.830f7d24.js";const f=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/clickables.md","lastUpdated":null}'),l={name:"public/kronos/docs/clickables.md"},n=s(`

      Clickables

      Clickables are any kind of thing that you can click for an effect. They're a more generalized version of Buyables.

      DO NOT USE THESE TO MAKE THINGS THAT YOU CLICK REPEATEDLY FOR A BONUS BECAUSE THOSE ARE AWFUL.

      There are several differences between the two. One is that a buyable's saved data is its amount as a Decimal, while Clickables store a "state" which can be a number or string, but not Decimal, array, or object). Buyables have a number of extra features which you can see on their page. Clickables also have a smaller default size.

      Useful functions for dealing with clickables and implementing their effects:

      • getClickableState(layer, id): get the state of the clickable the player has
      • setClickableState(layer, id, state): set the state of the clickable the player has
      • clickableEffect(layer, id): Returns the current effects of the clickable, if any.

      Clickables should be formatted like this:

      js
      clickables: {
           11: {
               display() {return "Blah"},
               etc
      diff --git a/assets/public_kronos_docs_clickables.md.6b4c30f9.lean.js b/assets/public_kronos_docs_clickables.md.7f6f2b3b.lean.js
      similarity index 83%
      rename from assets/public_kronos_docs_clickables.md.6b4c30f9.lean.js
      rename to assets/public_kronos_docs_clickables.md.7f6f2b3b.lean.js
      index f81c5769c..f4fdca21c 100644
      --- a/assets/public_kronos_docs_clickables.md.6b4c30f9.lean.js
      +++ b/assets/public_kronos_docs_clickables.md.7f6f2b3b.lean.js
      @@ -1 +1 @@
      -import{_ as e,c as t,o as a,d as s}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/clickables.md","lastUpdated":null}'),l={name:"public/kronos/docs/clickables.md"},n=s("",12),o=[n];function i(c,r,p,u,h,d){return a(),t("div",null,o)}const y=e(l,[["render",i]]);export{f as __pageData,y as default};
      +import{_ as e,c as t,o as a,d as s}from"./app.830f7d24.js";const f=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/clickables.md","lastUpdated":null}'),l={name:"public/kronos/docs/clickables.md"},n=s("",12),o=[n];function i(c,r,p,u,h,d){return a(),t("div",null,o)}const y=e(l,[["render",i]]);export{f as __pageData,y as default};
      diff --git a/assets/public_kronos_docs_custom-tab-layouts.md.f078bb58.js b/assets/public_kronos_docs_custom-tab-layouts.md.cf5ee186.js
      similarity index 99%
      rename from assets/public_kronos_docs_custom-tab-layouts.md.f078bb58.js
      rename to assets/public_kronos_docs_custom-tab-layouts.md.cf5ee186.js
      index d46aceb28..e3f047f78 100644
      --- a/assets/public_kronos_docs_custom-tab-layouts.md.f078bb58.js
      +++ b/assets/public_kronos_docs_custom-tab-layouts.md.cf5ee186.js
      @@ -1,4 +1,4 @@
      -import{_ as s,c as a,o,d as e}from"./app.c95a51e0.js";const F=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/custom-tab-layouts.md","lastUpdated":null}'),t={name:"public/kronos/docs/custom-tab-layouts.md"},n=e(`

      Custom tab layouts

      Note: If you are using subtabs, tabFormat is used differently, but the same format is used for defining their layouts. See here for more on subtabs.

      Custom tab layouts can be used to do basically anything in a tab window, especially combined with the "style" layer feature. The tabFormat feature is an array of things, like this:

      js
      tabFormat: [
      +import{_ as s,c as a,o,d as e}from"./app.830f7d24.js";const F=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/custom-tab-layouts.md","lastUpdated":null}'),t={name:"public/kronos/docs/custom-tab-layouts.md"},n=e(`

      Custom tab layouts

      Note: If you are using subtabs, tabFormat is used differently, but the same format is used for defining their layouts. See here for more on subtabs.

      Custom tab layouts can be used to do basically anything in a tab window, especially combined with the "style" layer feature. The tabFormat feature is an array of things, like this:

      js
      tabFormat: [
           "main-display",
           ["prestige-button", function() { return "Melt your points into " }],
           "blank",
      diff --git a/assets/public_kronos_docs_custom-tab-layouts.md.f078bb58.lean.js b/assets/public_kronos_docs_custom-tab-layouts.md.cf5ee186.lean.js
      similarity index 84%
      rename from assets/public_kronos_docs_custom-tab-layouts.md.f078bb58.lean.js
      rename to assets/public_kronos_docs_custom-tab-layouts.md.cf5ee186.lean.js
      index f56d66356..c25257e93 100644
      --- a/assets/public_kronos_docs_custom-tab-layouts.md.f078bb58.lean.js
      +++ b/assets/public_kronos_docs_custom-tab-layouts.md.cf5ee186.lean.js
      @@ -1 +1 @@
      -import{_ as s,c as a,o,d as e}from"./app.c95a51e0.js";const F=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/custom-tab-layouts.md","lastUpdated":null}'),t={name:"public/kronos/docs/custom-tab-layouts.md"},n=e("",9),l=[n];function p(r,i,c,y,D,u){return o(),a("div",null,l)}const d=s(t,[["render",p]]);export{F as __pageData,d as default};
      +import{_ as s,c as a,o,d as e}from"./app.830f7d24.js";const F=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/custom-tab-layouts.md","lastUpdated":null}'),t={name:"public/kronos/docs/custom-tab-layouts.md"},n=e("",9),l=[n];function p(r,i,c,y,D,u){return o(),a("div",null,l)}const d=s(t,[["render",p]]);export{F as __pageData,d as default};
      diff --git a/assets/public_kronos_docs_getting-started.md.d986d28f.js b/assets/public_kronos_docs_getting-started.md.dadfc156.js
      similarity index 98%
      rename from assets/public_kronos_docs_getting-started.md.d986d28f.js
      rename to assets/public_kronos_docs_getting-started.md.dadfc156.js
      index fa9a95d09..7c9b63b0f 100644
      --- a/assets/public_kronos_docs_getting-started.md.d986d28f.js
      +++ b/assets/public_kronos_docs_getting-started.md.dadfc156.js
      @@ -1 +1 @@
      -import{_ as e,c as t,o,d as i}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:","slug":"getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","link":"#getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","children":[{"level":3,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}]}],"relativePath":"public/kronos/docs/getting-started.md","lastUpdated":null}'),a={name:"public/kronos/docs/getting-started.md"},n=i('

      Getting started

      Welcome to The Modding Tree!

      Using the Modding Tree, at its simplest level, just requires getting a copy of it onto your computer. However, if you do it the right way, it will help in many ways.

      Don't let the word "Github" scare you away. It's actually much easier to use than most people think, especially because most people use it the hard way. The key is Github Desktop, which lets you do everything you need to, without even touching the command line.

      The benefits of using Github:

      • It makes it much, much easier to update The Modding Tree.
      • You can share your work without any extra effort using githack, or with a bit more effort, set up a github.io site.
      • It lets you undo changes to your code, and to have multiple versions of it.
      • It lets you collaborate with other people, if you want to.

      Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:

      1. Install Github Desktop and Visual Studio Code.

      2. Make a Github account. You can handle this on your own.

      3. Log in on your browser, and go back to The Modding Tree page. At the top right, there should be a button that says "fork". Click on it, and then on your username. You now have your own fork, or copy, of The Modding Tree.

      4. Open Github Desktop and log in. Ignore everything else and choose "clone a repository". A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is downloading a copy of the repository to your computer.

      5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".

      6. Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.

      Using your repository

      1. Click on "show in explorer/finder" to the right, and then open the index.html file in the folder. The page should open up on your browser. This will let you view and test your project locally!

      2. To edit your project, click "open in VSCode" in Github Desktop.

      3. Open mod.js in VSCode, and look at the top part where it has a "modInfo" object. Fill in your mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later or else it'll effectively wipe existing saves)

      4. Save mod.js, and then reload index.html in your browser. The title on the tab, as well as on the info page, will now be updated! You can reload the page every time you change the code to test it quickly and easily.

      5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit". This basically saves your work and creates a snapshot of what your code looks like at this moment, allowing you to look back at it later.

      6. At the bottom right corner, add a summary of your changes, and then click "commit to master".

      7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository.

      8. You can view your project on line, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html

      And now, you have successfully used Github! You can look at the documentation to see how The Modding Tree's system works and to make your mod a reality.

      ',11),r=[n];function s(l,h,u,d,p,c){return o(),t("div",null,r)}const m=e(a,[["render",s]]);export{y as __pageData,m as default}; +import{_ as e,c as t,o,d as i}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:","slug":"getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","link":"#getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","children":[{"level":3,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}]}],"relativePath":"public/kronos/docs/getting-started.md","lastUpdated":null}'),a={name:"public/kronos/docs/getting-started.md"},n=i('

      Getting started

      Welcome to The Modding Tree!

      Using the Modding Tree, at its simplest level, just requires getting a copy of it onto your computer. However, if you do it the right way, it will help in many ways.

      Don't let the word "Github" scare you away. It's actually much easier to use than most people think, especially because most people use it the hard way. The key is Github Desktop, which lets you do everything you need to, without even touching the command line.

      The benefits of using Github:

      • It makes it much, much easier to update The Modding Tree.
      • You can share your work without any extra effort using githack, or with a bit more effort, set up a github.io site.
      • It lets you undo changes to your code, and to have multiple versions of it.
      • It lets you collaborate with other people, if you want to.

      Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:

      1. Install Github Desktop and Visual Studio Code.

      2. Make a Github account. You can handle this on your own.

      3. Log in on your browser, and go back to The Modding Tree page. At the top right, there should be a button that says "fork". Click on it, and then on your username. You now have your own fork, or copy, of The Modding Tree.

      4. Open Github Desktop and log in. Ignore everything else and choose "clone a repository". A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is downloading a copy of the repository to your computer.

      5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".

      6. Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.

      Using your repository

      1. Click on "show in explorer/finder" to the right, and then open the index.html file in the folder. The page should open up on your browser. This will let you view and test your project locally!

      2. To edit your project, click "open in VSCode" in Github Desktop.

      3. Open mod.js in VSCode, and look at the top part where it has a "modInfo" object. Fill in your mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later or else it'll effectively wipe existing saves)

      4. Save mod.js, and then reload index.html in your browser. The title on the tab, as well as on the info page, will now be updated! You can reload the page every time you change the code to test it quickly and easily.

      5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit". This basically saves your work and creates a snapshot of what your code looks like at this moment, allowing you to look back at it later.

      6. At the bottom right corner, add a summary of your changes, and then click "commit to master".

      7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository.

      8. You can view your project on line, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html

      And now, you have successfully used Github! You can look at the documentation to see how The Modding Tree's system works and to make your mod a reality.

      ',11),r=[n];function s(l,h,u,d,p,c){return o(),t("div",null,r)}const m=e(a,[["render",s]]);export{y as __pageData,m as default}; diff --git a/assets/public_kronos_docs_getting-started.md.d986d28f.lean.js b/assets/public_kronos_docs_getting-started.md.dadfc156.lean.js similarity index 92% rename from assets/public_kronos_docs_getting-started.md.d986d28f.lean.js rename to assets/public_kronos_docs_getting-started.md.dadfc156.lean.js index b790d401d..de477df37 100644 --- a/assets/public_kronos_docs_getting-started.md.d986d28f.lean.js +++ b/assets/public_kronos_docs_getting-started.md.dadfc156.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,d as i}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:","slug":"getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","link":"#getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","children":[{"level":3,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}]}],"relativePath":"public/kronos/docs/getting-started.md","lastUpdated":null}'),a={name:"public/kronos/docs/getting-started.md"},n=i("",11),r=[n];function s(l,h,u,d,p,c){return o(),t("div",null,r)}const m=e(a,[["render",s]]);export{y as __pageData,m as default}; +import{_ as e,c as t,o,d as i}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:","slug":"getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","link":"#getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","children":[{"level":3,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}]}],"relativePath":"public/kronos/docs/getting-started.md","lastUpdated":null}'),a={name:"public/kronos/docs/getting-started.md"},n=i("",11),r=[n];function s(l,h,u,d,p,c){return o(),t("div",null,r)}const m=e(a,[["render",s]]);export{y as __pageData,m as default}; diff --git a/assets/public_kronos_docs_grids.md.5e0e41c8.js b/assets/public_kronos_docs_grids.md.8afe2d46.js similarity index 99% rename from assets/public_kronos_docs_grids.md.5e0e41c8.js rename to assets/public_kronos_docs_grids.md.8afe2d46.js index 62b889745..ec440cde9 100644 --- a/assets/public_kronos_docs_grids.md.5e0e41c8.js +++ b/assets/public_kronos_docs_grids.md.8afe2d46.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,o as n,d as e}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"Grids","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/grids.md","lastUpdated":null}'),l={name:"public/kronos/docs/grids.md"},o=e(`

      Grids

      Grids are an easier way of making a group of similar clickables. They all have the same behavior, but are different based on their data.

      NOTE: Gridables are similar to clickables in some respects, but are fundamentally different from normal TMT components in quite a few ways. Be sure to keep these in mind:

      • Gridable ids use base 100 instead of base 10, so you can have more than 10 tiles in a row. This means that a grid might look like this: 101 102 201 202
      • Individual gridables are not defined individually. All properties go directly into the "grid" object. Functions are called with arguments for the id of the gridables and its associated data, so you can give them the appropriate appearance and properties based on that.
      • If you need two unrelated grids in a layer, you'll need to use a layer proxy component.

      Useful functions for dealing with grids:

      • getGridData(layer, id): get the data for the chosen gridable
      • setGridData(layer, id, state): set the data for the chosen gridable
      • gridEffect(layer, id): get the effect for the chosen gridable

      The grid should be formatted like this:

      js
      grid: {
      +import{_ as s,c as a,o as n,d as e}from"./app.830f7d24.js";const u=JSON.parse('{"title":"Grids","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/grids.md","lastUpdated":null}'),l={name:"public/kronos/docs/grids.md"},o=e(`

      Grids

      Grids are an easier way of making a group of similar clickables. They all have the same behavior, but are different based on their data.

      NOTE: Gridables are similar to clickables in some respects, but are fundamentally different from normal TMT components in quite a few ways. Be sure to keep these in mind:

      • Gridable ids use base 100 instead of base 10, so you can have more than 10 tiles in a row. This means that a grid might look like this: 101 102 201 202
      • Individual gridables are not defined individually. All properties go directly into the "grid" object. Functions are called with arguments for the id of the gridables and its associated data, so you can give them the appropriate appearance and properties based on that.
      • If you need two unrelated grids in a layer, you'll need to use a layer proxy component.

      Useful functions for dealing with grids:

      • getGridData(layer, id): get the data for the chosen gridable
      • setGridData(layer, id, state): set the data for the chosen gridable
      • gridEffect(layer, id): get the effect for the chosen gridable

      The grid should be formatted like this:

      js
      grid: {
           rows: 4, // If these are dynamic make sure to have a max value as well!
           cols: 5,
           getStartData(id) {
      diff --git a/assets/public_kronos_docs_grids.md.5e0e41c8.lean.js b/assets/public_kronos_docs_grids.md.8afe2d46.lean.js
      similarity index 83%
      rename from assets/public_kronos_docs_grids.md.5e0e41c8.lean.js
      rename to assets/public_kronos_docs_grids.md.8afe2d46.lean.js
      index 98a842290..7af8537d2 100644
      --- a/assets/public_kronos_docs_grids.md.5e0e41c8.lean.js
      +++ b/assets/public_kronos_docs_grids.md.8afe2d46.lean.js
      @@ -1 +1 @@
      -import{_ as s,c as a,o as n,d as e}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"Grids","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/grids.md","lastUpdated":null}'),l={name:"public/kronos/docs/grids.md"},o=e("",10),t=[o];function p(r,i,c,d,y,F){return n(),a("div",null,t)}const g=s(l,[["render",p]]);export{u as __pageData,g as default};
      +import{_ as s,c as a,o as n,d as e}from"./app.830f7d24.js";const u=JSON.parse('{"title":"Grids","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/grids.md","lastUpdated":null}'),l={name:"public/kronos/docs/grids.md"},o=e("",10),t=[o];function p(r,i,c,d,y,F){return n(),a("div",null,t)}const g=s(l,[["render",p]]);export{u as __pageData,g as default};
      diff --git a/assets/public_kronos_docs_infoboxes.md.74fe6240.js b/assets/public_kronos_docs_infoboxes.md.9409ff18.js
      similarity index 98%
      rename from assets/public_kronos_docs_infoboxes.md.74fe6240.js
      rename to assets/public_kronos_docs_infoboxes.md.9409ff18.js
      index d320987a2..4e845130b 100644
      --- a/assets/public_kronos_docs_infoboxes.md.74fe6240.js
      +++ b/assets/public_kronos_docs_infoboxes.md.9409ff18.js
      @@ -1,4 +1,4 @@
      -import{_ as s,c as o,o as a,d as n}from"./app.c95a51e0.js";const b=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/infoboxes.md","lastUpdated":null}'),e={name:"public/kronos/docs/infoboxes.md"},t=n(`

      Infoboxes

      Infoboxes are good for displaying "lore", or story elements, as well as for explaining complicated things.

      In the default tab layout, the first infobox will be displayed at the very top of the tab.

      Infoboxes are defined like other Big Features:

      js
      infoboxes: {
      +import{_ as s,c as o,o as a,d as n}from"./app.830f7d24.js";const b=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/infoboxes.md","lastUpdated":null}'),e={name:"public/kronos/docs/infoboxes.md"},t=n(`

      Infoboxes

      Infoboxes are good for displaying "lore", or story elements, as well as for explaining complicated things.

      In the default tab layout, the first infobox will be displayed at the very top of the tab.

      Infoboxes are defined like other Big Features:

      js
      infoboxes: {
           lore: {
               title: "foo",
               body() { return "bar" },
      diff --git a/assets/public_kronos_docs_infoboxes.md.74fe6240.lean.js b/assets/public_kronos_docs_infoboxes.md.9409ff18.lean.js
      similarity index 83%
      rename from assets/public_kronos_docs_infoboxes.md.74fe6240.lean.js
      rename to assets/public_kronos_docs_infoboxes.md.9409ff18.lean.js
      index e10cde34b..93a274652 100644
      --- a/assets/public_kronos_docs_infoboxes.md.74fe6240.lean.js
      +++ b/assets/public_kronos_docs_infoboxes.md.9409ff18.lean.js
      @@ -1 +1 @@
      -import{_ as s,c as o,o as a,d as n}from"./app.c95a51e0.js";const b=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/infoboxes.md","lastUpdated":null}'),e={name:"public/kronos/docs/infoboxes.md"},t=n("",7),l=[t];function p(r,i,c,y,d,F){return a(),o("div",null,l)}const h=s(e,[["render",p]]);export{b as __pageData,h as default};
      +import{_ as s,c as o,o as a,d as n}from"./app.830f7d24.js";const b=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/infoboxes.md","lastUpdated":null}'),e={name:"public/kronos/docs/infoboxes.md"},t=n("",7),l=[t];function p(r,i,c,y,d,F){return a(),o("div",null,l)}const h=s(e,[["render",p]]);export{b as __pageData,h as default};
      diff --git a/assets/public_kronos_docs_layer-features.md.12af1e9e.js b/assets/public_kronos_docs_layer-features.md.75e4d4e1.js
      similarity index 99%
      rename from assets/public_kronos_docs_layer-features.md.12af1e9e.js
      rename to assets/public_kronos_docs_layer-features.md.75e4d4e1.js
      index c015e951a..c178c821c 100644
      --- a/assets/public_kronos_docs_layer-features.md.12af1e9e.js
      +++ b/assets/public_kronos_docs_layer-features.md.75e4d4e1.js
      @@ -1,4 +1,4 @@
      -import{_ as e,c as t,o as s,d as a}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Other prestige-related features","slug":"other-prestige-related-features","link":"#other-prestige-related-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/kronos/docs/layer-features.md","lastUpdated":null}'),o={name:"public/kronos/docs/layer-features.md"},n=a(`

      Layer Features

      This is a more comprehensive list of established features to add to layers. You can add more freely, if you want to have other functions or values associated with your layer. These have special functionality, though.

      You can make almost any value dynamic by using a function in its place, including all display strings and styling/color features.

      Layer Definition features

      • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar to access the saved value. It makes copying code to new layers easier. It is also assigned to all upgrades and buyables and such.

      • name: optional. used in reset confirmations (and the default infobox title). If absent, it just uses the layer's id.

      • startData(): A function to return the default save data for this layer. Add any variables you have to it. Make sure to use Decimal values rather than normal numbers.

        Standard values: - Required: - unlocked: a bool determining if this layer is unlocked or not - points: a Decimal, the main currency for the layer - Optional: - total: A Decimal, tracks total amount of main prestige currency. Always tracked, but only shown if you add it here. - best: A Decimal, tracks highest amount of main prestige currency. Always tracked, but only shown if you add it here. - unlockOrder: used to keep track of relevant layers unlocked before this one. - resetTime: A number, time since this layer was last prestiged (or reset by another layer)

      • color: A color associated with this layer, used in many places. (A string in hex format with a #)

      • row: The row of the layer, starting at 0. This affects where the node appears on the standard tree, and which resets affect the layer.

        Using "side" instead of a number will cause the layer to appear off to the side as a smaller node (useful for achievements and statistics). Side layers are not affected by resets unless you add a doReset to them.

      • displayRow: OVERRIDE Changes where the layer node appears without changing where it is in the reset order.

      • resource: Name of the main currency you gain by resetting on this layer.

      • effect(): optional. A function that calculates and returns the current values of any bonuses inherent to the main currency. Can return a value or an object containing multiple values. You will also have to implement the effect where it is applied.

      • effectDescription: optional. A function that returns a description of this effect. If the text stays constant, it can just be a string.

      • layerShown(): optional, A function returning a bool which determines if this layer's node should be visible on the tree. It can also return "ghost", which will hide the layer, but its node will still take up space in the tree. Defaults to true.

      • hotkeys: optional. An array containing information on any hotkeys associated with this layer:

        js
        hotkeys: [
        +import{_ as e,c as t,o as s,d as a}from"./app.830f7d24.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Other prestige-related features","slug":"other-prestige-related-features","link":"#other-prestige-related-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/kronos/docs/layer-features.md","lastUpdated":null}'),o={name:"public/kronos/docs/layer-features.md"},n=a(`

        Layer Features

        This is a more comprehensive list of established features to add to layers. You can add more freely, if you want to have other functions or values associated with your layer. These have special functionality, though.

        You can make almost any value dynamic by using a function in its place, including all display strings and styling/color features.

        Layer Definition features

        • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar to access the saved value. It makes copying code to new layers easier. It is also assigned to all upgrades and buyables and such.

        • name: optional. used in reset confirmations (and the default infobox title). If absent, it just uses the layer's id.

        • startData(): A function to return the default save data for this layer. Add any variables you have to it. Make sure to use Decimal values rather than normal numbers.

          Standard values: - Required: - unlocked: a bool determining if this layer is unlocked or not - points: a Decimal, the main currency for the layer - Optional: - total: A Decimal, tracks total amount of main prestige currency. Always tracked, but only shown if you add it here. - best: A Decimal, tracks highest amount of main prestige currency. Always tracked, but only shown if you add it here. - unlockOrder: used to keep track of relevant layers unlocked before this one. - resetTime: A number, time since this layer was last prestiged (or reset by another layer)

        • color: A color associated with this layer, used in many places. (A string in hex format with a #)

        • row: The row of the layer, starting at 0. This affects where the node appears on the standard tree, and which resets affect the layer.

          Using "side" instead of a number will cause the layer to appear off to the side as a smaller node (useful for achievements and statistics). Side layers are not affected by resets unless you add a doReset to them.

        • displayRow: OVERRIDE Changes where the layer node appears without changing where it is in the reset order.

        • resource: Name of the main currency you gain by resetting on this layer.

        • effect(): optional. A function that calculates and returns the current values of any bonuses inherent to the main currency. Can return a value or an object containing multiple values. You will also have to implement the effect where it is applied.

        • effectDescription: optional. A function that returns a description of this effect. If the text stays constant, it can just be a string.

        • layerShown(): optional, A function returning a bool which determines if this layer's node should be visible on the tree. It can also return "ghost", which will hide the layer, but its node will still take up space in the tree. Defaults to true.

        • hotkeys: optional. An array containing information on any hotkeys associated with this layer:

          js
          hotkeys: [
               {
                   key: "p", // What the hotkey button is. Use uppercase if it's combined with shift, or "ctrl+x" for holding down ctrl.
                   description: "p: reset your points for prestige points", // The description of the hotkey that is displayed in the game's How To Play tab
          diff --git a/assets/public_kronos_docs_layer-features.md.12af1e9e.lean.js b/assets/public_kronos_docs_layer-features.md.75e4d4e1.lean.js
          similarity index 95%
          rename from assets/public_kronos_docs_layer-features.md.12af1e9e.lean.js
          rename to assets/public_kronos_docs_layer-features.md.75e4d4e1.lean.js
          index ade0da497..a6532eb44 100644
          --- a/assets/public_kronos_docs_layer-features.md.12af1e9e.lean.js
          +++ b/assets/public_kronos_docs_layer-features.md.75e4d4e1.lean.js
          @@ -1 +1 @@
          -import{_ as e,c as t,o as s,d as a}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Other prestige-related features","slug":"other-prestige-related-features","link":"#other-prestige-related-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/kronos/docs/layer-features.md","lastUpdated":null}'),o={name:"public/kronos/docs/layer-features.md"},n=a("",20),r=[n];function l(i,p,c,u,h,d){return s(),t("div",null,r)}const g=e(o,[["render",l]]);export{f as __pageData,g as default};
          +import{_ as e,c as t,o as s,d as a}from"./app.830f7d24.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Other prestige-related features","slug":"other-prestige-related-features","link":"#other-prestige-related-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/kronos/docs/layer-features.md","lastUpdated":null}'),o={name:"public/kronos/docs/layer-features.md"},n=a("",20),r=[n];function l(i,p,c,u,h,d){return s(),t("div",null,r)}const g=e(o,[["render",l]]);export{f as __pageData,g as default};
          diff --git a/assets/public_kronos_docs_main-mod-info.md.3f89aaa3.js b/assets/public_kronos_docs_main-mod-info.md.18e4243d.js
          similarity index 99%
          rename from assets/public_kronos_docs_main-mod-info.md.3f89aaa3.js
          rename to assets/public_kronos_docs_main-mod-info.md.18e4243d.js
          index dfe863f26..d800aae27 100644
          --- a/assets/public_kronos_docs_main-mod-info.md.3f89aaa3.js
          +++ b/assets/public_kronos_docs_main-mod-info.md.18e4243d.js
          @@ -1,4 +1,4 @@
          -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/kronos/docs/main-mod-info.md"},o=t(`

          mod.js

          Most of the non-layer code and data that you're likely to edit is here in mod.js. Everything in mod.js will not be altered by updates, besides the addition of new things.

          Here's a breakdown of what's in it:

          • modInfo is where most of the basic configuration for the mod is. It contains:

            • name: The name of your mod. (a string)

            • id: The id for your mod, a unique string that is used to determine savefile location. Be sure to set it when you start making a mod, and don't change it later because it will erase all saves.

            • author: The name of the author, displayed in the info tab.

            • pointsName: This changes what is displayed instead of "points" for the main currency. (It does not affect it in the code.)

            • discordName, discordLink: If you have a Discord server or other discussion place, you can add a link to it.

              "discordName" is the text on the link, and "discordLink" is the url of an invite. If you're using a Discord invite, please make sure it's set to never expire.

            • offlineLimit: The maximum amount of offline time that the player can accumulate, in hours. Any extra time is lost. (a number)

              This is useful because most of these mods are fast-paced enough that too much offline time ruins the balance, such as the time in between updates. That is why I suggest developers disable offline time on their own savefile.

            • initialStartPoints: A Decimal for the amount of points a new player should start with.

          • VERSION is used to describe the current version of your mod. It contains:

            • num: The mod's version number, displayed at the top right of the tree tab.
            • name: The version's name, displayed alongside the number in the info tab.
          • changelog is the HTML displayed in the changelog tab. If this gets particularly long, it might be good to put in a separate file (be sure to add the file to index.html)

          • doNotCallTheseFunctionsEveryTick is very important, if you are adding non-standard functions. TMT calls every function anywhere in "layers" every tick to store the result, unless specifically told not to. Functions that have are used to do an action need to be identified. "Official" functions (those in the documentation) are all fine, but if you make any new ones, add their names to this array.

          js
          // (The ones here are examples, all official functions are already taken care of)
          +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/kronos/docs/main-mod-info.md"},o=t(`

          mod.js

          Most of the non-layer code and data that you're likely to edit is here in mod.js. Everything in mod.js will not be altered by updates, besides the addition of new things.

          Here's a breakdown of what's in it:

          • modInfo is where most of the basic configuration for the mod is. It contains:

            • name: The name of your mod. (a string)

            • id: The id for your mod, a unique string that is used to determine savefile location. Be sure to set it when you start making a mod, and don't change it later because it will erase all saves.

            • author: The name of the author, displayed in the info tab.

            • pointsName: This changes what is displayed instead of "points" for the main currency. (It does not affect it in the code.)

            • discordName, discordLink: If you have a Discord server or other discussion place, you can add a link to it.

              "discordName" is the text on the link, and "discordLink" is the url of an invite. If you're using a Discord invite, please make sure it's set to never expire.

            • offlineLimit: The maximum amount of offline time that the player can accumulate, in hours. Any extra time is lost. (a number)

              This is useful because most of these mods are fast-paced enough that too much offline time ruins the balance, such as the time in between updates. That is why I suggest developers disable offline time on their own savefile.

            • initialStartPoints: A Decimal for the amount of points a new player should start with.

          • VERSION is used to describe the current version of your mod. It contains:

            • num: The mod's version number, displayed at the top right of the tree tab.
            • name: The version's name, displayed alongside the number in the info tab.
          • changelog is the HTML displayed in the changelog tab. If this gets particularly long, it might be good to put in a separate file (be sure to add the file to index.html)

          • doNotCallTheseFunctionsEveryTick is very important, if you are adding non-standard functions. TMT calls every function anywhere in "layers" every tick to store the result, unless specifically told not to. Functions that have are used to do an action need to be identified. "Official" functions (those in the documentation) are all fine, but if you make any new ones, add their names to this array.

          js
          // (The ones here are examples, all official functions are already taken care of)
           var doNotCallTheseFunctionsEveryTick = ["doReset", "buy", "onPurchase", "blowUpEverything"]
           
          • getStartPoints(): A function to determine the amount of points the player starts with after a reset. (returns a Decimal value)

          • canGenPoints(): A function returning a boolean for if points should be generated. Use this if you want an upgrade to unlock generating points.

          • getPointGen(): A function that calculates your points per second. Anything that affects your point gain should go into the calculation here.

          • addedPlayerData(): A function that returns any non-layer-related data that you want to be added to the save data and "player" object.

          js
          function addedPlayerData() { return {
           	weather: "Yes",
          diff --git a/assets/public_kronos_docs_main-mod-info.md.3f89aaa3.lean.js b/assets/public_kronos_docs_main-mod-info.md.18e4243d.lean.js
          similarity index 84%
          rename from assets/public_kronos_docs_main-mod-info.md.3f89aaa3.lean.js
          rename to assets/public_kronos_docs_main-mod-info.md.18e4243d.lean.js
          index bbf3d2c60..194597da0 100644
          --- a/assets/public_kronos_docs_main-mod-info.md.3f89aaa3.lean.js
          +++ b/assets/public_kronos_docs_main-mod-info.md.18e4243d.lean.js
          @@ -1 +1 @@
          -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/kronos/docs/main-mod-info.md"},o=t("",10),i=[o];function l(p,r,c,d,u,h){return a(),s("div",null,i)}const m=e(n,[["render",l]]);export{f as __pageData,m as default};
          +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/kronos/docs/main-mod-info.md"},o=t("",10),i=[o];function l(p,r,c,d,u,h){return a(),s("div",null,i)}const m=e(n,[["render",l]]);export{f as __pageData,m as default};
          diff --git a/assets/public_kronos_docs_milestones.md.a64561b9.js b/assets/public_kronos_docs_milestones.md.1821acdf.js
          similarity index 98%
          rename from assets/public_kronos_docs_milestones.md.a64561b9.js
          rename to assets/public_kronos_docs_milestones.md.1821acdf.js
          index abb92c789..a3c47b04b 100644
          --- a/assets/public_kronos_docs_milestones.md.a64561b9.js
          +++ b/assets/public_kronos_docs_milestones.md.1821acdf.js
          @@ -1,4 +1,4 @@
          -import{_ as s,c as e,o as n,d as o}from"./app.c95a51e0.js";const F=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/milestones.md","lastUpdated":null}'),a={name:"public/kronos/docs/milestones.md"},t=o(`

          Milestones

          Milestones are awarded to the player when they meet a certain goal, and give some benefit. Milestones should be formatted like this:

          js
          milestones: {
          +import{_ as s,c as e,o as n,d as o}from"./app.830f7d24.js";const F=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/milestones.md","lastUpdated":null}'),a={name:"public/kronos/docs/milestones.md"},t=o(`

          Milestones

          Milestones are awarded to the player when they meet a certain goal, and give some benefit. Milestones should be formatted like this:

          js
          milestones: {
               0: {
                   requirementDescription: "123 waffles",
                   effectDescription: "blah",
          diff --git a/assets/public_kronos_docs_milestones.md.a64561b9.lean.js b/assets/public_kronos_docs_milestones.md.1821acdf.lean.js
          similarity index 83%
          rename from assets/public_kronos_docs_milestones.md.a64561b9.lean.js
          rename to assets/public_kronos_docs_milestones.md.1821acdf.lean.js
          index 4a574f8a5..e39575724 100644
          --- a/assets/public_kronos_docs_milestones.md.a64561b9.lean.js
          +++ b/assets/public_kronos_docs_milestones.md.1821acdf.lean.js
          @@ -1 +1 @@
          -import{_ as s,c as e,o as n,d as o}from"./app.c95a51e0.js";const F=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/milestones.md","lastUpdated":null}'),a={name:"public/kronos/docs/milestones.md"},t=o("",7),l=[t];function p(i,r,c,d,u,h){return n(),e("div",null,l)}const g=s(a,[["render",p]]);export{F as __pageData,g as default};
          +import{_ as s,c as e,o as n,d as o}from"./app.830f7d24.js";const F=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/milestones.md","lastUpdated":null}'),a={name:"public/kronos/docs/milestones.md"},t=o("",7),l=[t];function p(i,r,c,d,u,h){return n(),e("div",null,l)}const g=s(a,[["render",p]]);export{F as __pageData,g as default};
          diff --git a/assets/public_kronos_docs_particles.md.c2343fff.js b/assets/public_kronos_docs_particles.md.7ea29387.js
          similarity index 99%
          rename from assets/public_kronos_docs_particles.md.c2343fff.js
          rename to assets/public_kronos_docs_particles.md.7ea29387.js
          index 4676b1dff..02ed6c138 100644
          --- a/assets/public_kronos_docs_particles.md.c2343fff.js
          +++ b/assets/public_kronos_docs_particles.md.7ea29387.js
          @@ -1,4 +1,4 @@
          -import{_ as e,c as a,o as s,d as t}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Particles","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/particles.md","lastUpdated":null}'),l={name:"public/kronos/docs/particles.md"},n=t(`

          Particles

          Particles are free-floating elements that can move and have many different behaviors. They can also interact with the mouse.

          To make particles, use makeParticles(particle, amount). particle is a particle-defining object, with features as explained below. There is also makeShinies, which uses different defaults and creates stationary particles at a random location. There are also a few other useful things listed at the end.

          js
          
          +import{_ as e,c as a,o as s,d as t}from"./app.830f7d24.js";const f=JSON.parse('{"title":"Particles","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/particles.md","lastUpdated":null}'),l={name:"public/kronos/docs/particles.md"},n=t(`

          Particles

          Particles are free-floating elements that can move and have many different behaviors. They can also interact with the mouse.

          To make particles, use makeParticles(particle, amount). particle is a particle-defining object, with features as explained below. There is also makeShinies, which uses different defaults and creates stationary particles at a random location. There are also a few other useful things listed at the end.

          js
          
           const myParticle {
               image:"options_wheel.png",
               spread: 20,
          diff --git a/assets/public_kronos_docs_particles.md.c2343fff.lean.js b/assets/public_kronos_docs_particles.md.7ea29387.lean.js
          similarity index 83%
          rename from assets/public_kronos_docs_particles.md.c2343fff.lean.js
          rename to assets/public_kronos_docs_particles.md.7ea29387.lean.js
          index 4cbd79144..2780c47f7 100644
          --- a/assets/public_kronos_docs_particles.md.c2343fff.lean.js
          +++ b/assets/public_kronos_docs_particles.md.7ea29387.lean.js
          @@ -1 +1 @@
          -import{_ as e,c as a,o as s,d as t}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Particles","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/particles.md","lastUpdated":null}'),l={name:"public/kronos/docs/particles.md"},n=t("",11),o=[n];function i(p,r,c,d,h,u){return s(),a("div",null,o)}const D=e(l,[["render",i]]);export{f as __pageData,D as default};
          +import{_ as e,c as a,o as s,d as t}from"./app.830f7d24.js";const f=JSON.parse('{"title":"Particles","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/particles.md","lastUpdated":null}'),l={name:"public/kronos/docs/particles.md"},n=t("",11),o=[n];function i(p,r,c,d,h,u){return s(),a("div",null,o)}const D=e(l,[["render",i]]);export{f as __pageData,D as default};
          diff --git a/assets/public_kronos_docs_subtabs-and-microtabs.md.d883fd2e.js b/assets/public_kronos_docs_subtabs-and-microtabs.md.da3dc314.js
          similarity index 99%
          rename from assets/public_kronos_docs_subtabs-and-microtabs.md.d883fd2e.js
          rename to assets/public_kronos_docs_subtabs-and-microtabs.md.da3dc314.js
          index c9836958f..243cf40f9 100644
          --- a/assets/public_kronos_docs_subtabs-and-microtabs.md.d883fd2e.js
          +++ b/assets/public_kronos_docs_subtabs-and-microtabs.md.da3dc314.js
          @@ -1,4 +1,4 @@
          -import{_ as s,c as a,o as n,d as o}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/subtabs-and-microtabs.md","lastUpdated":null}'),t={name:"public/kronos/docs/subtabs-and-microtabs.md"},l=o(`

          Subtabs and Microtabs

          Subtabs are separate sections of a tab that you can view by selecting one at the top of the tab. Microtabs are smaller areas that function in much the same way. You can also embed layers inside of subtabs/microtabs.

          Subtabs are defined by using the tab format like this, where each element of tabFormat is given the name of that subtab:

          js
          tabFormat: {
          +import{_ as s,c as a,o as n,d as o}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/subtabs-and-microtabs.md","lastUpdated":null}'),t={name:"public/kronos/docs/subtabs-and-microtabs.md"},l=o(`

          Subtabs and Microtabs

          Subtabs are separate sections of a tab that you can view by selecting one at the top of the tab. Microtabs are smaller areas that function in much the same way. You can also embed layers inside of subtabs/microtabs.

          Subtabs are defined by using the tab format like this, where each element of tabFormat is given the name of that subtab:

          js
          tabFormat: {
               "Main tab": {
                   content: [tab format things],
                   *subtab features*
          diff --git a/assets/public_kronos_docs_subtabs-and-microtabs.md.d883fd2e.lean.js b/assets/public_kronos_docs_subtabs-and-microtabs.md.da3dc314.lean.js
          similarity index 85%
          rename from assets/public_kronos_docs_subtabs-and-microtabs.md.d883fd2e.lean.js
          rename to assets/public_kronos_docs_subtabs-and-microtabs.md.da3dc314.lean.js
          index 1c13f0018..487769caf 100644
          --- a/assets/public_kronos_docs_subtabs-and-microtabs.md.d883fd2e.lean.js
          +++ b/assets/public_kronos_docs_subtabs-and-microtabs.md.da3dc314.lean.js
          @@ -1 +1 @@
          -import{_ as s,c as a,o as n,d as o}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/subtabs-and-microtabs.md","lastUpdated":null}'),t={name:"public/kronos/docs/subtabs-and-microtabs.md"},l=o("",9),e=[l];function p(r,c,i,y,F,u){return n(),a("div",null,e)}const D=s(t,[["render",p]]);export{h as __pageData,D as default};
          +import{_ as s,c as a,o as n,d as o}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/subtabs-and-microtabs.md","lastUpdated":null}'),t={name:"public/kronos/docs/subtabs-and-microtabs.md"},l=o("",9),e=[l];function p(r,c,i,y,F,u){return n(),a("div",null,e)}const D=s(t,[["render",p]]);export{h as __pageData,D as default};
          diff --git a/assets/public_kronos_docs_trees-and-tree-customization.md.c3840cb8.js b/assets/public_kronos_docs_trees-and-tree-customization.md.f25ba3c6.js
          similarity index 99%
          rename from assets/public_kronos_docs_trees-and-tree-customization.md.c3840cb8.js
          rename to assets/public_kronos_docs_trees-and-tree-customization.md.f25ba3c6.js
          index e4707501f..76032e4dc 100644
          --- a/assets/public_kronos_docs_trees-and-tree-customization.md.c3840cb8.js
          +++ b/assets/public_kronos_docs_trees-and-tree-customization.md.f25ba3c6.js
          @@ -1,4 +1,4 @@
          -import{_ as e,c as t,o,d as a}from"./app.c95a51e0.js";const D=JSON.parse('{"title":"Trees and tree customization","description":"","frontmatter":{},"headers":[{"level":2,"title":"layoutInfo","slug":"layoutinfo","link":"#layoutinfo","children":[]},{"level":2,"title":"Trees","slug":"trees","link":"#trees","children":[]},{"level":2,"title":"Nodes","slug":"nodes","link":"#nodes","children":[]}],"relativePath":"public/kronos/docs/trees-and-tree-customization.md","lastUpdated":null}'),s={name:"public/kronos/docs/trees-and-tree-customization.md"},n=a(`

          Trees and tree customization

          If you want to have something beyond the standard tree on the left tab, you can do that in tree.js. You can change the layout of the tree, including making non-layer nodes, change it into something other than a tree, or hide the left tab altogether. This also introduces the "tree" component, which can be used in your layers as well.

          layoutInfo

          The most important part is layoutInfo, containing:

          • startTab: The id of the default tab to show on the left at the start.
          • showTree: True if the tree tab should be shown at the start of the game. (The other tab will fill the whole page)
          • treeLayout: If present, overrides the tree layout and places nodes as you describe instead (explained in the next section).

          Additionally, if you want the main layout to not be a tree, you can edit the "tree-tab" layer at the bottom of tree.js to modify it just like a normal layer's tab. You can even switch between left tabs, using showNavTab(layer) to make that layer appear on the left.

          Trees

          The tree component is defined as an array of arrays of names of layers or nodes to show in the tree. They work just like layers/ nodes in the main tree (but branches between nodes will only work on the first node if you have duplicates.)

          Here is an example tree:

          js
          [["p"],
          +import{_ as e,c as t,o,d as a}from"./app.830f7d24.js";const D=JSON.parse('{"title":"Trees and tree customization","description":"","frontmatter":{},"headers":[{"level":2,"title":"layoutInfo","slug":"layoutinfo","link":"#layoutinfo","children":[]},{"level":2,"title":"Trees","slug":"trees","link":"#trees","children":[]},{"level":2,"title":"Nodes","slug":"nodes","link":"#nodes","children":[]}],"relativePath":"public/kronos/docs/trees-and-tree-customization.md","lastUpdated":null}'),s={name:"public/kronos/docs/trees-and-tree-customization.md"},n=a(`

          Trees and tree customization

          If you want to have something beyond the standard tree on the left tab, you can do that in tree.js. You can change the layout of the tree, including making non-layer nodes, change it into something other than a tree, or hide the left tab altogether. This also introduces the "tree" component, which can be used in your layers as well.

          layoutInfo

          The most important part is layoutInfo, containing:

          • startTab: The id of the default tab to show on the left at the start.
          • showTree: True if the tree tab should be shown at the start of the game. (The other tab will fill the whole page)
          • treeLayout: If present, overrides the tree layout and places nodes as you describe instead (explained in the next section).

          Additionally, if you want the main layout to not be a tree, you can edit the "tree-tab" layer at the bottom of tree.js to modify it just like a normal layer's tab. You can even switch between left tabs, using showNavTab(layer) to make that layer appear on the left.

          Trees

          The tree component is defined as an array of arrays of names of layers or nodes to show in the tree. They work just like layers/ nodes in the main tree (but branches between nodes will only work on the first node if you have duplicates.)

          Here is an example tree:

          js
          [["p"],
            ["left", "blank", "right", "blank"]
            ["a", "b", "blank", "c", "weirdButton"]]
           

          Nodes

          Nodes are non-layer buttons that can go in trees. They are defined similarly to layers, but with addNode instead of addLayer.

          Features:

          • color: optional, The node's color. (A string in hex format with a #)

          • symbol: optional The text on the button (The id capitalized by default)

          • canClick(): Returns true if the player can click the node. ()

          • onClick(): The function called when the node is clicked.

          • layerShown(): optional, A function returning a bool which determines if this node should be visible. It can also return "ghost", which will hide the layer, but its node will still take up space in its tree.

          • branches: optional. 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).

          • nodeStyle: optional. A CSS object, where the keys are CSS attributes, which styles this node on the tree.

          • tooltip() / tooltipLocked(): optional. 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.

          • row: optional, the row that this node appears in (for the default tree).

          • position: optional, 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.

          `,14),l=[n];function r(i,p,c,h,d,u){return o(),t("div",null,l)}const f=e(s,[["render",r]]);export{D as __pageData,f as default}; diff --git a/assets/public_kronos_docs_trees-and-tree-customization.md.c3840cb8.lean.js b/assets/public_kronos_docs_trees-and-tree-customization.md.f25ba3c6.lean.js similarity index 90% rename from assets/public_kronos_docs_trees-and-tree-customization.md.c3840cb8.lean.js rename to assets/public_kronos_docs_trees-and-tree-customization.md.f25ba3c6.lean.js index bb57c086d..e83a68dbc 100644 --- a/assets/public_kronos_docs_trees-and-tree-customization.md.c3840cb8.lean.js +++ b/assets/public_kronos_docs_trees-and-tree-customization.md.f25ba3c6.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,d as a}from"./app.c95a51e0.js";const D=JSON.parse('{"title":"Trees and tree customization","description":"","frontmatter":{},"headers":[{"level":2,"title":"layoutInfo","slug":"layoutinfo","link":"#layoutinfo","children":[]},{"level":2,"title":"Trees","slug":"trees","link":"#trees","children":[]},{"level":2,"title":"Nodes","slug":"nodes","link":"#nodes","children":[]}],"relativePath":"public/kronos/docs/trees-and-tree-customization.md","lastUpdated":null}'),s={name:"public/kronos/docs/trees-and-tree-customization.md"},n=a("",14),l=[n];function r(i,p,c,h,d,u){return o(),t("div",null,l)}const f=e(s,[["render",r]]);export{D as __pageData,f as default}; +import{_ as e,c as t,o,d as a}from"./app.830f7d24.js";const D=JSON.parse('{"title":"Trees and tree customization","description":"","frontmatter":{},"headers":[{"level":2,"title":"layoutInfo","slug":"layoutinfo","link":"#layoutinfo","children":[]},{"level":2,"title":"Trees","slug":"trees","link":"#trees","children":[]},{"level":2,"title":"Nodes","slug":"nodes","link":"#nodes","children":[]}],"relativePath":"public/kronos/docs/trees-and-tree-customization.md","lastUpdated":null}'),s={name:"public/kronos/docs/trees-and-tree-customization.md"},n=a("",14),l=[n];function r(i,p,c,h,d,u){return o(),t("div",null,l)}const f=e(s,[["render",r]]);export{D as __pageData,f as default}; diff --git a/assets/public_kronos_docs_updating-tmt.md.96ac7b0d.js b/assets/public_kronos_docs_updating-tmt.md.9aa0ea82.js similarity index 96% rename from assets/public_kronos_docs_updating-tmt.md.96ac7b0d.js rename to assets/public_kronos_docs_updating-tmt.md.9aa0ea82.js index 730f45551..54dee2ef3 100644 --- a/assets/public_kronos_docs_updating-tmt.md.96ac7b0d.js +++ b/assets/public_kronos_docs_updating-tmt.md.9aa0ea82.js @@ -1 +1 @@ -import{_ as t,c as e,o,d as a}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/kronos/docs/updating-tmt.md"},n=a('

          Updating The Modding Tree

          This tutorial assumes that you have used the Getting Started Tutorial, and are using Github Desktop and VSCode for your mod.

          Here's what you have to do when there's a TMT update:

          1. Look at the changelog. It will warn you if the update will break anything or require any changes. Decide if you want to try to update.

          2. Open Github Desktop, and at the top middle, click "fetch origin". This will make Github Desktop get information about the update.

          3. Click where it says "current branch: master" at the top middle, and at the bottom of the thing that appears, click "choose a branch to merge into master".

          4. Select upstream/master. It will likely say there are conflicts, but you have tools to resolve them. Click "Merge upstream/master into master".

          5. A conflict happens when the things you're trying to merge have both made changes in the same place. Click "open in Visual Studio Code" next to the first file.

          6. Scroll down through the file, and look for the parts highlighted in red and green. One of these is your code, and the other is some code that will be modified by the update. Do your best to try to edit things to keep the updated changes, but keep your content.

          7. Continue to do this for all remaining changes.

          8. Do any other changes required by the update, run the game, fix issues, etc.

          ',4),r=[n];function h(s,d,l,p,u,c){return o(),e("div",null,r)}const _=t(i,[["render",h]]);export{m as __pageData,_ as default}; +import{_ as t,c as e,o,d as a}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/kronos/docs/updating-tmt.md"},n=a('

          Updating The Modding Tree

          This tutorial assumes that you have used the Getting Started Tutorial, and are using Github Desktop and VSCode for your mod.

          Here's what you have to do when there's a TMT update:

          1. Look at the changelog. It will warn you if the update will break anything or require any changes. Decide if you want to try to update.

          2. Open Github Desktop, and at the top middle, click "fetch origin". This will make Github Desktop get information about the update.

          3. Click where it says "current branch: master" at the top middle, and at the bottom of the thing that appears, click "choose a branch to merge into master".

          4. Select upstream/master. It will likely say there are conflicts, but you have tools to resolve them. Click "Merge upstream/master into master".

          5. A conflict happens when the things you're trying to merge have both made changes in the same place. Click "open in Visual Studio Code" next to the first file.

          6. Scroll down through the file, and look for the parts highlighted in red and green. One of these is your code, and the other is some code that will be modified by the update. Do your best to try to edit things to keep the updated changes, but keep your content.

          7. Continue to do this for all remaining changes.

          8. Do any other changes required by the update, run the game, fix issues, etc.

          ',4),r=[n];function h(s,d,l,p,u,c){return o(),e("div",null,r)}const _=t(i,[["render",h]]);export{m as __pageData,_ as default}; diff --git a/assets/public_kronos_docs_updating-tmt.md.96ac7b0d.lean.js b/assets/public_kronos_docs_updating-tmt.md.9aa0ea82.lean.js similarity index 84% rename from assets/public_kronos_docs_updating-tmt.md.96ac7b0d.lean.js rename to assets/public_kronos_docs_updating-tmt.md.9aa0ea82.lean.js index d6fc084a4..04063becc 100644 --- a/assets/public_kronos_docs_updating-tmt.md.96ac7b0d.lean.js +++ b/assets/public_kronos_docs_updating-tmt.md.9aa0ea82.lean.js @@ -1 +1 @@ -import{_ as t,c as e,o,d as a}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/kronos/docs/updating-tmt.md"},n=a("",4),r=[n];function h(s,d,l,p,u,c){return o(),e("div",null,r)}const _=t(i,[["render",h]]);export{m as __pageData,_ as default}; +import{_ as t,c as e,o,d as a}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/kronos/docs/updating-tmt.md"},n=a("",4),r=[n];function h(s,d,l,p,u,c){return o(),e("div",null,r)}const _=t(i,[["render",h]]);export{m as __pageData,_ as default}; diff --git a/assets/public_kronos_docs_upgrades.md.39a2314e.js b/assets/public_kronos_docs_upgrades.md.401e594e.js similarity index 98% rename from assets/public_kronos_docs_upgrades.md.39a2314e.js rename to assets/public_kronos_docs_upgrades.md.401e594e.js index 9318869b6..bcdd9e340 100644 --- a/assets/public_kronos_docs_upgrades.md.39a2314e.js +++ b/assets/public_kronos_docs_upgrades.md.401e594e.js @@ -1,4 +1,4 @@ -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/upgrades.md","lastUpdated":null}'),n={name:"public/kronos/docs/upgrades.md"},o=t(`

          Upgrades

          Useful functions for dealing with Upgrades and implementing their effects:

          • hasUpgrade(layer, id): determine if the player has the upgrade
          • upgradeEffect(layer, id): Returns the current effects of the upgrade, if any
          • buyUpgrade(layer, id): Buys an upgrade directly (if affordable)

          Hint: Basic point gain is calculated in mod.js's "getPointGen" function.

          Upgrades are stored in the following format:

          js
          upgrades: {
          +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/upgrades.md","lastUpdated":null}'),n={name:"public/kronos/docs/upgrades.md"},o=t(`

          Upgrades

          Useful functions for dealing with Upgrades and implementing their effects:

          • hasUpgrade(layer, id): determine if the player has the upgrade
          • upgradeEffect(layer, id): Returns the current effects of the upgrade, if any
          • buyUpgrade(layer, id): Buys an upgrade directly (if affordable)

          Hint: Basic point gain is calculated in mod.js's "getPointGen" function.

          Upgrades are stored in the following format:

          js
          upgrades: {
               11: {
                   description: "Blah",
                   cost: new Decimal(100),
          diff --git a/assets/public_kronos_docs_upgrades.md.39a2314e.lean.js b/assets/public_kronos_docs_upgrades.md.401e594e.lean.js
          similarity index 83%
          rename from assets/public_kronos_docs_upgrades.md.39a2314e.lean.js
          rename to assets/public_kronos_docs_upgrades.md.401e594e.lean.js
          index 2bc6876ac..fb98185e9 100644
          --- a/assets/public_kronos_docs_upgrades.md.39a2314e.lean.js
          +++ b/assets/public_kronos_docs_upgrades.md.401e594e.lean.js
          @@ -1 +1 @@
          -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/upgrades.md","lastUpdated":null}'),n={name:"public/kronos/docs/upgrades.md"},o=t("",13),l=[o];function r(i,p,c,u,d,h){return a(),s("div",null,l)}const f=e(n,[["render",r]]);export{g as __pageData,f as default};
          +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/kronos/docs/upgrades.md","lastUpdated":null}'),n={name:"public/kronos/docs/upgrades.md"},o=t("",13),l=[o];function r(i,p,c,u,d,h){return a(),s("div",null,l)}const f=e(n,[["render",r]]);export{g as __pageData,f as default};
          diff --git a/assets/public_lit_Old Things_2.0-format-changes.md.82822887.js b/assets/public_lit_Old Things_2.0-format-changes.md.b1a04056.js
          similarity index 96%
          rename from assets/public_lit_Old Things_2.0-format-changes.md.82822887.js
          rename to assets/public_lit_Old Things_2.0-format-changes.md.b1a04056.js
          index 4b793c80a..a05251e85 100644
          --- a/assets/public_lit_Old Things_2.0-format-changes.md.82822887.js	
          +++ b/assets/public_lit_Old Things_2.0-format-changes.md.b1a04056.js	
          @@ -1 +1 @@
          -import{_ as e,c as a,o as t,d as i}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/Old Things/2.0-format-changes.md","lastUpdated":null}'),l={name:"public/lit/Old Things/2.0-format-changes.md"},n=i('

          2.0 format changes

          • Temp format is changed from temp.something[layer] to temp[layer].something, for consistency
          • Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
          • effectDisplay in Challenges and Upgrades no longer takes an argument, and neither does effect for Buyables
          • Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
          • Generation of Points now happens in the main game loop (not in a layer update function), enabled by canGenPoints in game.js.
          • Changed fullLayerReset to layerDataReset, which takes an array of names of values to keep

          In addition, many names were changed, mostly expanding abbreviations:

          All instances of:

          • chall -> challenge
          • unl -> unlocked
          • upg -> upgrade (besides CSS)
          • amt -> amount
          • desc -> description
          • resCeil -> roundUpCost
          • order -> unlockOrder
          • incr_order -> increaseUnlockOrder

          Challenges:

          • desc -> challengeDescription
          • reward -> rewardDescription
          • effect -> rewardEffect
          • effectDisplay -> rewardDisplay
          • active -> challengeActive
          ',7),o=[n];function s(r,c,d,h,g,p){return t(),a("div",null,o)}const m=e(l,[["render",s]]);export{u as __pageData,m as default}; +import{_ as e,c as a,o as t,d as i}from"./app.830f7d24.js";const u=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/Old Things/2.0-format-changes.md","lastUpdated":null}'),l={name:"public/lit/Old Things/2.0-format-changes.md"},n=i('

          2.0 format changes

          • Temp format is changed from temp.something[layer] to temp[layer].something, for consistency
          • Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
          • effectDisplay in Challenges and Upgrades no longer takes an argument, and neither does effect for Buyables
          • Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
          • Generation of Points now happens in the main game loop (not in a layer update function), enabled by canGenPoints in game.js.
          • Changed fullLayerReset to layerDataReset, which takes an array of names of values to keep

          In addition, many names were changed, mostly expanding abbreviations:

          All instances of:

          • chall -> challenge
          • unl -> unlocked
          • upg -> upgrade (besides CSS)
          • amt -> amount
          • desc -> description
          • resCeil -> roundUpCost
          • order -> unlockOrder
          • incr_order -> increaseUnlockOrder

          Challenges:

          • desc -> challengeDescription
          • reward -> rewardDescription
          • effect -> rewardEffect
          • effectDisplay -> rewardDisplay
          • active -> challengeActive
          ',7),o=[n];function s(r,c,d,h,g,p){return t(),a("div",null,o)}const m=e(l,[["render",s]]);export{u as __pageData,m as default}; diff --git a/assets/public_lit_Old Things_2.0-format-changes.md.82822887.lean.js b/assets/public_lit_Old Things_2.0-format-changes.md.b1a04056.lean.js similarity index 85% rename from assets/public_lit_Old Things_2.0-format-changes.md.82822887.lean.js rename to assets/public_lit_Old Things_2.0-format-changes.md.b1a04056.lean.js index ac8fdaabf..7b98285a6 100644 --- a/assets/public_lit_Old Things_2.0-format-changes.md.82822887.lean.js +++ b/assets/public_lit_Old Things_2.0-format-changes.md.b1a04056.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as i}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/Old Things/2.0-format-changes.md","lastUpdated":null}'),l={name:"public/lit/Old Things/2.0-format-changes.md"},n=i("",7),o=[n];function s(r,c,d,h,g,p){return t(),a("div",null,o)}const m=e(l,[["render",s]]);export{u as __pageData,m as default}; +import{_ as e,c as a,o as t,d as i}from"./app.830f7d24.js";const u=JSON.parse('{"title":"2.0 format changes","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/Old Things/2.0-format-changes.md","lastUpdated":null}'),l={name:"public/lit/Old Things/2.0-format-changes.md"},n=i("",7),o=[n];function s(r,c,d,h,g,p){return t(),a("div",null,o)}const m=e(l,[["render",s]]);export{u as __pageData,m as default}; diff --git a/assets/public_lit_README.md.57233aa0.js b/assets/public_lit_README.md.256b0c3d.js similarity index 91% rename from assets/public_lit_README.md.57233aa0.js rename to assets/public_lit_README.md.256b0c3d.js index c3dcce826..6c52e6c2f 100644 --- a/assets/public_lit_README.md.57233aa0.js +++ b/assets/public_lit_README.md.256b0c3d.js @@ -1 +1 @@ -import{_ as e,c as t,o,d as a}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Kronos","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/README.md","lastUpdated":null}'),r={name:"public/lit/README.md"},i=a('

          Kronos

          Play here.

          Updating the website:

          • git submodule update --remote
          • git add -A
          • git commit -m "Updated kronos"
          • git push
          ',4),d=[i];function s(c,l,n,_,p,h){return o(),t("div",null,d)}const f=e(r,[["render",s]]);export{m as __pageData,f as default}; +import{_ as e,c as t,o,d as a}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Kronos","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/README.md","lastUpdated":null}'),r={name:"public/lit/README.md"},i=a('

          Kronos

          Play here.

          Updating the website:

          • git submodule update --remote
          • git add -A
          • git commit -m "Updated kronos"
          • git push
          ',4),d=[i];function s(c,l,n,_,p,h){return o(),t("div",null,d)}const f=e(r,[["render",s]]);export{m as __pageData,f as default}; diff --git a/assets/public_lit_README.md.57233aa0.lean.js b/assets/public_lit_README.md.256b0c3d.lean.js similarity index 82% rename from assets/public_lit_README.md.57233aa0.lean.js rename to assets/public_lit_README.md.256b0c3d.lean.js index c9ca81d85..1b9061fb9 100644 --- a/assets/public_lit_README.md.57233aa0.lean.js +++ b/assets/public_lit_README.md.256b0c3d.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,d as a}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Kronos","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/README.md","lastUpdated":null}'),r={name:"public/lit/README.md"},i=a("",4),d=[i];function s(c,l,n,_,p,h){return o(),t("div",null,d)}const f=e(r,[["render",s]]);export{m as __pageData,f as default}; +import{_ as e,c as t,o,d as a}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Kronos","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/README.md","lastUpdated":null}'),r={name:"public/lit/README.md"},i=a("",4),d=[i];function s(c,l,n,_,p,h){return o(),t("div",null,d)}const f=e(r,[["render",s]]);export{m as __pageData,f as default}; diff --git a/assets/public_lit_changelog.md.3a289646.js b/assets/public_lit_changelog.md.c96196ba.js similarity index 99% rename from assets/public_lit_changelog.md.3a289646.js rename to assets/public_lit_changelog.md.c96196ba.js index 2e53b979d..4c521f8cd 100644 --- a/assets/public_lit_changelog.md.3a289646.js +++ b/assets/public_lit_changelog.md.c96196ba.js @@ -1 +1 @@ -import{_ as e,c as i,o as l,d as a}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"The Modding Tree changelog:","description":"","frontmatter":{},"headers":[{"level":2,"title":"v2.\u03C0: Incrementally Updated - 2/5/21","slug":"v2-\u03C0-incrementally-updated-2-5-21","link":"#v2-\u03C0-incrementally-updated-2-5-21","children":[]},{"level":2,"title":"v2.3.5 - 12/21/20","slug":"v2-3-5-12-21-20","link":"#v2-3-5-12-21-20","children":[]},{"level":2,"title":"v2.3.4 - 12/16/20","slug":"v2-3-4-12-16-20","link":"#v2-3-4-12-16-20","children":[]},{"level":2,"title":"v2.3.3 - 12/13/20","slug":"v2-3-3-12-13-20","link":"#v2-3-3-12-13-20","children":[]},{"level":2,"title":"v2.3.2 - 12/13/20","slug":"v2-3-2-12-13-20","link":"#v2-3-2-12-13-20","children":[]},{"level":2,"title":"v2.3.1 - 12/12/20","slug":"v2-3-1-12-12-20","link":"#v2-3-1-12-12-20","children":[]},{"level":2,"title":"v2.3: Cooler and Newer Edition - 12/10/20","slug":"v2-3-cooler-and-newer-edition-12-10-20","link":"#v2-3-cooler-and-newer-edition-12-10-20","children":[{"level":3,"title":"v2.2.8 - 12/03/20","slug":"v2-2-8-12-03-20","link":"#v2-2-8-12-03-20","children":[]},{"level":3,"title":"v2.2.7 - 11/30/20","slug":"v2-2-7-11-30-20","link":"#v2-2-7-11-30-20","children":[]},{"level":3,"title":"v2.2.6 - 11/30/20","slug":"v2-2-6-11-30-20","link":"#v2-2-6-11-30-20","children":[]},{"level":3,"title":"v2.2.5 - 11/29/20","slug":"v2-2-5-11-29-20","link":"#v2-2-5-11-29-20","children":[]},{"level":3,"title":"v2.2.4 - 11/28/20","slug":"v2-2-4-11-28-20","link":"#v2-2-4-11-28-20","children":[]},{"level":3,"title":"v2.2.3 - 11/28/20","slug":"v2-2-3-11-28-20","link":"#v2-2-3-11-28-20","children":[]},{"level":3,"title":"v2.2.2 - 11/22/20","slug":"v2-2-2-11-22-20","link":"#v2-2-2-11-22-20","children":[]},{"level":3,"title":"v2.2.1 - 11/7/20","slug":"v2-2-1-11-7-20","link":"#v2-2-1-11-7-20","children":[]}]},{"level":2,"title":"v2.2: Uprooted - 11/7/20","slug":"v2-2-uprooted-11-7-20","link":"#v2-2-uprooted-11-7-20","children":[{"level":3,"title":"v2.1.4 - 10/25/20","slug":"v2-1-4-10-25-20","link":"#v2-1-4-10-25-20","children":[]},{"level":3,"title":"v2.1.3.1 - 10/21/20","slug":"v2-1-3-1-10-21-20","link":"#v2-1-3-1-10-21-20","children":[]},{"level":3,"title":"v2.1.3 - 10/21/20","slug":"v2-1-3-10-21-20","link":"#v2-1-3-10-21-20","children":[]},{"level":3,"title":"v2.1.2 - 10/19/20","slug":"v2-1-2-10-19-20","link":"#v2-1-2-10-19-20","children":[]},{"level":3,"title":"v2.1.1 - 10/17/20","slug":"v2-1-1-10-17-20","link":"#v2-1-1-10-17-20","children":[]}]},{"level":2,"title":"v2.1: We should have thought of this sooner! - 10/17/20","slug":"v2-1-we-should-have-thought-of-this-sooner-10-17-20","link":"#v2-1-we-should-have-thought-of-this-sooner-10-17-20","children":[{"level":3,"title":"v2.0.5 - 10/16/20","slug":"v2-0-5-10-16-20","link":"#v2-0-5-10-16-20","children":[]},{"level":3,"title":"v2.0.4 - 10/16/20","slug":"v2-0-4-10-16-20","link":"#v2-0-4-10-16-20","children":[]},{"level":3,"title":"v2.0.3 - 10/16/20","slug":"v2-0-3-10-16-20","link":"#v2-0-3-10-16-20","children":[]},{"level":3,"title":"v2.0.2 - 10/15/20","slug":"v2-0-2-10-15-20","link":"#v2-0-2-10-15-20","children":[]},{"level":3,"title":"v2.0.1 - 10/15/20","slug":"v2-0-1-10-15-20","link":"#v2-0-1-10-15-20","children":[]}]},{"level":2,"title":"v2.0: The Pinnacle of Achievement Mountain - 10/15/20","slug":"v2-0-the-pinnacle-of-achievement-mountain-10-15-20","link":"#v2-0-the-pinnacle-of-achievement-mountain-10-15-20","children":[{"level":3,"title":"v1.3.5:","slug":"v1-3-5","link":"#v1-3-5","children":[]},{"level":3,"title":"v1.3.4 - 10/8/20","slug":"v1-3-4-10-8-20","link":"#v1-3-4-10-8-20","children":[]},{"level":3,"title":"v1.3.3 - 10/7/20","slug":"v1-3-3-10-7-20","link":"#v1-3-3-10-7-20","children":[]},{"level":3,"title":"v1.3.1 - 10/7/20","slug":"v1-3-1-10-7-20","link":"#v1-3-1-10-7-20","children":[]}]},{"level":2,"title":"v1.3: Tabception... ception! - 10/7/20","slug":"v1-3-tabception-ception-10-7-20","link":"#v1-3-tabception-ception-10-7-20","children":[{"level":3,"title":"v1.2.4 - 10/4/20","slug":"v1-2-4-10-4-20","link":"#v1-2-4-10-4-20","children":[]},{"level":3,"title":"v1.2.3 - 10/3/20","slug":"v1-2-3-10-3-20","link":"#v1-2-3-10-3-20","children":[]}]},{"level":2,"title":"v1.2: This Changes Everything! - 10/3/20","slug":"v1-2-this-changes-everything-10-3-20","link":"#v1-2-this-changes-everything-10-3-20","children":[{"level":3,"title":"v1.1.1:","slug":"v1-1-1","link":"#v1-1-1","children":[]}]},{"level":2,"title":"v1.1: Enhanced Edition","slug":"v1-1-enhanced-edition","link":"#v1-1-enhanced-edition","children":[]},{"level":2,"title":"v1.0:","slug":"v1-0","link":"#v1-0","children":[]}],"relativePath":"public/lit/changelog.md","lastUpdated":null}'),t={name:"public/lit/changelog.md"},n=a('

          The Modding Tree changelog:

          v2.\u03C0: Incrementally Updated - 2/5/21

          • Performance improvements.
          • Fixed tooltips overlapping with the top display.
          • Clicking a popup dismisses it immediately.
          • Added support for bulk challenge completions.
          • "Best" is updated automatically.
          • Fixed keeping Decimal values on reset.
          • Code reorganization and style improvements by fudo.

          v2.3.5 - 12/21/20

          • Added resetTime, which tracks the time since a layer prestiged or was reset.
          • A layer node will be highlighted red if one of its subtabs is highlighted red.
          • Fixed issues with keeping challenges, buyables, and clickables on reset.
          • Improved the unlocking of custom layers.
          • Other minor fixes.

          v2.3.4 - 12/16/20

          • Added a node image feature.
          • Resource display now always shows the amount of the currency the layer's gain is based on.
          • Added spacing between tree nodes.
          • Another attempt to fix tooltip flickering.

          v2.3.3 - 12/13/20

          • Fixed the first node in a row always taking up space.
          • layerShown is now optional.
          • All prestige types can now use features for custom prestige types.

          v2.3.2 - 12/13/20

          • Fixed achievement/milestone popups.

          v2.3.1 - 12/12/20

          • Another attempt to fix flickering tooltips.
          • The "this" keyword should work everywhere except tabFormat arrays (although I may have missed some things).
          • Fixed tree branches not updating when scrolling on the right-side tab.
          • Fixed a spacing issue when a node's symbol is ""
          • Removed some old, unneeded files.

          v2.3: Cooler and Newer Edition - 12/10/20

          • Added achievement/milestone popups (thank you to Jacorb for this contribution!)
          • The changelog tab is back, and can be set in mod.js.
          • Layer nodes and respec buttons will not be clicked by pressing "enter".
          • Possible fix for flickering tooltips and strange transitions.
          • The victory screen text is configurable.
          • Added image and textStyle features to achievements.
          • Added an argument to use specific rows in an "upgrades" component.
          • Fixed the comma appearing in the main display when there was no effectDescription
          • Added the ability to easily make a tab that is a collection of layers in subtabs.
          • Improved spacing for embedding layers with subtabs into subtabs.

          v2.2.8 - 12/03/20

          • Double-clicking a layer node brings you to the main subtab for that layer.
          • Attempted to fix challenges visually updating a different way.
          • Added a softcap function for use in formulas.
          • Added displayRow feature, which lets layers be shown somewhere separate from where they are in the reset order (e.g. side layers)
          • Fixed autoupgrade issue.

          v2.2.7 - 11/30/20

          • Added autoUpgrade feature.
          • resource-display now shows resource gain per second if passiveGain is active.
          • Fixed formatting issues on some large numbers.
          • Better support for using classed objects in player and in layers/tmp.
          • Made hard resetting more effective.
          • Removed Herobrine from getStartClickables.

          v2.2.6 - 11/30/20

          • Added goalDescription for challenges and made the new "canComplete" system the standard.
          • Another attempt to fix challenges not visually updating.
          • Fixed side layers not appearing.
          • Fixed getStartClickables again.

          v2.2.5 - 11/29/20

          • Added features for overriding the displays and costs/goals of upgrades and challenges to make them fully custom.
          • best, total, and unlocked are always automatically added to layerData (but best and total will only display if you add them yourself).
          • Fixed getStartClickables.

          v2.2.4 - 11/28/20

          • Added softcap and softcapPower features (for Normal layers)
          • Offline time limit and default max tick length were fixed (previously the limits were 1000x too large)
          • Added fixOldSaves.
          • You can use HTML in main-display.
          • Fixed a number of minor oddities.

          v2.2.3 - 11/28/20

          • Layers will be highlighted if you can finish a challenge.
          • The "can complete challenge" color now overrides the "already completed" color.
          • Button nodes now work as side "layers".
          • Setting a tooltip to "" hides it entirely.

          v2.2.2 - 11/22/20

          • Fixed right half of the screen being unclickable in some circumstances.
          • Fixed tree branches being offset.
          • Fix to lastSafeTab.

          v2.2.1 - 11/7/20

          • Added a small highlight to layers you can meaningfully prestige on.
          • Added passiveGeneration and autoPrestige features to standardize prestige automation. (The old ways still work, but the new ones work better with other things)
          • Improved milestones visually a bit.
          • "best" and "total" are now only displayed if present in startData.
          • Fixed issues with things not updating visually. (Thank you to to Jacorb!)
          • Side layers and button nodes can now be highlighted.
          • Updated docs on the new tree-related features.

          v2.2: Uprooted - 11/7/20

          • You can now embed a layer inside of a subtab or microtab!
          • Added support for hiding or reformatting the tree tab
          • Added non-layer button nodes
          • Added shouldNotify to subtab/microtab buttons. (You can make them highlighted)
          • Added commas to large exponents.
          • Upgrades now only show "currently" if they have an effectDisplay (so not for constant effects).
          • Achievements are part of the default tab format.
          • NaN is now handled more intelligently.
          • Renamed files, and moved less relevant ones to another folder.
          • The "hide completed challenges" setting now only hides challenges at max completions.
          • Thank you to thepaperpilot for fixing errors in docs and improving the infobox appearance!
          • Many other minor fixes.

          v2.1.4 - 10/25/20

          • Added an infobox component. Thank you to thepaperpilot for this contribution!
          • Layer type is now optional, and defaults to "none".
          • Improved the look of bars and tab buttons.
          • Improved spacing between layer nodes (also thanks to thepaperpilot!)
          • Fixed the "blank" component breaking if only specifying the height.
          • Fixed some numbers not displaying with enough digits.
          • Made a few more things able to be functions.
          • A few other minor fixes.

          v2.1.3.1 - 10/21/20

          • Fixed the update function.

          v2.1.3 - 10/21/20

          • gainMult and gainExp are now optional.
          • Layer unlocking is now kept on reset.
          • Game should start up faster.
          • Layer updates now have a determined order and starts with earlier-rowed layers.
          • Automation now has a determined order and starts with later-rowed layers.
          • Fixed issues with resetting clickables and challenges.
          • Commas should no longer appear in the decimal places of a number.
          • Fixed potential issue in displaying the tree.

          v2.1.2 - 10/19/20

          • Added buyUpgrade function (buyUpg still works though)
          • Added author name to modInfo.
          • Fix to crash caused when the name of a subtab or microtab is changed.
          • Fixes to outdated information in docs.
          • Improvements to Discord links.
          • Thank you to thepaperpilot for contributing to this update!

          v2.1.1 - 10/17/20

          • Added resource-display component, which displays the base currency for the prestige layer, as well as the best and/or total of this layer's prestige currency.
          • Fixed the value for the base currency not updating in resource-display.

          v2.1: We should have thought of this sooner! - 10/17/20

          • Moved most of the code users will want to edit to mod.js, added documentation for it.
            • Specifically, modInfo, VERSION, canGenPoints, getPointGen, and maxTickLength
          • Added getStartPoints()
          • Added the ability to store non-layer-related data
          • Added the ability to display more things at the top of the tree tab below points.
          • Made the endgame condition customizable
          • Added "sell one" and "sell all" buttons for buyables.
          • Moved the old "game" to demo.js, and replaced it with a minimal game that won't cause issues when edited.
          • Fixed issues with version number
          • Fixed number formatting issue making things like "10e9" appear.

          v2.0.5 - 10/16/20

          • Made more features (including prestige parameters) able to be dynamic.
          • Layer nodes can be hidden but still take up space with "ghost" visibility
          • Added clickableEffect for real.
          • Fixed some visual issues with bars.
          • A few other minor tweaks and improvements.

          v2.0.4 - 10/16/20

          • Fixed HTML on buttons interfering with clicking on them.

          v2.0.3 - 10/16/20

          • Fixed hotkeys not displaying in info.
          • Fixed the game supressing all external hotkeys.
          • You can use more things as currencies for upgrade costs and challenge goals using currencyLocation.
          • Added maxTickLength, which can be used to prevent offline time or tab-switching from breaking time-limit based mechanics.
          • Made buyable respec buttons and clickable "master" buttons their own components, and gave them a hide/show feature.
          • Added a general "tooltip" feature for achievements.

          v2.0.2 - 10/15/20

          • Branches are now dynamic (they can be functions).
          • Fixed a crash related to offline time.
          • Fixed links being too wide.

          v2.0.1 - 10/15/20

          • Fixed side layers appearing multiple times.

          v2.0: The Pinnacle of Achievement Mountain - 10/15/20

          • Added progress bars, which are highly customizable and can be horizontal or vertical!
          • Added "side layers", displayed smaller and off to the side, and don't get reset by default. They can be used for global achievements and statistics. Speaking of which...
          • Added achievements!
          • Added clickables, a more generalized variant of buyables.
          • Almost every value in layer data can be either a function or a constant value!
          • Added support for multiple completions of challenges.
          • Added "none" prestige type, which removes the need for any other prestige-related features.
          • The points display and other gui elements stay at the top of the screen when the tree scrolls.
          • Added getter/setter functions for the amounts and effects of most Big Features
          • Moved modInfo to game.js, added a spot in modInfo for a Discord link, changelog link. Also added a separate mod version from the TMT version in VERSION.
          • Tree structure is based on layer data, no index.html editing is needed.
          • Tmp does not need to be manually updated.
          • You don't have to have the same amount of upgrades in every row (and challs and buyables)
          • "unlocked" is optional for all Big Components (defaults to true).
          • All displays will update correctly.
          • Changelog is no longer in index.html at all.
          • Generation of Points now happens in the main game loop
          • Changed the reset functions to make keeping things easier
          • Renamed many things to increase readability (see the list in the link below)
          • Improved documentation based on feedback

          v1.3.5:

          • Completely automated convertToDecimal, now you never have to worry about it again.
          • Branches can be defined without a color id. But they can also use hex values for color ids!
          • Created a tutorial for getting started with TMT and Github.
          • Page title is now automatically taken from mod name.

          v1.3.4 - 10/8/20

          • Added "midsection" feature to add things to a tab's layout while still keeping the standard layout.
          • Fix for being able to buy more buyables than you should.

          v1.3.3 - 10/7/20

          • Fix for the "order of operations" issue in temp.

          v1.3.1 - 10/7/20

          • Added custom CSS and tooltips for Layer Nodes.
          • Added custom CSS for upgrades, buyables, milestones, and challenges, both individually and layer-wide.
          • You can now use HTML in most display text!
          • You can now make milestones unlockable and not display immediately.
          • Fixed importing saves, and issue with upgrades not appearing, and probably more.
          • Optional "name" layer feature, used in confirmation messages.

          v1.3: Tabception... ception! - 10/7/20

          • Added subtabs! And also a Micro-tab component to let you make smaller subtab-esque areas anywhere.
          • Added a "custom" prestige formula type, and a number of features to support it.
          • Added points/sec display (can be disabled).
          • Added h-line, v-line and image-display components, plus components for individual upgrades, challenges, and milestones.
          • Added upgEffect, buyableEffect, and challEffect functions.
          • Added "hide completed challenges" setting.
          • Moved old changelogs to a separate place.
          • Fixed hasMilestone and incr_order.
          • Static layers now show the currency amount needed for the next one if you can buy max.

          v1.2.4 - 10/4/20

          • Layers are now highlighted if you can buy an upgrade, and a new feature, shouldNotify, lets you make it highlight other ways.
          • Fixed bugs with hasUpg, hasChall, hasMilestone, and inChallenge.
          • Changed the sample code to use the above functions for convenience.

          v1.2.3 - 10/3/20

          • Added a row component, which displays a list of objects in a row.
          • Added a column component, which displays a list of objects in a column (useful within a row).
          • Changed blanks to have a customizable width and height.

          v1.2: This Changes Everything! - 10/3/20

          • Many layer features can now be static values or functions. (This made some formats change, which will break old things)
          • You can now use the "this" keyword, to make code easier to transfer when making new layers.
          • Also added "this.layer", which is the current layer's name, and works on existing subfeatures (e.g. individual upgrades) as well! Subfeatures also have "this.id".
          • Fixed a big save issue. If you use a unique mod id, your save will never conflict with other mods.
          • Added a configurable offline time limit in modinfo at the top of index.html. (default 1 hour)
          • Added a few minor features, and updated the docs with new information.

          v1.1.1:

          • You can define hotkeys directly from layer config.

          v1.1: Enhanced Edition

          • Added "Buyables", which can function like Space Buildings or Enhancers.
          • Custom CSS can now be used on any component! Make the third argument an object with CSS parameters.
          • Lots of minor good things.

          v1.0:

          • First release.
          ',79),o=[n];function d(r,s,h,u,c,v){return l(),i("div",null,o)}const f=e(t,[["render",d]]);export{m as __pageData,f as default}; +import{_ as e,c as i,o as l,d as a}from"./app.830f7d24.js";const m=JSON.parse('{"title":"The Modding Tree changelog:","description":"","frontmatter":{},"headers":[{"level":2,"title":"v2.\u03C0: Incrementally Updated - 2/5/21","slug":"v2-\u03C0-incrementally-updated-2-5-21","link":"#v2-\u03C0-incrementally-updated-2-5-21","children":[]},{"level":2,"title":"v2.3.5 - 12/21/20","slug":"v2-3-5-12-21-20","link":"#v2-3-5-12-21-20","children":[]},{"level":2,"title":"v2.3.4 - 12/16/20","slug":"v2-3-4-12-16-20","link":"#v2-3-4-12-16-20","children":[]},{"level":2,"title":"v2.3.3 - 12/13/20","slug":"v2-3-3-12-13-20","link":"#v2-3-3-12-13-20","children":[]},{"level":2,"title":"v2.3.2 - 12/13/20","slug":"v2-3-2-12-13-20","link":"#v2-3-2-12-13-20","children":[]},{"level":2,"title":"v2.3.1 - 12/12/20","slug":"v2-3-1-12-12-20","link":"#v2-3-1-12-12-20","children":[]},{"level":2,"title":"v2.3: Cooler and Newer Edition - 12/10/20","slug":"v2-3-cooler-and-newer-edition-12-10-20","link":"#v2-3-cooler-and-newer-edition-12-10-20","children":[{"level":3,"title":"v2.2.8 - 12/03/20","slug":"v2-2-8-12-03-20","link":"#v2-2-8-12-03-20","children":[]},{"level":3,"title":"v2.2.7 - 11/30/20","slug":"v2-2-7-11-30-20","link":"#v2-2-7-11-30-20","children":[]},{"level":3,"title":"v2.2.6 - 11/30/20","slug":"v2-2-6-11-30-20","link":"#v2-2-6-11-30-20","children":[]},{"level":3,"title":"v2.2.5 - 11/29/20","slug":"v2-2-5-11-29-20","link":"#v2-2-5-11-29-20","children":[]},{"level":3,"title":"v2.2.4 - 11/28/20","slug":"v2-2-4-11-28-20","link":"#v2-2-4-11-28-20","children":[]},{"level":3,"title":"v2.2.3 - 11/28/20","slug":"v2-2-3-11-28-20","link":"#v2-2-3-11-28-20","children":[]},{"level":3,"title":"v2.2.2 - 11/22/20","slug":"v2-2-2-11-22-20","link":"#v2-2-2-11-22-20","children":[]},{"level":3,"title":"v2.2.1 - 11/7/20","slug":"v2-2-1-11-7-20","link":"#v2-2-1-11-7-20","children":[]}]},{"level":2,"title":"v2.2: Uprooted - 11/7/20","slug":"v2-2-uprooted-11-7-20","link":"#v2-2-uprooted-11-7-20","children":[{"level":3,"title":"v2.1.4 - 10/25/20","slug":"v2-1-4-10-25-20","link":"#v2-1-4-10-25-20","children":[]},{"level":3,"title":"v2.1.3.1 - 10/21/20","slug":"v2-1-3-1-10-21-20","link":"#v2-1-3-1-10-21-20","children":[]},{"level":3,"title":"v2.1.3 - 10/21/20","slug":"v2-1-3-10-21-20","link":"#v2-1-3-10-21-20","children":[]},{"level":3,"title":"v2.1.2 - 10/19/20","slug":"v2-1-2-10-19-20","link":"#v2-1-2-10-19-20","children":[]},{"level":3,"title":"v2.1.1 - 10/17/20","slug":"v2-1-1-10-17-20","link":"#v2-1-1-10-17-20","children":[]}]},{"level":2,"title":"v2.1: We should have thought of this sooner! - 10/17/20","slug":"v2-1-we-should-have-thought-of-this-sooner-10-17-20","link":"#v2-1-we-should-have-thought-of-this-sooner-10-17-20","children":[{"level":3,"title":"v2.0.5 - 10/16/20","slug":"v2-0-5-10-16-20","link":"#v2-0-5-10-16-20","children":[]},{"level":3,"title":"v2.0.4 - 10/16/20","slug":"v2-0-4-10-16-20","link":"#v2-0-4-10-16-20","children":[]},{"level":3,"title":"v2.0.3 - 10/16/20","slug":"v2-0-3-10-16-20","link":"#v2-0-3-10-16-20","children":[]},{"level":3,"title":"v2.0.2 - 10/15/20","slug":"v2-0-2-10-15-20","link":"#v2-0-2-10-15-20","children":[]},{"level":3,"title":"v2.0.1 - 10/15/20","slug":"v2-0-1-10-15-20","link":"#v2-0-1-10-15-20","children":[]}]},{"level":2,"title":"v2.0: The Pinnacle of Achievement Mountain - 10/15/20","slug":"v2-0-the-pinnacle-of-achievement-mountain-10-15-20","link":"#v2-0-the-pinnacle-of-achievement-mountain-10-15-20","children":[{"level":3,"title":"v1.3.5:","slug":"v1-3-5","link":"#v1-3-5","children":[]},{"level":3,"title":"v1.3.4 - 10/8/20","slug":"v1-3-4-10-8-20","link":"#v1-3-4-10-8-20","children":[]},{"level":3,"title":"v1.3.3 - 10/7/20","slug":"v1-3-3-10-7-20","link":"#v1-3-3-10-7-20","children":[]},{"level":3,"title":"v1.3.1 - 10/7/20","slug":"v1-3-1-10-7-20","link":"#v1-3-1-10-7-20","children":[]}]},{"level":2,"title":"v1.3: Tabception... ception! - 10/7/20","slug":"v1-3-tabception-ception-10-7-20","link":"#v1-3-tabception-ception-10-7-20","children":[{"level":3,"title":"v1.2.4 - 10/4/20","slug":"v1-2-4-10-4-20","link":"#v1-2-4-10-4-20","children":[]},{"level":3,"title":"v1.2.3 - 10/3/20","slug":"v1-2-3-10-3-20","link":"#v1-2-3-10-3-20","children":[]}]},{"level":2,"title":"v1.2: This Changes Everything! - 10/3/20","slug":"v1-2-this-changes-everything-10-3-20","link":"#v1-2-this-changes-everything-10-3-20","children":[{"level":3,"title":"v1.1.1:","slug":"v1-1-1","link":"#v1-1-1","children":[]}]},{"level":2,"title":"v1.1: Enhanced Edition","slug":"v1-1-enhanced-edition","link":"#v1-1-enhanced-edition","children":[]},{"level":2,"title":"v1.0:","slug":"v1-0","link":"#v1-0","children":[]}],"relativePath":"public/lit/changelog.md","lastUpdated":null}'),t={name:"public/lit/changelog.md"},n=a('

          The Modding Tree changelog:

          v2.\u03C0: Incrementally Updated - 2/5/21

          • Performance improvements.
          • Fixed tooltips overlapping with the top display.
          • Clicking a popup dismisses it immediately.
          • Added support for bulk challenge completions.
          • "Best" is updated automatically.
          • Fixed keeping Decimal values on reset.
          • Code reorganization and style improvements by fudo.

          v2.3.5 - 12/21/20

          • Added resetTime, which tracks the time since a layer prestiged or was reset.
          • A layer node will be highlighted red if one of its subtabs is highlighted red.
          • Fixed issues with keeping challenges, buyables, and clickables on reset.
          • Improved the unlocking of custom layers.
          • Other minor fixes.

          v2.3.4 - 12/16/20

          • Added a node image feature.
          • Resource display now always shows the amount of the currency the layer's gain is based on.
          • Added spacing between tree nodes.
          • Another attempt to fix tooltip flickering.

          v2.3.3 - 12/13/20

          • Fixed the first node in a row always taking up space.
          • layerShown is now optional.
          • All prestige types can now use features for custom prestige types.

          v2.3.2 - 12/13/20

          • Fixed achievement/milestone popups.

          v2.3.1 - 12/12/20

          • Another attempt to fix flickering tooltips.
          • The "this" keyword should work everywhere except tabFormat arrays (although I may have missed some things).
          • Fixed tree branches not updating when scrolling on the right-side tab.
          • Fixed a spacing issue when a node's symbol is ""
          • Removed some old, unneeded files.

          v2.3: Cooler and Newer Edition - 12/10/20

          • Added achievement/milestone popups (thank you to Jacorb for this contribution!)
          • The changelog tab is back, and can be set in mod.js.
          • Layer nodes and respec buttons will not be clicked by pressing "enter".
          • Possible fix for flickering tooltips and strange transitions.
          • The victory screen text is configurable.
          • Added image and textStyle features to achievements.
          • Added an argument to use specific rows in an "upgrades" component.
          • Fixed the comma appearing in the main display when there was no effectDescription
          • Added the ability to easily make a tab that is a collection of layers in subtabs.
          • Improved spacing for embedding layers with subtabs into subtabs.

          v2.2.8 - 12/03/20

          • Double-clicking a layer node brings you to the main subtab for that layer.
          • Attempted to fix challenges visually updating a different way.
          • Added a softcap function for use in formulas.
          • Added displayRow feature, which lets layers be shown somewhere separate from where they are in the reset order (e.g. side layers)
          • Fixed autoupgrade issue.

          v2.2.7 - 11/30/20

          • Added autoUpgrade feature.
          • resource-display now shows resource gain per second if passiveGain is active.
          • Fixed formatting issues on some large numbers.
          • Better support for using classed objects in player and in layers/tmp.
          • Made hard resetting more effective.
          • Removed Herobrine from getStartClickables.

          v2.2.6 - 11/30/20

          • Added goalDescription for challenges and made the new "canComplete" system the standard.
          • Another attempt to fix challenges not visually updating.
          • Fixed side layers not appearing.
          • Fixed getStartClickables again.

          v2.2.5 - 11/29/20

          • Added features for overriding the displays and costs/goals of upgrades and challenges to make them fully custom.
          • best, total, and unlocked are always automatically added to layerData (but best and total will only display if you add them yourself).
          • Fixed getStartClickables.

          v2.2.4 - 11/28/20

          • Added softcap and softcapPower features (for Normal layers)
          • Offline time limit and default max tick length were fixed (previously the limits were 1000x too large)
          • Added fixOldSaves.
          • You can use HTML in main-display.
          • Fixed a number of minor oddities.

          v2.2.3 - 11/28/20

          • Layers will be highlighted if you can finish a challenge.
          • The "can complete challenge" color now overrides the "already completed" color.
          • Button nodes now work as side "layers".
          • Setting a tooltip to "" hides it entirely.

          v2.2.2 - 11/22/20

          • Fixed right half of the screen being unclickable in some circumstances.
          • Fixed tree branches being offset.
          • Fix to lastSafeTab.

          v2.2.1 - 11/7/20

          • Added a small highlight to layers you can meaningfully prestige on.
          • Added passiveGeneration and autoPrestige features to standardize prestige automation. (The old ways still work, but the new ones work better with other things)
          • Improved milestones visually a bit.
          • "best" and "total" are now only displayed if present in startData.
          • Fixed issues with things not updating visually. (Thank you to to Jacorb!)
          • Side layers and button nodes can now be highlighted.
          • Updated docs on the new tree-related features.

          v2.2: Uprooted - 11/7/20

          • You can now embed a layer inside of a subtab or microtab!
          • Added support for hiding or reformatting the tree tab
          • Added non-layer button nodes
          • Added shouldNotify to subtab/microtab buttons. (You can make them highlighted)
          • Added commas to large exponents.
          • Upgrades now only show "currently" if they have an effectDisplay (so not for constant effects).
          • Achievements are part of the default tab format.
          • NaN is now handled more intelligently.
          • Renamed files, and moved less relevant ones to another folder.
          • The "hide completed challenges" setting now only hides challenges at max completions.
          • Thank you to thepaperpilot for fixing errors in docs and improving the infobox appearance!
          • Many other minor fixes.

          v2.1.4 - 10/25/20

          • Added an infobox component. Thank you to thepaperpilot for this contribution!
          • Layer type is now optional, and defaults to "none".
          • Improved the look of bars and tab buttons.
          • Improved spacing between layer nodes (also thanks to thepaperpilot!)
          • Fixed the "blank" component breaking if only specifying the height.
          • Fixed some numbers not displaying with enough digits.
          • Made a few more things able to be functions.
          • A few other minor fixes.

          v2.1.3.1 - 10/21/20

          • Fixed the update function.

          v2.1.3 - 10/21/20

          • gainMult and gainExp are now optional.
          • Layer unlocking is now kept on reset.
          • Game should start up faster.
          • Layer updates now have a determined order and starts with earlier-rowed layers.
          • Automation now has a determined order and starts with later-rowed layers.
          • Fixed issues with resetting clickables and challenges.
          • Commas should no longer appear in the decimal places of a number.
          • Fixed potential issue in displaying the tree.

          v2.1.2 - 10/19/20

          • Added buyUpgrade function (buyUpg still works though)
          • Added author name to modInfo.
          • Fix to crash caused when the name of a subtab or microtab is changed.
          • Fixes to outdated information in docs.
          • Improvements to Discord links.
          • Thank you to thepaperpilot for contributing to this update!

          v2.1.1 - 10/17/20

          • Added resource-display component, which displays the base currency for the prestige layer, as well as the best and/or total of this layer's prestige currency.
          • Fixed the value for the base currency not updating in resource-display.

          v2.1: We should have thought of this sooner! - 10/17/20

          • Moved most of the code users will want to edit to mod.js, added documentation for it.
            • Specifically, modInfo, VERSION, canGenPoints, getPointGen, and maxTickLength
          • Added getStartPoints()
          • Added the ability to store non-layer-related data
          • Added the ability to display more things at the top of the tree tab below points.
          • Made the endgame condition customizable
          • Added "sell one" and "sell all" buttons for buyables.
          • Moved the old "game" to demo.js, and replaced it with a minimal game that won't cause issues when edited.
          • Fixed issues with version number
          • Fixed number formatting issue making things like "10e9" appear.

          v2.0.5 - 10/16/20

          • Made more features (including prestige parameters) able to be dynamic.
          • Layer nodes can be hidden but still take up space with "ghost" visibility
          • Added clickableEffect for real.
          • Fixed some visual issues with bars.
          • A few other minor tweaks and improvements.

          v2.0.4 - 10/16/20

          • Fixed HTML on buttons interfering with clicking on them.

          v2.0.3 - 10/16/20

          • Fixed hotkeys not displaying in info.
          • Fixed the game supressing all external hotkeys.
          • You can use more things as currencies for upgrade costs and challenge goals using currencyLocation.
          • Added maxTickLength, which can be used to prevent offline time or tab-switching from breaking time-limit based mechanics.
          • Made buyable respec buttons and clickable "master" buttons their own components, and gave them a hide/show feature.
          • Added a general "tooltip" feature for achievements.

          v2.0.2 - 10/15/20

          • Branches are now dynamic (they can be functions).
          • Fixed a crash related to offline time.
          • Fixed links being too wide.

          v2.0.1 - 10/15/20

          • Fixed side layers appearing multiple times.

          v2.0: The Pinnacle of Achievement Mountain - 10/15/20

          • Added progress bars, which are highly customizable and can be horizontal or vertical!
          • Added "side layers", displayed smaller and off to the side, and don't get reset by default. They can be used for global achievements and statistics. Speaking of which...
          • Added achievements!
          • Added clickables, a more generalized variant of buyables.
          • Almost every value in layer data can be either a function or a constant value!
          • Added support for multiple completions of challenges.
          • Added "none" prestige type, which removes the need for any other prestige-related features.
          • The points display and other gui elements stay at the top of the screen when the tree scrolls.
          • Added getter/setter functions for the amounts and effects of most Big Features
          • Moved modInfo to game.js, added a spot in modInfo for a Discord link, changelog link. Also added a separate mod version from the TMT version in VERSION.
          • Tree structure is based on layer data, no index.html editing is needed.
          • Tmp does not need to be manually updated.
          • You don't have to have the same amount of upgrades in every row (and challs and buyables)
          • "unlocked" is optional for all Big Components (defaults to true).
          • All displays will update correctly.
          • Changelog is no longer in index.html at all.
          • Generation of Points now happens in the main game loop
          • Changed the reset functions to make keeping things easier
          • Renamed many things to increase readability (see the list in the link below)
          • Improved documentation based on feedback

          v1.3.5:

          • Completely automated convertToDecimal, now you never have to worry about it again.
          • Branches can be defined without a color id. But they can also use hex values for color ids!
          • Created a tutorial for getting started with TMT and Github.
          • Page title is now automatically taken from mod name.

          v1.3.4 - 10/8/20

          • Added "midsection" feature to add things to a tab's layout while still keeping the standard layout.
          • Fix for being able to buy more buyables than you should.

          v1.3.3 - 10/7/20

          • Fix for the "order of operations" issue in temp.

          v1.3.1 - 10/7/20

          • Added custom CSS and tooltips for Layer Nodes.
          • Added custom CSS for upgrades, buyables, milestones, and challenges, both individually and layer-wide.
          • You can now use HTML in most display text!
          • You can now make milestones unlockable and not display immediately.
          • Fixed importing saves, and issue with upgrades not appearing, and probably more.
          • Optional "name" layer feature, used in confirmation messages.

          v1.3: Tabception... ception! - 10/7/20

          • Added subtabs! And also a Micro-tab component to let you make smaller subtab-esque areas anywhere.
          • Added a "custom" prestige formula type, and a number of features to support it.
          • Added points/sec display (can be disabled).
          • Added h-line, v-line and image-display components, plus components for individual upgrades, challenges, and milestones.
          • Added upgEffect, buyableEffect, and challEffect functions.
          • Added "hide completed challenges" setting.
          • Moved old changelogs to a separate place.
          • Fixed hasMilestone and incr_order.
          • Static layers now show the currency amount needed for the next one if you can buy max.

          v1.2.4 - 10/4/20

          • Layers are now highlighted if you can buy an upgrade, and a new feature, shouldNotify, lets you make it highlight other ways.
          • Fixed bugs with hasUpg, hasChall, hasMilestone, and inChallenge.
          • Changed the sample code to use the above functions for convenience.

          v1.2.3 - 10/3/20

          • Added a row component, which displays a list of objects in a row.
          • Added a column component, which displays a list of objects in a column (useful within a row).
          • Changed blanks to have a customizable width and height.

          v1.2: This Changes Everything! - 10/3/20

          • Many layer features can now be static values or functions. (This made some formats change, which will break old things)
          • You can now use the "this" keyword, to make code easier to transfer when making new layers.
          • Also added "this.layer", which is the current layer's name, and works on existing subfeatures (e.g. individual upgrades) as well! Subfeatures also have "this.id".
          • Fixed a big save issue. If you use a unique mod id, your save will never conflict with other mods.
          • Added a configurable offline time limit in modinfo at the top of index.html. (default 1 hour)
          • Added a few minor features, and updated the docs with new information.

          v1.1.1:

          • You can define hotkeys directly from layer config.

          v1.1: Enhanced Edition

          • Added "Buyables", which can function like Space Buildings or Enhancers.
          • Custom CSS can now be used on any component! Make the third argument an object with CSS parameters.
          • Lots of minor good things.

          v1.0:

          • First release.
          ',79),o=[n];function d(r,s,h,u,c,v){return l(),i("div",null,o)}const f=e(t,[["render",d]]);export{m as __pageData,f as default}; diff --git a/assets/public_lit_changelog.md.3a289646.lean.js b/assets/public_lit_changelog.md.c96196ba.lean.js similarity index 98% rename from assets/public_lit_changelog.md.3a289646.lean.js rename to assets/public_lit_changelog.md.c96196ba.lean.js index 91f00de66..9ecafe9e2 100644 --- a/assets/public_lit_changelog.md.3a289646.lean.js +++ b/assets/public_lit_changelog.md.c96196ba.lean.js @@ -1 +1 @@ -import{_ as e,c as i,o as l,d as a}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"The Modding Tree changelog:","description":"","frontmatter":{},"headers":[{"level":2,"title":"v2.\u03C0: Incrementally Updated - 2/5/21","slug":"v2-\u03C0-incrementally-updated-2-5-21","link":"#v2-\u03C0-incrementally-updated-2-5-21","children":[]},{"level":2,"title":"v2.3.5 - 12/21/20","slug":"v2-3-5-12-21-20","link":"#v2-3-5-12-21-20","children":[]},{"level":2,"title":"v2.3.4 - 12/16/20","slug":"v2-3-4-12-16-20","link":"#v2-3-4-12-16-20","children":[]},{"level":2,"title":"v2.3.3 - 12/13/20","slug":"v2-3-3-12-13-20","link":"#v2-3-3-12-13-20","children":[]},{"level":2,"title":"v2.3.2 - 12/13/20","slug":"v2-3-2-12-13-20","link":"#v2-3-2-12-13-20","children":[]},{"level":2,"title":"v2.3.1 - 12/12/20","slug":"v2-3-1-12-12-20","link":"#v2-3-1-12-12-20","children":[]},{"level":2,"title":"v2.3: Cooler and Newer Edition - 12/10/20","slug":"v2-3-cooler-and-newer-edition-12-10-20","link":"#v2-3-cooler-and-newer-edition-12-10-20","children":[{"level":3,"title":"v2.2.8 - 12/03/20","slug":"v2-2-8-12-03-20","link":"#v2-2-8-12-03-20","children":[]},{"level":3,"title":"v2.2.7 - 11/30/20","slug":"v2-2-7-11-30-20","link":"#v2-2-7-11-30-20","children":[]},{"level":3,"title":"v2.2.6 - 11/30/20","slug":"v2-2-6-11-30-20","link":"#v2-2-6-11-30-20","children":[]},{"level":3,"title":"v2.2.5 - 11/29/20","slug":"v2-2-5-11-29-20","link":"#v2-2-5-11-29-20","children":[]},{"level":3,"title":"v2.2.4 - 11/28/20","slug":"v2-2-4-11-28-20","link":"#v2-2-4-11-28-20","children":[]},{"level":3,"title":"v2.2.3 - 11/28/20","slug":"v2-2-3-11-28-20","link":"#v2-2-3-11-28-20","children":[]},{"level":3,"title":"v2.2.2 - 11/22/20","slug":"v2-2-2-11-22-20","link":"#v2-2-2-11-22-20","children":[]},{"level":3,"title":"v2.2.1 - 11/7/20","slug":"v2-2-1-11-7-20","link":"#v2-2-1-11-7-20","children":[]}]},{"level":2,"title":"v2.2: Uprooted - 11/7/20","slug":"v2-2-uprooted-11-7-20","link":"#v2-2-uprooted-11-7-20","children":[{"level":3,"title":"v2.1.4 - 10/25/20","slug":"v2-1-4-10-25-20","link":"#v2-1-4-10-25-20","children":[]},{"level":3,"title":"v2.1.3.1 - 10/21/20","slug":"v2-1-3-1-10-21-20","link":"#v2-1-3-1-10-21-20","children":[]},{"level":3,"title":"v2.1.3 - 10/21/20","slug":"v2-1-3-10-21-20","link":"#v2-1-3-10-21-20","children":[]},{"level":3,"title":"v2.1.2 - 10/19/20","slug":"v2-1-2-10-19-20","link":"#v2-1-2-10-19-20","children":[]},{"level":3,"title":"v2.1.1 - 10/17/20","slug":"v2-1-1-10-17-20","link":"#v2-1-1-10-17-20","children":[]}]},{"level":2,"title":"v2.1: We should have thought of this sooner! - 10/17/20","slug":"v2-1-we-should-have-thought-of-this-sooner-10-17-20","link":"#v2-1-we-should-have-thought-of-this-sooner-10-17-20","children":[{"level":3,"title":"v2.0.5 - 10/16/20","slug":"v2-0-5-10-16-20","link":"#v2-0-5-10-16-20","children":[]},{"level":3,"title":"v2.0.4 - 10/16/20","slug":"v2-0-4-10-16-20","link":"#v2-0-4-10-16-20","children":[]},{"level":3,"title":"v2.0.3 - 10/16/20","slug":"v2-0-3-10-16-20","link":"#v2-0-3-10-16-20","children":[]},{"level":3,"title":"v2.0.2 - 10/15/20","slug":"v2-0-2-10-15-20","link":"#v2-0-2-10-15-20","children":[]},{"level":3,"title":"v2.0.1 - 10/15/20","slug":"v2-0-1-10-15-20","link":"#v2-0-1-10-15-20","children":[]}]},{"level":2,"title":"v2.0: The Pinnacle of Achievement Mountain - 10/15/20","slug":"v2-0-the-pinnacle-of-achievement-mountain-10-15-20","link":"#v2-0-the-pinnacle-of-achievement-mountain-10-15-20","children":[{"level":3,"title":"v1.3.5:","slug":"v1-3-5","link":"#v1-3-5","children":[]},{"level":3,"title":"v1.3.4 - 10/8/20","slug":"v1-3-4-10-8-20","link":"#v1-3-4-10-8-20","children":[]},{"level":3,"title":"v1.3.3 - 10/7/20","slug":"v1-3-3-10-7-20","link":"#v1-3-3-10-7-20","children":[]},{"level":3,"title":"v1.3.1 - 10/7/20","slug":"v1-3-1-10-7-20","link":"#v1-3-1-10-7-20","children":[]}]},{"level":2,"title":"v1.3: Tabception... ception! - 10/7/20","slug":"v1-3-tabception-ception-10-7-20","link":"#v1-3-tabception-ception-10-7-20","children":[{"level":3,"title":"v1.2.4 - 10/4/20","slug":"v1-2-4-10-4-20","link":"#v1-2-4-10-4-20","children":[]},{"level":3,"title":"v1.2.3 - 10/3/20","slug":"v1-2-3-10-3-20","link":"#v1-2-3-10-3-20","children":[]}]},{"level":2,"title":"v1.2: This Changes Everything! - 10/3/20","slug":"v1-2-this-changes-everything-10-3-20","link":"#v1-2-this-changes-everything-10-3-20","children":[{"level":3,"title":"v1.1.1:","slug":"v1-1-1","link":"#v1-1-1","children":[]}]},{"level":2,"title":"v1.1: Enhanced Edition","slug":"v1-1-enhanced-edition","link":"#v1-1-enhanced-edition","children":[]},{"level":2,"title":"v1.0:","slug":"v1-0","link":"#v1-0","children":[]}],"relativePath":"public/lit/changelog.md","lastUpdated":null}'),t={name:"public/lit/changelog.md"},n=a("",79),o=[n];function d(r,s,h,u,c,v){return l(),i("div",null,o)}const f=e(t,[["render",d]]);export{m as __pageData,f as default}; +import{_ as e,c as i,o as l,d as a}from"./app.830f7d24.js";const m=JSON.parse('{"title":"The Modding Tree changelog:","description":"","frontmatter":{},"headers":[{"level":2,"title":"v2.\u03C0: Incrementally Updated - 2/5/21","slug":"v2-\u03C0-incrementally-updated-2-5-21","link":"#v2-\u03C0-incrementally-updated-2-5-21","children":[]},{"level":2,"title":"v2.3.5 - 12/21/20","slug":"v2-3-5-12-21-20","link":"#v2-3-5-12-21-20","children":[]},{"level":2,"title":"v2.3.4 - 12/16/20","slug":"v2-3-4-12-16-20","link":"#v2-3-4-12-16-20","children":[]},{"level":2,"title":"v2.3.3 - 12/13/20","slug":"v2-3-3-12-13-20","link":"#v2-3-3-12-13-20","children":[]},{"level":2,"title":"v2.3.2 - 12/13/20","slug":"v2-3-2-12-13-20","link":"#v2-3-2-12-13-20","children":[]},{"level":2,"title":"v2.3.1 - 12/12/20","slug":"v2-3-1-12-12-20","link":"#v2-3-1-12-12-20","children":[]},{"level":2,"title":"v2.3: Cooler and Newer Edition - 12/10/20","slug":"v2-3-cooler-and-newer-edition-12-10-20","link":"#v2-3-cooler-and-newer-edition-12-10-20","children":[{"level":3,"title":"v2.2.8 - 12/03/20","slug":"v2-2-8-12-03-20","link":"#v2-2-8-12-03-20","children":[]},{"level":3,"title":"v2.2.7 - 11/30/20","slug":"v2-2-7-11-30-20","link":"#v2-2-7-11-30-20","children":[]},{"level":3,"title":"v2.2.6 - 11/30/20","slug":"v2-2-6-11-30-20","link":"#v2-2-6-11-30-20","children":[]},{"level":3,"title":"v2.2.5 - 11/29/20","slug":"v2-2-5-11-29-20","link":"#v2-2-5-11-29-20","children":[]},{"level":3,"title":"v2.2.4 - 11/28/20","slug":"v2-2-4-11-28-20","link":"#v2-2-4-11-28-20","children":[]},{"level":3,"title":"v2.2.3 - 11/28/20","slug":"v2-2-3-11-28-20","link":"#v2-2-3-11-28-20","children":[]},{"level":3,"title":"v2.2.2 - 11/22/20","slug":"v2-2-2-11-22-20","link":"#v2-2-2-11-22-20","children":[]},{"level":3,"title":"v2.2.1 - 11/7/20","slug":"v2-2-1-11-7-20","link":"#v2-2-1-11-7-20","children":[]}]},{"level":2,"title":"v2.2: Uprooted - 11/7/20","slug":"v2-2-uprooted-11-7-20","link":"#v2-2-uprooted-11-7-20","children":[{"level":3,"title":"v2.1.4 - 10/25/20","slug":"v2-1-4-10-25-20","link":"#v2-1-4-10-25-20","children":[]},{"level":3,"title":"v2.1.3.1 - 10/21/20","slug":"v2-1-3-1-10-21-20","link":"#v2-1-3-1-10-21-20","children":[]},{"level":3,"title":"v2.1.3 - 10/21/20","slug":"v2-1-3-10-21-20","link":"#v2-1-3-10-21-20","children":[]},{"level":3,"title":"v2.1.2 - 10/19/20","slug":"v2-1-2-10-19-20","link":"#v2-1-2-10-19-20","children":[]},{"level":3,"title":"v2.1.1 - 10/17/20","slug":"v2-1-1-10-17-20","link":"#v2-1-1-10-17-20","children":[]}]},{"level":2,"title":"v2.1: We should have thought of this sooner! - 10/17/20","slug":"v2-1-we-should-have-thought-of-this-sooner-10-17-20","link":"#v2-1-we-should-have-thought-of-this-sooner-10-17-20","children":[{"level":3,"title":"v2.0.5 - 10/16/20","slug":"v2-0-5-10-16-20","link":"#v2-0-5-10-16-20","children":[]},{"level":3,"title":"v2.0.4 - 10/16/20","slug":"v2-0-4-10-16-20","link":"#v2-0-4-10-16-20","children":[]},{"level":3,"title":"v2.0.3 - 10/16/20","slug":"v2-0-3-10-16-20","link":"#v2-0-3-10-16-20","children":[]},{"level":3,"title":"v2.0.2 - 10/15/20","slug":"v2-0-2-10-15-20","link":"#v2-0-2-10-15-20","children":[]},{"level":3,"title":"v2.0.1 - 10/15/20","slug":"v2-0-1-10-15-20","link":"#v2-0-1-10-15-20","children":[]}]},{"level":2,"title":"v2.0: The Pinnacle of Achievement Mountain - 10/15/20","slug":"v2-0-the-pinnacle-of-achievement-mountain-10-15-20","link":"#v2-0-the-pinnacle-of-achievement-mountain-10-15-20","children":[{"level":3,"title":"v1.3.5:","slug":"v1-3-5","link":"#v1-3-5","children":[]},{"level":3,"title":"v1.3.4 - 10/8/20","slug":"v1-3-4-10-8-20","link":"#v1-3-4-10-8-20","children":[]},{"level":3,"title":"v1.3.3 - 10/7/20","slug":"v1-3-3-10-7-20","link":"#v1-3-3-10-7-20","children":[]},{"level":3,"title":"v1.3.1 - 10/7/20","slug":"v1-3-1-10-7-20","link":"#v1-3-1-10-7-20","children":[]}]},{"level":2,"title":"v1.3: Tabception... ception! - 10/7/20","slug":"v1-3-tabception-ception-10-7-20","link":"#v1-3-tabception-ception-10-7-20","children":[{"level":3,"title":"v1.2.4 - 10/4/20","slug":"v1-2-4-10-4-20","link":"#v1-2-4-10-4-20","children":[]},{"level":3,"title":"v1.2.3 - 10/3/20","slug":"v1-2-3-10-3-20","link":"#v1-2-3-10-3-20","children":[]}]},{"level":2,"title":"v1.2: This Changes Everything! - 10/3/20","slug":"v1-2-this-changes-everything-10-3-20","link":"#v1-2-this-changes-everything-10-3-20","children":[{"level":3,"title":"v1.1.1:","slug":"v1-1-1","link":"#v1-1-1","children":[]}]},{"level":2,"title":"v1.1: Enhanced Edition","slug":"v1-1-enhanced-edition","link":"#v1-1-enhanced-edition","children":[]},{"level":2,"title":"v1.0:","slug":"v1-0","link":"#v1-0","children":[]}],"relativePath":"public/lit/changelog.md","lastUpdated":null}'),t={name:"public/lit/changelog.md"},n=a("",79),o=[n];function d(r,s,h,u,c,v){return l(),i("div",null,o)}const f=e(t,[["render",d]]);export{m as __pageData,f as default}; diff --git a/assets/public_lit_docs_!general-info.md.63424715.js b/assets/public_lit_docs_!general-info.md.d1100aa8.js similarity index 99% rename from assets/public_lit_docs_!general-info.md.63424715.js rename to assets/public_lit_docs_!general-info.md.d1100aa8.js index 0e98df653..1966ef9d3 100644 --- a/assets/public_lit_docs_!general-info.md.63424715.js +++ b/assets/public_lit_docs_!general-info.md.d1100aa8.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as o}from"./app.c95a51e0.js";const p=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"Table of Contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"General","slug":"general","link":"#general","children":[]},{"level":3,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":3,"title":"Other components and features","slug":"other-components-and-features","link":"#other-components-and-features","children":[]}]}],"relativePath":"public/lit/docs/!general-info.md","lastUpdated":null}'),n={name:"public/lit/docs/!general-info.md"},r=o('

          The-Modding-Tree

          The main way to add content is through creating layers. You can either add a layer directly in the layers object in layerSupport.js, or declare it in another file and register it by calling addLayer(layername, layerdata). There is an example layer registration in layers.js showing the recommended method. It is just an example and can be freely deleted. You can also use it as a reference or a base for your own layers.

          The first thing you need to do is fill out the modInfo object at the top of mod.js to set your mod's name, ID (a string), and other information. A unique modId will prevent your mod's saves from conflicting with other mods. Note that changing this after people have started playing will reset their saves.

          Most of the time, you won't need to dive deep into the code to create things, but you still can if you really want to, for example to add new Vue components in v.js.

          The Modding Tree uses break_eternity.js to store large values. This means that many numbers are Decimal objects, and must be treated differently. For example, you have to use new Decimal(x) to create a Decimal value instead of a plain number, and perform operations on them by calling functions. e.g, instead of x = x + y, use x = x.add(y). Keep in mind this also applies to comparison operators, which should be replaced with calling the .gt, .gte, .lt, .lte, .eq, and .neq functions. See the break_eternity.js docs for more details on working with Decimal values.

          Almost all values can be either a constant value, or a dynamic value. Dynamic values are defined by putting a function that returns what the value should be at any given time.

          All display text can use basic HTML elements (But you can't use most Vue features there).

          While reading this documentation, the following key will be used when describing features:

          • No label: This is required and the game may crash if it isn't included.
          • sometimes required: This is may be required, depending on other things in the layer.
          • optional: You can leave this out if you don't intend to use that feature for the layer.
          • assigned automagically: This value will be set automatically and override any value you set.
          • deprecated: This feature is not recommended to be used anymore, and may be removed in future versions of TMT.

          Table of Contents

          General

          • Getting Started: Getting your own copy of the code set up with Github Desktop.
          • Main mod info: How to set up general things for your mod in mod.js.
          • Basic layer breakdown: Breaking down the components of a layer with minimal features.
          • Layer features: Explanations of all of the different properties that you can give a layer.
          • Custom Tab Layouts: An optional way to give your tabs a different layout. You can even create entirely new components to use.
          • Custom game layouts: You can get rid of the tree tab, add buttons and other things to the tree, or even customize the tab's layout like a layer tab.
          • Updating TMT: Using Github Desktop to update your mod's version of TMT.

          Common components

          • Upgrades: How to create upgrades for a layer.
          • Milestones: How to create milestones for a layer.
          • Buyables: Create rebuyable upgrades for your layer (with the option to make them respec-able). Can be used to make Enhancers or Space Buildings.
          • Clickables: A more generalized variant of buyables, for any kind of thing that is sometimes clickable. Between these and Buyables, you can do just about anything.

          Other components and features

          • Challenges: How to create challenges for a layer.
          • Bars: Display some information as a progress bar, gauge, or similar. They are highly customizable, and can be horizontal and vertical as well.
          • Subtabs and Microtabs: Create subtabs for your tabs, as well as "microtab" components that you can put inside the tabs. You can even use them to embed a layer inside another layer!
          • Achievements: How to create achievements for a layer (or for the whole game).
          • Infoboxes: Boxes containing text that can be shown or hidden.
          • Trees: Make your own trees. You can make non-layer button nodes too!
          ',16),i=[r];function s(l,d,h,c,u,m){return t(),a("div",null,i)}const y=e(n,[["render",s]]);export{p as __pageData,y as default}; +import{_ as e,c as a,o as t,d as o}from"./app.830f7d24.js";const p=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"Table of Contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"General","slug":"general","link":"#general","children":[]},{"level":3,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":3,"title":"Other components and features","slug":"other-components-and-features","link":"#other-components-and-features","children":[]}]}],"relativePath":"public/lit/docs/!general-info.md","lastUpdated":null}'),n={name:"public/lit/docs/!general-info.md"},r=o('

          The-Modding-Tree

          The main way to add content is through creating layers. You can either add a layer directly in the layers object in layerSupport.js, or declare it in another file and register it by calling addLayer(layername, layerdata). There is an example layer registration in layers.js showing the recommended method. It is just an example and can be freely deleted. You can also use it as a reference or a base for your own layers.

          The first thing you need to do is fill out the modInfo object at the top of mod.js to set your mod's name, ID (a string), and other information. A unique modId will prevent your mod's saves from conflicting with other mods. Note that changing this after people have started playing will reset their saves.

          Most of the time, you won't need to dive deep into the code to create things, but you still can if you really want to, for example to add new Vue components in v.js.

          The Modding Tree uses break_eternity.js to store large values. This means that many numbers are Decimal objects, and must be treated differently. For example, you have to use new Decimal(x) to create a Decimal value instead of a plain number, and perform operations on them by calling functions. e.g, instead of x = x + y, use x = x.add(y). Keep in mind this also applies to comparison operators, which should be replaced with calling the .gt, .gte, .lt, .lte, .eq, and .neq functions. See the break_eternity.js docs for more details on working with Decimal values.

          Almost all values can be either a constant value, or a dynamic value. Dynamic values are defined by putting a function that returns what the value should be at any given time.

          All display text can use basic HTML elements (But you can't use most Vue features there).

          While reading this documentation, the following key will be used when describing features:

          • No label: This is required and the game may crash if it isn't included.
          • sometimes required: This is may be required, depending on other things in the layer.
          • optional: You can leave this out if you don't intend to use that feature for the layer.
          • assigned automagically: This value will be set automatically and override any value you set.
          • deprecated: This feature is not recommended to be used anymore, and may be removed in future versions of TMT.

          Table of Contents

          General

          • Getting Started: Getting your own copy of the code set up with Github Desktop.
          • Main mod info: How to set up general things for your mod in mod.js.
          • Basic layer breakdown: Breaking down the components of a layer with minimal features.
          • Layer features: Explanations of all of the different properties that you can give a layer.
          • Custom Tab Layouts: An optional way to give your tabs a different layout. You can even create entirely new components to use.
          • Custom game layouts: You can get rid of the tree tab, add buttons and other things to the tree, or even customize the tab's layout like a layer tab.
          • Updating TMT: Using Github Desktop to update your mod's version of TMT.

          Common components

          • Upgrades: How to create upgrades for a layer.
          • Milestones: How to create milestones for a layer.
          • Buyables: Create rebuyable upgrades for your layer (with the option to make them respec-able). Can be used to make Enhancers or Space Buildings.
          • Clickables: A more generalized variant of buyables, for any kind of thing that is sometimes clickable. Between these and Buyables, you can do just about anything.

          Other components and features

          • Challenges: How to create challenges for a layer.
          • Bars: Display some information as a progress bar, gauge, or similar. They are highly customizable, and can be horizontal and vertical as well.
          • Subtabs and Microtabs: Create subtabs for your tabs, as well as "microtab" components that you can put inside the tabs. You can even use them to embed a layer inside another layer!
          • Achievements: How to create achievements for a layer (or for the whole game).
          • Infoboxes: Boxes containing text that can be shown or hidden.
          • Trees: Make your own trees. You can make non-layer button nodes too!
          ',16),i=[r];function s(l,d,h,c,u,m){return t(),a("div",null,i)}const y=e(n,[["render",s]]);export{p as __pageData,y as default}; diff --git a/assets/public_lit_docs_!general-info.md.63424715.lean.js b/assets/public_lit_docs_!general-info.md.d1100aa8.lean.js similarity index 92% rename from assets/public_lit_docs_!general-info.md.63424715.lean.js rename to assets/public_lit_docs_!general-info.md.d1100aa8.lean.js index 79a10302e..fd8a44ed1 100644 --- a/assets/public_lit_docs_!general-info.md.63424715.lean.js +++ b/assets/public_lit_docs_!general-info.md.d1100aa8.lean.js @@ -1 +1 @@ -import{_ as e,c as a,o as t,d as o}from"./app.c95a51e0.js";const p=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"Table of Contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"General","slug":"general","link":"#general","children":[]},{"level":3,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":3,"title":"Other components and features","slug":"other-components-and-features","link":"#other-components-and-features","children":[]}]}],"relativePath":"public/lit/docs/!general-info.md","lastUpdated":null}'),n={name:"public/lit/docs/!general-info.md"},r=o("",16),i=[r];function s(l,d,h,c,u,m){return t(),a("div",null,i)}const y=e(n,[["render",s]]);export{p as __pageData,y as default}; +import{_ as e,c as a,o as t,d as o}from"./app.830f7d24.js";const p=JSON.parse('{"title":"The-Modding-Tree","description":"","frontmatter":{},"headers":[{"level":2,"title":"Table of Contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"General","slug":"general","link":"#general","children":[]},{"level":3,"title":"Common components","slug":"common-components","link":"#common-components","children":[]},{"level":3,"title":"Other components and features","slug":"other-components-and-features","link":"#other-components-and-features","children":[]}]}],"relativePath":"public/lit/docs/!general-info.md","lastUpdated":null}'),n={name:"public/lit/docs/!general-info.md"},r=o("",16),i=[r];function s(l,d,h,c,u,m){return t(),a("div",null,i)}const y=e(n,[["render",s]]);export{p as __pageData,y as default}; diff --git a/assets/public_lit_docs_achievements.md.1aa4d17f.js b/assets/public_lit_docs_achievements.md.e8369d65.js similarity index 98% rename from assets/public_lit_docs_achievements.md.1aa4d17f.js rename to assets/public_lit_docs_achievements.md.e8369d65.js index 6442947b5..edeecc3b3 100644 --- a/assets/public_lit_docs_achievements.md.1aa4d17f.js +++ b/assets/public_lit_docs_achievements.md.e8369d65.js @@ -1,4 +1,4 @@ -import{_ as e,c as t,o as a,d as s}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/achievements.md","lastUpdated":null}'),n={name:"public/lit/docs/achievements.md"},o=s(`

          Achievements

          Achievements are awarded to the player when they meet a certain goal, and optionally give some benefit. Currently they are pretty basic, but additional features will be added later to help.

          You can make global achievements by putting them in a side layer by making its row equal to "side" instead of a number.

          Useful functions for dealing with achievements and implementing their effects:

          • hasAchievement(layer, id): determine if the player has the Achievement.
          • achievementEffect(layer, id): Returns the current effects of the achievement, if any.

          Achievements should be formatted like this:

          js
          achievements: {
          +import{_ as e,c as t,o as a,d as s}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/achievements.md","lastUpdated":null}'),n={name:"public/lit/docs/achievements.md"},o=s(`

          Achievements

          Achievements are awarded to the player when they meet a certain goal, and optionally give some benefit. Currently they are pretty basic, but additional features will be added later to help.

          You can make global achievements by putting them in a side layer by making its row equal to "side" instead of a number.

          Useful functions for dealing with achievements and implementing their effects:

          • hasAchievement(layer, id): determine if the player has the Achievement.
          • achievementEffect(layer, id): Returns the current effects of the achievement, if any.

          Achievements should be formatted like this:

          js
          achievements: {
               rows: # of rows,
               cols: # of columns,
               11: {
          diff --git a/assets/public_lit_docs_achievements.md.1aa4d17f.lean.js b/assets/public_lit_docs_achievements.md.e8369d65.lean.js
          similarity index 83%
          rename from assets/public_lit_docs_achievements.md.1aa4d17f.lean.js
          rename to assets/public_lit_docs_achievements.md.e8369d65.lean.js
          index 41e17dabc..fc61a1002 100644
          --- a/assets/public_lit_docs_achievements.md.1aa4d17f.lean.js
          +++ b/assets/public_lit_docs_achievements.md.e8369d65.lean.js
          @@ -1 +1 @@
          -import{_ as e,c as t,o as a,d as s}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/achievements.md","lastUpdated":null}'),n={name:"public/lit/docs/achievements.md"},o=s("",11),l=[o];function i(p,r,c,h,d,u){return a(),t("div",null,l)}const v=e(n,[["render",i]]);export{m as __pageData,v as default};
          +import{_ as e,c as t,o as a,d as s}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Achievements","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/achievements.md","lastUpdated":null}'),n={name:"public/lit/docs/achievements.md"},o=s("",11),l=[o];function i(p,r,c,h,d,u){return a(),t("div",null,l)}const v=e(n,[["render",i]]);export{m as __pageData,v as default};
          diff --git a/assets/public_lit_docs_bars.md.2929af1e.js b/assets/public_lit_docs_bars.md.662cc1e4.js
          similarity index 98%
          rename from assets/public_lit_docs_bars.md.2929af1e.js
          rename to assets/public_lit_docs_bars.md.662cc1e4.js
          index 31d2be8f3..f25ca8f09 100644
          --- a/assets/public_lit_docs_bars.md.2929af1e.js
          +++ b/assets/public_lit_docs_bars.md.662cc1e4.js
          @@ -1,4 +1,4 @@
          -import{_ as s,c as a,o as n,d as e}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/bars.md","lastUpdated":null}'),t={name:"public/lit/docs/bars.md"},o=e(`

          Bars

          Bars let you display information in a more direct way. It can be a progress bar, health bar, capacity gauge, or anything else.

          Bars are defined like other Big Features:

          js
          bars: {
          +import{_ as s,c as a,o as n,d as e}from"./app.830f7d24.js";const u=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/bars.md","lastUpdated":null}'),t={name:"public/lit/docs/bars.md"},o=e(`

          Bars

          Bars let you display information in a more direct way. It can be a progress bar, health bar, capacity gauge, or anything else.

          Bars are defined like other Big Features:

          js
          bars: {
               bigBar: {
                   direction: RIGHT,
                   width: 200,
          diff --git a/assets/public_lit_docs_bars.md.2929af1e.lean.js b/assets/public_lit_docs_bars.md.662cc1e4.lean.js
          similarity index 82%
          rename from assets/public_lit_docs_bars.md.2929af1e.lean.js
          rename to assets/public_lit_docs_bars.md.662cc1e4.lean.js
          index 5d40eefa2..21530a0cc 100644
          --- a/assets/public_lit_docs_bars.md.2929af1e.lean.js
          +++ b/assets/public_lit_docs_bars.md.662cc1e4.lean.js
          @@ -1 +1 @@
          -import{_ as s,c as a,o as n,d as e}from"./app.c95a51e0.js";const u=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/bars.md","lastUpdated":null}'),t={name:"public/lit/docs/bars.md"},o=e("",6),l=[o];function p(r,i,c,y,d,F){return n(),a("div",null,l)}const b=s(t,[["render",p]]);export{u as __pageData,b as default};
          +import{_ as s,c as a,o as n,d as e}from"./app.830f7d24.js";const u=JSON.parse('{"title":"Bars","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/bars.md","lastUpdated":null}'),t={name:"public/lit/docs/bars.md"},o=e("",6),l=[o];function p(r,i,c,y,d,F){return n(),a("div",null,l)}const b=s(t,[["render",p]]);export{u as __pageData,b as default};
          diff --git a/assets/public_lit_docs_basic-layer-breakdown.md.bdd9ba9b.js b/assets/public_lit_docs_basic-layer-breakdown.md.dcf54f91.js
          similarity index 99%
          rename from assets/public_lit_docs_basic-layer-breakdown.md.bdd9ba9b.js
          rename to assets/public_lit_docs_basic-layer-breakdown.md.dcf54f91.js
          index 18f3022f5..8484b1e53 100644
          --- a/assets/public_lit_docs_basic-layer-breakdown.md.bdd9ba9b.js
          +++ b/assets/public_lit_docs_basic-layer-breakdown.md.dcf54f91.js
          @@ -1,4 +1,4 @@
          -import{_ as s,c as n,o as a,d as l}from"./app.c95a51e0.js";const A=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/basic-layer-breakdown.md","lastUpdated":null}'),o={name:"public/lit/docs/basic-layer-breakdown.md"},p=l(`

          Basic layer breakdown

          This is a very minimal layer with minimal features. Most things will require additional features.

          js
          addLayer("p", {
          +import{_ as s,c as n,o as a,d as l}from"./app.830f7d24.js";const A=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/basic-layer-breakdown.md","lastUpdated":null}'),o={name:"public/lit/docs/basic-layer-breakdown.md"},p=l(`

          Basic layer breakdown

          This is a very minimal layer with minimal features. Most things will require additional features.

          js
          addLayer("p", {
               startData() { return {                  // startData is a function that returns default data for a layer. 
                   unlocked: true,                     // You can add more variables here to add them to your layer.
                   points: new Decimal(0),             // "points" is the internal name for the main resource of the layer.
          diff --git a/assets/public_lit_docs_basic-layer-breakdown.md.bdd9ba9b.lean.js b/assets/public_lit_docs_basic-layer-breakdown.md.dcf54f91.lean.js
          similarity index 84%
          rename from assets/public_lit_docs_basic-layer-breakdown.md.bdd9ba9b.lean.js
          rename to assets/public_lit_docs_basic-layer-breakdown.md.dcf54f91.lean.js
          index 13b9a8c94..e9545987d 100644
          --- a/assets/public_lit_docs_basic-layer-breakdown.md.bdd9ba9b.lean.js
          +++ b/assets/public_lit_docs_basic-layer-breakdown.md.dcf54f91.lean.js
          @@ -1 +1 @@
          -import{_ as s,c as n,o as a,d as l}from"./app.c95a51e0.js";const A=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/basic-layer-breakdown.md","lastUpdated":null}'),o={name:"public/lit/docs/basic-layer-breakdown.md"},p=l("",3),e=[p];function t(r,c,y,F,D,i){return a(),n("div",null,e)}const u=s(o,[["render",t]]);export{A as __pageData,u as default};
          +import{_ as s,c as n,o as a,d as l}from"./app.830f7d24.js";const A=JSON.parse('{"title":"Basic layer breakdown","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/basic-layer-breakdown.md","lastUpdated":null}'),o={name:"public/lit/docs/basic-layer-breakdown.md"},p=l("",3),e=[p];function t(r,c,y,F,D,i){return a(),n("div",null,e)}const u=s(o,[["render",t]]);export{A as __pageData,u as default};
          diff --git a/assets/public_lit_docs_buyables.md.21c8278c.js b/assets/public_lit_docs_buyables.md.22bd2aaa.js
          similarity index 99%
          rename from assets/public_lit_docs_buyables.md.21c8278c.js
          rename to assets/public_lit_docs_buyables.md.22bd2aaa.js
          index df0ec5c56..692c19256 100644
          --- a/assets/public_lit_docs_buyables.md.21c8278c.js
          +++ b/assets/public_lit_docs_buyables.md.22bd2aaa.js
          @@ -1,4 +1,4 @@
          -import{_ as s,c as a,o as n,d as l}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/buyables.md","lastUpdated":null}'),o={name:"public/lit/docs/buyables.md"},e=l(`

          Buyables

          Buyables are usually things that can be bought multiple times with scaling costs. If you set a respec function, the player can reset the purchases to get their currency back.

          The amount of a buyable owned is a Decimal.

          Useful functions for dealing with buyables and implementing their effects:

          • getBuyableAmount(layer, id): get the amount of the buyable the player has
          • setBuyableAmount(layer, id, amount): set the amount of the buyable the player has
          • buyableEffect(layer, id): Returns the current effects of the buyable, if any.

          Buyables should be formatted like this:

          js
          buyables: {
          +import{_ as s,c as a,o as n,d as l}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/buyables.md","lastUpdated":null}'),o={name:"public/lit/docs/buyables.md"},e=l(`

          Buyables

          Buyables are usually things that can be bought multiple times with scaling costs. If you set a respec function, the player can reset the purchases to get their currency back.

          The amount of a buyable owned is a Decimal.

          Useful functions for dealing with buyables and implementing their effects:

          • getBuyableAmount(layer, id): get the amount of the buyable the player has
          • setBuyableAmount(layer, id, amount): set the amount of the buyable the player has
          • buyableEffect(layer, id): Returns the current effects of the buyable, if any.

          Buyables should be formatted like this:

          js
          buyables: {
               rows: # of rows,
               cols: # of columns,
               11: {
          diff --git a/assets/public_lit_docs_buyables.md.21c8278c.lean.js b/assets/public_lit_docs_buyables.md.22bd2aaa.lean.js
          similarity index 83%
          rename from assets/public_lit_docs_buyables.md.21c8278c.lean.js
          rename to assets/public_lit_docs_buyables.md.22bd2aaa.lean.js
          index 249c10a1b..6928e9a7f 100644
          --- a/assets/public_lit_docs_buyables.md.21c8278c.lean.js
          +++ b/assets/public_lit_docs_buyables.md.22bd2aaa.lean.js
          @@ -1 +1 @@
          -import{_ as s,c as a,o as n,d as l}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/buyables.md","lastUpdated":null}'),o={name:"public/lit/docs/buyables.md"},e=l("",12),t=[e];function p(r,c,y,i,F,u){return n(),a("div",null,t)}const b=s(o,[["render",p]]);export{h as __pageData,b as default};
          +import{_ as s,c as a,o as n,d as l}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Buyables","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/buyables.md","lastUpdated":null}'),o={name:"public/lit/docs/buyables.md"},e=l("",12),t=[e];function p(r,c,y,i,F,u){return n(),a("div",null,t)}const b=s(o,[["render",p]]);export{h as __pageData,b as default};
          diff --git a/assets/public_lit_docs_challenges.md.c8d19b68.js b/assets/public_lit_docs_challenges.md.3b2e856d.js
          similarity index 99%
          rename from assets/public_lit_docs_challenges.md.c8d19b68.js
          rename to assets/public_lit_docs_challenges.md.3b2e856d.js
          index 04a8c1584..1a2211dce 100644
          --- a/assets/public_lit_docs_challenges.md.c8d19b68.js
          +++ b/assets/public_lit_docs_challenges.md.3b2e856d.js
          @@ -1,4 +1,4 @@
          -import{_ as e,c as s,o as n,d as a}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/challenges.md","lastUpdated":null}'),l={name:"public/lit/docs/challenges.md"},t=a(`

          Challenges

          Challenges can have fully customizable win conditions. Useful functions for dealing with Challenges and implementing their effects:

          • inChallenge(layer, id): determine if the player is in a given challenge (or another challenge on the same layer that counts as this one).
          • hasChallenge(layer, id): determine if the player has completed the challenge.
          • challengeCompletions(layer, id): determine how many times the player completed the challenge.
          • challengeEffect(layer, id): Returns the current effects of the challenge, if any.

          Challenges are stored in the following format:

          js
          challenges: {
          +import{_ as e,c as s,o as n,d as a}from"./app.830f7d24.js";const g=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/challenges.md","lastUpdated":null}'),l={name:"public/lit/docs/challenges.md"},t=a(`

          Challenges

          Challenges can have fully customizable win conditions. Useful functions for dealing with Challenges and implementing their effects:

          • inChallenge(layer, id): determine if the player is in a given challenge (or another challenge on the same layer that counts as this one).
          • hasChallenge(layer, id): determine if the player has completed the challenge.
          • challengeCompletions(layer, id): determine how many times the player completed the challenge.
          • challengeEffect(layer, id): Returns the current effects of the challenge, if any.

          Challenges are stored in the following format:

          js
          challenges: {
               rows: # of rows,
               cols: # of columns,
               11: {
          diff --git a/assets/public_lit_docs_challenges.md.c8d19b68.lean.js b/assets/public_lit_docs_challenges.md.3b2e856d.lean.js
          similarity index 83%
          rename from assets/public_lit_docs_challenges.md.c8d19b68.lean.js
          rename to assets/public_lit_docs_challenges.md.3b2e856d.lean.js
          index a57cd8783..c4efd2a64 100644
          --- a/assets/public_lit_docs_challenges.md.c8d19b68.lean.js
          +++ b/assets/public_lit_docs_challenges.md.3b2e856d.lean.js
          @@ -1 +1 @@
          -import{_ as e,c as s,o as n,d as a}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/challenges.md","lastUpdated":null}'),l={name:"public/lit/docs/challenges.md"},t=a("",10),o=[t];function i(r,p,c,h,u,y){return n(),s("div",null,o)}const f=e(l,[["render",i]]);export{g as __pageData,f as default};
          +import{_ as e,c as s,o as n,d as a}from"./app.830f7d24.js";const g=JSON.parse('{"title":"Challenges","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/challenges.md","lastUpdated":null}'),l={name:"public/lit/docs/challenges.md"},t=a("",10),o=[t];function i(r,p,c,h,u,y){return n(),s("div",null,o)}const f=e(l,[["render",i]]);export{g as __pageData,f as default};
          diff --git a/assets/public_lit_docs_clickables.md.3bc15e64.js b/assets/public_lit_docs_clickables.md.42f77ee9.js
          similarity index 98%
          rename from assets/public_lit_docs_clickables.md.3bc15e64.js
          rename to assets/public_lit_docs_clickables.md.42f77ee9.js
          index 9590ac00a..8e211d8ff 100644
          --- a/assets/public_lit_docs_clickables.md.3bc15e64.js
          +++ b/assets/public_lit_docs_clickables.md.42f77ee9.js
          @@ -1,4 +1,4 @@
          -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const b=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/clickables.md","lastUpdated":null}'),l={name:"public/lit/docs/clickables.md"},n=t(`

          Clickables

          Clickables are any kind of thing that you can click for an effect. They're a more generalized version of Buyables.

          DO NOT USE THESE TO MAKE THINGS THAT YOU CLICK REPEATEDLY FOR A BONUS BECAUSE THOSE ARE AWFUL.

          There are several differences between the two. One is that a buyable's saved data is its amount as a Decimal, while Clickables store a "state" which can be a number or string, but not Decimal, array, or object). Buyables have a number of extra features which you can see on their page. Clickables also have a smaller default size.

          Useful functions for dealing with achievements and implementing their effects:

          • getClickableState(layer, id): get the state of the clickable the player has
          • setClickableState(layer, id, state): set the state of the buyable the player has
          • clickableEffect(layer, id): Returns the current effects of the clickable, if any.

          Clickables should be formatted like this:

          js
          clickables: {
          +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const b=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/clickables.md","lastUpdated":null}'),l={name:"public/lit/docs/clickables.md"},n=t(`

          Clickables

          Clickables are any kind of thing that you can click for an effect. They're a more generalized version of Buyables.

          DO NOT USE THESE TO MAKE THINGS THAT YOU CLICK REPEATEDLY FOR A BONUS BECAUSE THOSE ARE AWFUL.

          There are several differences between the two. One is that a buyable's saved data is its amount as a Decimal, while Clickables store a "state" which can be a number or string, but not Decimal, array, or object). Buyables have a number of extra features which you can see on their page. Clickables also have a smaller default size.

          Useful functions for dealing with achievements and implementing their effects:

          • getClickableState(layer, id): get the state of the clickable the player has
          • setClickableState(layer, id, state): set the state of the buyable the player has
          • clickableEffect(layer, id): Returns the current effects of the clickable, if any.

          Clickables should be formatted like this:

          js
          clickables: {
               rows: # of rows,
               cols: # of columns,
               11: {
          diff --git a/assets/public_lit_docs_clickables.md.3bc15e64.lean.js b/assets/public_lit_docs_clickables.md.42f77ee9.lean.js
          similarity index 83%
          rename from assets/public_lit_docs_clickables.md.3bc15e64.lean.js
          rename to assets/public_lit_docs_clickables.md.42f77ee9.lean.js
          index 605106c00..83f3f71db 100644
          --- a/assets/public_lit_docs_clickables.md.3bc15e64.lean.js
          +++ b/assets/public_lit_docs_clickables.md.42f77ee9.lean.js
          @@ -1 +1 @@
          -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const b=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/clickables.md","lastUpdated":null}'),l={name:"public/lit/docs/clickables.md"},n=t("",12),o=[n];function i(c,p,r,u,h,y){return a(),s("div",null,o)}const f=e(l,[["render",i]]);export{b as __pageData,f as default};
          +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const b=JSON.parse('{"title":"Clickables","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/clickables.md","lastUpdated":null}'),l={name:"public/lit/docs/clickables.md"},n=t("",12),o=[n];function i(c,p,r,u,h,y){return a(),s("div",null,o)}const f=e(l,[["render",i]]);export{b as __pageData,f as default};
          diff --git a/assets/public_lit_docs_custom-tab-layouts.md.a1bcc384.js b/assets/public_lit_docs_custom-tab-layouts.md.c62a32fa.js
          similarity index 99%
          rename from assets/public_lit_docs_custom-tab-layouts.md.a1bcc384.js
          rename to assets/public_lit_docs_custom-tab-layouts.md.c62a32fa.js
          index 494138eb1..b9bbffb21 100644
          --- a/assets/public_lit_docs_custom-tab-layouts.md.a1bcc384.js
          +++ b/assets/public_lit_docs_custom-tab-layouts.md.c62a32fa.js
          @@ -1,4 +1,4 @@
          -import{_ as s,c as a,o,d as n}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/custom-tab-layouts.md","lastUpdated":null}'),t={name:"public/lit/docs/custom-tab-layouts.md"},e=n(`

          Custom tab layouts

          Note: If you are using subtabs, tabFormat is used differently, but you still use the same format within each subtabs. See here for more on subtabs.

          Custom tab layouts can be used to do basically anything in a tab window, especially combined with the "style" layer feature. The tabFormat feature is an array of things, like this:

          js
          tabFormat: [
          +import{_ as s,c as a,o,d as n}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/custom-tab-layouts.md","lastUpdated":null}'),t={name:"public/lit/docs/custom-tab-layouts.md"},e=n(`

          Custom tab layouts

          Note: If you are using subtabs, tabFormat is used differently, but you still use the same format within each subtabs. See here for more on subtabs.

          Custom tab layouts can be used to do basically anything in a tab window, especially combined with the "style" layer feature. The tabFormat feature is an array of things, like this:

          js
          tabFormat: [
               "main-display",
               ["prestige-button", function() { return "Melt your points into " }],
               "blank",
          diff --git a/assets/public_lit_docs_custom-tab-layouts.md.a1bcc384.lean.js b/assets/public_lit_docs_custom-tab-layouts.md.c62a32fa.lean.js
          similarity index 84%
          rename from assets/public_lit_docs_custom-tab-layouts.md.a1bcc384.lean.js
          rename to assets/public_lit_docs_custom-tab-layouts.md.c62a32fa.lean.js
          index 48130bc9f..400d0da9a 100644
          --- a/assets/public_lit_docs_custom-tab-layouts.md.a1bcc384.lean.js
          +++ b/assets/public_lit_docs_custom-tab-layouts.md.c62a32fa.lean.js
          @@ -1 +1 @@
          -import{_ as s,c as a,o,d as n}from"./app.c95a51e0.js";const h=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/custom-tab-layouts.md","lastUpdated":null}'),t={name:"public/lit/docs/custom-tab-layouts.md"},e=n("",9),l=[e];function p(r,c,i,y,D,u){return o(),a("div",null,l)}const d=s(t,[["render",p]]);export{h as __pageData,d as default};
          +import{_ as s,c as a,o,d as n}from"./app.830f7d24.js";const h=JSON.parse('{"title":"Custom tab layouts","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/custom-tab-layouts.md","lastUpdated":null}'),t={name:"public/lit/docs/custom-tab-layouts.md"},e=n("",9),l=[e];function p(r,c,i,y,D,u){return o(),a("div",null,l)}const d=s(t,[["render",p]]);export{h as __pageData,d as default};
          diff --git a/assets/public_lit_docs_getting-started.md.f14d462a.js b/assets/public_lit_docs_getting-started.md.f1e21163.js
          similarity index 98%
          rename from assets/public_lit_docs_getting-started.md.f14d462a.js
          rename to assets/public_lit_docs_getting-started.md.f1e21163.js
          index 2a47d283e..c43a920e6 100644
          --- a/assets/public_lit_docs_getting-started.md.f14d462a.js
          +++ b/assets/public_lit_docs_getting-started.md.f1e21163.js
          @@ -1 +1 @@
          -import{_ as e,c as t,o,d as i}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:","slug":"getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","link":"#getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","children":[{"level":3,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}]}],"relativePath":"public/lit/docs/getting-started.md","lastUpdated":null}'),a={name:"public/lit/docs/getting-started.md"},n=i('

          Getting started

          Welcome to The Modding Tree!

          Using the Modding Tree, at its simplest level, just requires getting a copy of it onto your computer. However, if you do it the right way, it will help in many ways.

          Don't let the word "Github" scare you away. It's actually much easier to use than most people think, especially because most people use it the hard way. The key is Github Desktop, which lets you do everything you need to, without even touching the command line.

          The benefits of using Github:

          • It makes it much, much easier to update The Modding Tree.
          • You can share your work without any extra effort using githack, or with a bit more effort, set up a github.io site.
          • It lets you undo changes to your code, and to have multiple versions of it.
          • It lets you collaborate with other people, if you want to.

          Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:

          1. Install Github Desktop and Visual Studio Code.

          2. Make a Github account. You can handle this on your own.

          3. Log in on your browser, and go back to The Modding Tree page. At the top right, there should be a button that says "fork". Click on it, and then on your username. You now have your own fork, or copy, of The Modding Tree.

          4. Open Github Desktop and log in. Ignore everything else and choose "clone a repository". A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is downloading a copy of the repository to your computer.

          5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".

          6. Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.

          Using your repository

          1. Click on "show in explorer/finder" to the right, and then open the index.html file in the folder. The page should open up on your browser. This will let you view and test your project locally!

          2. To edit your project, click "open in VSCode" in Github Desktop.

          3. Open mod.js in VSCode, and look at the top part where it has a "modInfo" object. Fill in your mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later or else it'll effectively wipe existing saves)

          4. Save mod.js, and then reload index.html in your browser. The title on the tab, as well as on the info page, will now be updated! You can reload the page every time you change the code to test it quickly and easily.

          5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit". This basically saves your work and creates a snapshot of what your code looks like at this moment, allowing you to look back at it later.

          6. At the bottom right corner, add a summary of your changes, and then click "commit to master".

          7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository.

          8. You can view your project on line, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html

          And now, you have successfully used Github! You can look at the documentation to see how The Modding Tree's system works and to make your mod a reality.

          ',11),r=[n];function s(l,h,u,d,p,c){return o(),t("div",null,r)}const m=e(a,[["render",s]]);export{y as __pageData,m as default}; +import{_ as e,c as t,o,d as i}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:","slug":"getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","link":"#getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","children":[{"level":3,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}]}],"relativePath":"public/lit/docs/getting-started.md","lastUpdated":null}'),a={name:"public/lit/docs/getting-started.md"},n=i('

          Getting started

          Welcome to The Modding Tree!

          Using the Modding Tree, at its simplest level, just requires getting a copy of it onto your computer. However, if you do it the right way, it will help in many ways.

          Don't let the word "Github" scare you away. It's actually much easier to use than most people think, especially because most people use it the hard way. The key is Github Desktop, which lets you do everything you need to, without even touching the command line.

          The benefits of using Github:

          • It makes it much, much easier to update The Modding Tree.
          • You can share your work without any extra effort using githack, or with a bit more effort, set up a github.io site.
          • It lets you undo changes to your code, and to have multiple versions of it.
          • It lets you collaborate with other people, if you want to.

          Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:

          1. Install Github Desktop and Visual Studio Code.

          2. Make a Github account. You can handle this on your own.

          3. Log in on your browser, and go back to The Modding Tree page. At the top right, there should be a button that says "fork". Click on it, and then on your username. You now have your own fork, or copy, of The Modding Tree.

          4. Open Github Desktop and log in. Ignore everything else and choose "clone a repository". A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is downloading a copy of the repository to your computer.

          5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".

          6. Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.

          Using your repository

          1. Click on "show in explorer/finder" to the right, and then open the index.html file in the folder. The page should open up on your browser. This will let you view and test your project locally!

          2. To edit your project, click "open in VSCode" in Github Desktop.

          3. Open mod.js in VSCode, and look at the top part where it has a "modInfo" object. Fill in your mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later or else it'll effectively wipe existing saves)

          4. Save mod.js, and then reload index.html in your browser. The title on the tab, as well as on the info page, will now be updated! You can reload the page every time you change the code to test it quickly and easily.

          5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit". This basically saves your work and creates a snapshot of what your code looks like at this moment, allowing you to look back at it later.

          6. At the bottom right corner, add a summary of your changes, and then click "commit to master".

          7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository.

          8. You can view your project on line, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html

          And now, you have successfully used Github! You can look at the documentation to see how The Modding Tree's system works and to make your mod a reality.

          ',11),r=[n];function s(l,h,u,d,p,c){return o(),t("div",null,r)}const m=e(a,[["render",s]]);export{y as __pageData,m as default}; diff --git a/assets/public_lit_docs_getting-started.md.f14d462a.lean.js b/assets/public_lit_docs_getting-started.md.f1e21163.lean.js similarity index 92% rename from assets/public_lit_docs_getting-started.md.f14d462a.lean.js rename to assets/public_lit_docs_getting-started.md.f1e21163.lean.js index a8f825d74..6243b3878 100644 --- a/assets/public_lit_docs_getting-started.md.f14d462a.lean.js +++ b/assets/public_lit_docs_getting-started.md.f1e21163.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,d as i}from"./app.c95a51e0.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:","slug":"getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","link":"#getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","children":[{"level":3,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}]}],"relativePath":"public/lit/docs/getting-started.md","lastUpdated":null}'),a={name:"public/lit/docs/getting-started.md"},n=i("",11),r=[n];function s(l,h,u,d,p,c){return o(),t("div",null,r)}const m=e(a,[["render",s]]);export{y as __pageData,m as default}; +import{_ as e,c as t,o,d as i}from"./app.830f7d24.js";const y=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:","slug":"getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","link":"#getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree","children":[{"level":3,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}]}],"relativePath":"public/lit/docs/getting-started.md","lastUpdated":null}'),a={name:"public/lit/docs/getting-started.md"},n=i("",11),r=[n];function s(l,h,u,d,p,c){return o(),t("div",null,r)}const m=e(a,[["render",s]]);export{y as __pageData,m as default}; diff --git a/assets/public_lit_docs_infoboxes.md.721eb814.js b/assets/public_lit_docs_infoboxes.md.13b017ec.js similarity index 98% rename from assets/public_lit_docs_infoboxes.md.721eb814.js rename to assets/public_lit_docs_infoboxes.md.13b017ec.js index f4b568fe2..a5917e492 100644 --- a/assets/public_lit_docs_infoboxes.md.721eb814.js +++ b/assets/public_lit_docs_infoboxes.md.13b017ec.js @@ -1,4 +1,4 @@ -import{_ as s,c as o,o as a,d as n}from"./app.c95a51e0.js";const b=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/infoboxes.md","lastUpdated":null}'),e={name:"public/lit/docs/infoboxes.md"},t=n(`

          Infoboxes

          Infoboxes are good for displaying "lore", or story elements, as well as for explaining complicated things.

          In the default tab layout, the first infobox will be displayed at the very top of the tab.

          Infoboxes are defined like other Big Features:

          js
          infoboxes: {
          +import{_ as s,c as o,o as a,d as n}from"./app.830f7d24.js";const b=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/infoboxes.md","lastUpdated":null}'),e={name:"public/lit/docs/infoboxes.md"},t=n(`

          Infoboxes

          Infoboxes are good for displaying "lore", or story elements, as well as for explaining complicated things.

          In the default tab layout, the first infobox will be displayed at the very top of the tab.

          Infoboxes are defined like other Big Features:

          js
          infoboxes: {
               lore: {
                   title: "foo",
                   body() { return "bar" },
          diff --git a/assets/public_lit_docs_infoboxes.md.721eb814.lean.js b/assets/public_lit_docs_infoboxes.md.13b017ec.lean.js
          similarity index 83%
          rename from assets/public_lit_docs_infoboxes.md.721eb814.lean.js
          rename to assets/public_lit_docs_infoboxes.md.13b017ec.lean.js
          index a1966d7c2..a66b8ce1d 100644
          --- a/assets/public_lit_docs_infoboxes.md.721eb814.lean.js
          +++ b/assets/public_lit_docs_infoboxes.md.13b017ec.lean.js
          @@ -1 +1 @@
          -import{_ as s,c as o,o as a,d as n}from"./app.c95a51e0.js";const b=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/infoboxes.md","lastUpdated":null}'),e={name:"public/lit/docs/infoboxes.md"},t=n("",7),l=[t];function p(i,r,c,y,d,F){return a(),o("div",null,l)}const h=s(e,[["render",p]]);export{b as __pageData,h as default};
          +import{_ as s,c as o,o as a,d as n}from"./app.830f7d24.js";const b=JSON.parse('{"title":"Infoboxes","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/infoboxes.md","lastUpdated":null}'),e={name:"public/lit/docs/infoboxes.md"},t=n("",7),l=[t];function p(i,r,c,y,d,F){return a(),o("div",null,l)}const h=s(e,[["render",p]]);export{b as __pageData,h as default};
          diff --git a/assets/public_lit_docs_layer-features.md.bcc7f108.js b/assets/public_lit_docs_layer-features.md.1af1ec9b.js
          similarity index 99%
          rename from assets/public_lit_docs_layer-features.md.bcc7f108.js
          rename to assets/public_lit_docs_layer-features.md.1af1ec9b.js
          index 95f117fb4..ae737e8ac 100644
          --- a/assets/public_lit_docs_layer-features.md.bcc7f108.js
          +++ b/assets/public_lit_docs_layer-features.md.1af1ec9b.js
          @@ -1,4 +1,4 @@
          -import{_ as e,c as t,o as a,d as s}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Other prestige-related features","slug":"other-prestige-related-features","link":"#other-prestige-related-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/lit/docs/layer-features.md","lastUpdated":null}'),o={name:"public/lit/docs/layer-features.md"},n=s(`

          Layer Features

          This is a more comprehensive list of established features to add to layers. You can add more freely, if you want to have other functions or values associated with your layer. These have special functionality, though.

          You can make almost any value dynamic by using a function in its place, including all display strings and styling/color features.

          Layer Definition features

          • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar to access the saved value. It makes copying code to new layers easier. It is also assigned to all upgrades and buyables and such.

          • name: optional. used in reset confirmations (and the default infobox title). If absent, it just uses the layer's id.

          • startData(): A function to return the default save data for this layer. Add any variables you have to it. Make sure to use Decimal values rather than normal numbers.

            Standard values: - Required: - unlocked: a bool determining if this layer is unlocked or not - points: a Decimal, the main currency for the layer - Optional: - total: A Decimal, tracks total amount of main prestige currency. Always tracked, but only shown if you add it here. - best: A Decimal, tracks highest amount of main prestige currency. Always tracked, but only shown if you add it here. - unlockOrder: used to keep track of relevant layers unlocked before this one. - resetTime: A number, time since this layer was last prestiged (or reset by another layer)

          • color: A color associated with this layer, used in many places. (A string in hex format with a #)

          • row: The row of the layer, starting at 0. This affects where the node appears on the standard tree, and which resets affect the layer.

            Using "side" instead of a number will cause the layer to appear off to the side as a smaller node (useful for achievements and statistics). Side layers are not affected by resets unless you add a doReset to them.

          • displayRow: OVERRIDE Changes where the layer node appears without changing where it is in the reset order.

          • resource: Name of the main currency you gain by resetting on this layer.

          • effect(): optional. A function that calculates and returns the current values of any bonuses inherent to the main currency. Can return a value or an object containing multiple values. You will also have to implement the effect where it is applied.

          • effectDescription: optional. A function that returns a description of this effect. If the text stays constant, it can just be a string.

          • layerShown(): optional, A function returning a bool which determines if this layer's node should be visible on the tree. It can also return "ghost", which will hide the layer, but its node will still take up space in the tree. Defaults to true.

          • hotkeys: optional. An array containing information on any hotkeys associated with this layer:

            js
            hotkeys: [
            +import{_ as e,c as t,o as a,d as s}from"./app.830f7d24.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Other prestige-related features","slug":"other-prestige-related-features","link":"#other-prestige-related-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/lit/docs/layer-features.md","lastUpdated":null}'),o={name:"public/lit/docs/layer-features.md"},n=s(`

            Layer Features

            This is a more comprehensive list of established features to add to layers. You can add more freely, if you want to have other functions or values associated with your layer. These have special functionality, though.

            You can make almost any value dynamic by using a function in its place, including all display strings and styling/color features.

            Layer Definition features

            • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar to access the saved value. It makes copying code to new layers easier. It is also assigned to all upgrades and buyables and such.

            • name: optional. used in reset confirmations (and the default infobox title). If absent, it just uses the layer's id.

            • startData(): A function to return the default save data for this layer. Add any variables you have to it. Make sure to use Decimal values rather than normal numbers.

              Standard values: - Required: - unlocked: a bool determining if this layer is unlocked or not - points: a Decimal, the main currency for the layer - Optional: - total: A Decimal, tracks total amount of main prestige currency. Always tracked, but only shown if you add it here. - best: A Decimal, tracks highest amount of main prestige currency. Always tracked, but only shown if you add it here. - unlockOrder: used to keep track of relevant layers unlocked before this one. - resetTime: A number, time since this layer was last prestiged (or reset by another layer)

            • color: A color associated with this layer, used in many places. (A string in hex format with a #)

            • row: The row of the layer, starting at 0. This affects where the node appears on the standard tree, and which resets affect the layer.

              Using "side" instead of a number will cause the layer to appear off to the side as a smaller node (useful for achievements and statistics). Side layers are not affected by resets unless you add a doReset to them.

            • displayRow: OVERRIDE Changes where the layer node appears without changing where it is in the reset order.

            • resource: Name of the main currency you gain by resetting on this layer.

            • effect(): optional. A function that calculates and returns the current values of any bonuses inherent to the main currency. Can return a value or an object containing multiple values. You will also have to implement the effect where it is applied.

            • effectDescription: optional. A function that returns a description of this effect. If the text stays constant, it can just be a string.

            • layerShown(): optional, A function returning a bool which determines if this layer's node should be visible on the tree. It can also return "ghost", which will hide the layer, but its node will still take up space in the tree. Defaults to true.

            • hotkeys: optional. An array containing information on any hotkeys associated with this layer:

              js
              hotkeys: [
                   {
                       key: "p", // What the hotkey button is. Use uppercase if it's combined with shift, or "ctrl+x" for holding down ctrl.
                       description: "p: reset your points for prestige points", // The description of the hotkey that is displayed in the game's How To Play tab
              diff --git a/assets/public_lit_docs_layer-features.md.bcc7f108.lean.js b/assets/public_lit_docs_layer-features.md.1af1ec9b.lean.js
              similarity index 95%
              rename from assets/public_lit_docs_layer-features.md.bcc7f108.lean.js
              rename to assets/public_lit_docs_layer-features.md.1af1ec9b.lean.js
              index 3010b3ee1..091cfba82 100644
              --- a/assets/public_lit_docs_layer-features.md.bcc7f108.lean.js
              +++ b/assets/public_lit_docs_layer-features.md.1af1ec9b.lean.js
              @@ -1 +1 @@
              -import{_ as e,c as t,o as a,d as s}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Other prestige-related features","slug":"other-prestige-related-features","link":"#other-prestige-related-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/lit/docs/layer-features.md","lastUpdated":null}'),o={name:"public/lit/docs/layer-features.md"},n=s("",19),r=[n];function l(i,p,c,u,h,d){return a(),t("div",null,r)}const g=e(o,[["render",l]]);export{f as __pageData,g as default};
              +import{_ as e,c as t,o as a,d as s}from"./app.830f7d24.js";const f=JSON.parse('{"title":"Layer Features","description":"","frontmatter":{},"headers":[{"level":2,"title":"Layer Definition features","slug":"layer-definition-features","link":"#layer-definition-features","children":[]},{"level":2,"title":"Big features (all optional)","slug":"big-features-all-optional","link":"#big-features-all-optional","children":[]},{"level":2,"title":"Prestige formula features","slug":"prestige-formula-features","link":"#prestige-formula-features","children":[]},{"level":2,"title":"Other prestige-related features","slug":"other-prestige-related-features","link":"#other-prestige-related-features","children":[]},{"level":2,"title":"Tree/node features","slug":"tree-node-features","link":"#tree-node-features","children":[]},{"level":2,"title":"Other features","slug":"other-features","link":"#other-features","children":[]},{"level":2,"title":"Custom Prestige type","slug":"custom-prestige-type","link":"#custom-prestige-type","children":[]}],"relativePath":"public/lit/docs/layer-features.md","lastUpdated":null}'),o={name:"public/lit/docs/layer-features.md"},n=s("",19),r=[n];function l(i,p,c,u,h,d){return a(),t("div",null,r)}const g=e(o,[["render",l]]);export{f as __pageData,g as default};
              diff --git a/assets/public_lit_docs_main-mod-info.md.e6e3f511.js b/assets/public_lit_docs_main-mod-info.md.dd184e18.js
              similarity index 99%
              rename from assets/public_lit_docs_main-mod-info.md.e6e3f511.js
              rename to assets/public_lit_docs_main-mod-info.md.dd184e18.js
              index 779c0228d..2ecf355b5 100644
              --- a/assets/public_lit_docs_main-mod-info.md.e6e3f511.js
              +++ b/assets/public_lit_docs_main-mod-info.md.dd184e18.js
              @@ -1,4 +1,4 @@
              -import{_ as s,c as e,o as a,d as t}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/lit/docs/main-mod-info.md"},o=t(`

              mod.js

              All of the non-layer code and data that you're likely to edit is here in mod.js! Everything in mod.js will not be altered by updates, besides the addition of new things.

              Here's a breakdown of what's in it:

              • modInfo is where most of the basic configuration for the mod is. It contains:

                • name: The name of your mod. (a string)

                • id: The id for your mod, a unique string that is used to determine savefile location. Setting it is important!

                • author: The name of the author, displayed in the info tab.

                • pointsName: This changes what is displayed instead of "points" for the main currency. (It does not affect it in the code.)

                • discordName, discordLink: If you have a Discord server or other discussion place, you can add a link to it.

                  "discordName" is the text on the link, and "discordLink" is the url of an invite. If you're using a Discord invite, please make sure it's set to never expire.

                • offlineLimit: The maximum amount of offline time that the player can accumulate, in hours. Any extra time is lost. (a number)

                  This is useful because most of these mods are fast-paced enough that too much offline time ruins the balance, such as the time in between updates. That is why I suggest developers disable offline time on their own savefile.

                • initialStartPoints: A Decimal for the amount of points a new player should start with.

              • VERSION is used to describe the current version of your mod. It contains:

                • num: The mod's version number, displayed at the top right of the tree tab.
                • name: The version's name, displayed alongside the number in the info tab.
              • changelog is the HTML displayed in the changelog tab.

              • doNotCallTheseFunctionsEveryTick is very important. TMT calls every function anywhere in "layers" every tick to store the result, unless specifically told not to. Functions that have are used to do an action need to be identified. "Official" functions (those in the documentation) are all fine, but if you make any new ones, add their names to this array.

              js
              // (The ones here are examples, all official functions are already taken care of)
              +import{_ as s,c as e,o as a,d as t}from"./app.830f7d24.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/lit/docs/main-mod-info.md"},o=t(`

              mod.js

              All of the non-layer code and data that you're likely to edit is here in mod.js! Everything in mod.js will not be altered by updates, besides the addition of new things.

              Here's a breakdown of what's in it:

              • modInfo is where most of the basic configuration for the mod is. It contains:

                • name: The name of your mod. (a string)

                • id: The id for your mod, a unique string that is used to determine savefile location. Setting it is important!

                • author: The name of the author, displayed in the info tab.

                • pointsName: This changes what is displayed instead of "points" for the main currency. (It does not affect it in the code.)

                • discordName, discordLink: If you have a Discord server or other discussion place, you can add a link to it.

                  "discordName" is the text on the link, and "discordLink" is the url of an invite. If you're using a Discord invite, please make sure it's set to never expire.

                • offlineLimit: The maximum amount of offline time that the player can accumulate, in hours. Any extra time is lost. (a number)

                  This is useful because most of these mods are fast-paced enough that too much offline time ruins the balance, such as the time in between updates. That is why I suggest developers disable offline time on their own savefile.

                • initialStartPoints: A Decimal for the amount of points a new player should start with.

              • VERSION is used to describe the current version of your mod. It contains:

                • num: The mod's version number, displayed at the top right of the tree tab.
                • name: The version's name, displayed alongside the number in the info tab.
              • changelog is the HTML displayed in the changelog tab.

              • doNotCallTheseFunctionsEveryTick is very important. TMT calls every function anywhere in "layers" every tick to store the result, unless specifically told not to. Functions that have are used to do an action need to be identified. "Official" functions (those in the documentation) are all fine, but if you make any new ones, add their names to this array.

              js
              // (The ones here are examples, all official functions are already taken care of)
               var doNotCallTheseFunctionsEveryTick = ["doReset", "buy", "onPurchase", "blowUpEverything"]
               
              • getStartPoints(): A function to determine the amount of points the player starts with after a reset. (returns a Decimal value)

              • canGenPoints(): A function returning a boolean for if points should be generated. Use this if you want an upgrade to unlock generating points.

              • getPointGen(): A function that calculates your points per second. Anything that affects your point gain should go into the calculation here.

              • addedPlayerData(): A function that returns any non-layer-related data that you want to be added to the save data and "player" object.

              js
              function addedPlayerData() { return {
               	weather: "Yes",
              diff --git a/assets/public_lit_docs_main-mod-info.md.e6e3f511.lean.js b/assets/public_lit_docs_main-mod-info.md.dd184e18.lean.js
              similarity index 83%
              rename from assets/public_lit_docs_main-mod-info.md.e6e3f511.lean.js
              rename to assets/public_lit_docs_main-mod-info.md.dd184e18.lean.js
              index 60be85999..4b703ce02 100644
              --- a/assets/public_lit_docs_main-mod-info.md.e6e3f511.lean.js
              +++ b/assets/public_lit_docs_main-mod-info.md.dd184e18.lean.js
              @@ -1 +1 @@
              -import{_ as s,c as e,o as a,d as t}from"./app.c95a51e0.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/lit/docs/main-mod-info.md"},o=t("",10),l=[o];function i(p,r,c,d,u,h){return a(),e("div",null,l)}const m=s(n,[["render",i]]);export{f as __pageData,m as default};
              +import{_ as s,c as e,o as a,d as t}from"./app.830f7d24.js";const f=JSON.parse('{"title":"mod.js","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/main-mod-info.md","lastUpdated":null}'),n={name:"public/lit/docs/main-mod-info.md"},o=t("",10),l=[o];function i(p,r,c,d,u,h){return a(),e("div",null,l)}const m=s(n,[["render",i]]);export{f as __pageData,m as default};
              diff --git a/assets/public_lit_docs_milestones.md.0a33f5e8.js b/assets/public_lit_docs_milestones.md.80f246ff.js
              similarity index 98%
              rename from assets/public_lit_docs_milestones.md.0a33f5e8.js
              rename to assets/public_lit_docs_milestones.md.80f246ff.js
              index 20da59a77..03e6b4171 100644
              --- a/assets/public_lit_docs_milestones.md.0a33f5e8.js
              +++ b/assets/public_lit_docs_milestones.md.80f246ff.js
              @@ -1,4 +1,4 @@
              -import{_ as s,c as e,o as n,d as t}from"./app.c95a51e0.js";const F=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/milestones.md","lastUpdated":null}'),a={name:"public/lit/docs/milestones.md"},o=t(`

              Milestones

              Milestones are awarded to the player when they meet a certain goal, and give some benefit. Milestones should be formatted like this:

              js
              milestones: {
              +import{_ as s,c as e,o as n,d as t}from"./app.830f7d24.js";const F=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/milestones.md","lastUpdated":null}'),a={name:"public/lit/docs/milestones.md"},o=t(`

              Milestones

              Milestones are awarded to the player when they meet a certain goal, and give some benefit. Milestones should be formatted like this:

              js
              milestones: {
                   0: {
                       requirementDescription: "123 waffles",
                       effectDescription: "blah",
              diff --git a/assets/public_lit_docs_milestones.md.0a33f5e8.lean.js b/assets/public_lit_docs_milestones.md.80f246ff.lean.js
              similarity index 83%
              rename from assets/public_lit_docs_milestones.md.0a33f5e8.lean.js
              rename to assets/public_lit_docs_milestones.md.80f246ff.lean.js
              index 380a8a6ad..8442b3067 100644
              --- a/assets/public_lit_docs_milestones.md.0a33f5e8.lean.js
              +++ b/assets/public_lit_docs_milestones.md.80f246ff.lean.js
              @@ -1 +1 @@
              -import{_ as s,c as e,o as n,d as t}from"./app.c95a51e0.js";const F=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/milestones.md","lastUpdated":null}'),a={name:"public/lit/docs/milestones.md"},o=t("",7),l=[o];function p(i,r,c,d,u,h){return n(),e("div",null,l)}const g=s(a,[["render",p]]);export{F as __pageData,g as default};
              +import{_ as s,c as e,o as n,d as t}from"./app.830f7d24.js";const F=JSON.parse('{"title":"Milestones","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/milestones.md","lastUpdated":null}'),a={name:"public/lit/docs/milestones.md"},o=t("",7),l=[o];function p(i,r,c,d,u,h){return n(),e("div",null,l)}const g=s(a,[["render",p]]);export{F as __pageData,g as default};
              diff --git a/assets/public_lit_docs_subtabs-and-microtabs.md.84fdefdf.js b/assets/public_lit_docs_subtabs-and-microtabs.md.603edb0b.js
              similarity index 99%
              rename from assets/public_lit_docs_subtabs-and-microtabs.md.84fdefdf.js
              rename to assets/public_lit_docs_subtabs-and-microtabs.md.603edb0b.js
              index 2fb73c9ab..3386c70a8 100644
              --- a/assets/public_lit_docs_subtabs-and-microtabs.md.84fdefdf.js
              +++ b/assets/public_lit_docs_subtabs-and-microtabs.md.603edb0b.js
              @@ -1,4 +1,4 @@
              -import{_ as s,c as a,o as n,d as o}from"./app.c95a51e0.js";const D=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/subtabs-and-microtabs.md","lastUpdated":null}'),t={name:"public/lit/docs/subtabs-and-microtabs.md"},l=o(`

              Subtabs and Microtabs

              Subtabs are separate sections of a tab that you can view by selecting one at the top of the tab. Microtabs are smaller areas that function in much the same way. You can also embed layers inside of subtabs/microtabs.

              Subtabs are defined by using the tab format like this, where each element of tabFormat is given the name of that subtab:

              js
              tabFormat: {
              +import{_ as s,c as a,o as n,d as o}from"./app.830f7d24.js";const D=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/subtabs-and-microtabs.md","lastUpdated":null}'),t={name:"public/lit/docs/subtabs-and-microtabs.md"},l=o(`

              Subtabs and Microtabs

              Subtabs are separate sections of a tab that you can view by selecting one at the top of the tab. Microtabs are smaller areas that function in much the same way. You can also embed layers inside of subtabs/microtabs.

              Subtabs are defined by using the tab format like this, where each element of tabFormat is given the name of that subtab:

              js
              tabFormat: {
                   "Main tab": {
                       content: [tab format things],
                       *subtab features*
              diff --git a/assets/public_lit_docs_subtabs-and-microtabs.md.84fdefdf.lean.js b/assets/public_lit_docs_subtabs-and-microtabs.md.603edb0b.lean.js
              similarity index 84%
              rename from assets/public_lit_docs_subtabs-and-microtabs.md.84fdefdf.lean.js
              rename to assets/public_lit_docs_subtabs-and-microtabs.md.603edb0b.lean.js
              index 9a7316c19..694c68be7 100644
              --- a/assets/public_lit_docs_subtabs-and-microtabs.md.84fdefdf.lean.js
              +++ b/assets/public_lit_docs_subtabs-and-microtabs.md.603edb0b.lean.js
              @@ -1 +1 @@
              -import{_ as s,c as a,o as n,d as o}from"./app.c95a51e0.js";const D=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/subtabs-and-microtabs.md","lastUpdated":null}'),t={name:"public/lit/docs/subtabs-and-microtabs.md"},l=o("",9),e=[l];function p(r,c,i,y,F,u){return n(),a("div",null,e)}const h=s(t,[["render",p]]);export{D as __pageData,h as default};
              +import{_ as s,c as a,o as n,d as o}from"./app.830f7d24.js";const D=JSON.parse('{"title":"Subtabs and Microtabs","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/subtabs-and-microtabs.md","lastUpdated":null}'),t={name:"public/lit/docs/subtabs-and-microtabs.md"},l=o("",9),e=[l];function p(r,c,i,y,F,u){return n(),a("div",null,e)}const h=s(t,[["render",p]]);export{D as __pageData,h as default};
              diff --git a/assets/public_lit_docs_trees-and-tree-customization.md.325cf26a.js b/assets/public_lit_docs_trees-and-tree-customization.md.695c04da.js
              similarity index 99%
              rename from assets/public_lit_docs_trees-and-tree-customization.md.325cf26a.js
              rename to assets/public_lit_docs_trees-and-tree-customization.md.695c04da.js
              index 2e150b0ab..1e8cad3f7 100644
              --- a/assets/public_lit_docs_trees-and-tree-customization.md.325cf26a.js
              +++ b/assets/public_lit_docs_trees-and-tree-customization.md.695c04da.js
              @@ -1,4 +1,4 @@
              -import{_ as e,c as t,o,d as a}from"./app.c95a51e0.js";const D=JSON.parse('{"title":"Trees and tree customization","description":"","frontmatter":{},"headers":[{"level":2,"title":"layoutInfo","slug":"layoutinfo","link":"#layoutinfo","children":[]},{"level":2,"title":"Trees","slug":"trees","link":"#trees","children":[]},{"level":2,"title":"Nodes","slug":"nodes","link":"#nodes","children":[]}],"relativePath":"public/lit/docs/trees-and-tree-customization.md","lastUpdated":null}'),s={name:"public/lit/docs/trees-and-tree-customization.md"},n=a(`

              Trees and tree customization

              If you want to have something beyond the standard tree on the left tab, you can do that in tree.js. You can change the layout of the tree, including making non-layer nodes, change it into something other than a tree, or hide the left tab altogether. This also introduces the "tree" component, which can be used in your layers as well.

              layoutInfo

              The most important part is layoutInfo, containing:

              • startTab: The id of the default tab to show on the left at the start.
              • showTree: True if the tree tab should be shown at the start of the game. (The other tab will fill the whole page)
              • treeLayout: If present, overrides the tree layout and places nodes as you describe instead (explained in the next section).

              Additionally, if you want the main layout to not be a tree, you can edit the "tree-tab" layer at the bottom of tree.js to modify it just like a normal layer's tab. You can even switch between left tabs, using showNavTab(layer) to make that layer appear on the left.

              Trees

              The tree component is defined as an array of arrays of names of layers or nodes to show in the tree. They work just like layers/ nodes in the main tree (but branches between nodes will only work on the first node if you have duplicates.)

              Here is an example tree:

              js
              [["p"],
              +import{_ as e,c as t,o,d as a}from"./app.830f7d24.js";const D=JSON.parse('{"title":"Trees and tree customization","description":"","frontmatter":{},"headers":[{"level":2,"title":"layoutInfo","slug":"layoutinfo","link":"#layoutinfo","children":[]},{"level":2,"title":"Trees","slug":"trees","link":"#trees","children":[]},{"level":2,"title":"Nodes","slug":"nodes","link":"#nodes","children":[]}],"relativePath":"public/lit/docs/trees-and-tree-customization.md","lastUpdated":null}'),s={name:"public/lit/docs/trees-and-tree-customization.md"},n=a(`

              Trees and tree customization

              If you want to have something beyond the standard tree on the left tab, you can do that in tree.js. You can change the layout of the tree, including making non-layer nodes, change it into something other than a tree, or hide the left tab altogether. This also introduces the "tree" component, which can be used in your layers as well.

              layoutInfo

              The most important part is layoutInfo, containing:

              • startTab: The id of the default tab to show on the left at the start.
              • showTree: True if the tree tab should be shown at the start of the game. (The other tab will fill the whole page)
              • treeLayout: If present, overrides the tree layout and places nodes as you describe instead (explained in the next section).

              Additionally, if you want the main layout to not be a tree, you can edit the "tree-tab" layer at the bottom of tree.js to modify it just like a normal layer's tab. You can even switch between left tabs, using showNavTab(layer) to make that layer appear on the left.

              Trees

              The tree component is defined as an array of arrays of names of layers or nodes to show in the tree. They work just like layers/ nodes in the main tree (but branches between nodes will only work on the first node if you have duplicates.)

              Here is an example tree:

              js
              [["p"],
                ["left", "blank", "right", "blank"]
                ["a", "b", "blank", "c", "weirdButton"]]
               

              Nodes

              Nodes are non-layer buttons that can go in trees. They are defined similarly to layers, but with addNode instead of addLayer.

              Features:

              • color: optional, The node's color. (A string in hex format with a #)

              • symbol: optional The text on the button (The id capitalized by default)

              • canClick(): Returns true if the player can click the node. ()

              • onClick(): The function called when the node is clicked.

              • layerShown(): optional, A function returning a bool which determines if this node should be visible. It can also return "ghost", which will hide the layer, but its node will still take up space in its tree.

              • branches: optional. 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).

              • nodeStyle: optional. A CSS object, where the keys are CSS attributes, which styles this node on the tree.

              • tooltip() / tooltipLocked(): optional. 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.

              • row: optional, the row that this node appears in (for the default tree).

              • position: optional, 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.

              `,14),l=[n];function r(i,p,c,h,d,u){return o(),t("div",null,l)}const f=e(s,[["render",r]]);export{D as __pageData,f as default}; diff --git a/assets/public_lit_docs_trees-and-tree-customization.md.325cf26a.lean.js b/assets/public_lit_docs_trees-and-tree-customization.md.695c04da.lean.js similarity index 90% rename from assets/public_lit_docs_trees-and-tree-customization.md.325cf26a.lean.js rename to assets/public_lit_docs_trees-and-tree-customization.md.695c04da.lean.js index 5c9626a4e..5181ce84e 100644 --- a/assets/public_lit_docs_trees-and-tree-customization.md.325cf26a.lean.js +++ b/assets/public_lit_docs_trees-and-tree-customization.md.695c04da.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o,d as a}from"./app.c95a51e0.js";const D=JSON.parse('{"title":"Trees and tree customization","description":"","frontmatter":{},"headers":[{"level":2,"title":"layoutInfo","slug":"layoutinfo","link":"#layoutinfo","children":[]},{"level":2,"title":"Trees","slug":"trees","link":"#trees","children":[]},{"level":2,"title":"Nodes","slug":"nodes","link":"#nodes","children":[]}],"relativePath":"public/lit/docs/trees-and-tree-customization.md","lastUpdated":null}'),s={name:"public/lit/docs/trees-and-tree-customization.md"},n=a("",14),l=[n];function r(i,p,c,h,d,u){return o(),t("div",null,l)}const f=e(s,[["render",r]]);export{D as __pageData,f as default}; +import{_ as e,c as t,o,d as a}from"./app.830f7d24.js";const D=JSON.parse('{"title":"Trees and tree customization","description":"","frontmatter":{},"headers":[{"level":2,"title":"layoutInfo","slug":"layoutinfo","link":"#layoutinfo","children":[]},{"level":2,"title":"Trees","slug":"trees","link":"#trees","children":[]},{"level":2,"title":"Nodes","slug":"nodes","link":"#nodes","children":[]}],"relativePath":"public/lit/docs/trees-and-tree-customization.md","lastUpdated":null}'),s={name:"public/lit/docs/trees-and-tree-customization.md"},n=a("",14),l=[n];function r(i,p,c,h,d,u){return o(),t("div",null,l)}const f=e(s,[["render",r]]);export{D as __pageData,f as default}; diff --git a/assets/public_lit_docs_updating-tmt.md.2a0fcfd7.js b/assets/public_lit_docs_updating-tmt.md.4915e9ed.js similarity index 96% rename from assets/public_lit_docs_updating-tmt.md.2a0fcfd7.js rename to assets/public_lit_docs_updating-tmt.md.4915e9ed.js index 7c63d7fba..ce9c325bf 100644 --- a/assets/public_lit_docs_updating-tmt.md.2a0fcfd7.js +++ b/assets/public_lit_docs_updating-tmt.md.4915e9ed.js @@ -1 +1 @@ -import{_ as t,c as e,o,d as a}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/lit/docs/updating-tmt.md"},n=a('

              Updating The Modding Tree

              This tutorial assumes that you have used the Getting Started Tutorial, and are using Github Desktop and VSCode for your mod.

              Here's what you have to do when there's a TMT update:

              1. Look at the changelog. It will warn you if the update will break anything or require any changes. Decide if you want to try to update.

              2. Open Github Desktop, and at the top middle, click "fetch origin". This will make Github Desktop get information about the update.

              3. Click where it says "current branch: master" at the top middle, and at the bottom of the thing that appears, click "choose a branch to merge into master".

              4. Select upstream/master. It will likely say there are conflicts, but you have tools to resolve them. Click "Merge upstream/master into master".

              5. A conflict happens when the things you're trying to merge have both made changes in the same place. Click "open in Visual Studio Code" next to the first file.

              6. Scroll down through the file, and look for the parts highlighted in red and green. One of these is your code, and the other is some code that will be modified by the update. Do your best to try to edit things to keep the updated changes, but keep your content.

              7. Continue to do this for all remaining changes.

              8. Do any other changes required by the update, run the game, fix issues, etc.

              ',4),r=[n];function h(d,s,l,p,u,c){return o(),e("div",null,r)}const _=t(i,[["render",h]]);export{m as __pageData,_ as default}; +import{_ as t,c as e,o,d as a}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/lit/docs/updating-tmt.md"},n=a('

              Updating The Modding Tree

              This tutorial assumes that you have used the Getting Started Tutorial, and are using Github Desktop and VSCode for your mod.

              Here's what you have to do when there's a TMT update:

              1. Look at the changelog. It will warn you if the update will break anything or require any changes. Decide if you want to try to update.

              2. Open Github Desktop, and at the top middle, click "fetch origin". This will make Github Desktop get information about the update.

              3. Click where it says "current branch: master" at the top middle, and at the bottom of the thing that appears, click "choose a branch to merge into master".

              4. Select upstream/master. It will likely say there are conflicts, but you have tools to resolve them. Click "Merge upstream/master into master".

              5. A conflict happens when the things you're trying to merge have both made changes in the same place. Click "open in Visual Studio Code" next to the first file.

              6. Scroll down through the file, and look for the parts highlighted in red and green. One of these is your code, and the other is some code that will be modified by the update. Do your best to try to edit things to keep the updated changes, but keep your content.

              7. Continue to do this for all remaining changes.

              8. Do any other changes required by the update, run the game, fix issues, etc.

              ',4),r=[n];function h(d,s,l,p,u,c){return o(),e("div",null,r)}const _=t(i,[["render",h]]);export{m as __pageData,_ as default}; diff --git a/assets/public_lit_docs_updating-tmt.md.2a0fcfd7.lean.js b/assets/public_lit_docs_updating-tmt.md.4915e9ed.lean.js similarity index 84% rename from assets/public_lit_docs_updating-tmt.md.2a0fcfd7.lean.js rename to assets/public_lit_docs_updating-tmt.md.4915e9ed.lean.js index a3c5842dc..45630df1c 100644 --- a/assets/public_lit_docs_updating-tmt.md.2a0fcfd7.lean.js +++ b/assets/public_lit_docs_updating-tmt.md.4915e9ed.lean.js @@ -1 +1 @@ -import{_ as t,c as e,o,d as a}from"./app.c95a51e0.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/lit/docs/updating-tmt.md"},n=a("",4),r=[n];function h(d,s,l,p,u,c){return o(),e("div",null,r)}const _=t(i,[["render",h]]);export{m as __pageData,_ as default}; +import{_ as t,c as e,o,d as a}from"./app.830f7d24.js";const m=JSON.parse('{"title":"Updating The Modding Tree","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/updating-tmt.md","lastUpdated":null}'),i={name:"public/lit/docs/updating-tmt.md"},n=a("",4),r=[n];function h(d,s,l,p,u,c){return o(),e("div",null,r)}const _=t(i,[["render",h]]);export{m as __pageData,_ as default}; diff --git a/assets/public_lit_docs_upgrades.md.24f827f2.js b/assets/public_lit_docs_upgrades.md.4ba16ee0.js similarity index 99% rename from assets/public_lit_docs_upgrades.md.24f827f2.js rename to assets/public_lit_docs_upgrades.md.4ba16ee0.js index e21ebded9..e02cebf09 100644 --- a/assets/public_lit_docs_upgrades.md.24f827f2.js +++ b/assets/public_lit_docs_upgrades.md.4ba16ee0.js @@ -1,4 +1,4 @@ -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/upgrades.md","lastUpdated":null}'),n={name:"public/lit/docs/upgrades.md"},o=t(`

              Upgrades

              Useful functions for dealing with Upgrades and implementing their effects:

              • hasUpgrade(layer, id): determine if the player has the upgrade
              • upgradeEffect(layer, id): Returns the current effects of the upgrade, if any
              • buyUpgrade(layer, id): Buys an upgrade directly (if affordable)

              Hint: Basic point gain is calculated in mod.js's "getPointGen" function.

              Upgrades are stored in the following format:

              js
              upgrades: {
              +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/upgrades.md","lastUpdated":null}'),n={name:"public/lit/docs/upgrades.md"},o=t(`

              Upgrades

              Useful functions for dealing with Upgrades and implementing their effects:

              • hasUpgrade(layer, id): determine if the player has the upgrade
              • upgradeEffect(layer, id): Returns the current effects of the upgrade, if any
              • buyUpgrade(layer, id): Buys an upgrade directly (if affordable)

              Hint: Basic point gain is calculated in mod.js's "getPointGen" function.

              Upgrades are stored in the following format:

              js
              upgrades: {
                   rows: # of rows,
                   cols: # of columns,
                   11: {
              diff --git a/assets/public_lit_docs_upgrades.md.24f827f2.lean.js b/assets/public_lit_docs_upgrades.md.4ba16ee0.lean.js
              similarity index 83%
              rename from assets/public_lit_docs_upgrades.md.24f827f2.lean.js
              rename to assets/public_lit_docs_upgrades.md.4ba16ee0.lean.js
              index 649a9abde..53f286228 100644
              --- a/assets/public_lit_docs_upgrades.md.24f827f2.lean.js
              +++ b/assets/public_lit_docs_upgrades.md.4ba16ee0.lean.js
              @@ -1 +1 @@
              -import{_ as e,c as s,o as a,d as t}from"./app.c95a51e0.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/upgrades.md","lastUpdated":null}'),n={name:"public/lit/docs/upgrades.md"},o=t("",13),l=[o];function r(p,i,c,u,d,y){return a(),s("div",null,l)}const f=e(n,[["render",r]]);export{g as __pageData,f as default};
              +import{_ as e,c as s,o as a,d as t}from"./app.830f7d24.js";const g=JSON.parse('{"title":"Upgrades","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/upgrades.md","lastUpdated":null}'),n={name:"public/lit/docs/upgrades.md"},o=t("",13),l=[o];function r(p,i,c,u,d,y){return a(),s("div",null,l)}const f=e(n,[["render",r]]);export{g as __pageData,f as default};
              diff --git a/guide-to-incrementals/design/introduction/index.html b/guide-to-incrementals/design/introduction/index.html
              index 5d048600c..04be39231 100644
              --- a/guide-to-incrementals/design/introduction/index.html
              +++ b/guide-to-incrementals/design/introduction/index.html
              @@ -6,8 +6,8 @@
                   Introduction to Incremental Game Design | The Paper Pilot
                   
                   
              -    
              -    
              +    
              +    
                   
                   
                 
              @@ -22,8 +22,8 @@
               
              On this page

              Making an Incremental Game

              - - + + \ No newline at end of file diff --git a/guide-to-incrementals/index.html b/guide-to-incrementals/index.html index 7b2460bee..5c5f575fa 100644 --- a/guide-to-incrementals/index.html +++ b/guide-to-incrementals/index.html @@ -6,8 +6,8 @@ Introduction | The Paper Pilot - - + + @@ -22,8 +22,8 @@
              On this page

              Introduction

              This is a comprehensive guide to Incremental Games, a genre of video games. It will explore defining the genre, why it's appealing, and how to design and build your own incremental game. Along the way will be interactive examples, snippets from other creators, and relevant material to contextualize everything.

              Note: This is an incomplete document. I want to keep adding opinions and opposing views from other incremental games developers, and add interactive examples to illustrate various points regarding game design and balancing. Consider this a living document - and see the changelog at the end.

              Who am I?

              That's a good question! What authority do I have to be making this site? I haven't made the best incremental games, nor the most incremental games, certainly not the most popular ones either. I do have some formal education in game development, know a lot of incremental game devs, as well as other game devs, and an interest in ludology, classifying genres, etc. I've also made a couple of incremental games myself.

              If you have any additional questions about my credentials or anything on this site, feel free to contact me: I'm "The Paper Pilot" on most social media. You'll probably get a response fastest via my discord server, or if you just want to suggest changes to the website you can click the "Edit this page" link present on every single page.

          - - + + \ No newline at end of file diff --git a/guide-to-incrementals/ludology/appeal-developers/index.html b/guide-to-incrementals/ludology/appeal-developers/index.html index 884679f56..7d10b6525 100644 --- a/guide-to-incrementals/ludology/appeal-developers/index.html +++ b/guide-to-incrementals/ludology/appeal-developers/index.html @@ -6,8 +6,8 @@ Appeal to Developers | The Paper Pilot - - + + @@ -22,8 +22,8 @@
          On this page

          Appeal to Developers

          There are a lot of developers in the incremental games community - the genre seems to draw them in, and convert a lot of players into developers. Let's explore the reasons why this genre appeals to developers.

          Incrementals are Easy to Make

          Compared to other genres, incrementals have quite low expectations. You don't need to make fancy art, or music, or lay things out nicely. If you can make a button and learn the few lines of code necessary to make a number go up, you can make an incremental. This low threshold makes the genre perfect for those who are actively learning to code and haven't developed any gamedev-related skills yet.

          Additionally, unlike other genres incrementals are uniquely easy to implement in a normal web page - no need to worry about rendering sprites, moving them around, implementing physics, etc. New developers can just use HTML to add a button, and the game is now available in your browser. You don't need to choose an engine, have admin privileges, or hell for the dedicated you don't even need a computer - there are tools for web development that run in the browser itself, so you can technically use your phone if that's all you have.

          Javascript is a perfectly viable language for making web games, whereas other genres are typically going to require using other more difficult languages to learn. There are countless javascript tutorials that start from 0 knowledge of programming, making it incredibly accessible to beginners.

          Players are Easy to Find

          Once you've finished your game and uploaded it on github pages or itch or just copied the link if you're using glitch or replit (all of which are easy to do), anyone can now play the game in their browser. This low barrier to entry has shown tremendous success in getting completely unknown developers to have thousands of plays.

          The incremental games community, which mostly centers around r/incremental_games, is always looking for new games and tends to flood any new ones posted with initial players.

          Having your games be played can be incredibly motivating, and the community makes it quite clear that you can expect players to play your game. These communities - both for incremental games in general as well as game-specific communities - tend to be very developer friendly as well. A lot of the developers know each other, and welcome new developers with open arms, often with dedicated channels for programming help and discussions.

          Monetization

          I'd like to clarify that everything I've said above mainly applies to web-based incrementals. Incremental games are also incredibly popular on mobile, but with a much different culture and community. Many mobile gamers will still participate in the web-focused community for the culture. This web-focused community has a culture that has been criticized for being "anti-monetization". Ads, IAPs, and similar forms of monetization are often criticized, mainly due to the abundance of completely non-monetized games available from hobbyist developers. There are exceptions, like paid games often being considered fine, like Increlution or Stuck in Time, or donation ware games like kittens game, but even popular games that have IAP see some level of regular criticism, like NGU Idle, Idle Skilling, or Idle Pins. A large part of this can be explained by the community being hyper-aware of the addictive nature of this genre and its susceptibility to exploiting players.

          On mobile, however, monetization is the norm and expected. If an incremental game is available on mobile, it almost certainly will be monetized, and mobile players are aware and accepting of that. Mobile incremental games, due to their addictive nature, tend to make a lot of money. It's very lucrative, and therefore these games are quite abundant on mobile storefronts.

          - - + + \ No newline at end of file diff --git a/guide-to-incrementals/ludology/appeal-gamers/index.html b/guide-to-incrementals/ludology/appeal-gamers/index.html index 9f10db9ec..ae8a86c34 100644 --- a/guide-to-incrementals/ludology/appeal-gamers/index.html +++ b/guide-to-incrementals/ludology/appeal-gamers/index.html @@ -6,8 +6,8 @@ Appeal to Players | The Paper Pilot - - + + @@ -22,8 +22,8 @@
          On this page

          Appeal to Players

          This is something that has been discussed and analyzed by many people, and to some extent, I feel like everything that can be said on the topic already has. However, a lot of these analyses are from the perspective of those with not as much experience and involvement within the genre as I'd argue would be necessary for a fully contextualized answer. I recently watched a video about Vampire Survivors, which has since been taken down due to drawing negative attention, which made me think about some interesting arguments about what games are, and what makes them good. The video's argument that "Vampire Survivors is not a video game" mirrors a claim by the developer of Cookie Clicker that his games are "non-games". Using Vampire Survivors and the video made on it as a framework, I'll be answering why incremental games appeal to players. Since the video has been taken down, I'll do my best to contextualize and generalize the arguments of the video without requiring the reader to watch it. For what it's worth, while I disagreed with the video I actually liked a lot of the way it went about thinking about games, and I consider this a continuation of that discussion.

          Numbers Going Up

          This is a very common response to why people enjoy incremental games, although it's not one I find compels me personally, and I suspect it might be a stand-in for progression or content. But reportedly, some people do just like seeing big numbers. I must reiterate I suspect the actual cause is seeing big numbers in context though - if you start at 1e1000 of a currency and get to 1e1001, that isn't going to feel as satisfying as going from 1e10 to 1e100, and in any case, I don't think a button that just adds a zero to your number will feel quite satisfying - I believe its the sense of having made progress, and comparing where you are to where you started and feeling like you've earned your way here that is enjoyable.

          Progression

          Vampire Survivors can be argued to have a comparatively low depth to its combat compared to many other games. I'd argue it has sufficient depth and more than someone might expect who has only played the game for a short while, but it still definitely gets beat out by many other combat-focused games. Instead, a lot of the progression in Vampire Survivors comes from a meta-progression system by which base stats are increased by spending a currency that persists between runs. While it is technically possible to win without this meta-progression system, and indeed in many roguelikes players like to challenge themselves by beating the game without any meta-progression, the criticism can be made that meta-progression de-emphasizes player skill by making it less important to have to beat the game. Certainly, in incremental games, it is often literally impossible to complete a game without taking advantage of the meta-progression systems. I'd argue this does not detract from the game, however, and is actually a part of what makes incremental games, and roguelikes, enjoyable to many players: meta-progression augments the increases in skill the player is naturally gaining as they play. In effect, it's not replacing the skill increase, but exaggerating it to make it feel more real to the player.

          Note: There is also a lot of progression from exploring the mechanics and discovering synergies, unlocking new weapons or playable characters, etc. That just isn't as relevant to this discussion, but it does make up a lot of the appeal of the game.

          Effortlessness

          Incremental games are so easy, a lot of them even have you progress while you're not playing! Part of the appeal is being able to feel like you're making progress while doing something actually productive - multitasking, in a way. In this sense, the game is more of a fidget toy - not something to think hard about and play actively, but something to click a few buttons every so often while you're paying attention to a lecture or studying or working. Of course, not all incremental games lend themselves to being played this way - it's specifically "idle" games that work like this. These are games that take an incredibly long amount of time to see all the content, stretching it as thin as possible, but they aren't expecting you to be sitting at your device playing it the entire time. They expect you to leave and come back later to make a bit of progress and repeat the cycle.

          If you look at the higher-level play of most games, you'll see them perform difficult feats with ease and speed. They'll achieve a "flow state" that takes all their knowledge and experience of the game and uses it to play the game as instinctively as possible. It's incredible to watch things like Slay the Spire speed runs or competitive DDR-likes. I'd argue the goal of a lot of games with a competitive scene is to get so good that the game becomes effortless. In that sense, a game that allows you to reach that point earlier isn't any less legitimate, but rather lowers the barrier to entry by allowing more people to get "really good" at the game. And to be clear, Vampire Survivors and (most) incremental games aren't trivially easy - they, and to an extent, every game will have some level of learning and improvement over time.

          Addiction

          A lot of these reasons for why incremental games appeal may have reminded you of why gambling appeals to people, particularly those prone to addiction. Indeed, incremental games are quite often criticized for their similarity to a skinner box. Some have gone as far as to say incremental games as a genre are commenting that all games are skinner boxes. The argument goes that some games are not fun, but rather condition players into continuing to play without actually getting anything from the experience. When tied to real-world money this is seen as predatory, and to a lesser extent, even free games may be feeding the addictive sides of people and making them more prone to seek out gambling or micro-transaction heavy games.

          While incremental games can be fun and even healthy in certain contexts, they can exacerbate video game addiction more than other genres. If you feel like playing incremental games is taking priority over other things in your life, or manipulating your sleep schedule, it may be prudent to seek help. See r/StopGaming for resources.

          Since incremental games are often built on extrinsic motivations in the form of progression systems, it's hard to argue whether players continue to play because they are enjoying the gameplay, or if they are just conditioned to keep doing it because the game keeps rewarding them. Unfortunately, it can often feel like it's the latter, as there isn't typically anything compelling about the "gameplay" of clicking a button and waiting. There may be a significant overlap between those who enjoy incremental games and those who are most prone to addiction, and there are often posts on r/incremental_games about someone either struggling with or overcoming video game addiction.

          Strategy

          Incremental games could be considered a subset of strategy games, and inherit the appeals of strategy games. This includes the appeal of feeling like you've found a good solution to a puzzle, or that you're learning more about the game and are improving at making decisions within it. This applies to Vampire Survivors specifically, where you're learning about evolutions and synergies and what kinds of enemies can spawn under what conditions, and how best to handle them.

          Note that strategy games are not all the same difficulty, as well. Vampire Survivors is still easier to play than Starcraft 2, and Cookie Clicker is probably somewhere in between (once you progress sufficiently). Vampire Survivors being so successful may indicate that "easier" strategies may have their separate appeal to harder strategy games - players like to feel smart and that they figured the game out and have optimized or mastered it, and the game being easier doesn't detract from that sense of accomplishment as much as it allows more and more users to be able to reach the point where they gain that sense.

          Avoiding Staleness

          Incremental games tend to have "paradigm shifts", where the gameplay changes in a meaningful way at various times throughout the progression of the game. These upset and change the gameplay loop, which helps keep them from stagnating. This constant "freshness" to the gameplay can keep players engaged for longer, compared to a game with a repetitive and static gameplay loop.

          Good Game Design

          Incremental games tend to show their game design "plainly", so it's more readily apparent if a game has good game design while playing, even if you're not looking for it. While different players have different preferences and might enjoy different types of games more than others, there are underlying good and bad game design principles that players will notice the effects of. To be clear, this isn't talking about stuff like big numbers being enjoyable, where I can comfortably agree to disagree with other players. They don't intrinsically make my experience better, but I'm aware of those for whom it does and I won't argue against their feelings. However, the game designer in me does feel like there are some extremely clear-cut examples of good and bad game design philosophies.

          Let's start by giving an example of a mechanic I think can be easily and strongly argued is good game design. There are of course many examples, but a personal favorite of mine is how DOOM encourages aggressive gameplay by linking health drops to melee attacks. It has an intended experience it's trying to give the player - immersing themselves as DOOM guy, who would not hide behind cover when low on health - and this mechanic does a great job at encouraging and effectively teaching players to behave properly. This is in sharp contrast to shooters like Call of Duty, which have you regen health passively, encouraging players to hide behind cover and wait after getting hit. Note that I'm not arguing CoD is poorly designed, as the games have different intended experiences. I'm specifically praising DOOM for having a mechanic that does a good job at ensuring the player has that intended experience.

          To contrast with an example I think is bad game design, let's talk about shields in souls-likes. This is a bit of a famous example, and I highly recommend this video essay which spends quite a good bit of time on this topic. Essentially, the argument boils down to players of earlier games in the souls games using shields too much - playing slowly, conservatively, and ultimately having less fun. Players wanted to feel safe, so they ended up playing in a way that ruined the experience for them. The developers solved this by removing shields, apart from an intentionally bad one effectively mocking the playstyle, and it did its job at getting players to play more aggressively, and often have more fun.

          To bring the conversation back to incrementals, I'm incredibly opinionated on what makes a good incremental game, which I'll discuss in the game design section. Suffice it to say, incremental games rely more on good game design than other genres, due to not having much to distract from bad game design. This helps (although imperfectly - gamers are a bit too tolerant of bad game design!) well-designed games rise to the top within the genre.

          Artistic Merit

          The Vampire Survivors video made me think back to the old arguments about whether games are art, and whether they ought to be. The video seems preoccupied with attaching value to games solely based on their mechanics and the depth thereof, to the point of arguing Vampire Survivors is a waste of time due to its lack of depth. However, even setting aside the fact that if players are having fun then it's not time wasted, I think games can have artistic merit that supersedes the necessity of having (any / engaging / "deep") gameplay. I think the consensus online is that games are definitively art, although I could see the argument that some genres, like incremental games, might be a bit in a grey area. Let's talk about Vampire Survivors first though - It has a story to tell, with lore and many characters, that drive the player and encourage them to continue exploring the game and discovering things within it. Like any walking simulator, it is no less legitimate of a game or the "art" label because of any lack perceived lack of depth. For what it's worth, most art can be consumed with more ease than VS - any painting, movie, sculpture, etc.

          A lot of incrementals have a narrative context that can similarly qualify them as art. Cookie Clicker is, as has been pointed out numerous times before, commenting on excess and increasing production beyond any reasonable limits - devolving into increasing production for its own sake. Indeed, a lot of incremental games are written to comment upon various concepts like capitalism or tropes in games, as discussed when defining Incrementals. However, I'd like to argue most incremental games are still art, even without any narrative context. "Art" as a concept is pretty nebulous already, but I personally like those who define it as an act of expression more than any physical result. The creator and the context within which they created the art, and any meaning they put into it, are all relevant and a part of the art itself. Most incremental games have artistic merit from things like why the creator made it, why they chose to make it an incremental game, and why they made any particular design decision. Hell, even if you play through an entire incremental game without a single thought or feeling, that very fact it elicited nothing can itself be artistic merit!

          I'm not an art major, and I may be taking a somewhat extreme take on what is art and what has artistic merit, but I'd argue the overall point stands that games, and incremental games specifically, can have artistic merit, which appeals to many gamers.

          - - + + \ No newline at end of file diff --git a/guide-to-incrementals/ludology/content/index.html b/guide-to-incrementals/ludology/content/index.html index 30eb7fdd2..be106e618 100644 --- a/guide-to-incrementals/ludology/content/index.html +++ b/guide-to-incrementals/ludology/content/index.html @@ -6,8 +6,8 @@ What is Content? | The Paper Pilot - - + + @@ -22,8 +22,8 @@
          On this page

          What is Content?

          If you've been in the incremental games community for any amount of time, you'll quickly find the number one thing players want is content. They want as much of it as possible! The most popular incremental games have tons of content, so they just keep stretching on and on and on, introducing mechanic after mechanic, and players love it. In fact, players seem to value the amount of content over the quality of any specific content. However, there's a bit of a lack of understanding concerning what content is, and I'd like to explore what counts as content, and how we measure it. As a baseline definition, I think "content" can just be described as the parts of the game that engage the player, but to truly understand it we need to contextualize what that means and how it affects the gameplay experience.

          To clarify the purpose of this page, my goal is not to get (too) nitpicky or to attack games with "low content". There's nothing wrong with short / low-content games - I'm quite a big fan of those games myself! This is mostly targeted toward those who ask for content and settle for "long" games, and those who want to provide content but want to make sure they're not just artificially inflating the game. Ultimately, I suppose the goal is to just reduce the amount of artificially inflated content for the sake of having a "longer" game.

          Interaction

          I think it should be a fairly non-controversial opinion that time spent solely waiting should not count towards content. That is not including the time reading various effects or making decisions in your head, but rather time spent waiting for a condition to be met so you can re-engage with the game.

          That is not to say games should necessarily try to minimize this time. Plenty of games lead towards more infrequent interaction and still get popular. In fact, these games appeal to many gamers who want to have something to check up on in between bursts of working on some other activity. These games seem to have fallen slightly out of fashion amongst modern incremental games, but they're still fully valid. The point I'm trying to make here is just that this time is not content. As an extreme example, a game with no interactions and just a counter that goes up every second could safely be said to have 0 content beyond the time it takes to understand what's going on. If it has a list of "goals" to hit, then the time understanding those goals and a short time after achieving each one could be considered content, but not the idle times in between.

          Let's take a look at the opposite end of the spectrum - interaction that is so frequent as to become mindless. This is any mechanic where you need to spam-click something to progress. This may be a more controversial take, but I do not believe this constitutes content either. It does not engage the player, because each consecutive click blends together and they do not individually change the gameplay experience. That is to say, a single click and 100 clicks are not meaningfully different in terms of engaging the player. I'd go as far as to say clicking 100 times would be actively worse, as it's artificially delaying the next piece of actual content, alongside the issues of accessibility and potentially causing RSI.

          Repeatable Purchases

          Imagine an entity in a game that you can purchase multiple times, each time it performs the same thing but for a higher cost. These are incredibly common, from the buildings in cookie clicker to the units in swarm sim to the IP and EP multipliers in antimatter dimensions. However, how much content is each specific purchase? Is it content beyond the first purchase? Does it have diminishing returns? What if you are oscillating between two different repeatable purchases? How much content is lost when you automate away a repeatable purchase?

          I don't want to take too harsh a stance against repeatable purchases. They're useful tools and can be used in a myriad of interesting ways. I feel they do become "stale" or less meaningful content over time, and this happens exponentially quickly the more frequently it can be purchased. A classic example that I believe goes too far is the IP/EP multipliers in Antimatter Dimensions. I would go as far as to say they are a chore and do not provide any meaningful content after you've bought them a couple of times. It's a method for inflating numbers (effectively making every OOM a 5x step instead of 10x), that punishes the player progression-wise whenever they forget to max it again, and eventually gets automated away as a reward to the player for making enough progress.

          Just to voice the other side of this argument, Acamaeda defended the IP multiplier as giving the player a "good" upgrade every OOM. I can understand that to a point and need to clarify I'm mainly criticizing IP/EP multipliers after they've been introduced for a while. In fact, I would defend the multipliers for a short while after they're introduced using the same logic I would use to defend normal dimensions as repeatable purchases, at least pre-infinity. There's "content" to be had in looking at what dimensions will become affordable next, and then choosing which to buy amongst those. The IP/EP multipliers, early into infinity or eternity respectively, provide another option that gets put into that mental queue of things to buy with each OOM reached - although the optimal order is often quite trivial and not particularly engaging.

          The IP/EP multipliers are not the only repeatable purchase in antimatter dimensions I take offense to. The time dimensions are also a series of repeatable purchases, that are all so similar and static that it doesn't take long before you never need to put any thought into buying them, how much you're buying at once, or the order you buy them in - you just press max all and move on. The entire tab could've been just the max all button and it would not have made a difference beyond the start of the eternity layer. The normal dimensions technically have this problem as well, but since you're constantly getting antimatter the order feels like it has a larger impact and it's more meaningful content, right up until they're automated away. Infinity dimensions are a compromise between the two, so I'm highlighting time dimensions here as the most egregious.

          Following Instructions

          We're getting more and more controversial as we go along! Let's talk about how linear content is not content now (in some circumstances). A trend in incremental games is adding difficulty by adding a web of effects that abstract the true change you can expect from any specific purchase or decision you make. If a game is both linear and sufficiently abstracts the effect of player decisions, then the player will no longer be engaging with the content - they'll simply be clicking on things as they become available. This isn't necessarily a bad thing, as plenty of players don't mind this style of gameplay, but I'd argue once you reach a point where players don't bother reading the effects, those interactions are no longer truly content. Note that unlike the previous qualifiers mentioned, this qualifier is based on the player, and therefore subjective. In effect, it's a spectrum where the more complicated the web of effects becomes, the more likely it is to disengage the player.

          This over-complicatedness leading to disengaging the player can also happen from non-linear gameplay. If the web of effects becomes sufficiently complicated and finding the optimal progression route too time-consuming to discover, players will seek out guides from other players who've completed the game. The second they do this, the game effectively becomes linearly following the instructions of the guide and all the above criticisms apply. Similarly to as before, though, this is a spectrum and not everyone will seek out a guide at the same level of difficulty.

          Automation

          Automation is a staple of the genre, but it has certain implications for the design of the game. Why, when new content is introduced, must the older content be automated away - why is it a chore and it feels rewarding to not have to do it again? Why does the new mechanic have such appeal if we know it too will just be automated away later on, and we'll be happy when that happens? It honestly begs the question of why this framework of introducing content and automating the old content is even enjoyable - and nearly nonexistent in other genres. You're not going to reach a point in a platformer game where they just automate the jumping part - that's the core mechanic! Instead, platformers either add new mechanics that build on the core mechanic or at least re-contextualize the core mechanic. However, in incremental games new content very frequently means replacing older content, as opposed to augmenting it.

          Admittedly, the above paragraph ignores the obvious answer that separates incremental games in this regard. These mechanics become chores as their frequency increases. The frequency increases to give a sense of progression, and automation is seen as a reward because it now manages what was becoming unmanageable. The new content then comes in and continues the loop to give a stronger sense of progression. That's all good and a fine justification for automating content instead of building upon the base mechanic. It's also much easier to design, as each layer essentially lets you start over instead of needing to think of ideas that conform to the original core mechanic.

          So, what's the problem? Even if this trend is justified and easy to implement, there are some other effects it has on the game design. First off, and this is probably a neutral point, incremental games with this cycle of replacing old mechanics with new ones trend towards more and more abstract and further away from any narrative throughline as they add layers. There are only so many justifications for resetting progress, so if a game wants to have several of these layers they're inevitably going to become generic or increasingly loosely associated with the original content. It's most unfortunate, in my opinion when an interesting or innovative core mechanic gets fully automated once a generic "prestige" layer is unlocked.

          A recent example is Really Grass Cutting Incremental, an incremental game about cutting grass. Except, it doesn't continue to be about cutting grass. After you buy enough upgrades to increase your grass cutting and level up sufficiently you "prestige", an abstract term that in this case means you reset all your progress to get some currency to buy upgrades that do the same things as the original upgrades, but these won't reset on future prestiges. You'll eventually be able to "crystallize", which means you reset all your progress to get some currency to buy upgrades that do the same things as the original upgrades (and a couple of new ones) and won't reset on future crystallizes. Fine. You'll progress a bit, complete some challenges, and finally get to... grasshop? Grasshopping is this mechanic where you reset all your progress to get some resource that isn't for buying upgrades - this time you just unlock different modifiers on everything based on their amount. You may have gotten the point by now, but there are also "steelie" resets which give you steel for some reason, before unlocking a factory with various machines - none of which are directly tied to cutting grass, and start gathering things like oil and reset for rocket parts and reset to go to space and so on and so on. Throughout all of this there is absolutely no narrative justification or throughline for the direction the game is going, or why cutting grass is still relevant when we're collecting things like rocket parts. I may be going a little hard on GCI, but it is far from alone.

          Tips for Developers

          If you're a developer, by this point you should have a pretty decent idea of how to create "true" content in your game. Here are some other specific tips I'd suggest:

          • An upgrade that simply unlocks another upgrade trivially isn't content. However, many games have an upgrade that just unlocks a feature, which then has a wait or other requirements before it can be used. Try to make sure when you unlock a feature, there is immediately something to do with the feature - for example, perhaps give them a small amount of the new currency it unlocks, if applicable.
          • If you don't have a large web of effects, and can definitively say the impact of a purchase is to multiply the gain of the cost currency by N, and the next purchase costs N times the amount of that same currency, then this purchase effectively made no difference and it may have made more sense to just go directly to the next upgrade. That said, having effects based on things like the number of purchases made will quickly invalidate this tip.
          - - + + \ No newline at end of file diff --git a/guide-to-incrementals/ludology/definition/index.html b/guide-to-incrementals/ludology/definition/index.html index 5351470e0..c1bf378bf 100644 --- a/guide-to-incrementals/ludology/definition/index.html +++ b/guide-to-incrementals/ludology/definition/index.html @@ -6,8 +6,8 @@ Defining the Genre | The Paper Pilot - - + + @@ -22,8 +22,8 @@
          On this page

          Defining the Genre

          Video games are placed into genres for a variety of reasons. They can give a mental shorthand to set the player's expectations up, they can help a game market itself by its similarities to other, already popular games, and honestly, people just love categorization for its own sake. For this guide, it's important to define the genre so it is clear what games it's even talking about.

          This poses a problem. "Incremental" is a horribly vague way to define games. Most games have numbers going up in some form or another. We need a more specific definition - similar to how "strategy" can't just mean any game with any amount of strategy because that would be most games. What specifically differentiates incremental games from the rest?

          "Incremental" implies it's a genre defined by a game mechanic, but all those game mechanics it could imply exist in many other games. Having a skill tree or upgrades doesn't make you incremental, and if a reset mechanic is all it takes then every roguelite would be an incremental as well. So clearly there's more to it than that - what makes an incremental an incremental?

          I'd like to go over a couple of popular suggestions I've seen on defining the genre here. I have my personal preferences and will state them here, but I don't think there's a truly perfect answer here.

          Disclaimer: I mostly play incremental games on my computer, and my definitions will be heavily biased towards the games I'm familiar with.

          Incrementals vs Idlers vs Clickers

          Oftentimes people refer to this genre as idle games and/or clicker games. You'll even find a trend of oxymoronic game titles that contain both terms. "Incremental games" is the umbrella term both those terms fall under. However, I'd like to argue that not only is it better to just use the term "incremental games", but calling them "idle games" or "clicker games" is wrong. Almost universally, these terms are used interchangeably to refer to the same kind of game, where you start the game click spamming and eventually automate the process. Frankly, that kind of game deserves neither title, and the genre of incremental games has trended away from ever requiring click spamming, as it's a bad mechanic, anyways.

          While these games do span a spectrum of how active it requires you to be, and sorting games by that metric can be useful for those looking for a particular experience, the borders of when an incremental game counts as an "idler" is too blurry for the term to be useful. "Incremental games" may not be a great descriptive term for the genre (hence this many thousands of words long page on defining what the genre even is), but it's strictly better than calling them "idler" or "clicker" games. This guide will always use the term "incremental games" unless quoting someone else, as it is the term you typically see on all modern games in the genre.

          Incrementals as Parodies

          Let's start with one of the most interesting definitions of incremental games. Incremental games appear to be distilled versions of games or genres, "revealing" the naked game design at the core of these games or genres not unlike how parodies comment upon their source material.

          To understand what that means, think of how a casino uses skinner boxes to emotionally manipulate its customers to keep playing, but "dressing" up the skinner box with tons of stimuli to hide that ultimately the goal is to condition you into coming back compulsively. The idea that incremental games are parodies means taking the stance that at some level all games are similarly manipulating you, giving dopamine rewards in a way that manipulates you to keep playing while not necessarily giving you any value or fulfillment. Incremental games, then, are any games that plainly display the skinner box, and the manipulative core of the game, at the forefront of the experience.

          While incremental games can be fun and even healthy in certain contexts, they can exacerbate video game addiction more than other genres. If you feel like playing incremental games is taking priority over other things in your life, or manipulating your sleep schedule, it may be prudent to seek help. See r/StopGaming for resources.

          This "undressing" tends to go hand in hand with a reduced focus on aesthetics, often just printing the game state directly to the screen as text. This makes incremental games much easier to develop, particularly for those with programming skills but not art skills, but that's a tangent for why Incremental Games appeal to Developers.

          Before I continue, I'd like to make my stance clear that I love games and incremental games, and do not think they should be considered inherently bad or manipulative with the above logic. Skinner boxes are just a way of manipulating behavior via rewards. The games are still fun - that's the reward! I'd believe the real criticism here is that it is "empty fun", or "empty dopamine", that doesn't offer any additional value or sense of fulfillment. I don't think that's inherently bad in moderation, although it can become a problem if the game is manipulating you for profit-seeking, or if you play the game to the detriment of the other parts of your life.

          Another interpretation of incremental games as parodies comes from several mainstream incremental games that are also parodies of capitalism, such as cookie clicker and adventure capitalist. It's a very common framework for incremental games to portray the ever-increasing numbers as an insatiable hunger for resources, like the ones observed within capitalism. Therefore, these games are used as evidence that the genre as a whole is about parody and commentary.

          Popular videos on incremental games that portray the genre as parodies are Why Idle games make good satire, and how it was ruined. and Bad Game Design - Clicker Games. You may also be interested in this response to the latter video from a fan of incremental games: BadGood Game Design - Clicker Games.

          I think that this definition ultimately ascribes a motive to the genre as a whole that only happens to apply to some of the more mainstream titles. There certainly are incremental games commenting on different things, including the genre itself as in the case of The Prestige Tree Classic, The Ascension Tree, or Omega Layers, but certainly not all. And of course, not all games that comment on something or parody something are incremental games! Additionally, a very large majority of incremental games are mobile games using these manipulative strategies to get players to spend as much money as possible - hell, Adventure Capitalist is ostensibly a critique on capitalism but features microtransactions and gameplay that manipulates you into buying them! These profit-seeking incremental games certainly belong within the genre but are hardly parodies when they too use manipulation to serve their interests. Also, from my own anecdotal experience, those who use this definition seem to do so from a fairly surface-level familiarity with the genre, and often in the context of criticizing the genre or the fans thereof.

          Incrementals as NGU

          Another broad definition often used is that incremental games are games where the focus of the game is "numbers going up". This definition proposes that other genres simply use increasing numbers as a means to an end, but incremental games uniquely only care about the numbers themselves going up. Put another way, it implies there should be no narrative justification for the numbers going up other than "why shouldn't they be going up?"

          While this definition is common because it feels easy to understand, it is difficult to formally define. Often phrases are used to describe games using this framework, such as having an "exaggerated sense of progression" or "big" numbers. These terms are vague and don't demonstrate an actual threshold between non-incrementals and incrementals. Most games have a sense of progression, so when is it "exaggerated"? How big are "big" numbers? Most notably, RPGs that are typically not considered incrementals will often pass this definition.

          Additionally, a lot of incrementals tend to have some theme guiding the gameplay, or at least the names of mechanics. This makes the line blurred between when numbers are going up for their own sake versus for a contextual reason. I believe this point is best illustrated that, while most RPGs are not considered incremental games, there is a sub-genre of "incremental RPGs" that typically relates to RPGs that perform combat automatically. This definition of incremental games does not support RPGs and "incremental RPGs" being on distinct sides of the line if the only difference between them is manual vs automatic combat.

          Incrementals as Strategies

          This is a rarer interpretation, but there are similarities between incremental games and strategy games, implying incrementals might just be a sub-genre of strategy games. By this approach, incremental games would be defined by their relation to strategy games, and how they involve player strategy. Incremental games are often large optimization problems - above all else, the actual gameplay the player is performing is deciding what to do next. The consequences of wrong decisions are typically more lenient in incremental games - such as just not making optimal progress - but they certainly get complex.

          So if we accept the premise that incrementals could fall under strategy, we still need to define what makes a strategy game an incremental versus some other strategy sub-genre. This is a bit tricky due to one particular sub-genre of strategy games: Factory Builders.

          Factory builders, such as Factorio or Satisfactory, are games about gaining ever increasing resources, optimizing production, and expanding more and more. That... sounds pretty similar, doesn't it? In fact, there's been some debate on whether factory builders would fall under the "incremental" umbrella. I think it's safe to say the two are certainly related, and probably have quite a bit of overlap in playerbase.

          Roguelites as Incrementals?

          Earlier on, I mentioned reset mechanics shouldn't be used in the definition because that could make all roguelites incrementals... But what if it does? A lot of incrementals can be described as games with a strong sense of progression, often with layers of meta-progression. Roguelites fit that bill to a T. What would make roguelites not incremental? I honestly don't think there's a good explanation here, but many fans of incremental games will state they do believe the two genres to be unrelated, even if there's a significant overlap between their player bases due to having similar appealing traits.

          At this point, it'd be appropriate to consider what part of the definition of roguelites precludes them from also being incrementals, but that reveals a new problem: What are roguelites? They're usually defined as rogue_likes with meta-progression, but that just pushes the problem back a step: Incrementals aren't the only genre to have difficulties defining themselves, it seems! Roguelikes are another genre where the community argues over the formal definition of their genre, although that means we can borrow from their process of coming to a consensus, and maybe come across a viable definition for incremental games.

          The Berlin Interpretation

          By far the most popular way of defining roguelikes is the "Berlin Interpretation", which acknowledged the diversity of games within the genre and argued the definition should not be based on any ideals about what the genre ought to be, but rather defined by "its canon". They argued there are a handful of games that can be used to define the canon for roguelikes, and from those games, a list of factors can be derived to determine a game's "roguelikeness". The more factors a game has, the more of a roguelike it is. This strategy is very lenient, allowing a game to not present any specific factor so long as it shows enough, and accounts for the blurriness of any genre definition by not explicitly stating how many factors a game must have to qualify as a definite roguelike.

          I believe this strategy for defining genres can be applied to other genres as well. A handful of games can be argued to be the incremental games canon, and a list of factors derived from them can be used to judge any game based on its "incrementalness". I'll propose such a canon and list of factors here, but by no means should it be considered the end-all-be-all.

          Note: The "Temple of the roguelike", an authority within the genre, has since replaced the Berlin Interpretation with a new set of factors here: https://blog.roguetemple.com/what-is-a-traditional-roguelike/

          The Incremental Games Canon

          Alright, time to get controversial. Up til now, I've been trying my best to stay objective and analytical, but now it's time to start making some opinionated decisions. Here is a list of games I think could justifiably make up an Incremental Games Canon:

          I chose a variety of games here, biasing towards newer games, purposefully to avoid making a narrow or "traditional" definition. The genre is growing and shouldn't be constrained by the traits of the early popular titles. A lot of these could easily be replaced with other games that are mechanically congruent, so ultimately I'm sure if you asked 10 people for their canon list you'd just get 10 different answers, but I think this should sufficiently allow us to determine what factors make a game have higher "incrementalness".

          The Paradigm Shift

          The Paradigm Shift is probably the highest possible value factor for an incremental. It's so common that for a while people referred to incrementals that exhibit this trait as "unfolding" games, to the point of trying to replace the term incremental due to their popularity. Paradigm shifts refer to when the gameplay significantly changes. There are too many examples to list here, but notably, every single reset mechanic is typically going to be a paradigm shift. Examples of games with paradigm shifts that aren't tied to reset mechanics include Universal Paperclips and A Dark Room.

          There are many reasons for the appeal of paradigm shifts. Oftentimes each mechanic builds on top of the existing mechanics, increasing the complexity of the game in steps so the player can follow along. They provide a sense of mystery, with the player anticipating what will happen next. They shake up the gameplay before it gets too stale - allowing the game to entertain for longer before the illusion of content dissipates. Of the canon games selected above, I would argue every single one contains a paradigm shift (although I could see someone disagreeing with that statement wrt Increlution).

          I should take a moment to say that while I'm hyping up this specific factor, we cannot just reduce the genre definition to "does it have paradigm shifts". Many games have paradigm shifts that are not incremental, so it's just an indicator of incrementalness. Additionally, it can become quite hard to determine how large of a shift is a "paradigm" shift. Take, for example, any game with a skill tree. In some games, each skill node might have a large impact on how you play with the game, and qualify as a paradigm shift for some players. In other games, each skill node might just be a small percentage modifier on some stat that doesn't really impact much more than a slight bias towards an already established mechanic that's newly buffed. Every single canon game may show that it's common amongst incremental games, but could just as easily indicate that they're common in games in general.

          High-Value Factors

          I won't take as long to discuss the high and low-value factors, as you've already seen most of them brought up earlier on this page. As a reminder, a game does NOT need all of these to be an incremental game, but these are factors that each indicate a strong possibility the game is an incremental, so having several of these means they probably are. These factors apply to most of the canon incremental games.

          "Pure UI" Display. Incrementals typically have a textual presentation of the game state - there isn't a visual representation of the entities within the game. The interface is closer to what would be just the UI of a game in another genre or the control panel of a plane. If there is a visual representation, the player is often still interacting with non-diegetic game elements.

          Reduced Consequences. Incrementals tend to have reduced repurcussions for misplaying. They very rarely have fail states, where often the largest consequence is simply not progressing - never losing progress.

          Optimization Problems. The predominant gameplay of incrementals is typically solving optimization problems, from deciding which purchase to save up for to reasoning and deciding between different mutually exclusive options the game presents.

          Resource Management. Incrementals tend to have a lot of resources within the game to keep track of.

          Low-Value Factors

          These are low-value factors, meaning they aren't as strongly correlated with incremental games. Incremental games may have none of these, and non-incrementals may have several of these - if a game only has low-value factors, they're probably not an incremental.

          Fast Numeric Growth. Numbers in incremental games tend to grow faster than in other genres. There are more instances of superlinear growth. The larger the numbers get, the stronger of a signal this factor is.

          Automation. As an incremental game progresses, the player often no longer has to deal with earlier mechanics, by having them either happen automatically or otherwise be replaced with an alternative that requires less player interaction.

          Goal-Oriented. Incrementals are often heavily reliant on extrinsic motivation to guide the player. Typically this is through some sort of in-game goal to work towards, such as a certain amount of a resource being required to unlock or purchase something new.

          Waiting is a Mechanic. In incremental games, the player may come across times where there is no action they can take, and the game will progress automatically instead. The player must wait for some amount of this automatic progress to occur before they can resume interaction with the game.

          Are Roguelites Incrementals?

          Having made our variation of the Berlin Interpretation for incremental games, we can compare it to the Berlin Interpretation to determine if there's enough overlap that any game that "passes" the Berlin Interpretation would also pass the incremental variant. That is to say, whether any roguelite would also be considered an incremental game.

          The meta-progression of an incremental game could arguably be considered a paradigm shift, and certainly adds some resource management. Goal-oriented would probably also apply. I think anything other than those would be a stretch, and in my opinion that just isn't enough to qualify. To be totally honest, I was never expecting to conclude otherwise though 😉

          Sub-Genres

          There are some trends in incremental games that go beyond just being a commonly used mechanic, such that they deeply affect the rest of the game design. These trends can be used to determine sub-genres within the incremental games umbrella:

          • Loops games are a sub-genre defined by having a core mechanic related to a loop, where the player is deciding the actions taken per loop. Notable examples include Idle Loops, Stuck in Time, Cavernous II, and Increlution. You may also argue Groundhog Life and Progress Knight fall into this sub-genre.
          • ITRTG-like games are a sub-genre defined by having a core mechanic based on clearing increasingly difficult battles and often tend to have a lot of different mechanics to become progressively stronger. Notable examples include Idling to Rule the Gods, NGU Idle, and Wizard and Minion Idle.
          • Polynomial Growth games are a sub-genre defined by having a core mechanic related to a higher degree polynomial. Notable examples include the base layer of Antimatter Dimensions and Swarm Simulator.
          • Upgrades Games is a category popular on flash games websites that featured games focused on buying upgrades that would allow you to attain more currency in some sort of minigame that would earn you more money to buy more upgrades, which I'd argue now belong under the fold of incremental games. Notable examples include the Learn to Fly series and Upgrade Complete.
          • Cultivation RPGs are a genre of games, books, and anime popular in China that center around being in a fantasy world with characters getting stronger over time. While few of them get translated into English, a fan of incremental games may find the available games interesting.
          - - + + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index bb9575b26..b82ec2281 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"guide-to-incrementals_design_introduction.md":"3331f00b","guide-to-incrementals_index.md":"8abeee5c","guide-to-incrementals_ludology_appeal-developers.md":"223693e2","guide-to-incrementals_ludology_appeal-gamers.md":"0558bf0b","guide-to-incrementals_ludology_content.md":"8ae2a63b","guide-to-incrementals_ludology_definition.md":"cb4607f1","index.md":"5fc8a8c8","projects_babble_index.md":"fa43d79b","projects_citadel_index.md":"b4e97d86","projects_dice_index.md":"6c528f7d","projects_index.md":"b21da0f3","projects_optispeech_index.md":"fa8ebcfd","projects_vecs_index.md":"8814735a","public_gamedevtree_2.0-format-changes.md":"94ee9d78","public_gamedevtree_readme.md":"e9b50baa","public_gamedevtree_changelog.md":"96da44a6","public_gamedevtree_docs_!general-info.md":"1dce9599","public_gamedevtree_docs_achievements.md":"a176d052","public_gamedevtree_docs_bars.md":"ee83b0f6","public_gamedevtree_docs_basic-layer-breakdown.md":"61396bc6","public_gamedevtree_docs_buyables.md":"cdb25baa","public_gamedevtree_docs_challenges.md":"75ce9378","public_gamedevtree_docs_clickables.md":"8abdae17","public_gamedevtree_docs_custom-tab-layouts.md":"e39f994d","public_gamedevtree_docs_getting-started.md":"7d2bd537","public_gamedevtree_docs_infoboxes.md":"910ca43a","public_gamedevtree_docs_layer-features.md":"6cc59d65","public_gamedevtree_docs_main-mod-info.md":"df63d099","public_gamedevtree_docs_milestones.md":"1c4f21e9","public_gamedevtree_docs_subtabs-and-microtabs.md":"f3edf9fd","public_gamedevtree_docs_updating-tmt.md":"c236d30e","public_gamedevtree_docs_upgrades.md":"db56e31b","public_kronos_old things_2.0-format-changes.md":"ac36228e","public_kronos_readme.md":"4583e09d","public_kronos_changelog.md":"f4e479b5","public_kronos_docs_!general-info.md":"16ffc414","public_kronos_docs_achievements.md":"26508a7a","public_kronos_docs_bars.md":"72a3fb7d","public_kronos_docs_basic-layer-breakdown.md":"76fdeb94","public_kronos_docs_buyables.md":"66ebb48e","public_kronos_docs_challenges.md":"0feee9d3","public_kronos_docs_clickables.md":"6b4c30f9","public_kronos_docs_custom-tab-layouts.md":"f078bb58","public_kronos_docs_getting-started.md":"d986d28f","public_kronos_docs_grids.md":"5e0e41c8","public_kronos_docs_infoboxes.md":"74fe6240","public_kronos_docs_layer-features.md":"12af1e9e","public_kronos_docs_main-mod-info.md":"3f89aaa3","public_kronos_docs_milestones.md":"a64561b9","public_kronos_docs_particles.md":"c2343fff","public_kronos_docs_subtabs-and-microtabs.md":"d883fd2e","public_kronos_docs_trees-and-tree-customization.md":"c3840cb8","public_kronos_docs_updating-tmt.md":"96ac7b0d","public_kronos_docs_upgrades.md":"39a2314e","public_lit_old things_2.0-format-changes.md":"82822887","public_lit_readme.md":"57233aa0","public_lit_changelog.md":"3a289646","public_lit_docs_!general-info.md":"63424715","public_lit_docs_achievements.md":"1aa4d17f","public_lit_docs_bars.md":"2929af1e","public_lit_docs_basic-layer-breakdown.md":"bdd9ba9b","public_lit_docs_buyables.md":"21c8278c","public_lit_docs_challenges.md":"c8d19b68","public_lit_docs_clickables.md":"3bc15e64","public_lit_docs_custom-tab-layouts.md":"a1bcc384","public_lit_docs_getting-started.md":"f14d462a","public_lit_docs_infoboxes.md":"721eb814","public_lit_docs_layer-features.md":"bcc7f108","public_lit_docs_main-mod-info.md":"e6e3f511","public_lit_docs_milestones.md":"0a33f5e8","public_lit_docs_subtabs-and-microtabs.md":"84fdefdf","public_lit_docs_trees-and-tree-customization.md":"325cf26a","public_lit_docs_updating-tmt.md":"2a0fcfd7","public_lit_docs_upgrades.md":"24f827f2"} +{"guide-to-incrementals_design_introduction.md":"52bff723","guide-to-incrementals_index.md":"fa82364c","guide-to-incrementals_ludology_appeal-developers.md":"b3974713","guide-to-incrementals_ludology_appeal-gamers.md":"affd15de","guide-to-incrementals_ludology_content.md":"4e7d0096","guide-to-incrementals_ludology_definition.md":"0210e023","index.md":"0b376fcd","projects_babble_index.md":"dba3ab7f","projects_citadel_index.md":"9031baac","projects_dice_index.md":"0c19c587","projects_index.md":"df1c3af3","projects_optispeech_index.md":"f8da3cab","projects_vecs_index.md":"20c0cccd","public_gamedevtree_2.0-format-changes.md":"250bb9c2","public_gamedevtree_readme.md":"f672a351","public_gamedevtree_changelog.md":"680c4058","public_gamedevtree_docs_!general-info.md":"a370d628","public_gamedevtree_docs_achievements.md":"5e5606f0","public_gamedevtree_docs_bars.md":"9f59b3d0","public_gamedevtree_docs_basic-layer-breakdown.md":"a988a8f8","public_gamedevtree_docs_buyables.md":"cc740a16","public_gamedevtree_docs_challenges.md":"021ae094","public_gamedevtree_docs_clickables.md":"6e246799","public_gamedevtree_docs_custom-tab-layouts.md":"cc6f28f2","public_gamedevtree_docs_getting-started.md":"5a4afb00","public_gamedevtree_docs_infoboxes.md":"4b02f838","public_gamedevtree_docs_layer-features.md":"77f76a11","public_gamedevtree_docs_main-mod-info.md":"3e358a25","public_gamedevtree_docs_milestones.md":"be6a9ab0","public_gamedevtree_docs_subtabs-and-microtabs.md":"c1a317e6","public_gamedevtree_docs_updating-tmt.md":"90ea8414","public_gamedevtree_docs_upgrades.md":"476f8ded","public_kronos_old things_2.0-format-changes.md":"3c8d644e","public_kronos_readme.md":"1363fb63","public_kronos_changelog.md":"d41b9d1c","public_kronos_docs_!general-info.md":"497ef86e","public_kronos_docs_achievements.md":"dddf94a6","public_kronos_docs_bars.md":"07743100","public_kronos_docs_basic-layer-breakdown.md":"dd77b1be","public_kronos_docs_buyables.md":"96620441","public_kronos_docs_challenges.md":"bae87348","public_kronos_docs_clickables.md":"7f6f2b3b","public_kronos_docs_custom-tab-layouts.md":"cf5ee186","public_kronos_docs_getting-started.md":"dadfc156","public_kronos_docs_grids.md":"8afe2d46","public_kronos_docs_infoboxes.md":"9409ff18","public_kronos_docs_layer-features.md":"75e4d4e1","public_kronos_docs_main-mod-info.md":"18e4243d","public_kronos_docs_milestones.md":"1821acdf","public_kronos_docs_particles.md":"7ea29387","public_kronos_docs_subtabs-and-microtabs.md":"da3dc314","public_kronos_docs_trees-and-tree-customization.md":"f25ba3c6","public_kronos_docs_updating-tmt.md":"9aa0ea82","public_kronos_docs_upgrades.md":"401e594e","public_lit_old things_2.0-format-changes.md":"b1a04056","public_lit_readme.md":"256b0c3d","public_lit_changelog.md":"c96196ba","public_lit_docs_!general-info.md":"d1100aa8","public_lit_docs_achievements.md":"e8369d65","public_lit_docs_bars.md":"662cc1e4","public_lit_docs_basic-layer-breakdown.md":"dcf54f91","public_lit_docs_buyables.md":"22bd2aaa","public_lit_docs_challenges.md":"3b2e856d","public_lit_docs_clickables.md":"42f77ee9","public_lit_docs_custom-tab-layouts.md":"c62a32fa","public_lit_docs_getting-started.md":"f1e21163","public_lit_docs_infoboxes.md":"13b017ec","public_lit_docs_layer-features.md":"1af1ec9b","public_lit_docs_main-mod-info.md":"dd184e18","public_lit_docs_milestones.md":"80f246ff","public_lit_docs_subtabs-and-microtabs.md":"603edb0b","public_lit_docs_trees-and-tree-customization.md":"695c04da","public_lit_docs_updating-tmt.md":"4915e9ed","public_lit_docs_upgrades.md":"4ba16ee0"} diff --git a/index.html b/index.html index 8bcaba992..8ddd410a2 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ The Paper Pilot | The Paper Pilot - - + + @@ -22,8 +22,8 @@

        The Paper Pilot

        I'm Anthony, or The Paper Pilot, and I make fun games and tools!

      - - + + \ No newline at end of file diff --git a/projects/babble/index.html b/projects/babble/index.html index 4644c3900..00990e3a9 100644 --- a/projects/babble/index.html +++ b/projects/babble/index.html @@ -6,8 +6,8 @@ Babble Buds | The Paper Pilot - - + + @@ -21,9 +21,9 @@
      On this page

      Babble Buds

      Babble Buds Homepage

      Source Code:

      Babble buds is a free, open-source virtual puppet show software. It is heavily based on the non-public software called "Puppet Pals", used in URealms Live. The software is written in javascript using React, a rendering library called PIXI.js, and electron.

      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 "babble" 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!

      Users can connect to the public server and create private rooms so that they and their friends can see each other's puppets and use the software however they please. For the security conscious, you can also use the server's source code to self-host your private server.

      Babble Buds Screenshot

      Engine

      The engine originally made to make the Babble Buds program was separated into a separate engine called babble.js, 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 babble.cs) for use with Unity, for the same kinds of purposes. You can check out Tower Offense for a pixi.js game using Babble Buds puppets for the cutscenes, or Dice Armor for a unity game using Babble Buds puppets for the cutscenes.

      Babble Movie Maker

      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 babble.js or babble.cs, or export the cutscene into a video file. There is even support for defining custom commands with custom fields, so that if you've expanded upon the default actions provided in babble.js or babble.cs, you can still use Movie Maker to create your cutscenes.

      Babble MM Screenshot

      - - +
      On this page

      Babble Buds

      Babble Buds Homepage

      Source Code:

      Babble buds is a free, open-source virtual puppet show software. It is heavily based on the non-public software called "Puppet Pals", used in URealms Live. The software is written in javascript using React, a rendering library called PIXI.js, and electron.

      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 "babble" 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!

      Users can connect to the public server and create private rooms so that they and their friends can see each other's puppets and use the software however they please. For the security conscious, you can also use the server's source code to self-host your private server.

      Babble Buds Screenshot

      Engine

      The engine originally made to make the Babble Buds program was separated into a separate engine called babble.js, 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 babble.cs) for use with Unity, for the same kinds of purposes. You can check out Tower Offense for a pixi.js game using Babble Buds puppets for the cutscenes, or Dice Armor for a unity game using Babble Buds puppets for the cutscenes.

      Babble Movie Maker

      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 babble.js or babble.cs, or export the cutscene into a video file. There is even support for defining custom commands with custom fields, so that if you've expanded upon the default actions provided in babble.js or babble.cs, you can still use Movie Maker to create your cutscenes.

      Babble MM Screenshot

      + + \ No newline at end of file diff --git a/projects/citadel/index.html b/projects/citadel/index.html index ebeea82d3..9cbb9f3f3 100644 --- a/projects/citadel/index.html +++ b/projects/citadel/index.html @@ -6,8 +6,8 @@ Capture the Citadel | The Paper Pilot - - + + @@ -21,9 +21,9 @@
      On this page

      Capture the Citadel

      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.

      For more details, visit Grant's page on the game.

      Screenshot

      - - +
On this page

Capture the Citadel

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.

For more details, visit Grant's page on the game.

Screenshot

+ + \ No newline at end of file diff --git a/projects/dice/index.html b/projects/dice/index.html index 0ac3ef62d..4004e1371 100644 --- a/projects/dice/index.html +++ b/projects/dice/index.html @@ -6,8 +6,8 @@ Dice Armor | The Paper Pilot - - + + @@ -21,9 +21,9 @@
On this page

Dice Armor

Download Here

Dice Armor is a game that started development as a semester-long project by a team of nine: a producer, a creative director, a narrative writer, an artist, two programmers, and 3 game designers. The information here is about my contributions as the lead programmer over the semester because I can show off stuff like the editor scripts I wrote. I was doing everything from interface coding, editor scripts, integrating Babble Buds, and of course, everything related to the gameplay itself. To date I'm still the lead programmer for the game; for more up-to-date information on the current state of the game please visit the official site.

The build available here was created for showing off at the end of the semester, and as such has some buttons present to make the game easier to skip parts of the game to see all the content: You start with all the dice in the game already in the shop, there's a button to give yourself free money to buy these dice with, and in the duel, there are buttons to force a win or a loss, which can be used to skip the tutorial (not recommended for first-time players).

Tutorial

Dice Armor is a dice dueling game. Players can use abilities, flip dice, and attack each other to win in a dice game that puts chance into the hands of the players. This is what the dueling scene looks like, with a tutorial cutscene happening on top to guide the player through the basics. Also, all the dice are constructed dynamically, using quaternion math to figure out the placement of each component relative to the face it is going on. The die in the middle has one of the player' and opponents' portraits on each of its sides.

Editors

For many of the objects I've created, I've made scriptable objects so that game designers can add and modify them easily. Additionally, I would create custom inspectors for the objects to help make them as easy to understand and edit as possible. The opponent's artificial intelligence is made up of many strategies, in a prioritized list. When it is the opponents' turn they go through each strategy and check if they can be run, and if so then the opponent performs the strategy and starts back over at the top of the list of strategies. The + sign under the list of strategies opens an organized dropdown of all the various strategies.

Simulator

In addition to custom inspector code, I've created new tools for the editor for our game designers to use. This is a duel simulator that will take two opponents and simulate an arbitrary number of duels between them, and output the results and summarize them for you, much much quicker than manually going through the duels, even with an absurdly high timeScale. This will become incredibly useful in making balance changes and testing new dice against existing sets. This is a screenshot of it in edit mode, but in play mode it removes the "Dueling Managers" field and will use whatever the current duel balance settings are, allowing for the GDs to test freely in play mode without worrying about undoing all their changes afterward.

Cutscene

I created the Babble Buds puppet editor and ported the rendering library I wrote for it to C# so it could be used in Unity. Dice Armor has a full campaign using cutscenes made using the Babble Buds cutscene editor, taking advantage of its support for custom commands and fields to control things like talking, giving the player dice and money, starting duels, and controlling player progression through the story.

Action Wheel

When a cutscene ends, its final command is to either start a duel or set the next cutscene in the story. In the latter case, there is an additional field for what to call the next cutscene, and what location it takes place. The cutscene is then added to the player's save file, and when they visit the city locations are greyed out until they have at least one action to do there. Each location has a dynamically populated action wheel with a custom range of acceptable angles.

Shop

The dice shop is dynamically populated by a list of dice available to the player, which can be changed during cutscenes, and is checked against the dice owned by the player to generate sold-out indicators. On the left, the player can choose to filter the options down to a single dice effect, which also updates the "Buy All" button to buy only all the dice in the current filter.

Inventory

The inventory works most the same as the shop, but for equipping dice. It also allows you to drag individual dice or entire sets to the equipped dice glyph. While dragging it will highlight all the slots the new dice will be equipped into.

Dice Rolling

The dice rolling uses the physics engine and detects once the dice have stopped moving, then determines which side is face up based on which of the normals is closest to straight up. It flags the die as cocked if that smallest angle is above a threshold. The dice sink into the table when not rolling to not interfere with any dice that are rolling.

Missile Storm

During certain events like winning the game or having the face of a die broken, the players' portraits will flash an emotion for a second. After winning, a random living die from the winning player is chosen to play their "finisher move", a flashy and dramatic effect to end the game. Shown is the arcane mechana's finisher, "Missile Storm".

- - +
On this page

Dice Armor

Download Here

Dice Armor is a game that started development as a semester-long project by a team of nine: a producer, a creative director, a narrative writer, an artist, two programmers, and 3 game designers. The information here is about my contributions as the lead programmer over the semester because I can show off stuff like the editor scripts I wrote. I was doing everything from interface coding, editor scripts, integrating Babble Buds, and of course, everything related to the gameplay itself. To date I'm still the lead programmer for the game; for more up-to-date information on the current state of the game please visit the official site.

The build available here was created for showing off at the end of the semester, and as such has some buttons present to make the game easier to skip parts of the game to see all the content: You start with all the dice in the game already in the shop, there's a button to give yourself free money to buy these dice with, and in the duel, there are buttons to force a win or a loss, which can be used to skip the tutorial (not recommended for first-time players).

Tutorial

Dice Armor is a dice dueling game. Players can use abilities, flip dice, and attack each other to win in a dice game that puts chance into the hands of the players. This is what the dueling scene looks like, with a tutorial cutscene happening on top to guide the player through the basics. Also, all the dice are constructed dynamically, using quaternion math to figure out the placement of each component relative to the face it is going on. The die in the middle has one of the player' and opponents' portraits on each of its sides.

Editors

For many of the objects I've created, I've made scriptable objects so that game designers can add and modify them easily. Additionally, I would create custom inspectors for the objects to help make them as easy to understand and edit as possible. The opponent's artificial intelligence is made up of many strategies, in a prioritized list. When it is the opponents' turn they go through each strategy and check if they can be run, and if so then the opponent performs the strategy and starts back over at the top of the list of strategies. The + sign under the list of strategies opens an organized dropdown of all the various strategies.

Simulator

In addition to custom inspector code, I've created new tools for the editor for our game designers to use. This is a duel simulator that will take two opponents and simulate an arbitrary number of duels between them, and output the results and summarize them for you, much much quicker than manually going through the duels, even with an absurdly high timeScale. This will become incredibly useful in making balance changes and testing new dice against existing sets. This is a screenshot of it in edit mode, but in play mode it removes the "Dueling Managers" field and will use whatever the current duel balance settings are, allowing for the GDs to test freely in play mode without worrying about undoing all their changes afterward.

Cutscene

I created the Babble Buds puppet editor and ported the rendering library I wrote for it to C# so it could be used in Unity. Dice Armor has a full campaign using cutscenes made using the Babble Buds cutscene editor, taking advantage of its support for custom commands and fields to control things like talking, giving the player dice and money, starting duels, and controlling player progression through the story.

Action Wheel

When a cutscene ends, its final command is to either start a duel or set the next cutscene in the story. In the latter case, there is an additional field for what to call the next cutscene, and what location it takes place. The cutscene is then added to the player's save file, and when they visit the city locations are greyed out until they have at least one action to do there. Each location has a dynamically populated action wheel with a custom range of acceptable angles.

Shop

The dice shop is dynamically populated by a list of dice available to the player, which can be changed during cutscenes, and is checked against the dice owned by the player to generate sold-out indicators. On the left, the player can choose to filter the options down to a single dice effect, which also updates the "Buy All" button to buy only all the dice in the current filter.

Inventory

The inventory works most the same as the shop, but for equipping dice. It also allows you to drag individual dice or entire sets to the equipped dice glyph. While dragging it will highlight all the slots the new dice will be equipped into.

Dice Rolling

The dice rolling uses the physics engine and detects once the dice have stopped moving, then determines which side is face up based on which of the normals is closest to straight up. It flags the die as cocked if that smallest angle is above a threshold. The dice sink into the table when not rolling to not interfere with any dice that are rolling.

Missile Storm

During certain events like winning the game or having the face of a die broken, the players' portraits will flash an emotion for a second. After winning, a random living die from the winning player is chosen to play their "finisher move", a flashy and dramatic effect to end the game. Shown is the arcane mechana's finisher, "Missile Storm".

+ + \ No newline at end of file diff --git a/projects/index.html b/projects/index.html index 94a6998f4..75429038d 100644 --- a/projects/index.html +++ b/projects/index.html @@ -6,8 +6,8 @@ Projects | The Paper Pilot - - + + @@ -21,9 +21,9 @@
On this page

Games!

I make games regularly! Check them out in the sidebar or on my itch.io page.

Profectus!

I contributed to a modding framework called The Modding Tree and then made Profectus as an alternative that gives developers more control. Profectus is a game engine for the web that uses TS and Vue.

V-ecs!

V-ecs (pronounced "Vex") 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.

OptiSpeech!

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.

Babble Buds!

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.

Dice Armor

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.

Capture the Citadel

A 3D VR re-envisioning of a Slay the Spire-style game by Anthony Lawn and Grant Barbee.

- - +
On this page

Games!

I make games regularly! Check them out in the sidebar or on my itch.io page.

Profectus!

I contributed to a modding framework called The Modding Tree and then made Profectus as an alternative that gives developers more control. Profectus is a game engine for the web that uses TS and Vue.

V-ecs!

V-ecs (pronounced "Vex") 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.

OptiSpeech!

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.

Babble Buds!

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.

Dice Armor

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.

Capture the Citadel

A 3D VR re-envisioning of a Slay the Spire-style game by Anthony Lawn and Grant Barbee.

+ + \ No newline at end of file diff --git a/projects/optispeech/index.html b/projects/optispeech/index.html index 1292579cf..e18dfce58 100644 --- a/projects/optispeech/index.html +++ b/projects/optispeech/index.html @@ -6,8 +6,8 @@ OptiSpeech | The Paper Pilot - - + + @@ -21,9 +21,9 @@
On this page

OptiSpeech

The Optispeech project involves designing and testing a real-time tongue model that can be viewed in a transparent head while a subject talks — 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.

System Architecture

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.

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.

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.

New Interface

In addition, the program now includes documentation and unit tests to improve program stability and maintainability going forward.

Documentation

Unit Tests

- - +
On this page

OptiSpeech

The Optispeech project involves designing and testing a real-time tongue model that can be viewed in a transparent head while a subject talks — 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.

System Architecture

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.

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.

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.

New Interface

In addition, the program now includes documentation and unit tests to improve program stability and maintainability going forward.

Documentation

Unit Tests

+ + \ No newline at end of file diff --git a/projects/vecs/index.html b/projects/vecs/index.html index 6a104bc83..9005c02c4 100644 --- a/projects/vecs/index.html +++ b/projects/vecs/index.html @@ -6,8 +6,8 @@ V-ecs | The Paper Pilot - - + + @@ -21,9 +21,9 @@
On this page

V-ecs

V-ecs Screenshot

V-ecs (pronounced "Vex") 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.

The engine works with "worlds", 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 "worlds" folder and displays a button for each of them.

Debug Menu

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.

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 "Sands of Time".

Sands of Time

- - +
On this page

V-ecs

V-ecs Screenshot

V-ecs (pronounced "Vex") 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.

The engine works with "worlds", 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 "worlds" folder and displays a button for each of them.

Debug Menu

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.

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 "Sands of Time".

Sands of Time

+ + \ No newline at end of file diff --git a/public/gamedevtree/2.0-format-changes/index.html b/public/gamedevtree/2.0-format-changes/index.html index 7a7ebe1fb..95e1b8c50 100644 --- a/public/gamedevtree/2.0-format-changes/index.html +++ b/public/gamedevtree/2.0-format-changes/index.html @@ -6,8 +6,8 @@ 2.0 format changes | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

2.0 format changes

  • Temp format is changed from temp.something[layer] to temp[layer].something, for consistency
  • Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
  • effectDisplay in Challenges and Upgrades no longer takes an argument, and neither does effect for Buyables
  • Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
  • Generation of Points now happens in the main game loop (not in a layer update function), enabled by canGenPoints in game.js.
  • Changed fullLayerReset to layerDataReset, which takes an array of names of values to keep

In addition, many names were changed, mostly expanding abbreviations:

All instances of:

  • chall -> challenge
  • unl -> unlocked
  • upg -> upgrade (besides CSS)
  • amt -> amount
  • desc -> description
  • resCeil -> roundUpCost
  • order -> unlockOrder
  • incr_order -> increaseUnlockOrder

Challenges:

  • desc -> challengeDescription
  • reward -> rewardDescription
  • effect -> rewardEffect
  • effectDisplay -> rewardDisplay
  • active -> challengeActive
- - + + \ No newline at end of file diff --git a/public/gamedevtree/README/index.html b/public/gamedevtree/README/index.html index ab5c3bb18..7a417df96 100644 --- a/public/gamedevtree/README/index.html +++ b/public/gamedevtree/README/index.html @@ -6,8 +6,8 @@ The-Modding-Tree | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

The-Modding-Tree

A modified version of The Prestige Tree that is much easier to mod. It still requires programming knowledge, but it's mostly pretty easy things and copy/pasting.

Look here for a tutorial on getting started with modding with TMT

You can look in the documentation for more information on how it all works, or look at the code in layers.js to see what it all looks like.

- - + + \ No newline at end of file diff --git a/public/gamedevtree/changelog/index.html b/public/gamedevtree/changelog/index.html index abb7f70e0..3cb92b5f9 100644 --- a/public/gamedevtree/changelog/index.html +++ b/public/gamedevtree/changelog/index.html @@ -6,8 +6,8 @@ The Game Dev Tree changelog: | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

The Game Dev Tree changelog:

v1.0.4 Version Bump [rebalanced,debuggedx3] - 2020-11-09

  • Fixed refactorings 2, 3, and 4 not actually affecting productivity

v1.0.3 Version Bump [rebalanced,debuggedx2] - 2020-11-08

  • Fixed API milestone 4 not working

v1.0.2 Version Bump [rebalanced,debugged] - 2020-11-08

  • Fixed tree lines being hidden after hitting "keepGoing" in the victory screen

v1.0.1 Version Bump [rebalanced] - 2020-11-08

  • Buffed several TAs

v1.0 Version Bump - 2020-11-08

  • Finished row 4
  • Added colored text to lore
  • Fixed some visual bugs with milestones
  • Probably other stuff lol its been a week

v0.2.3 Stylish - 2020-10-30

  • Re-styled basically everything
  • Added favicon
  • Added header bar
  • Added changelog

v0.2.2 Row 3 - 2020-10-22

  • Removed debug statement
  • Moved milestones in F layer beneath the buyables

v0.2.1 Row 3 - 2020-10-21

  • Fixed layers hiding
  • Fixed typos/minor issues
  • Fixed S layer being highlighted before you can unlock the layer

v0.2 Row 3 - 2020-10-21

  • Implemented row 3

v0.1.1 Cash Influx [rebalanced] - 2020-10-19

  • Fixed notification issue
  • Rebalanced to make early game faster and late game slower
  • Fixed other minor issues

v0.1 Cash Influx - 2020-10-19

  • Implemented row 2

v0.0 Initial Commit - 2020-10-18

  • Implemented row 1
- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/!general-info/index.html b/public/gamedevtree/docs/!general-info/index.html index ccc3ce147..962e7015f 100644 --- a/public/gamedevtree/docs/!general-info/index.html +++ b/public/gamedevtree/docs/!general-info/index.html @@ -6,8 +6,8 @@ The-Modding-Tree | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

The-Modding-Tree

The main way to add content is through creating layers. You can either add a layer directly in the layers object in layersSupportjs, or declare it in another file and then do "addLayer(layername, layerdata)" (good for breaking things up into smaller files). The existing layers are just examples and can be freely deleted. You can also use them as references and a base for your own layers.

The first thing you need to do is to edit the modInfo at the top of game.js to set your modID (a string). A unique modId will prevent your mod's saves from conflicting with other mods.

Most of the time, you won't need to dive deep into the code to create things, but you still can if you really want to.

The Modding Tree uses break_eternity.js to store large values. This means that many numbers are Decimal objects, and must be treated differently. For example, you have to use new Decimal(x) to create a Decimal value instead of a plain number, and perform operations on them by calling functions. e.g, instead of x = x + y, use x = x.add(y).

Almost all values can be either a constant value, or a dynamic value. Dynamic values are defined by putting a function that returns what the value should be at any given time.

All display text can be basic HTML instead (But you can't use most Vue features there).

Table of Contents:

General:

  • Getting Started: Getting your own copy of the code set up with Github Desktop.
  • Main mod info: How to set up general things for your mod in mod.js.
  • Basic layer breakdown: Breaking down the components of a layer with minimal features.
  • Layer features: Explanations of all of the different properties that you can give a layer.
  • Custom Tab Layouts: An optional way to give your tabs a different layout. You can even create entirely new components to use.
  • Updating TMT: Using Github Desktop to update your mod's version of TMT.

Common components

  • Upgrades: How to create upgrades for a layer.
  • Milestones: How to create milestones for a layer.
  • Buyables: Create rebuyable upgrades for your layer (with the option to make them respec-able). Can be used to make Enhancers or Space Buildings.
  • Clickables: A more generalized variant of buyables, for any kind of thing that is sometimes clickable. Between these and Buyables, you can do just about anything.

Other components

  • Challenges: How to create challenges for a layer.
  • Bars: Display some information as a progress bar, gague, or similar. They are highly customizable, and can be horizontal and vertical as well.
  • Subtabs and Microtabs: Create subtabs for your tabs, as well as "microtab" components that you can put inside the tabs.
  • Achievements: How to create achievements for a layer (or for the whole game).
  • Infoboxes: Boxes containing text that can be shown or hidden.
- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/achievements/index.html b/public/gamedevtree/docs/achievements/index.html index 848cb3d94..7e9b60628 100644 --- a/public/gamedevtree/docs/achievements/index.html +++ b/public/gamedevtree/docs/achievements/index.html @@ -6,8 +6,8 @@ Achievements | The Paper Pilot - - + + @@ -31,8 +31,8 @@ etc }

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:

  • name: optional, 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.

  • done(): A function returning a boolean to determine if the achievement should be awarded.

  • 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.

  • effect(): optional, 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.

  • unlocked(): optional, A function returning a bool to determine if the achievement is visible or not. Default is unlocked.

  • onComplete() - optional, this function will be called when the achievement is completed.

  • style: Optional, 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)

  • layer: Assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: Assigned automagically. It's the "key" which the achievement was stored under, for convenient access. The achievement in the example's id is 11.

  • goalTooltip: optional, depracated 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.

  • doneTooltip: optional, depracated 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.

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/bars/index.html b/public/gamedevtree/docs/bars/index.html index 937c6624c..d0a524947 100644 --- a/public/gamedevtree/docs/bars/index.html +++ b/public/gamedevtree/docs/bars/index.html @@ -6,8 +6,8 @@ Bars | The Paper Pilot - - + + @@ -29,8 +29,8 @@ etc }

Features:

  • 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.

  • width, height: The size in pixels of the bar, but as Numbers (no "px" at the end)

  • progress(): A function that returns the portion of the bar that is filled, from "empty" at 0 to "full" at 1. (Nothing bad happens if the value goes out of these bounds, and it can be a number or Decimal).

  • display(): optional, A function that returns text to be displayed on top of the bar, can use HTML.

  • unlocked(): optional, A function returning a bool to determine if the bar is visible or not. Default is unlocked.

  • baseStyle, fillStyle, borderStyle, textStyle: Optional, 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).

  • layer: Assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: Assigned automagically. It's the "key" which the bar was stored under, for convenient access. The bar in the example's id is "bigBar".

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/basic-layer-breakdown/index.html b/public/gamedevtree/docs/basic-layer-breakdown/index.html index b2ddb532f..1a3323526 100644 --- a/public/gamedevtree/docs/basic-layer-breakdown/index.html +++ b/public/gamedevtree/docs/basic-layer-breakdown/index.html @@ -6,8 +6,8 @@ Basic layer breakdown | The Paper Pilot - - + + @@ -50,8 +50,8 @@ layerShown() {return true}, // Returns a bool for if this layer's node should be visible in the tree. }, - - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/buyables/index.html b/public/gamedevtree/docs/buyables/index.html index 48f34ebfe..0d692460f 100644 --- a/public/gamedevtree/docs/buyables/index.html +++ b/public/gamedevtree/docs/buyables/index.html @@ -6,8 +6,8 @@ Buyables | The Paper Pilot - - + + @@ -36,8 +36,8 @@ etc }

Features:

  • title: optional, displayed at the top in a larger font It can also be a function that returns updating text.

  • cost(): cost for buying the next buyable. Can have an optional argument "x" to calculate the cost of the x+1th object, but needs to use "current amount" as a default value for x. (x is a Decimal). Can return an object if there are multiple currencies.

  • effect(): optional, A function that calculates and returns the current values of bonuses of this buyable. Can return a value or an object containing multiple values.

  • 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.

  • unlocked(): optional, A function returning a bool to determine if the buyable is visible or not. Default is unlocked.

  • canAfford(): A function returning a bool to determine if you can buy one of the buyables.

  • buy(): A function that implements buying one of the buyable, including spending the currency.

  • buyMax(): optional, A function that implements buying as many of the buyable as possible.

  • style: Optional, 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)

  • layer: Assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: Assigned automagically. It's the "key" which the buyable was stored under, for convenient access. The buyable in the example's id is 11.

Sell One/Sell All:

Including a sellOne or sellAll function will cause an additional button to appear beneath the buyable. They are functionally identical, but "sell one" appears above "sell all". You can also use them for other things.

sellOne/sellAll(): optional, 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.

canSellOne/canSellAll(): optional, booleans determining whether or not to show the buttons. If "canSellOne/All" is absent but "sellOne/All" is present, the appropriate button will always show.

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/challenges/index.html b/public/gamedevtree/docs/challenges/index.html index 5483c469f..b4bb4cf11 100644 --- a/public/gamedevtree/docs/challenges/index.html +++ b/public/gamedevtree/docs/challenges/index.html @@ -6,8 +6,8 @@ Challenges | The Paper Pilot - - + + @@ -31,8 +31,8 @@ etc }

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:

  • name: Name of the challenge, can be a string or a function. Can use basic HTML.

  • challengeDescription: A description of what makes the challenge a challenge. You will need to implement these elsewhere It can also be a function that returns updating text. Can use basic HTML.

  • rewardDescription: A description of the reward's effect. You will also have to implement the effect where it is applied. It can also be a function that returns updating text. Can use basic HTML.

  • rewardEffect(): optional, 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.

  • rewardDisplay(): optional, 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.

  • 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.

  • unlocked(): optional, A function returning a bool to determine if the challenge is visible or not. Default is unlocked.

  • onComplete() - optional, this function will be called when the challenge is completed when previously incomplete.

  • countsAs: optional, 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.

By default, challenges use basic Points for the goal. You can change that using these features.

  • currencyDisplayName: optional, the name to display for the currency for the goal

  • currencyInternalName: optional, the internal name for that currency

  • currencyLayer: optional, the internal name of the layer that currency is stored in. If it's not in a layer, omit. If it's not stored directly in a layer, instead use the next feature.

  • currencyLocation: optional, if your currency is stored in something inside a layer (e.g. a buyable's amount), you can access it this way. This is a function returning the object in "player" that contains the value (like player[this.layer].buyables)

  • completionLimit: optional, the amount of times you can complete this challenge. Default is 1 completion.

  • style: Optional, 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)

  • layer: Assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: Assigned automagically. It's the "key" which the challenge was stored under, for convenient access. The challenge in the example's id is 11.

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/clickables/index.html b/public/gamedevtree/docs/clickables/index.html index 8c4f8f92c..86b23c66f 100644 --- a/public/gamedevtree/docs/clickables/index.html +++ b/public/gamedevtree/docs/clickables/index.html @@ -6,8 +6,8 @@ Clickables | The Paper Pilot - - + + @@ -35,8 +35,8 @@ etc }

Features:

  • title: optional, displayed at the top in a larger font It can also be a function that returns updating text.

  • effect(): optional, A function that calculates and returns the current values of bonuses of this clickable. Can return a value or an object containing multiple values.

  • 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.

  • unlocked(): optional, A function returning a bool to determine if the clickable is visible or not. Default is unlocked.

  • canClick(): A function returning a bool to determine if you can click the clickable.

  • onClick(): A function that implements clicking one of the clickable.

  • style: Optional, 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)

  • layer: Assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: Assigned automagically. It's the "key" which the clickable was stored under, for convenient access. The clickable in the example's id is 11.

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/custom-tab-layouts/index.html b/public/gamedevtree/docs/custom-tab-layouts/index.html index ecf4518ff..c034e3c5f 100644 --- a/public/gamedevtree/docs/custom-tab-layouts/index.html +++ b/public/gamedevtree/docs/custom-tab-layouts/index.html @@ -6,8 +6,8 @@ Custom tab layouts | The Paper Pilot - - + + @@ -31,8 +31,8 @@ ["toggle", ["c", "beep"]], "milestones", "blank", "blank", "upgrades"]

It is a list of components, which can be either just a name, or an array with arguments. If it'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 "CSS object", where the keys are CSS attributes.

These are the existing components, but you can create more in v.js:

  • 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.

  • raw-html: Displays some basic HTML, can also be a function.

  • blank: Adds empty space. The default dimensions are 8px x 17px. The argument changes the dimensions. If it's a single value (e.g. "20px"), that determines the height. If you have a pair of arguments, the first is width and the second is height.

  • row: Display a list of components horizontally. The argument is an array of components in the tab layout format.

  • 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.

  • main-display: The text that displays the main currency for the layer and its effects.

  • 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's prestige currency (if they are put in startData for this layer)

  • 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.

  • upgrades, milestones, challs, achievements: Display the upgrades, milestones, and challenges for a layer, as appropriate.

  • 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.

  • microtabs: Display a set of subtabs for an area. The argument is the name of the set of microtabs in the "microtabs" feature.

  • bar: Display a bar. The argument is the id of the bar to display.

  • infobox: Display an infobox. The argument is the id of the infobox to display.

  • toggle: A toggle button that toggles a bool value. The data is a pair that identifies what bool to toggle, [layer, id]

The rest of the components are sub-components. They can be used just like other components, but are typically part of another component.

  • 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.

  • respec-button, master-button: The respec and master buttons for buyables and clickables, respectively.

  • sell-one, sell-all: The "sell one" and "sell all" for buyables, respectively. The argument is the id of the buyable.

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/getting-started/index.html b/public/gamedevtree/docs/getting-started/index.html index 95a86f254..bda1717e7 100644 --- a/public/gamedevtree/docs/getting-started/index.html +++ b/public/gamedevtree/docs/getting-started/index.html @@ -6,8 +6,8 @@ Getting started | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

Getting started

Welcome to The Modding Tree!

Using the Modding Tree, at its simplest level, just requires getting a copy of it onto your computer. However, if you do it the right way, it will help in many ways.

Don't let the word "Github" scare you away. It's actually much easier to use than most people think, especially because most people use it the hard way. The key is Github Desktop, which lets you do everything you need to, without even touching the command line.

The benefits of using Github:

  • It makes it much, much easier to update The Modding Tree.
  • You can share your work without any extra effort using githack, or with a bit more effort, set up a github.io site.
  • It lets you undo changes to your code, and to have multiple versions of it.
  • It lets you collaborate with other people, if you want to.

Getting set up with Github and The Modding Tree:

  1. Install Github Desktop and Visual Studio Code.

  2. Make a Github account. You can handle this on your own.

  3. Log in on your browser, and go back to The Modding Tree page. At the top right, there should be a button that says "fork". Click on it, and then on your username. You now have your own fork, or copy, of The Modding Tree.

  4. Open Github Desktop and log in. Ignore everything else and choose "clone a repository". A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is downloading a copy of the repository to your computer.

  5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".

  6. Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.

Using your repository

  1. Click on "show in finder" to the right, and then open index.html. This will let you view and test your project!

  2. To edit your project, click "open in VSCode" in Github Desktop.

  3. Open mod.js in VSCode, and look at the top part where it says "modInfo". On the lines below that, change the mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later.)

  4. Save game.js, and then reload index.html. The title on the tab, as well as on the info page, will now be the new ones!

  5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit".

  6. At the bottom right corner, add a summary of your changes, and then click "commit to master".

  7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository.

  8. You can view your project on line, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html

And now, you have successfully used Github! You can look at the documentation to see how The Modding Tree's system works and to make your mod a reality.

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/infoboxes/index.html b/public/gamedevtree/docs/infoboxes/index.html index efd16e4b3..ad3c6b829 100644 --- a/public/gamedevtree/docs/infoboxes/index.html +++ b/public/gamedevtree/docs/infoboxes/index.html @@ -6,8 +6,8 @@ Infoboxes | The Paper Pilot - - + + @@ -29,8 +29,8 @@ etc }

Features:

  • title: The text displayed above the main box. Can be a function to be dynamic, and can use basic HTML.

  • body: The text displayed inside the box. Can be a function to be dynamic, and can use basic HTML.

  • style, titleStyle, bodyStyle: Optional, 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).

  • unlocked(): optional, A function returning a bool to determine if the infobox is visible or not. Default is unlocked.

  • layer: Assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: Assigned automagically. It's the "key" which the bar was stored under, for convenient access. The bar in the example's id is "bigBar".

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/layer-features/index.html b/public/gamedevtree/docs/layer-features/index.html index 177b78b0b..ddaa4bcaa 100644 --- a/public/gamedevtree/docs/layer-features/index.html +++ b/public/gamedevtree/docs/layer-features/index.html @@ -6,8 +6,8 @@ Layer Features | The Paper Pilot - - + + @@ -39,8 +39,8 @@ "prestige-button"() {return {'color': '#AA66AA'}}, },

Custom Prestige type

  • getResetGain(): For custom prestige type, Returns how many points you should get if you reset now. You can call getResetGain(this.layer, useType = "static") or similar to calculate what your gain would be under another prestige type (provided you have all of the required features in the layer.)

  • getNextAt(canMax=false): For custom prestige type, 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'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 = "static") 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.)

  • canReset(): For custom prestige type, return true only if you have the resources required to do a prestige here.

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/main-mod-info/index.html b/public/gamedevtree/docs/main-mod-info/index.html index 6f1090a72..347a67071 100644 --- a/public/gamedevtree/docs/main-mod-info/index.html +++ b/public/gamedevtree/docs/main-mod-info/index.html @@ -6,8 +6,8 @@ mod.js | The Paper Pilot - - + + @@ -28,8 +28,8 @@ happiness: new Decimal(72), }}
  • 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't take up a line).

  • isEndgame(): A function to determine if the player has reached the end of the game, at which point the "you win!" screen appears.

Less important things beyond this point!

  • 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).
- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/milestones/index.html b/public/gamedevtree/docs/milestones/index.html index 70a55fabc..74eb9b8f9 100644 --- a/public/gamedevtree/docs/milestones/index.html +++ b/public/gamedevtree/docs/milestones/index.html @@ -6,8 +6,8 @@ Milestones | The Paper Pilot - - + + @@ -29,8 +29,8 @@ }

You can use hasMilestone(layer, id) to determine if the player has a given milestone

Milestone features:

  • requirementDesc: A string describing the requirement for unlocking this milestone. Suggestion: Use a "total". It can also be a function that returns updating text. Can use basic HTML.

  • effectDesc: A string describing the reward for having the milestone. You will have to implement the reward elsewhere. It can also be a function that returns updating text. Can use basic HTML.

  • done(): A function returning a boolean to determine if the milestone should be awarded.

  • toggles: optional, 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. [["b", "auto"], ["g", "auto"])

         **Tip:** Toggles are not de-set if the milestone becomes locked! In this case, you should also check if the player has the milestone.
     
  • style: Optional, 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)

  • unlocked(): Optional A function returning a boolean to determine if the milestone should be shown. If absent, it is always shown.

  • layer: Assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: Assigned automagically. It's the "key" which the milestone was stored under, for convenient access. The milestone in the example's id is 0.

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/subtabs-and-microtabs/index.html b/public/gamedevtree/docs/subtabs-and-microtabs/index.html index 4c5435c64..31229b582 100644 --- a/public/gamedevtree/docs/subtabs-and-microtabs/index.html +++ b/public/gamedevtree/docs/subtabs-and-microtabs/index.html @@ -6,8 +6,8 @@ Subtabs and Microtabs | The Paper Pilot - - + + @@ -46,8 +46,8 @@ } },

Normal subtabs and microtab subtabs both use the same features:

Features:

  • content: The tab layout code for the subtab, in the tab layout format

  • style: Optional, Applies CSS to the whole subtab when switched to, in the form of an "CSS Object", where the keys are CSS attributes, and the values are the values for those attributes (both as strings)

  • buttonStyle: Optional, A CSS object, which affects the appearance of the button for that subtab.

  • unlocked(): Optional, a function to determine if the button for this subtab should be visible. By default, a subtab is always unlocked. (You can't use the "this" keyword in this function.)

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/updating-tmt/index.html b/public/gamedevtree/docs/updating-tmt/index.html index be0e61092..7d02bb7f7 100644 --- a/public/gamedevtree/docs/updating-tmt/index.html +++ b/public/gamedevtree/docs/updating-tmt/index.html @@ -6,8 +6,8 @@ Updating The Modding Tree | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

Updating The Modding Tree

This tutorial assumes that you have used the Getting Started Tutorial, and are using Github Desktop and VSCode for your mod.

Here's what you have to do when there's a TMT update:

  1. Look at the changelog. It will warn you if the update will break anything or require any changes. Decide if you want to try to update.

  2. Open Github Desktop, and at the top middle, click "fetch origin". This will make Github Desktop get information about the update.

  3. Click where it says "current branch: master" at the top middle, and at the bottom of the thing that appears, click "choose a branch to merge into master.

  4. Select upstream/master. It will likely say there are conflicts, but you have tools to resolve them. Click "Merge upstream/master into master".

  5. A conflict happens when the things you're trying to merge have both made changes in the same place. Click "open in Visual Studio Code" next to the first file.

  6. Scroll down through the file, and look for the parts highlighted in red and green. One of these is your code, and the other is some code that will be modified by the update. Do your best to try to edit things to keep the updated changes, but keep your content.

  7. Continue to do this for all remaining challenges.

  8. Do any other changes required by the update, run the game, fix issues, etc.

- - + + \ No newline at end of file diff --git a/public/gamedevtree/docs/upgrades/index.html b/public/gamedevtree/docs/upgrades/index.html index d43679731..f03bac674 100644 --- a/public/gamedevtree/docs/upgrades/index.html +++ b/public/gamedevtree/docs/upgrades/index.html @@ -6,8 +6,8 @@ Upgrades | The Paper Pilot - - + + @@ -31,8 +31,8 @@ etc }

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:

  • title: optional, displayed at the top in a larger font It can also be a function that returns updating text. Can use basic HTML.

  • description: A description of the upgrade's effect. You will also have to implement the effect where it is applied. It can also be a function that returns updating text. Can use basic HTML.

  • effect(): optional, 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.

  • effectDisplay(): optional, 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.

  • cost: A Decimal for the cost of the upgrade. By default, upgrades cost the main prestige currency for the layer.

  • unlocked(): optional, A function returning a bool to determine if the upgrade is visible or not. Default is unlocked.

  • onPurchase() - optional, this function will be called when the upgrade is purchased. Good for upgrades like "makes this layer act like it was unlocked first".

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):

  • currencyDisplayName: optional, the name to display for the currency for the upgrade

  • currencyInternalName: optional, the internal name for that currency

  • currencyLayer: optional, the internal name of the layer that currency is stored in. If it's not in a layer (like Points), omit. If it's not stored directly in a layer, instead use the next feature.

  • currencyLocation: optional, if your currency is stored in something inside a layer (e.g. a buyable's amount), you can access it this way. This is a function returning the object in "player" that contains the value (like player[this.layer].buyables)

  • style: Optional, 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)

  • layer: Assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: Assigned automagically. It's the "key" which the upgrade was stored under, for convenient access. The upgrade in the example's id is 11.

- - + + \ No newline at end of file diff --git a/public/kronos/Old Things/2.0-format-changes/index.html b/public/kronos/Old Things/2.0-format-changes/index.html index 039c3355a..dfe5d8be9 100644 --- a/public/kronos/Old Things/2.0-format-changes/index.html +++ b/public/kronos/Old Things/2.0-format-changes/index.html @@ -6,8 +6,8 @@ 2.0 format changes | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

2.0 format changes

  • Temp format is changed from temp.something[layer] to temp[layer].something, for consistency
  • Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
  • effectDisplay in Challenges and Upgrades no longer takes an argument, and neither does effect for Buyables
  • Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
  • Generation of Points now happens in the main game loop (not in a layer update function), enabled by canGenPoints in game.js.
  • Changed fullLayerReset to layerDataReset, which takes an array of names of values to keep

In addition, many names were changed, mostly expanding abbreviations:

All instances of:

  • chall -> challenge
  • unl -> unlocked
  • upg -> upgrade (besides CSS)
  • amt -> amount
  • desc -> description
  • resCeil -> roundUpCost
  • order -> unlockOrder
  • incr_order -> increaseUnlockOrder

Challenges:

  • desc -> challengeDescription
  • reward -> rewardDescription
  • effect -> rewardEffect
  • effectDisplay -> rewardDisplay
  • active -> challengeActive
- - + + \ No newline at end of file diff --git a/public/kronos/README/index.html b/public/kronos/README/index.html index b3c3610b3..9616481c5 100644 --- a/public/kronos/README/index.html +++ b/public/kronos/README/index.html @@ -6,8 +6,8 @@ Kronos | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

Kronos

Play here.

Updating the website:

  • git submodule update --remote
  • git add -A
  • git commit -m "Updated kronos"
  • git push
- - + + \ No newline at end of file diff --git a/public/kronos/changelog/index.html b/public/kronos/changelog/index.html index 957ccb7ff..b906e8710 100644 --- a/public/kronos/changelog/index.html +++ b/public/kronos/changelog/index.html @@ -6,8 +6,8 @@ The Modding Tree changelog: | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

The Modding Tree changelog:

v2.5.9.2 - 5/19/21

  • Fixed many issues with things not updating.

v2.5.9.1 - 5/18/21

  • Made text inputs never give NaNs.

v2.5.9 - 5/18/21

  • Fixed issue when using text inputs for Numbers.
  • Added particle color feature.
  • Particle speed and dir are updated as it moves.
  • Added setSpeed and setDir for particles.
  • Added more trig functions.

v2.5.8 - 5/17/21

  • Added makeShinies, which creates a stationary particle in a random spot.
  • Bars will visually update more quickly.
  • Fixed a major particle-related issue.
  • Fixed autoUpgrade.
  • Fixed a minor visual issue with tree nodes.

v2.5.7 - 5/15/21

  • Added a particle system! Not only can it be used for visual effects, but particles can interact with the mouse. They could be used to create golden cookies or collectables, for example.
  • Added marked feature to buyables, clickables, and challenges. By default, stars multi-completion challenges when maxed.
  • Added 'deactivated' feature to layers, which disables many features.
  • Improved number formatting slightly.

v2.5.6 - 5/14/21

  • You can now use non-numeric ids for upgrades, buyables, etc.
  • Fixed an exploit that let you buy an extra buyable.
  • Moved basic getter/setter functions to easyAccess.js.

v2.5.5.2 - 5/12/21

  • Fixed a major issue with buyables.
  • Fixed a variety of tabFormat-related issues.
  • Fixed commas appearing in decimal places (thanks to pg132!)

v2.5.5.1 - 5/12/21

  • Fixed clickables.

v2.5.5 - 5/12/21

  • Added grids! They are a grid of buttons which behave the same, but have their own data. Good for inventory grids, map tiles, and more!
  • Added "marked" feature to add a mark to a node. Can be an image instead of a star. (Originally by Jacorb)
  • Added "layer-proxy" component that lets you use components from another layer.
  • Added the ability to display non-whole numbers in main-display.

v2.5.4 - 5/10/21

  • Added a setting to always use single-tab mode.
  • Added directMult, which multiplies prestige gain after exponents and softcaps. It actually multiplies gain for static layers.
  • Added onEnter and onExit for challenges.
  • Improved displaying numbers between 0.0001 and 0.1.
  • Added documentation on how gainMult/Exp work for static layers.
  • Fixed a visual issue on mobile, thanks to thepaperpilot.
  • Improved documentation in general.

v2.5.3 - 5/8/21

  • Improved performance of tab formats and bars.
  • Respec confirmation settings are now kept on resets.
  • Improved compatibility with older browsers.
  • Fixed missing pixel on vertical bars.

v2.5.2.1 - 5/7/21

  • Fixed microtabs making layers highlight incorrectly.

v2.5.2 - 5/7/21

  • Added glowColor for subtabs.
  • Improved the display for extremely small numbers.
  • Fixed issues in the buyable docs.

v2.5.1 - 5/7/21

  • Fixed dynamic things in tabFormat not updating.

v2.5: Dreams Really Do Come True - 5/7/21

  • Optimizations, hopefully a significant amount.
  • Added OOM/s point gen display at high values (thanks to Ducdat!)
  • Only one tab will display if the window is not wide enough (also thanks to Ducdat!)
  • Holding down a buyable's button now buys it continuously.
  • New milestone setting will also show the most recently unlocked milestone. (Also renamed all settings to be clearer)
  • Added an onHold feature for clickables.
  • Layer nodes will be highlighted even if the player is on the same tab.
  • Added customizable node glowColor.
  • Added buyable purchaseLimit.
  • Amount is automatically supplied to buyable cost and effect functions.
  • Locked (not yet visible) milestones no longer take up space. Also fixed hidden milestones taking a tiny bit of space.
  • Re-centered respec buttons.
  • Force-displayed tooltips are not hidden by resets.
  • Added formatting support for very small numbers. Disabled in most places by default because rounding errors might cause issues. Access it with formatSmall, or enable it globally by adding "allowSmall: true" to modInfo.

v2.4.1 - 4/29/21

  • A number of minor fixes, many thanks to thepaperpilot.
  • The respec confirmation checkbox is now part of the respec-button component. (This also fixes the checkbox appearing when there is no respec button)
  • Added a few undocumented changes to the 2.4 changelog (the two at the bottom)

v2.4: Rationalized Edition - 4/29/21

  • Completely reworked tooltips. Shift-click a node to force its tooltip to stay displayed. (And hopefully finally fixed flickering!)

  • Added text-input and slider components.

  • Added the ability to toggle respec confirmations.

  • Added custom respec confirmation messages.

  • The red layer highlight will not appear before a layer is unlocked.

  • Added unlocking hotkeys.

  • You no longer need to supply 'rows' and 'cols' for any Big Features.

  • Node symbols can use HTML.

  • Added documentation for the respec button.

  • Added prestigeNotify to subtabs, and prestigeNotify in subtabs also highlights the layer node.

  • The version number no longer contains special characters or irrational numbers.

  • Added ctrlDown and shiftDown variables.

  • Tooltips now use HTML (this means you need to replace any newlines with
    )

v2.Ï€.1 - 4/7/21

  • Fixed formatting for some larger numbers.
  • Upgrades will expand if there is too much text to display.
  • Fixed styling challenges.
  • No longer attempts to display a base currency when there is none.

v2.Ï€: Incrementally Updated - 2/5/21

  • Performance improvements.
  • Fixed tooltips overlapping with the top display.
  • Clicking a popup dismisses it immediately.
  • Added support for bulk challenge completions.
  • "Best" is updated automatically.
  • Fixed keeping Decimal values on reset.
  • Code reorganization and style improvements by fudo.

v2.3.5 - 12/21/20

  • Added resetTime, which tracks the time since a layer prestiged or was reset.
  • A layer node will be highlighted red if one of its subtabs is highlighted red.
  • Fixed issues with keeping challenges, buyables, and clickables on reset.
  • Improved the unlocking of custom layers.
  • Other minor fixes.

v2.3.4 - 12/16/20

  • Added a node image feature.
  • Resource display now always shows the amount of the currency the layer's gain is based on.
  • Added spacing between tree nodes.
  • Another attempt to fix tooltip flickering.

v2.3.3 - 12/13/20

  • Fixed the first node in a row always taking up space.
  • layerShown is now optional.
  • All prestige types can now use features for custom prestige types.

v2.3.2 - 12/13/20

  • Fixed achievement/milestone popups.

v2.3.1 - 12/12/20

  • Another attempt to fix flickering tooltips.
  • The "this" keyword should work everywhere except tabFormat arrays (although I may have missed some things).
  • Fixed tree branches not updating when scrolling on the right-side tab.
  • Fixed a spacing issue when a node's symbol is ""
  • Removed some old, unneeded files.

v2.3: Cooler and Newer Edition - 12/10/20

  • Added achievement/milestone popups (thank you to Jacorb for this contribution!)
  • The changelog tab is back, and can be set in mod.js.
  • Layer nodes and respec buttons will not be clicked by pressing "enter".
  • Possible fix for flickering tooltips and strange transitions.
  • The victory screen text is configurable.
  • Added image and textStyle features to achievements.
  • Added an argument to use specific rows in an "upgrades" component.
  • Fixed the comma appearing in the main display when there was no effectDescription
  • Added the ability to easily make a tab that is a collection of layers in subtabs.
  • Improved spacing for embedding layers with subtabs into subtabs.

v2.2.8 - 12/03/20

  • Double-clicking a layer node brings you to the main subtab for that layer.
  • Attempted to fix challenges visually updating a different way.
  • Added a softcap function for use in formulas.
  • Added displayRow feature, which lets layers be shown somewhere separate from where they are in the reset order (e.g. side layers)
  • Fixed autoupgrade issue.

v2.2.7 - 11/30/20

  • Added autoUpgrade feature.
  • resource-display now shows resource gain per second if passiveGain is active.
  • Fixed formatting issues on some large numbers.
  • Better support for using classed objects in player and in layers/tmp.
  • Made hard resetting more effective.
  • Removed Herobrine from getStartClickables.

v2.2.6 - 11/30/20

  • Added goalDescription for challenges and made the new "canComplete" system the standard.
  • Another attempt to fix challenges not visually updating.
  • Fixed side layers not appearing.
  • Fixed getStartClickables again.

v2.2.5 - 11/29/20

  • Added features for overriding the displays and costs/goals of upgrades and challenges to make them fully custom.
  • best, total, and unlocked are always automatically added to layerData (but best and total will only display if you add them yourself).
  • Fixed getStartClickables.

v2.2.4 - 11/28/20

  • Added softcap and softcapPower features (for Normal layers)
  • Offline time limit and default max tick length were fixed (previously the limits were 1000x too large)
  • Added fixOldSaves.
  • You can use HTML in main-display.
  • Fixed a number of minor oddities.

v2.2.3 - 11/28/20

  • Layers will be highlighted if you can finish a challenge.
  • The "can complete challenge" color now overrides the "already completed" color.
  • Button nodes now work as side "layers".
  • Setting a tooltip to "" hides it entirely.

v2.2.2 - 11/22/20

  • Fixed right half of the screen being unclickable in some circumstances.
  • Fixed tree branches being offset.
  • Fix to lastSafeTab.

v2.2.1 - 11/7/20

  • Added a small highlight to layers you can meaningfully prestige on.
  • Added passiveGeneration and autoPrestige features to standardize prestige automation. (The old ways still work, but the new ones work better with other things)
  • Improved milestones visually a bit.
  • "best" and "total" are now only displayed if present in startData.
  • Fixed issues with things not updating visually. (Thank you to to Jacorb!)
  • Side layers and button nodes can now be highlighted.
  • Updated docs on the new tree-related features.

v2.2: Uprooted - 11/7/20

  • You can now embed a layer inside of a subtab or microtab!
  • Added support for hiding or reformatting the tree tab
  • Added non-layer button nodes
  • Added shouldNotify to subtab/microtab buttons. (You can make them highlighted)
  • Added commas to large exponents.
  • Upgrades now only show "currently" if they have an effectDisplay (so not for constant effects).
  • Achievements are part of the default tab format.
  • NaN is now handled more intelligently.
  • Renamed files, and moved less relevant ones to another folder.
  • The "hide completed challenges" setting now only hides challenges at max completions.
  • Thank you to thepaperpilot for fixing errors in docs and improving the infobox appearance!
  • Many other minor fixes.

v2.1.4 - 10/25/20

  • Added an infobox component. Thank you to thepaperpilot for this contribution!
  • Layer type is now optional, and defaults to "none".
  • Improved the look of bars and tab buttons.
  • Improved spacing between layer nodes (also thanks to thepaperpilot!)
  • Fixed the "blank" component breaking if only specifying the height.
  • Fixed some numbers not displaying with enough digits.
  • Made a few more things able to be functions.
  • A few other minor fixes.

v2.1.3.1 - 10/21/20

  • Fixed the update function.

v2.1.3 - 10/21/20

  • gainMult and gainExp are now optional.
  • Layer unlocking is now kept on reset.
  • Game should start up faster.
  • Layer updates now have a determined order and starts with earlier-rowed layers.
  • Automation now has a determined order and starts with later-rowed layers.
  • Fixed issues with resetting clickables and challenges.
  • Commas should no longer appear in the decimal places of a number.
  • Fixed potential issue in displaying the tree.

v2.1.2 - 10/19/20

  • Added buyUpgrade function (buyUpg still works though)
  • Added author name to modInfo.
  • Fix to crash caused when the name of a subtab or microtab is changed.
  • Fixes to outdated information in docs.
  • Improvements to Discord links.
  • Thank you to thepaperpilot for contributing to this update!

v2.1.1 - 10/17/20

  • Added resource-display component, which displays the base currency for the prestige layer, as well as the best and/or total of this layer's prestige currency.
  • Fixed the value for the base currency not updating in resource-display.

v2.1: We should have thought of this sooner! - 10/17/20

  • Moved most of the code users will want to edit to mod.js, added documentation for it.
    • Specifically, modInfo, VERSION, canGenPoints, getPointGen, and maxTickLength
  • Added getStartPoints()
  • Added the ability to store non-layer-related data
  • Added the ability to display more things at the top of the tree tab below points.
  • Made the endgame condition customizable
  • Added "sell one" and "sell all" buttons for buyables.
  • Moved the old "game" to demo.js, and replaced it with a minimal game that won't cause issues when edited.
  • Fixed issues with version number
  • Fixed number formatting issue making things like "10e9" appear.

v2.0.5 - 10/16/20

  • Made more features (including prestige parameters) able to be dynamic.
  • Layer nodes can be hidden but still take up space with "ghost" visibility
  • Added clickableEffect for real.
  • Fixed some visual issues with bars.
  • A few other minor tweaks and improvements.

v2.0.4 - 10/16/20

  • Fixed HTML on buttons interfering with clicking on them.

v2.0.3 - 10/16/20

  • Fixed hotkeys not displaying in info.
  • Fixed the game supressing all external hotkeys.
  • You can use more things as currencies for upgrade costs and challenge goals using currencyLocation.
  • Added maxTickLength, which can be used to prevent offline time or tab-switching from breaking time-limit based mechanics.
  • Made buyable respec buttons and clickable "master" buttons their own components, and gave them a hide/show feature.
  • Added a general "tooltip" feature for achievements.

v2.0.2 - 10/15/20

  • Branches are now dynamic (they can be functions).
  • Fixed a crash related to offline time.
  • Fixed links being too wide.

v2.0.1 - 10/15/20

  • Fixed side layers appearing multiple times.

v2.0: The Pinnacle of Achievement Mountain - 10/15/20

  • Added progress bars, which are highly customizable and can be horizontal or vertical!
  • Added "side layers", displayed smaller and off to the side, and don't get reset by default. They can be used for global achievements and statistics. Speaking of which...
  • Added achievements!
  • Added clickables, a more generalized variant of buyables.
  • Almost every value in layer data can be either a function or a constant value!
  • Added support for multiple completions of challenges.
  • Added "none" prestige type, which removes the need for any other prestige-related features.
  • The points display and other gui elements stay at the top of the screen when the tree scrolls.
  • Added getter/setter functions for the amounts and effects of most Big Features
  • Moved modInfo to game.js, added a spot in modInfo for a Discord link, changelog link. Also added a separate mod version from the TMT version in VERSION.
  • Tree structure is based on layer data, no index.html editing is needed.
  • Tmp does not need to be manually updated.
  • You don't have to have the same amount of upgrades in every row (and challs and buyables)
  • "unlocked" is optional for all Big Components (defaults to true).
  • All displays will update correctly.
  • Changelog is no longer in index.html at all.
  • Generation of Points now happens in the main game loop
  • Changed the reset functions to make keeping things easier
  • Renamed many things to increase readability (see the list in the link below)
  • Improved documentation based on feedback

v1.3.5:

  • Completely automated convertToDecimal, now you never have to worry about it again.
  • Branches can be defined without a color id. But they can also use hex values for color ids!
  • Created a tutorial for getting started with TMT and Github.
  • Page title is now automatically taken from mod name.

v1.3.4 - 10/8/20

  • Added "midsection" feature to add things to a tab's layout while still keeping the standard layout.
  • Fix for being able to buy more buyables than you should.

v1.3.3 - 10/7/20

  • Fix for the "order of operations" issue in temp.

v1.3.1 - 10/7/20

  • Added custom CSS and tooltips for Layer Nodes.
  • Added custom CSS for upgrades, buyables, milestones, and challenges, both individually and layer-wide.
  • You can now use HTML in most display text!
  • You can now make milestones unlockable and not display immediately.
  • Fixed importing saves, and issue with upgrades not appearing, and probably more.
  • Optional "name" layer feature, used in confirmation messages.

v1.3: Tabception... ception! - 10/7/20

  • Added subtabs! And also a Micro-tab component to let you make smaller subtab-esque areas anywhere.
  • Added a "custom" prestige formula type, and a number of features to support it.
  • Added points/sec display (can be disabled).
  • Added h-line, v-line and image-display components, plus components for individual upgrades, challenges, and milestones.
  • Added upgEffect, buyableEffect, and challEffect functions.
  • Added "hide completed challenges" setting.
  • Moved old changelogs to a separate place.
  • Fixed hasMilestone and incr_order.
  • Static layers now show the currency amount needed for the next one if you can buy max.

v1.2.4 - 10/4/20

  • Layers are now highlighted if you can buy an upgrade, and a new feature, shouldNotify, lets you make it highlight other ways.
  • Fixed bugs with hasUpg, hasChall, hasMilestone, and inChallenge.
  • Changed the sample code to use the above functions for convenience.

v1.2.3 - 10/3/20

  • Added a row component, which displays a list of objects in a row.
  • Added a column component, which displays a list of objects in a column (useful within a row).
  • Changed blanks to have a customizable width and height.

v1.2: This Changes Everything! - 10/3/20

  • Many layer features can now be static values or functions. (This made some formats change, which will break old things)
  • You can now use the "this" keyword, to make code easier to transfer when making new layers.
  • Also added "this.layer", which is the current layer's name, and works on existing subfeatures (e.g. individual upgrades) as well! Subfeatures also have "this.id".
  • Fixed a big save issue. If you use a unique mod id, your save will never conflict with other mods.
  • Added a configurable offline time limit in modinfo at the top of index.html. (default 1 hour)
  • Added a few minor features, and updated the docs with new information.

v1.1.1 - 9/30/20

  • You can define hotkeys directly from layer config.

v1.1: Enhanced Edition - 9/30/20

  • Added "Buyables", which can function like Space Buildings or Enhancers.
  • Custom CSS can now be used on any component! Make the third argument an object with CSS parameters.
  • Lots of minor good things.

v1.0 - 9/27/20

  • First release.
- - + + \ No newline at end of file diff --git a/public/kronos/docs/!general-info/index.html b/public/kronos/docs/!general-info/index.html index 51c7a5f93..793a50531 100644 --- a/public/kronos/docs/!general-info/index.html +++ b/public/kronos/docs/!general-info/index.html @@ -6,8 +6,8 @@ The-Modding-Tree | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

The-Modding-Tree

Making a game in The Modding Tree mostly involves defining parameters or functions on objects. If you aren't following the getting started guide, you should start by setting up your basic mod info in mod.js. It's important to set a mod id to ensure saving works properly.

Beyond that, the main way to add content is through creating layers, often in layers.js. You can add new layers by calling addLayer(layername, layerdata). There is an example of a basic layer in layers.js showing the recommended method. It is just an example and can be freely deleted. You can also use it as a reference or a base for your own layers.

Most of the time, you won't need to dive deep into the code to create things, but you still can if you really want to, for example to add new Vue components in components.js.

The Modding Tree uses break_eternity.js to store large values. This means that many numbers are Decimal objects, and must be treated differently. For example, you have to use new Decimal(x) to create a Decimal value instead of a plain number, and perform operations on them by calling functions. e.g, instead of x = x + y, use x = x.add(y). Keep in mind this also applies to comparison operators, which should be replaced with calling the .gt, .gte, .lt, .lte, .eq, and .neq functions. See the break_eternity.js docs for more details on working with Decimal values.

Almost all values can be either a constant value, or a dynamic value. Dynamic values are defined by putting a function that returns what the value should be at any given time.

All display text can use basic HTML elements (But you can't use most Vue features there).

While reading this documentation, the following key will be used when describing features:

  • No label: This is required and the game may crash if it isn't included.
  • sometimes required: This is may be required, depending on other things in the layer.
  • optional: You can leave this out if you don't intend to use that feature for the layer.
  • assigned automagically: This value will be set automatically and override any value you set.
  • deprecated: This feature is not recommended to be used, because newer features are able to achieve the same thing in a better, easier way.

Table of Contents

General

  • Getting Started: Getting your own copy of the code set up with Github Desktop.
  • Main mod info: How to set up general things for your mod in mod.js.
  • Basic layer breakdown: Breaking down the components of a layer with minimal features.
  • Layer features: Explanations of all of the different properties that you can give a layer.
  • Custom Tab Layouts: An optional way to give your tabs a different layout. You can even create entirely new components to use.
  • Custom game layouts: You can get rid of the tree tab, add buttons and other things to the tree, or even customize the tab's layout like a layer tab.
  • Updating TMT: Using Github Desktop to update your mod's version of TMT.

Common components

  • Upgrades: How to create upgrades for a layer.
  • Milestones: How to create milestones for a layer.
  • Buyables: Create rebuyable upgrades for your layer (with the option to make them respec-able). Can be used to make Enhancers or Space Buildings, for example.
  • Clickables: A more generalized variant of buyables, for any kind of thing that is sometimes clickable. Between these and Buyables, you can do just about anything.
  • Achievements: How to create achievements for a layer (or for the whole game).

Other components and features

  • Challenges: How to create challenges for a layer.
  • Bars: Display some information as a progress bar, gauge, or similar. They are highly customizable, and can be horizontal and vertical as well.
  • Subtabs and Microtabs: Create subtabs for your tabs, as well as "microtab" components that you can put inside the tabs. You can even use them to embed a layer inside another layer!
  • [Grids][grids.md]: Create a group buttons that behave the same, but have their own data. Good for map tiles, an inventory grid, and more!
  • Infoboxes: Boxes containing text that can be shown or hidden.
  • Trees: Make your own trees. You can make non-layer button nodes too!
  • Particle system: Can be used to create particles for visual effects, but also interactable things like golden cookies or collectables.
- - + + \ No newline at end of file diff --git a/public/kronos/docs/achievements/index.html b/public/kronos/docs/achievements/index.html index d486c08cc..4a0afbc35 100644 --- a/public/kronos/docs/achievements/index.html +++ b/public/kronos/docs/achievements/index.html @@ -6,8 +6,8 @@ Achievements | The Paper Pilot - - + + @@ -29,8 +29,8 @@ etc }

Usually, 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:

  • name: optional. 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.

  • done(): A function returning a boolean to determine if the achievement should be awarded.

  • 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 "" disables the tooltip.

  • effect(): optional. 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.

  • unlocked(): optional. A function returning a bool to determine if the achievement is visible or not. Default is unlocked.

  • onComplete() - optional. this function will be called when the achievement is completed.

  • image: optional, puts the image from the given URL (relative or absolute) in the achievement

  • style: optional. 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).

  • textStyle: optional. 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).

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the achievement was stored under, for convenient access. The achievement in the example's id is 11.

  • goalTooltip: optional, deprecated. 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.

  • doneTooltip: optional, deprecated. 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.

Disable achievement popups by adding achievementsPopups: false to the layer.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/bars/index.html b/public/kronos/docs/bars/index.html index fc4e82711..9ce5d9dc8 100644 --- a/public/kronos/docs/bars/index.html +++ b/public/kronos/docs/bars/index.html @@ -6,8 +6,8 @@ Bars | The Paper Pilot - - + + @@ -32,8 +32,8 @@ etc }

Features:

  • 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.

  • width, height: The size in pixels of the bar, but as numbers (no "px" at the end).

  • progress(): A function that returns the portion of the bar that is filled, from "empty" at 0 to "full" at 1, updating automatically. (Nothing bad happens if the value goes out of these bounds, and it can be a number or Decimal)

  • display(): optional. A function that returns text to be displayed on top of the bar, can use HTML.

  • unlocked(): optional. A function returning a bool to determine if the bar is visible or not. Default is unlocked.

  • baseStyle, fillStyle, borderStyle, textStyle: Optional, 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).

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the bar was stored under, for convenient access. The bar in the example's id is "bigBar".

- - + + \ No newline at end of file diff --git a/public/kronos/docs/basic-layer-breakdown/index.html b/public/kronos/docs/basic-layer-breakdown/index.html index d3b5ef6f2..38da34625 100644 --- a/public/kronos/docs/basic-layer-breakdown/index.html +++ b/public/kronos/docs/basic-layer-breakdown/index.html @@ -6,8 +6,8 @@ Basic layer breakdown | The Paper Pilot - - + + @@ -54,8 +54,8 @@ }, }) - - + + \ No newline at end of file diff --git a/public/kronos/docs/buyables/index.html b/public/kronos/docs/buyables/index.html index 3cc378b5a..e726d97dd 100644 --- a/public/kronos/docs/buyables/index.html +++ b/public/kronos/docs/buyables/index.html @@ -6,8 +6,8 @@ Buyables | The Paper Pilot - - + + @@ -35,8 +35,8 @@ etc }

Features:

  • title: optional. displayed at the top in a larger font. It can also be a function that returns updating text.

  • cost(): cost for buying the next buyable. Can have an optional argument "x" to calculate the cost of the x+1th purchase. (x is a Decimal). Can return an object if there are multiple currencies.

  • effect(): optional. A function that calculates and returns the current values of bonuses of this buyable. Can have an optional argument "x" to calculate the effect of having x of the buyable.. Can return a value or an object containing multiple values.

  • 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.

  • unlocked(): optional. A function returning a bool to determine if the buyable is visible or not. Default is unlocked.

  • canAfford(): A function returning a bool to determine if you can buy one of the buyables.

  • buy(): A function that implements buying one of the buyable, including spending the currency.

  • buyMax(): optional. A function that implements buying as many of the buyable as possible.

  • style: optional. 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).

  • purchaseLimit: optional. The limit on how many of the buyable can be bought. The default is no limit.

  • marked: optional Adds a mark to the corner of the buyable. If it's "true" it will be a star, but it can also be an image URL.

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the buyable was stored under, for convenient access. The buyable in the example's id is 11.

Sell One/Sell All:

Including a sellOne or sellAll function will cause an additional button to appear beneath the buyable. They are functionally identical, but "sell one" appears above "sell all". You can also use them for other things.

  • sellOne/sellAll(): optional. 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.

  • canSellOne/canSellAll(): optional. booleans determining whether or not to show the buttons. If "canSellOne/All" is absent but "sellOne/All" is present, the appropriate button will always show.

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:

  • respec(): optional. This is called when the button is pressed (after a toggleable confirmation message).

  • respecText: optional. Text to display on the respec Button.

  • showRespec(): optional. A function determining whether or not to show the button, if respecBuyables is defined. Defaults to true if absent.

  • respecMessage: optional. A custom confirmation message on respec, in place of the default one.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/challenges/index.html b/public/kronos/docs/challenges/index.html index 243edf77f..6a25bbfb6 100644 --- a/public/kronos/docs/challenges/index.html +++ b/public/kronos/docs/challenges/index.html @@ -6,8 +6,8 @@ Challenges | The Paper Pilot - - + + @@ -31,8 +31,8 @@ etc }

Usually, 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:

  • name: Name of the challenge, can be a string or a function. Can use basic HTML.

  • challengeDescription: A description of what makes the challenge a challenge. You will need to implement these elsewhere. It can also be a function that returns updating text. Can use basic HTML.

  • 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)

  • 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)

  • rewardDescription: A description of the reward's effect. You will also have to implement the effect where it is applied. It can also be a function that returns updating text. Can use basic HTML.

  • rewardEffect(): optional. 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.

  • rewardDisplay(): optional. 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.

  • fullDisplay(): OVERRIDE. Overrides the other displays and descriptions, and lets you set the full text for the challenge. Can use basic HTML.

  • unlocked(): optional. A function returning a bool to determine if the challenge is visible or not. Default is unlocked.

  • onComplete() - optional. this function will be called when the challenge is completed when previously incomplete.

  • onEnter() - optional. this function will be called when entering the challenge

  • onExit() - optional. this function will be called when exiting the challenge in any way

  • countsAs: optional. 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.

  • completionLimit: optional. the amount of times you can complete this challenge. Default is 1 completion.

  • style: optional. 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).

  • marked: optional Adds a mark to the corner of the challenge. If it's "true" 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.

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: assigned automagically. It's the "key" which the challenge was stored under, for convenient access. The challenge in the example's id is 11.

The old goal system uses these features:

  • goal: deprecated, 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.

  • currencyDisplayName: deprecated. the name to display for the currency for the goal

  • currencyInternalName: deprecated. the internal name for that currency

  • currencyLayer: deprecated. the internal name of the layer that currency is stored in. If it's not in a layer, omit. If it's not stored directly in a layer, instead use the next feature.

  • currencyLocation(): deprecated. if your currency is stored in something inside a layer (e.g. a buyable's amount), you can access it this way. This is a function returning the object in "player" that contains the value (like player[this.layer].buyables)

- - + + \ No newline at end of file diff --git a/public/kronos/docs/clickables/index.html b/public/kronos/docs/clickables/index.html index 8453ade35..f25c36cfb 100644 --- a/public/kronos/docs/clickables/index.html +++ b/public/kronos/docs/clickables/index.html @@ -6,8 +6,8 @@ Clickables | The Paper Pilot - - + + @@ -29,8 +29,8 @@ etc }

Features:

  • title: optional. displayed at the top in a larger font. It can also be a function that returns updating text.

  • effect(): optional. A function that calculates and returns the current values of bonuses of this clickable. Can return a value or an object containing multiple values.

  • 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.

  • unlocked(): optional. A function returning a bool to determine if the clickable is visible or not. Default is unlocked.

  • canClick(): A function returning a bool to determine if you can click the clickable.

  • onClick(): A function that implements clicking the clickable.

  • onHold(): optional A function that is called 20x/sec when the button is held for at least 0.25 seconds.

  • style: optional. 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).

  • marked: optional Adds a mark to the corner of the clickable. If it's "true" it will be a star, but it can also be an image URL.

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the clickable was stored under, for convenient access. The clickable in the example's id is 11.

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.

  • masterButtonPress(): optional. If present, an additional button will appear above the clickables. Pressing it will call this function.

  • masterButtonText: optional. Text to display on the Master Button.

  • showMasterButton(): optional. A function determining whether or not to show the button, if masterButtonPress is defined. Defaults to true if absent.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/custom-tab-layouts/index.html b/public/kronos/docs/custom-tab-layouts/index.html index aeab17b1b..765937baf 100644 --- a/public/kronos/docs/custom-tab-layouts/index.html +++ b/public/kronos/docs/custom-tab-layouts/index.html @@ -6,8 +6,8 @@ Custom tab layouts | The Paper Pilot - - + + @@ -36,8 +36,8 @@ "upgrades" ]

It is a list of components, which can be either just a name, or an array with arguments. If it'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 "CSS object", where the keys are CSS attributes.

These are the existing components, but you can create more in components.js:

  • 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.

  • raw-html: Displays some basic HTML, can also be a function.

  • blank: Adds empty space. The default dimensions are 8px x 17px. The argument changes the dimensions. If it's a single value (e.g. "20px"), that determines the height. If you have a pair of arguments, the first is width and the second is height.

  • row: Display a list of components horizontally. The argument is an array of components in the tab layout format.

  • 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.

  • 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.

  • 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's prestige currency (if they are put in startData for this layer).

  • 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.

  • 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!)

  • 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)

  • upgrades: The layer's upgrades. The argument is optional, and is a the list of rows this component should include, if it doesn't have all of them.

  • milestones, challenges, achievements: Display the upgrades, milestones, and challenges for a layer, as appropriate.

  • 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.

  • microtabs: Display a set of subtabs for an area. The argument is the name of the set of microtabs in the "microtabs" feature.

  • bar: Display a bar. The argument is the id of the bar to display.

  • infobox: Display an infobox. The argument is the id of the infobox to display.

  • 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) See here for more information on tree layouts and nodes!

  • 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. [layer, id]. 'layer' also affects the color of the toggle.

  • grid: Displays the gridable grid for the layer. If you need more than one grid, use a layer proxy.

  • layer-proxy: Lets you use components from another layer. The argument is a pair, [layer, data], 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)

The rest of the components are sub-components. They can be used just like other components, but are typically part of another component.

  • 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.

  • respec-button, master-button: The respec and master buttons for buyables and clickables, respectively.

  • sell-one, sell-all: The "sell one" and "sell all" for buyables, respectively. The argument is the id of the buyable.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/getting-started/index.html b/public/kronos/docs/getting-started/index.html index 3fea0d572..8ab28aa5e 100644 --- a/public/kronos/docs/getting-started/index.html +++ b/public/kronos/docs/getting-started/index.html @@ -6,8 +6,8 @@ Getting started | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

Getting started

Welcome to The Modding Tree!

Using the Modding Tree, at its simplest level, just requires getting a copy of it onto your computer. However, if you do it the right way, it will help in many ways.

Don't let the word "Github" scare you away. It's actually much easier to use than most people think, especially because most people use it the hard way. The key is Github Desktop, which lets you do everything you need to, without even touching the command line.

The benefits of using Github:

  • It makes it much, much easier to update The Modding Tree.
  • You can share your work without any extra effort using githack, or with a bit more effort, set up a github.io site.
  • It lets you undo changes to your code, and to have multiple versions of it.
  • It lets you collaborate with other people, if you want to.

Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:

  1. Install Github Desktop and Visual Studio Code.

  2. Make a Github account. You can handle this on your own.

  3. Log in on your browser, and go back to The Modding Tree page. At the top right, there should be a button that says "fork". Click on it, and then on your username. You now have your own fork, or copy, of The Modding Tree.

  4. Open Github Desktop and log in. Ignore everything else and choose "clone a repository". A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is downloading a copy of the repository to your computer.

  5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".

  6. Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.

Using your repository

  1. Click on "show in explorer/finder" to the right, and then open the index.html file in the folder. The page should open up on your browser. This will let you view and test your project locally!

  2. To edit your project, click "open in VSCode" in Github Desktop.

  3. Open mod.js in VSCode, and look at the top part where it has a "modInfo" object. Fill in your mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later or else it'll effectively wipe existing saves)

  4. Save mod.js, and then reload index.html in your browser. The title on the tab, as well as on the info page, will now be updated! You can reload the page every time you change the code to test it quickly and easily.

  5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit". This basically saves your work and creates a snapshot of what your code looks like at this moment, allowing you to look back at it later.

  6. At the bottom right corner, add a summary of your changes, and then click "commit to master".

  7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository.

  8. You can view your project on line, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html

And now, you have successfully used Github! You can look at the documentation to see how The Modding Tree's system works and to make your mod a reality.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/grids/index.html b/public/kronos/docs/grids/index.html index 42b6a7dee..666d1c322 100644 --- a/public/kronos/docs/grids/index.html +++ b/public/kronos/docs/grids/index.html @@ -6,8 +6,8 @@ Grids | The Paper Pilot - - + + @@ -43,8 +43,8 @@ etc }

Features:

  • rows, cols: The amount of rows and columns of gridable to display.

  • maxRows, maxCols: sometimes needed. 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.

  • getStartData(id): Creates the default data for the gridable at this position. This can be an object, or a regular value.

  • getUnlocked(id): optional. Returns true if the gridable at this position should be visible.

  • getTitle(data, id): optional. Returns text that should displayed at the top in a larger font, based on the position and data of the gridable.

  • getDisplay(data, id): optional. Returns everything that should be displayed on the gridable after the title, based on the position and data of the gridable.

  • getStyle(data, id): optional. 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).

  • getCanClick(data, id): optional. 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.

  • onClick(data, id): A function that implements clicking on the gridable, based on its position and data.

  • onHold(data, id): optional A function that is called 20x/sec when the button is held for at least 0.25 seconds.

  • getEffect(data, id): optional. A function that calculates and returns a gridable's effect, based on its position and data. (Whatever that means for a gridable)

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/infoboxes/index.html b/public/kronos/docs/infoboxes/index.html index cf6b091c1..b62368b7b 100644 --- a/public/kronos/docs/infoboxes/index.html +++ b/public/kronos/docs/infoboxes/index.html @@ -6,8 +6,8 @@ Infoboxes | The Paper Pilot - - + + @@ -30,8 +30,8 @@ etc }

Features:

  • title: The text displayed above the main box. Can be a function to be dynamic, and can use basic HTML.

  • body: The text displayed inside the box. Can be a function to be dynamic, and can use basic HTML.

  • style, titleStyle, bodyStyle: optional. 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).

  • unlocked(): optional. A function returning a bool to determine if the infobox is visible or not. Default is unlocked.

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: assigned automagically. It's the "key" which the bar was stored under, for convenient access. The infobox in the example's id is "lore".

- - + + \ No newline at end of file diff --git a/public/kronos/docs/layer-features/index.html b/public/kronos/docs/layer-features/index.html index 3b5765dcf..4dc28f6a6 100644 --- a/public/kronos/docs/layer-features/index.html +++ b/public/kronos/docs/layer-features/index.html @@ -6,8 +6,8 @@ Layer Features | The Paper Pilot - - + + @@ -34,8 +34,8 @@ "prestige-button"() { return {'color': '#AA66AA'} } }
  • deactivated: optional, 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.

Custom Prestige type

(All of these can also be used by other prestige types)

  • getResetGain(): mostly for custom prestige type. Returns how many points you should get if you reset now. You can call getResetGain(this.layer, useType = "static") or similar to calculate what your gain would be under another prestige type (provided you have all of the required features in the layer).

  • getNextAt(canMax=false): mostly for custom prestige type. 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'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 = "static") 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).

  • canReset(): mostly for custom prestige type. Return true only if you have the resources required to do a prestige here.

  • prestigeNotify(): mostly for custom prestige types, returns true if this layer should be subtly highlighted to indicate you can prestige for a meaningful gain.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/main-mod-info/index.html b/public/kronos/docs/main-mod-info/index.html index f2ea18deb..0f77b55aa 100644 --- a/public/kronos/docs/main-mod-info/index.html +++ b/public/kronos/docs/main-mod-info/index.html @@ -6,8 +6,8 @@ mod.js | The Paper Pilot - - + + @@ -28,8 +28,8 @@ happiness: new Decimal(72), }}
  • 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't take up a line).

  • isEndgame(): A function to determine if the player has reached the end of the game, at which point the "you win!" screen appears.

Less important things beyond this point!

  • 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).

  • 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.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/milestones/index.html b/public/kronos/docs/milestones/index.html index 316baba88..58691fa06 100644 --- a/public/kronos/docs/milestones/index.html +++ b/public/kronos/docs/milestones/index.html @@ -6,8 +6,8 @@ Milestones | The Paper Pilot - - + + @@ -30,8 +30,8 @@ etc }

You can use hasMilestone(layer, id) to determine if the player has a given milestone

Milestone features:

  • requirementDescription: A string describing the requirement for unlocking this milestone. Suggestion: Use a "total". It can also be a function that returns updating text. Can use basic HTML.

  • effectDescription: A string describing the reward for having the milestone. You will have to implement the reward elsewhere. It can also be a function that returns updating text. Can use basic HTML.

  • done(): A function returning a boolean to determine if the milestone should be awarded.

  • toggles: optional. 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. [["b", "auto"], ["g", "auto"])

    Tip: Toggles are not de-set if the milestone becomes locked! In this case, you should also check if the player has the milestone.

  • style: optional. 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).

  • unlocked(): optional. A function returning a boolean to determine if the milestone should be shown. If absent, it is always shown.

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the milestone was stored under, for convenient access. The milestone in the example's id is 0.

Disaable milestone popups by adding milestonePopups: false to the layer.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/particles/index.html b/public/kronos/docs/particles/index.html index 59715c360..391294d66 100644 --- a/public/kronos/docs/particles/index.html +++ b/public/kronos/docs/particles/index.html @@ -6,8 +6,8 @@ Particles | The Paper Pilot - - + + @@ -33,8 +33,8 @@ etc... }

Features can be functions or constant. These features will be called when each particle is made, with an id argument, which is assigned based on which of the amount particles being spawned this is. All of these are optional, with a default value.

All distances are in pixels and angles are in degrees, with 0 being up and going clockwise.

  • time: The amount of time, in seconds, that the particle will last. Default is 3.

  • fadeOutTime: The amount of seconds that fading out at the end should take (part of the total lifetime). Default is 1.

  • fadeInTime: The amount of seconds that fading in should take (part of the total lifetime). Default is 0.

  • image: The image the particle should display. "" will display no image. Default is a generic particle.

  • text: Displays text on the particle. Can use basic HTML.

  • style: Lets you apply other CSS styling to the particle.

  • width, height: The dimensions of the particle. Default is 35 and 35.

  • color: Sets the color of the image to this color.

  • angle: The angle that the particle should face. Default is 0.

  • dir: The initial angle that the particles should move in, before spread is factored in. Default is whatever angle is.

  • spread: If there are several particles, they will be spread out by this many degrees, centered on dir. Default is 30.

  • rotation: The amount that the (visual) angle of the particle should change by. Default is 0.

  • speed: The starting speed of the particle. Default is 15.

  • gravity: The amount the particle should accelerate downwards. Default is 0.

  • x, y: The starting coordinates of the particle. Default is at the mouse position.

  • offset: How far from the start each particle should appear. Default is 10.

  • xVel, yVel: Set initially based on other properties, then used to update movement.

  • layer: When changing tabs, if leaving the layer tab, this particle will be erased.

  • You can add other features to particles, but you must impliment their effects yourself.

Function features: These stay as functions and are for more advanced things. They are optional.

  • update(): Called each tick. Lets you do more advanced visual and movement behaviors by changing other properties.
  • onClick(), onMouseOver(), onMouseLeave(): Called when the particle is interacted with.

Other useful things that are not features of the particle object:

  • setDir(particle, dir), setSpeed(particle, speed): Set the speed/direction on a particle.
  • 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.
  • You can use Vue.delete(particles, this.id) to make a particle delete itself.
  • mouseX and mouseY are variables that track the mouse position.
  • sin(x), cos(x), tan(x): functions that do these operations, with x in degrees. (Instead of radians).
  • asin(x), acos(x), atan(x): functions that do these operations, with the returned value in degrees. (instead of radians).
- - + + \ No newline at end of file diff --git a/public/kronos/docs/subtabs-and-microtabs/index.html b/public/kronos/docs/subtabs-and-microtabs/index.html index bfd87ccec..40e9ecd72 100644 --- a/public/kronos/docs/subtabs-and-microtabs/index.html +++ b/public/kronos/docs/subtabs-and-microtabs/index.html @@ -6,8 +6,8 @@ Subtabs and Microtabs | The Paper Pilot - - + + @@ -48,8 +48,8 @@ } }

Normal subtabs and microtab subtabs both use the same features:

Features:

  • content: The tab layout code for the subtab, in the tab layout format.

  • style: optional. Applies CSS to the whole subtab when switched to, in the form of an "CSS Object", where the keys are CSS attributes, and the values are the values for those attributes (both as strings).

  • buttonStyle: optional. A CSS object, which affects the appearance of the button for that subtab.

  • unlocked(): optional. a function to determine if the button for this subtab should be visible. By default, a subtab is always unlocked. You can't use the "this" keyword in this function.

  • shouldNotify()/prestigeNotify(): optional, if true, the tab button will be highlighted to notify the player that there is something there.

  • glowColor: optional, specifies the color that the subtab glows. If this subtab is causing the main layer to node glow (and it would't otherwise) the node also glows this color. Is NOT overridden by embedding a layer.

  • embedLayer: SIGNIFICANT, the id of another layer. If you have this, it will override "content", "style" and "shouldNotify", instead displaying the entire layer in the subtab.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/trees-and-tree-customization/index.html b/public/kronos/docs/trees-and-tree-customization/index.html index 1dd954424..79d4a266e 100644 --- a/public/kronos/docs/trees-and-tree-customization/index.html +++ b/public/kronos/docs/trees-and-tree-customization/index.html @@ -6,8 +6,8 @@ Trees and tree customization | The Paper Pilot - - + + @@ -25,8 +25,8 @@ ["left", "blank", "right", "blank"] ["a", "b", "blank", "c", "weirdButton"]]

Nodes

Nodes are non-layer buttons that can go in trees. They are defined similarly to layers, but with addNode instead of addLayer.

Features:

  • color: optional, The node's color. (A string in hex format with a #)

  • symbol: optional The text on the button (The id capitalized by default)

  • canClick(): Returns true if the player can click the node. ()

  • onClick(): The function called when the node is clicked.

  • layerShown(): optional, A function returning a bool which determines if this node should be visible. It can also return "ghost", which will hide the layer, but its node will still take up space in its tree.

  • branches: optional. 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).

  • nodeStyle: optional. A CSS object, where the keys are CSS attributes, which styles this node on the tree.

  • tooltip() / tooltipLocked(): optional. 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.

  • row: optional, the row that this node appears in (for the default tree).

  • position: optional, 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.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/updating-tmt/index.html b/public/kronos/docs/updating-tmt/index.html index a0985f153..8b1d0ec61 100644 --- a/public/kronos/docs/updating-tmt/index.html +++ b/public/kronos/docs/updating-tmt/index.html @@ -6,8 +6,8 @@ Updating The Modding Tree | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

Updating The Modding Tree

This tutorial assumes that you have used the Getting Started Tutorial, and are using Github Desktop and VSCode for your mod.

Here's what you have to do when there's a TMT update:

  1. Look at the changelog. It will warn you if the update will break anything or require any changes. Decide if you want to try to update.

  2. Open Github Desktop, and at the top middle, click "fetch origin". This will make Github Desktop get information about the update.

  3. Click where it says "current branch: master" at the top middle, and at the bottom of the thing that appears, click "choose a branch to merge into master".

  4. Select upstream/master. It will likely say there are conflicts, but you have tools to resolve them. Click "Merge upstream/master into master".

  5. A conflict happens when the things you're trying to merge have both made changes in the same place. Click "open in Visual Studio Code" next to the first file.

  6. Scroll down through the file, and look for the parts highlighted in red and green. One of these is your code, and the other is some code that will be modified by the update. Do your best to try to edit things to keep the updated changes, but keep your content.

  7. Continue to do this for all remaining changes.

  8. Do any other changes required by the update, run the game, fix issues, etc.

- - + + \ No newline at end of file diff --git a/public/kronos/docs/upgrades/index.html b/public/kronos/docs/upgrades/index.html index 55819680b..57563f814 100644 --- a/public/kronos/docs/upgrades/index.html +++ b/public/kronos/docs/upgrades/index.html @@ -6,8 +6,8 @@ Upgrades | The Paper Pilot - - + + @@ -30,8 +30,8 @@ etc }

Usually, upgrades should have an id where the first digit is the row and the second digit is the column.

Individual upgrades can have these features:

  • title: optional. Displayed at the top in a larger font. It can also be a function that returns updating text. Can use basic HTML.

  • description: A description of the upgrade's effect. You will also have to implement the effect where it is applied. It can also be a function that returns updating text. Can use basic HTML.

  • effect(): optional. 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.

  • effectDisplay(): optional. A function that returns a display of the current effects of the upgrade with formatting. Default displays nothing. Can use basic HTML.

  • fullDisplay(): OVERRIDE. Overrides the other displays and descriptions, and lets you set the full text for the upgrade. Can use basic HTML.

  • cost: A Decimal for the cost of the upgrade. By default, upgrades cost the main prestige currency for the layer.

  • unlocked(): optional. A function returning a bool to determine if the upgrade is visible or not. Default is unlocked.

  • onPurchase(): optional. This function will be called when the upgrade is purchased. Good for upgrades like "makes this layer act like it was unlocked first".

  • style: optional. 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).

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the upgrade was stored under, for convenient access. The upgrade in the example's id is 11.

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):

  • currencyDisplayName: optional. The name to display for the currency for the upgrade.

  • currencyInternalName: optional. The internal name for that currency.

  • currencyLayer: optional. The internal name of the layer that currency is stored in. If it's not in a layer (like Points), omit. If it's not stored directly in a layer, instead use the next feature.

  • currencyLocation: optional. If your currency is stored in something inside a layer (e.g. a buyable's amount), you can access it this way. This is a function returning the object in "player" that contains the value (like player[this.layer].buyables)

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)

  • canAfford(): OVERRIDE, a function determining if you are able to buy the upgrade

  • pay(): OVERRIDE, a function that reduces your currencies when you buy the upgrade

- - + + \ No newline at end of file diff --git a/public/lit/Old Things/2.0-format-changes/index.html b/public/lit/Old Things/2.0-format-changes/index.html index f79fdaf96..1b136cbab 100644 --- a/public/lit/Old Things/2.0-format-changes/index.html +++ b/public/lit/Old Things/2.0-format-changes/index.html @@ -6,8 +6,8 @@ 2.0 format changes | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

2.0 format changes

  • Temp format is changed from temp.something[layer] to temp[layer].something, for consistency
  • Challenges are now saved as an object with the amount of completions in each spot. (This will break saves.)
  • effectDisplay in Challenges and Upgrades no longer takes an argument, and neither does effect for Buyables
  • Buyable cost can take an argument for amount of buyables, but it needs to function if no argument is supplied (it should do the cost for the next purchase).
  • Generation of Points now happens in the main game loop (not in a layer update function), enabled by canGenPoints in game.js.
  • Changed fullLayerReset to layerDataReset, which takes an array of names of values to keep

In addition, many names were changed, mostly expanding abbreviations:

All instances of:

  • chall -> challenge
  • unl -> unlocked
  • upg -> upgrade (besides CSS)
  • amt -> amount
  • desc -> description
  • resCeil -> roundUpCost
  • order -> unlockOrder
  • incr_order -> increaseUnlockOrder

Challenges:

  • desc -> challengeDescription
  • reward -> rewardDescription
  • effect -> rewardEffect
  • effectDisplay -> rewardDisplay
  • active -> challengeActive
- - + + \ No newline at end of file diff --git a/public/lit/README/index.html b/public/lit/README/index.html index 7f0ed926a..29bec4304 100644 --- a/public/lit/README/index.html +++ b/public/lit/README/index.html @@ -6,8 +6,8 @@ Kronos | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

Kronos

Play here.

Updating the website:

  • git submodule update --remote
  • git add -A
  • git commit -m "Updated kronos"
  • git push
- - + + \ No newline at end of file diff --git a/public/lit/changelog/index.html b/public/lit/changelog/index.html index 6227f763c..49c32aa0a 100644 --- a/public/lit/changelog/index.html +++ b/public/lit/changelog/index.html @@ -6,8 +6,8 @@ The Modding Tree changelog: | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

The Modding Tree changelog:

v2.Ï€: Incrementally Updated - 2/5/21

  • Performance improvements.
  • Fixed tooltips overlapping with the top display.
  • Clicking a popup dismisses it immediately.
  • Added support for bulk challenge completions.
  • "Best" is updated automatically.
  • Fixed keeping Decimal values on reset.
  • Code reorganization and style improvements by fudo.

v2.3.5 - 12/21/20

  • Added resetTime, which tracks the time since a layer prestiged or was reset.
  • A layer node will be highlighted red if one of its subtabs is highlighted red.
  • Fixed issues with keeping challenges, buyables, and clickables on reset.
  • Improved the unlocking of custom layers.
  • Other minor fixes.

v2.3.4 - 12/16/20

  • Added a node image feature.
  • Resource display now always shows the amount of the currency the layer's gain is based on.
  • Added spacing between tree nodes.
  • Another attempt to fix tooltip flickering.

v2.3.3 - 12/13/20

  • Fixed the first node in a row always taking up space.
  • layerShown is now optional.
  • All prestige types can now use features for custom prestige types.

v2.3.2 - 12/13/20

  • Fixed achievement/milestone popups.

v2.3.1 - 12/12/20

  • Another attempt to fix flickering tooltips.
  • The "this" keyword should work everywhere except tabFormat arrays (although I may have missed some things).
  • Fixed tree branches not updating when scrolling on the right-side tab.
  • Fixed a spacing issue when a node's symbol is ""
  • Removed some old, unneeded files.

v2.3: Cooler and Newer Edition - 12/10/20

  • Added achievement/milestone popups (thank you to Jacorb for this contribution!)
  • The changelog tab is back, and can be set in mod.js.
  • Layer nodes and respec buttons will not be clicked by pressing "enter".
  • Possible fix for flickering tooltips and strange transitions.
  • The victory screen text is configurable.
  • Added image and textStyle features to achievements.
  • Added an argument to use specific rows in an "upgrades" component.
  • Fixed the comma appearing in the main display when there was no effectDescription
  • Added the ability to easily make a tab that is a collection of layers in subtabs.
  • Improved spacing for embedding layers with subtabs into subtabs.

v2.2.8 - 12/03/20

  • Double-clicking a layer node brings you to the main subtab for that layer.
  • Attempted to fix challenges visually updating a different way.
  • Added a softcap function for use in formulas.
  • Added displayRow feature, which lets layers be shown somewhere separate from where they are in the reset order (e.g. side layers)
  • Fixed autoupgrade issue.

v2.2.7 - 11/30/20

  • Added autoUpgrade feature.
  • resource-display now shows resource gain per second if passiveGain is active.
  • Fixed formatting issues on some large numbers.
  • Better support for using classed objects in player and in layers/tmp.
  • Made hard resetting more effective.
  • Removed Herobrine from getStartClickables.

v2.2.6 - 11/30/20

  • Added goalDescription for challenges and made the new "canComplete" system the standard.
  • Another attempt to fix challenges not visually updating.
  • Fixed side layers not appearing.
  • Fixed getStartClickables again.

v2.2.5 - 11/29/20

  • Added features for overriding the displays and costs/goals of upgrades and challenges to make them fully custom.
  • best, total, and unlocked are always automatically added to layerData (but best and total will only display if you add them yourself).
  • Fixed getStartClickables.

v2.2.4 - 11/28/20

  • Added softcap and softcapPower features (for Normal layers)
  • Offline time limit and default max tick length were fixed (previously the limits were 1000x too large)
  • Added fixOldSaves.
  • You can use HTML in main-display.
  • Fixed a number of minor oddities.

v2.2.3 - 11/28/20

  • Layers will be highlighted if you can finish a challenge.
  • The "can complete challenge" color now overrides the "already completed" color.
  • Button nodes now work as side "layers".
  • Setting a tooltip to "" hides it entirely.

v2.2.2 - 11/22/20

  • Fixed right half of the screen being unclickable in some circumstances.
  • Fixed tree branches being offset.
  • Fix to lastSafeTab.

v2.2.1 - 11/7/20

  • Added a small highlight to layers you can meaningfully prestige on.
  • Added passiveGeneration and autoPrestige features to standardize prestige automation. (The old ways still work, but the new ones work better with other things)
  • Improved milestones visually a bit.
  • "best" and "total" are now only displayed if present in startData.
  • Fixed issues with things not updating visually. (Thank you to to Jacorb!)
  • Side layers and button nodes can now be highlighted.
  • Updated docs on the new tree-related features.

v2.2: Uprooted - 11/7/20

  • You can now embed a layer inside of a subtab or microtab!
  • Added support for hiding or reformatting the tree tab
  • Added non-layer button nodes
  • Added shouldNotify to subtab/microtab buttons. (You can make them highlighted)
  • Added commas to large exponents.
  • Upgrades now only show "currently" if they have an effectDisplay (so not for constant effects).
  • Achievements are part of the default tab format.
  • NaN is now handled more intelligently.
  • Renamed files, and moved less relevant ones to another folder.
  • The "hide completed challenges" setting now only hides challenges at max completions.
  • Thank you to thepaperpilot for fixing errors in docs and improving the infobox appearance!
  • Many other minor fixes.

v2.1.4 - 10/25/20

  • Added an infobox component. Thank you to thepaperpilot for this contribution!
  • Layer type is now optional, and defaults to "none".
  • Improved the look of bars and tab buttons.
  • Improved spacing between layer nodes (also thanks to thepaperpilot!)
  • Fixed the "blank" component breaking if only specifying the height.
  • Fixed some numbers not displaying with enough digits.
  • Made a few more things able to be functions.
  • A few other minor fixes.

v2.1.3.1 - 10/21/20

  • Fixed the update function.

v2.1.3 - 10/21/20

  • gainMult and gainExp are now optional.
  • Layer unlocking is now kept on reset.
  • Game should start up faster.
  • Layer updates now have a determined order and starts with earlier-rowed layers.
  • Automation now has a determined order and starts with later-rowed layers.
  • Fixed issues with resetting clickables and challenges.
  • Commas should no longer appear in the decimal places of a number.
  • Fixed potential issue in displaying the tree.

v2.1.2 - 10/19/20

  • Added buyUpgrade function (buyUpg still works though)
  • Added author name to modInfo.
  • Fix to crash caused when the name of a subtab or microtab is changed.
  • Fixes to outdated information in docs.
  • Improvements to Discord links.
  • Thank you to thepaperpilot for contributing to this update!

v2.1.1 - 10/17/20

  • Added resource-display component, which displays the base currency for the prestige layer, as well as the best and/or total of this layer's prestige currency.
  • Fixed the value for the base currency not updating in resource-display.

v2.1: We should have thought of this sooner! - 10/17/20

  • Moved most of the code users will want to edit to mod.js, added documentation for it.
    • Specifically, modInfo, VERSION, canGenPoints, getPointGen, and maxTickLength
  • Added getStartPoints()
  • Added the ability to store non-layer-related data
  • Added the ability to display more things at the top of the tree tab below points.
  • Made the endgame condition customizable
  • Added "sell one" and "sell all" buttons for buyables.
  • Moved the old "game" to demo.js, and replaced it with a minimal game that won't cause issues when edited.
  • Fixed issues with version number
  • Fixed number formatting issue making things like "10e9" appear.

v2.0.5 - 10/16/20

  • Made more features (including prestige parameters) able to be dynamic.
  • Layer nodes can be hidden but still take up space with "ghost" visibility
  • Added clickableEffect for real.
  • Fixed some visual issues with bars.
  • A few other minor tweaks and improvements.

v2.0.4 - 10/16/20

  • Fixed HTML on buttons interfering with clicking on them.

v2.0.3 - 10/16/20

  • Fixed hotkeys not displaying in info.
  • Fixed the game supressing all external hotkeys.
  • You can use more things as currencies for upgrade costs and challenge goals using currencyLocation.
  • Added maxTickLength, which can be used to prevent offline time or tab-switching from breaking time-limit based mechanics.
  • Made buyable respec buttons and clickable "master" buttons their own components, and gave them a hide/show feature.
  • Added a general "tooltip" feature for achievements.

v2.0.2 - 10/15/20

  • Branches are now dynamic (they can be functions).
  • Fixed a crash related to offline time.
  • Fixed links being too wide.

v2.0.1 - 10/15/20

  • Fixed side layers appearing multiple times.

v2.0: The Pinnacle of Achievement Mountain - 10/15/20

  • Added progress bars, which are highly customizable and can be horizontal or vertical!
  • Added "side layers", displayed smaller and off to the side, and don't get reset by default. They can be used for global achievements and statistics. Speaking of which...
  • Added achievements!
  • Added clickables, a more generalized variant of buyables.
  • Almost every value in layer data can be either a function or a constant value!
  • Added support for multiple completions of challenges.
  • Added "none" prestige type, which removes the need for any other prestige-related features.
  • The points display and other gui elements stay at the top of the screen when the tree scrolls.
  • Added getter/setter functions for the amounts and effects of most Big Features
  • Moved modInfo to game.js, added a spot in modInfo for a Discord link, changelog link. Also added a separate mod version from the TMT version in VERSION.
  • Tree structure is based on layer data, no index.html editing is needed.
  • Tmp does not need to be manually updated.
  • You don't have to have the same amount of upgrades in every row (and challs and buyables)
  • "unlocked" is optional for all Big Components (defaults to true).
  • All displays will update correctly.
  • Changelog is no longer in index.html at all.
  • Generation of Points now happens in the main game loop
  • Changed the reset functions to make keeping things easier
  • Renamed many things to increase readability (see the list in the link below)
  • Improved documentation based on feedback

v1.3.5:

  • Completely automated convertToDecimal, now you never have to worry about it again.
  • Branches can be defined without a color id. But they can also use hex values for color ids!
  • Created a tutorial for getting started with TMT and Github.
  • Page title is now automatically taken from mod name.

v1.3.4 - 10/8/20

  • Added "midsection" feature to add things to a tab's layout while still keeping the standard layout.
  • Fix for being able to buy more buyables than you should.

v1.3.3 - 10/7/20

  • Fix for the "order of operations" issue in temp.

v1.3.1 - 10/7/20

  • Added custom CSS and tooltips for Layer Nodes.
  • Added custom CSS for upgrades, buyables, milestones, and challenges, both individually and layer-wide.
  • You can now use HTML in most display text!
  • You can now make milestones unlockable and not display immediately.
  • Fixed importing saves, and issue with upgrades not appearing, and probably more.
  • Optional "name" layer feature, used in confirmation messages.

v1.3: Tabception... ception! - 10/7/20

  • Added subtabs! And also a Micro-tab component to let you make smaller subtab-esque areas anywhere.
  • Added a "custom" prestige formula type, and a number of features to support it.
  • Added points/sec display (can be disabled).
  • Added h-line, v-line and image-display components, plus components for individual upgrades, challenges, and milestones.
  • Added upgEffect, buyableEffect, and challEffect functions.
  • Added "hide completed challenges" setting.
  • Moved old changelogs to a separate place.
  • Fixed hasMilestone and incr_order.
  • Static layers now show the currency amount needed for the next one if you can buy max.

v1.2.4 - 10/4/20

  • Layers are now highlighted if you can buy an upgrade, and a new feature, shouldNotify, lets you make it highlight other ways.
  • Fixed bugs with hasUpg, hasChall, hasMilestone, and inChallenge.
  • Changed the sample code to use the above functions for convenience.

v1.2.3 - 10/3/20

  • Added a row component, which displays a list of objects in a row.
  • Added a column component, which displays a list of objects in a column (useful within a row).
  • Changed blanks to have a customizable width and height.

v1.2: This Changes Everything! - 10/3/20

  • Many layer features can now be static values or functions. (This made some formats change, which will break old things)
  • You can now use the "this" keyword, to make code easier to transfer when making new layers.
  • Also added "this.layer", which is the current layer's name, and works on existing subfeatures (e.g. individual upgrades) as well! Subfeatures also have "this.id".
  • Fixed a big save issue. If you use a unique mod id, your save will never conflict with other mods.
  • Added a configurable offline time limit in modinfo at the top of index.html. (default 1 hour)
  • Added a few minor features, and updated the docs with new information.

v1.1.1:

  • You can define hotkeys directly from layer config.

v1.1: Enhanced Edition

  • Added "Buyables", which can function like Space Buildings or Enhancers.
  • Custom CSS can now be used on any component! Make the third argument an object with CSS parameters.
  • Lots of minor good things.

v1.0:

  • First release.
- - + + \ No newline at end of file diff --git a/public/lit/docs/!general-info/index.html b/public/lit/docs/!general-info/index.html index e99daa407..1ae621e6a 100644 --- a/public/lit/docs/!general-info/index.html +++ b/public/lit/docs/!general-info/index.html @@ -6,8 +6,8 @@ The-Modding-Tree | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

The-Modding-Tree

The main way to add content is through creating layers. You can either add a layer directly in the layers object in layerSupport.js, or declare it in another file and register it by calling addLayer(layername, layerdata). There is an example layer registration in layers.js showing the recommended method. It is just an example and can be freely deleted. You can also use it as a reference or a base for your own layers.

The first thing you need to do is fill out the modInfo object at the top of mod.js to set your mod's name, ID (a string), and other information. A unique modId will prevent your mod's saves from conflicting with other mods. Note that changing this after people have started playing will reset their saves.

Most of the time, you won't need to dive deep into the code to create things, but you still can if you really want to, for example to add new Vue components in v.js.

The Modding Tree uses break_eternity.js to store large values. This means that many numbers are Decimal objects, and must be treated differently. For example, you have to use new Decimal(x) to create a Decimal value instead of a plain number, and perform operations on them by calling functions. e.g, instead of x = x + y, use x = x.add(y). Keep in mind this also applies to comparison operators, which should be replaced with calling the .gt, .gte, .lt, .lte, .eq, and .neq functions. See the break_eternity.js docs for more details on working with Decimal values.

Almost all values can be either a constant value, or a dynamic value. Dynamic values are defined by putting a function that returns what the value should be at any given time.

All display text can use basic HTML elements (But you can't use most Vue features there).

While reading this documentation, the following key will be used when describing features:

  • No label: This is required and the game may crash if it isn't included.
  • sometimes required: This is may be required, depending on other things in the layer.
  • optional: You can leave this out if you don't intend to use that feature for the layer.
  • assigned automagically: This value will be set automatically and override any value you set.
  • deprecated: This feature is not recommended to be used anymore, and may be removed in future versions of TMT.

Table of Contents

General

  • Getting Started: Getting your own copy of the code set up with Github Desktop.
  • Main mod info: How to set up general things for your mod in mod.js.
  • Basic layer breakdown: Breaking down the components of a layer with minimal features.
  • Layer features: Explanations of all of the different properties that you can give a layer.
  • Custom Tab Layouts: An optional way to give your tabs a different layout. You can even create entirely new components to use.
  • Custom game layouts: You can get rid of the tree tab, add buttons and other things to the tree, or even customize the tab's layout like a layer tab.
  • Updating TMT: Using Github Desktop to update your mod's version of TMT.

Common components

  • Upgrades: How to create upgrades for a layer.
  • Milestones: How to create milestones for a layer.
  • Buyables: Create rebuyable upgrades for your layer (with the option to make them respec-able). Can be used to make Enhancers or Space Buildings.
  • Clickables: A more generalized variant of buyables, for any kind of thing that is sometimes clickable. Between these and Buyables, you can do just about anything.

Other components and features

  • Challenges: How to create challenges for a layer.
  • Bars: Display some information as a progress bar, gauge, or similar. They are highly customizable, and can be horizontal and vertical as well.
  • Subtabs and Microtabs: Create subtabs for your tabs, as well as "microtab" components that you can put inside the tabs. You can even use them to embed a layer inside another layer!
  • Achievements: How to create achievements for a layer (or for the whole game).
  • Infoboxes: Boxes containing text that can be shown or hidden.
  • Trees: Make your own trees. You can make non-layer button nodes too!
- - + + \ No newline at end of file diff --git a/public/lit/docs/achievements/index.html b/public/lit/docs/achievements/index.html index e0b5ad00d..0f3f6e499 100644 --- a/public/lit/docs/achievements/index.html +++ b/public/lit/docs/achievements/index.html @@ -6,8 +6,8 @@ Achievements | The Paper Pilot - - + + @@ -31,8 +31,8 @@ etc }

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:

  • name: optional. 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.

  • done(): A function returning a boolean to determine if the achievement should be awarded.

  • 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 "" disables the tooltip.

  • effect(): optional. 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.

  • unlocked(): optional. A function returning a bool to determine if the achievement is visible or not. Default is unlocked.

  • onComplete() - optional. this function will be called when the achievement is completed.

  • image: optional, puts the image from the given URL (relative or absolute) in the achievement

  • style: optional. 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).

  • textStyle: optional. 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).

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the achievement was stored under, for convenient access. The achievement in the example's id is 11.

  • goalTooltip: optional, deprecated. 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.

  • doneTooltip: optional, deprecated. 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.

Disable achievement popups by adding achievementsPopups: false to the layer.

- - + + \ No newline at end of file diff --git a/public/lit/docs/bars/index.html b/public/lit/docs/bars/index.html index 9acd7257a..5bf465e0e 100644 --- a/public/lit/docs/bars/index.html +++ b/public/lit/docs/bars/index.html @@ -6,8 +6,8 @@ Bars | The Paper Pilot - - + + @@ -32,8 +32,8 @@ etc }

Features:

  • 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.

  • width, height: The size in pixels of the bar, but as numbers (no "px" at the end).

  • progress(): A function that returns the portion of the bar that is filled, from "empty" at 0 to "full" at 1, updating automatically. (Nothing bad happens if the value goes out of these bounds, and it can be a number or Decimal)

  • display(): optional. A function that returns text to be displayed on top of the bar, can use HTML.

  • unlocked(): optional. A function returning a bool to determine if the bar is visible or not. Default is unlocked.

  • baseStyle, fillStyle, borderStyle, textStyle: Optional, 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).

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the bar was stored under, for convenient access. The bar in the example's id is "bigBar".

- - + + \ No newline at end of file diff --git a/public/lit/docs/basic-layer-breakdown/index.html b/public/lit/docs/basic-layer-breakdown/index.html index 0d68e6d39..3fcaba26b 100644 --- a/public/lit/docs/basic-layer-breakdown/index.html +++ b/public/lit/docs/basic-layer-breakdown/index.html @@ -6,8 +6,8 @@ Basic layer breakdown | The Paper Pilot - - + + @@ -50,8 +50,8 @@ layerShown() { return true } // Returns a bool for if this layer's node should be visible in the tree. }) - - + + \ No newline at end of file diff --git a/public/lit/docs/buyables/index.html b/public/lit/docs/buyables/index.html index fca9a6c11..dffbae66b 100644 --- a/public/lit/docs/buyables/index.html +++ b/public/lit/docs/buyables/index.html @@ -6,8 +6,8 @@ Buyables | The Paper Pilot - - + + @@ -37,8 +37,8 @@ etc }

Features:

  • title: optional. displayed at the top in a larger font. It can also be a function that returns updating text.

  • cost(): cost for buying the next buyable. Can have an optional argument "x" to calculate the cost of the x+1th object, but needs to use "current amount" as a default value for x. (x is a Decimal). Can return an object if there are multiple currencies.

  • effect(): optional. A function that calculates and returns the current values of bonuses of this buyable. Can return a value or an object containing multiple values.

  • 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.

  • unlocked(): optional. A function returning a bool to determine if the buyable is visible or not. Default is unlocked.

  • canAfford(): A function returning a bool to determine if you can buy one of the buyables.

  • buy(): A function that implements buying one of the buyable, including spending the currency.

  • buyMax(): optional. A function that implements buying as many of the buyable as possible.

  • style: optional. 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).

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the buyable was stored under, for convenient access. The buyable in the example's id is 11.

Sell One/Sell All:

Including a sellOne or sellAll function will cause an additional button to appear beneath the buyable. They are functionally identical, but "sell one" appears above "sell all". You can also use them for other things.

  • sellOne/sellAll(): optional. 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.

  • canSellOne/canSellAll(): optional. booleans determining whether or not to show the buttons. If "canSellOne/All" is absent but "sellOne/All" is present, the appropriate button will always show.

- - + + \ No newline at end of file diff --git a/public/lit/docs/challenges/index.html b/public/lit/docs/challenges/index.html index ea765d8f8..31bcecdfb 100644 --- a/public/lit/docs/challenges/index.html +++ b/public/lit/docs/challenges/index.html @@ -6,8 +6,8 @@ Challenges | The Paper Pilot - - + + @@ -33,8 +33,8 @@ etc }

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:

  • name: Name of the challenge, can be a string or a function. Can use basic HTML.

  • challengeDescription: A description of what makes the challenge a challenge. You will need to implement these elsewhere. It can also be a function that returns updating text. Can use basic HTML.

  • 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)

  • 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)

  • rewardDescription: A description of the reward's effect. You will also have to implement the effect where it is applied. It can also be a function that returns updating text. Can use basic HTML.

  • rewardEffect(): optional. 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.

  • rewardDisplay(): optional. 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.

  • fullDisplay(): OVERRIDE. Overrides the other displays and descriptions, and lets you set the full text for the challenge. Can use basic HTML.

  • unlocked(): optional. A function returning a bool to determine if the challenge is visible or not. Default is unlocked.

  • onComplete() - optional. this function will be called when the challenge is completed when previously incomplete.

  • countsAs: optional. 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.

  • completionLimit: optional. the amount of times you can complete this challenge. Default is 1 completion.

  • style: optional. 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).

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: assigned automagically. It's the "key" which the challenge was stored under, for convenient access. The challenge in the example's id is 11.

The old goal system uses these features:

  • goal: deprecated, 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.

  • currencyDisplayName: deprecated. the name to display for the currency for the goal

  • currencyInternalName: deprecated. the internal name for that currency

  • currencyLayer: deprecated. the internal name of the layer that currency is stored in. If it's not in a layer, omit. If it's not stored directly in a layer, instead use the next feature.

  • currencyLocation(): deprecated. if your currency is stored in something inside a layer (e.g. a buyable's amount), you can access it this way. This is a function returning the object in "player" that contains the value (like player[this.layer].buyables)

- - + + \ No newline at end of file diff --git a/public/lit/docs/clickables/index.html b/public/lit/docs/clickables/index.html index 03f35534f..49ae4297a 100644 --- a/public/lit/docs/clickables/index.html +++ b/public/lit/docs/clickables/index.html @@ -6,8 +6,8 @@ Clickables | The Paper Pilot - - + + @@ -31,8 +31,8 @@ etc }

Features:

  • title: optional. displayed at the top in a larger font. It can also be a function that returns updating text.

  • effect(): optional. A function that calculates and returns the current values of bonuses of this clickable. Can return a value or an object containing multiple values.

  • 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.

  • unlocked(): optional. A function returning a bool to determine if the clickable is visible or not. Default is unlocked.

  • canClick(): A function returning a bool to determine if you can click the clickable.

  • onClick(): A function that implements clicking one of the clickable.

  • style: optional. 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).

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the clickable was stored under, for convenient access. The clickable in the example's id is 11.

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.

  • masterButtonPress(): optional. If present, an additional button will appear above the clickables. Pressing it will call this function.

  • masterButtonText: optional. Text to display on the Master Button.

  • showMasterButton(): optional. A function determining whether or not to show the button. Defaults to true if absent.

- - + + \ No newline at end of file diff --git a/public/lit/docs/custom-tab-layouts/index.html b/public/lit/docs/custom-tab-layouts/index.html index 569e18314..d76c00a09 100644 --- a/public/lit/docs/custom-tab-layouts/index.html +++ b/public/lit/docs/custom-tab-layouts/index.html @@ -6,8 +6,8 @@ Custom tab layouts | The Paper Pilot - - + + @@ -36,8 +36,8 @@ "upgrades" ]

It is a list of components, which can be either just a name, or an array with arguments. If it'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 "CSS object", where the keys are CSS attributes.

These are the existing components, but you can create more in components.js:

  • 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.

  • raw-html: Displays some basic HTML, can also be a function.

  • blank: Adds empty space. The default dimensions are 8px x 17px. The argument changes the dimensions. If it's a single value (e.g. "20px"), that determines the height. If you have a pair of arguments, the first is width and the second is height.

  • row: Display a list of components horizontally. The argument is an array of components in the tab layout format.

  • 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.

  • main-display: The text that displays the main currency for the layer and its effects.

  • 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's prestige currency (if they are put in startData for this layer).

  • 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.

  • upgrades: The layer's upgrades. The argument is optional, and is a the list of rows this component should include, if it doesn't have all of them.

  • milestones, challenges, achievements: Display the upgrades, milestones, and challenges for a layer, as appropriate.

  • 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.

  • microtabs: Display a set of subtabs for an area. The argument is the name of the set of microtabs in the "microtabs" feature.

  • bar: Display a bar. The argument is the id of the bar to display.

  • infobox: Display an infobox. The argument is the id of the infobox to display.

  • 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) See here for more information on tree layouts and nodes!

  • toggle: A toggle button that toggles a bool value. The data is a pair that identifies what bool to toggle, e.g. [layer, id]

The rest of the components are sub-components. They can be used just like other components, but are typically part of another component.

  • upgrade, milestone, challenge, 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.

  • respec-button, master-button: The respec and master buttons for buyables and clickables, respectively.

  • sell-one, sell-all: The "sell one" and "sell all" for buyables, respectively. The argument is the id of the buyable.

- - + + \ No newline at end of file diff --git a/public/lit/docs/getting-started/index.html b/public/lit/docs/getting-started/index.html index db436db07..9e96459ac 100644 --- a/public/lit/docs/getting-started/index.html +++ b/public/lit/docs/getting-started/index.html @@ -6,8 +6,8 @@ Getting started | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

Getting started

Welcome to The Modding Tree!

Using the Modding Tree, at its simplest level, just requires getting a copy of it onto your computer. However, if you do it the right way, it will help in many ways.

Don't let the word "Github" scare you away. It's actually much easier to use than most people think, especially because most people use it the hard way. The key is Github Desktop, which lets you do everything you need to, without even touching the command line.

The benefits of using Github:

  • It makes it much, much easier to update The Modding Tree.
  • You can share your work without any extra effort using githack, or with a bit more effort, set up a github.io site.
  • It lets you undo changes to your code, and to have multiple versions of it.
  • It lets you collaborate with other people, if you want to.

Getting set up with Github Desktop, Visual Studio Code, and The Modding Tree:

  1. Install Github Desktop and Visual Studio Code.

  2. Make a Github account. You can handle this on your own.

  3. Log in on your browser, and go back to The Modding Tree page. At the top right, there should be a button that says "fork". Click on it, and then on your username. You now have your own fork, or copy, of The Modding Tree.

  4. Open Github Desktop and log in. Ignore everything else and choose "clone a repository". A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is downloading a copy of the repository to your computer.

  5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".

  6. Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.

Using your repository

  1. Click on "show in explorer/finder" to the right, and then open the index.html file in the folder. The page should open up on your browser. This will let you view and test your project locally!

  2. To edit your project, click "open in VSCode" in Github Desktop.

  3. Open mod.js in VSCode, and look at the top part where it has a "modInfo" object. Fill in your mod's name to whatever you want, and change the id as well. (It can be any string value, and it's used to determine where the savefile is. Make it something that's probably unique, and don't change it again later or else it'll effectively wipe existing saves)

  4. Save mod.js, and then reload index.html in your browser. The title on the tab, as well as on the info page, will now be updated! You can reload the page every time you change the code to test it quickly and easily.

  5. Go back to Github Desktop. It's time to save your changes into the git system by making a "commit". This basically saves your work and creates a snapshot of what your code looks like at this moment, allowing you to look back at it later.

  6. At the bottom right corner, add a summary of your changes, and then click "commit to master".

  7. Finally, at the top middle, click "push origin" to push your changes out onto the online repository.

  8. You can view your project on line, or share it with others, by going to https://raw.githack.com/[YOUR-GITHUB-USERNAME]/The-Modding-Tree/master/index.html

And now, you have successfully used Github! You can look at the documentation to see how The Modding Tree's system works and to make your mod a reality.

- - + + \ No newline at end of file diff --git a/public/lit/docs/infoboxes/index.html b/public/lit/docs/infoboxes/index.html index 6a27fe926..bb3d89dac 100644 --- a/public/lit/docs/infoboxes/index.html +++ b/public/lit/docs/infoboxes/index.html @@ -6,8 +6,8 @@ Infoboxes | The Paper Pilot - - + + @@ -30,8 +30,8 @@ etc }

Features:

  • title: The text displayed above the main box. Can be a function to be dynamic, and can use basic HTML.

  • body: The text displayed inside the box. Can be a function to be dynamic, and can use basic HTML.

  • style, titleStyle, bodyStyle: optional. 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).

  • unlocked(): optional. A function returning a bool to determine if the infobox is visible or not. Default is unlocked.

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar

  • id: assigned automagically. It's the "key" which the bar was stored under, for convenient access. The infobox in the example's id is "lore".

- - + + \ No newline at end of file diff --git a/public/lit/docs/layer-features/index.html b/public/lit/docs/layer-features/index.html index 44be34f7a..e1dad2cbd 100644 --- a/public/lit/docs/layer-features/index.html +++ b/public/lit/docs/layer-features/index.html @@ -6,8 +6,8 @@ Layer Features | The Paper Pilot - - + + @@ -33,8 +33,8 @@ "prestige-button"() { return {'color': '#AA66AA'} } }

Custom Prestige type

(All of these can also be used by other prestige types)

  • getResetGain(): mostly for custom prestige type. Returns how many points you should get if you reset now. You can call getResetGain(this.layer, useType = "static") or similar to calculate what your gain would be under another prestige type (provided you have all of the required features in the layer).

  • getNextAt(canMax=false): mostly for custom prestige type. 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'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 = "static") 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).

  • canReset(): mostly for custom prestige type. Return true only if you have the resources required to do a prestige here.

  • prestigeNotify(): mostly for custom prestige types, returns true if this layer should be subtly highlighted to indicate you can prestige for a meaningful gain.

- - + + \ No newline at end of file diff --git a/public/lit/docs/main-mod-info/index.html b/public/lit/docs/main-mod-info/index.html index fc99c9537..44d615a0d 100644 --- a/public/lit/docs/main-mod-info/index.html +++ b/public/lit/docs/main-mod-info/index.html @@ -6,8 +6,8 @@ mod.js | The Paper Pilot - - + + @@ -28,8 +28,8 @@ happiness: new Decimal(72), }}
  • 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't take up a line).

  • isEndgame(): A function to determine if the player has reached the end of the game, at which point the "you win!" screen appears.

Less important things beyond this point!

  • 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).
- - + + \ No newline at end of file diff --git a/public/lit/docs/milestones/index.html b/public/lit/docs/milestones/index.html index 9b6f07bbe..a91126bf4 100644 --- a/public/lit/docs/milestones/index.html +++ b/public/lit/docs/milestones/index.html @@ -6,8 +6,8 @@ Milestones | The Paper Pilot - - + + @@ -30,8 +30,8 @@ etc }

You can use hasMilestone(layer, id) to determine if the player has a given milestone

Milestone features:

  • requirementDescription: A string describing the requirement for unlocking this milestone. Suggestion: Use a "total". It can also be a function that returns updating text. Can use basic HTML.

  • effectDescription: A string describing the reward for having the milestone. You will have to implement the reward elsewhere. It can also be a function that returns updating text. Can use basic HTML.

  • done(): A function returning a boolean to determine if the milestone should be awarded.

  • toggles: optional. 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. [["b", "auto"], ["g", "auto"])

    Tip: Toggles are not de-set if the milestone becomes locked! In this case, you should also check if the player has the milestone.

  • style: optional. 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).

  • unlocked(): optional. A function returning a boolean to determine if the milestone should be shown. If absent, it is always shown.

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the milestone was stored under, for convenient access. The milestone in the example's id is 0.

Disaable milestone popups by adding milestonePopups: false to the layer.

- - + + \ No newline at end of file diff --git a/public/lit/docs/subtabs-and-microtabs/index.html b/public/lit/docs/subtabs-and-microtabs/index.html index 4f6adcd3c..b084ced91 100644 --- a/public/lit/docs/subtabs-and-microtabs/index.html +++ b/public/lit/docs/subtabs-and-microtabs/index.html @@ -6,8 +6,8 @@ Subtabs and Microtabs | The Paper Pilot - - + + @@ -48,8 +48,8 @@ } }

Normal subtabs and microtab subtabs both use the same features:

Features:

  • content: The tab layout code for the subtab, in the tab layout format.

  • style: optional. Applies CSS to the whole subtab when switched to, in the form of an "CSS Object", where the keys are CSS attributes, and the values are the values for those attributes (both as strings).

  • buttonStyle: optional. A CSS object, which affects the appearance of the button for that subtab.

  • unlocked(): optional. a function to determine if the button for this subtab should be visible. By default, a subtab is always unlocked. You can't use the "this" keyword in this function.

  • shouldNotify(): optional, if true, the tab button will be highlighted to notify the player that there is something there.

  • embedLayer: SIGNIFICANT, the id of another layer. If you have this, it will override "content", "style" and "shouldNotify", instead displaying the entire layer in the subtab.

- - + + \ No newline at end of file diff --git a/public/lit/docs/trees-and-tree-customization/index.html b/public/lit/docs/trees-and-tree-customization/index.html index 2b910b364..d68dc0b23 100644 --- a/public/lit/docs/trees-and-tree-customization/index.html +++ b/public/lit/docs/trees-and-tree-customization/index.html @@ -6,8 +6,8 @@ Trees and tree customization | The Paper Pilot - - + + @@ -25,8 +25,8 @@ ["left", "blank", "right", "blank"] ["a", "b", "blank", "c", "weirdButton"]]

Nodes

Nodes are non-layer buttons that can go in trees. They are defined similarly to layers, but with addNode instead of addLayer.

Features:

  • color: optional, The node's color. (A string in hex format with a #)

  • symbol: optional The text on the button (The id capitalized by default)

  • canClick(): Returns true if the player can click the node. ()

  • onClick(): The function called when the node is clicked.

  • layerShown(): optional, A function returning a bool which determines if this node should be visible. It can also return "ghost", which will hide the layer, but its node will still take up space in its tree.

  • branches: optional. 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).

  • nodeStyle: optional. A CSS object, where the keys are CSS attributes, which styles this node on the tree.

  • tooltip() / tooltipLocked(): optional. 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.

  • row: optional, the row that this node appears in (for the default tree).

  • position: optional, 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.

- - + + \ No newline at end of file diff --git a/public/lit/docs/updating-tmt/index.html b/public/lit/docs/updating-tmt/index.html index 1d1a6a7c8..63e057b39 100644 --- a/public/lit/docs/updating-tmt/index.html +++ b/public/lit/docs/updating-tmt/index.html @@ -6,8 +6,8 @@ Updating The Modding Tree | The Paper Pilot - - + + @@ -22,8 +22,8 @@
On this page

Updating The Modding Tree

This tutorial assumes that you have used the Getting Started Tutorial, and are using Github Desktop and VSCode for your mod.

Here's what you have to do when there's a TMT update:

  1. Look at the changelog. It will warn you if the update will break anything or require any changes. Decide if you want to try to update.

  2. Open Github Desktop, and at the top middle, click "fetch origin". This will make Github Desktop get information about the update.

  3. Click where it says "current branch: master" at the top middle, and at the bottom of the thing that appears, click "choose a branch to merge into master".

  4. Select upstream/master. It will likely say there are conflicts, but you have tools to resolve them. Click "Merge upstream/master into master".

  5. A conflict happens when the things you're trying to merge have both made changes in the same place. Click "open in Visual Studio Code" next to the first file.

  6. Scroll down through the file, and look for the parts highlighted in red and green. One of these is your code, and the other is some code that will be modified by the update. Do your best to try to edit things to keep the updated changes, but keep your content.

  7. Continue to do this for all remaining changes.

  8. Do any other changes required by the update, run the game, fix issues, etc.

- - + + \ No newline at end of file diff --git a/public/lit/docs/upgrades/index.html b/public/lit/docs/upgrades/index.html index 28c748158..e4c211e79 100644 --- a/public/lit/docs/upgrades/index.html +++ b/public/lit/docs/upgrades/index.html @@ -6,8 +6,8 @@ Upgrades | The Paper Pilot - - + + @@ -32,8 +32,8 @@ etc }

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:

  • title: optional. Displayed at the top in a larger font. It can also be a function that returns updating text. Can use basic HTML.

  • description: A description of the upgrade's effect. You will also have to implement the effect where it is applied. It can also be a function that returns updating text. Can use basic HTML.

  • effect(): optional. 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.

  • effectDisplay(): optional. A function that returns a display of the current effects of the upgrade with formatting. Default displays nothing. Can use basic HTML.

  • fullDisplay(): OVERRIDE. Overrides the other displays and descriptions, and lets you set the full text for the upgrade. Can use basic HTML.

  • cost: A Decimal for the cost of the upgrade. By default, upgrades cost the main prestige currency for the layer.

  • unlocked(): optional. A function returning a bool to determine if the upgrade is visible or not. Default is unlocked.

  • onPurchase(): optional. This function will be called when the upgrade is purchased. Good for upgrades like "makes this layer act like it was unlocked first".

  • style: optional. 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).

  • layer: assigned automagically. It's the same value as the name of this layer, so you can do player[this.layer].points or similar.

  • id: assigned automagically. It's the "key" which the upgrade was stored under, for convenient access. The upgrade in the example's id is 11.

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):

  • currencyDisplayName: optional. The name to display for the currency for the upgrade.

  • currencyInternalName: optional. The internal name for that currency.

  • currencyLayer: optional. The internal name of the layer that currency is stored in. If it's not in a layer (like Points), omit. If it's not stored directly in a layer, instead use the next feature.

  • currencyLocation: optional. If your currency is stored in something inside a layer (e.g. a buyable's amount), you can access it this way. This is a function returning the object in "player" that contains the value (like player[this.layer].buyables)

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)

  • canAfford(): OVERRIDE, a function determining if you are able to buy the upgrade

  • pay(): OVERRIDE, a function that reduces your currencies when you buy the upgrade

- - + + \ No newline at end of file