pages/dream/js/app.6e01cbea.js

2 lines
54 KiB
JavaScript
Raw Normal View History

2021-03-24 04:34:00 +00:00
(function(t){function e(e){for(var n,o,s=e[0],u=e[1],l=e[2],h=0,g=[];h<s.length;h++)o=s[h],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&g.push(i[o][0]),i[o]=0;for(n in u)Object.prototype.hasOwnProperty.call(u,n)&&(t[n]=u[n]);c&&c(e);while(g.length)g.shift()();return a.push.apply(a,l||[]),r()}function r(){for(var t,e=0;e<a.length;e++){for(var r=a[e],n=!0,s=1;s<r.length;s++){var u=r[s];0!==i[u]&&(n=!1)}n&&(a.splice(e--,1),t=o(o.s=r[0]))}return t}var n={},i={app:0},a=[];function o(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=n,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(r,n,function(e){return t[e]}.bind(null,n));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],u=s.push.bind(s);s.push=e,s=s.slice();for(var l=0;l<s.length;l++)e(s[l]);var c=u;a.push([0,"chunk-vendors"]),r()})({0:function(t,e,r){t.exports=r("60d9")},"0dfb":function(t,e,r){},"11b9":function(t,e,r){"use strict";r("cb11")},"1a86":function(t,e,r){"use strict";(function(t){var n=r("7071"),i=r.n(n);t.Decimal=i.a;var a="#ee8695",o="#292831",s="#333f58",u="#fbbbad",l="#4a7a96",c=new i.a(0),h=new i.a(1),g=new i.a(NaN),p={Cot:{background:"default",enemies:["bat"],upgrades:[{description:"I'd sleep better on something comfier",cost:new i.a(2)},{description:"An even comfier bed could give me better control on when I wake up",cost:new i.a(2500)}]},Bank:{background:"city",enemies:["slime"],upgrades:[{description:"Building a bank allows me to adventure to cities in my dreams, with increased riches",cost:new i.a(100)}],infinite:{description:"Improve the bank to double all gold gain",r:5,base:100}},Apothecary:{background:"savanna",enemies:["witch"],upgrades:[{description:"Building an apothecary will allow me to find potions in my dreams",cost:new i.a(1e4)}],infinite:{description:"Improve the apothecary to increase how much potions heal",r:3,base:1e4}},Armory:{background:"graveyard",enemies:["skeleton"],upgrades:[{description:"Building an armory will help my gear up in my dreams",cost:new i.a(10)}],infinite:{description:"Improve the armory to increase starting gear level",r:8,base:10}}};e["a"]={bgColor:a,fgColor:o,hiColor:s,raisedColor:u,otherColor:l,decimalZero:c,decimalOne:h,decimalNaN:g,buildingInfo:p}}).call(this,r("54ac"))},"4ffa":function(t,e,r){"use strict";r("a031")},"589a":function(t,e,r){"use strict";r("0dfb")},"60d9":function(t,e,r){"use strict";r.r(e);var n=r("b3e0"),i=(r("8eaa"),r("9a38"),r("ba05"),r("2d7f"),r("8d2f"),r("8d20")),a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.$store.cycle>=5&&!t.$store.keepPlaying?r("transition",{attrs:{name:"victory"}},[r("div",{staticClass:"victory"},[r("h1",[t._v("You Win!")]),r("h2",[t._v("Congratulations, you beat the game in:"),r("br"),t._v(t._s(t.formatTime(t.$store.timePlayed)))]),r("h3",[t._v("You can keep going if you'd like, but things might get weird")]),r("button",{on:{click:t.keepGoing}},[t._v("Keep Going")])])]):t.$store.started?r("div",{attrs:{id:"app"}},[r("Header"),r("Town"),r("Dream",{ref:"dream"})],1):r("transition",{attrs:{name:"welcome"}},[r("div",{staticClass:"welcome",on:{click:t.start}},[r("img",{attrs:{src:"assets/logo.png",alt:"Dream Hero"}})])])},o=[],s=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"header"},[r("h2",[t._v("Dream Hero")]),r("h2",[t._v(t._s(t.formatWhole(t.$store.points)))]),t.$store.dreaming?r("h
//# sourceMappingURL=app.6e01cbea.js.map