Commit graph

342 commits

Author SHA1 Message Date
003aa2ed76 Version Bump 2022-05-23 23:54:16 -05:00
39f92040aa Added onConvert callback to conversions 2022-05-23 23:40:26 -05:00
d123ed3feb Made resetTime more useful and various setup functions use BaseLayer 2022-05-23 23:34:59 -05:00
5b62080786 Added costModifier to conversions 2022-05-23 23:06:21 -05:00
90114f6eb3 Fix reset buttons not displaying Req if buyMax is true (but computed) 2022-05-23 22:54:56 -05:00
6a87e34a1d Make Context mutation observers ignore attributes
I can't find any edge cases where this would really be useful,
and it prevents a _lot_ of false node updates
2022-05-23 22:54:54 -05:00
7398a861ed Fixed nodes not being accessible on tabs that weren't initially visible 2022-05-23 22:54:52 -05:00
2568a8b3a0 Fixed links being in the wrong spot after above elements added/removed 2022-05-23 22:54:50 -05:00
d650cda84f Using getFirstFeature and Collapsible won't re-render each frame 2022-05-23 22:54:48 -05:00
7db806afc6 Fix particle effects not reloading when the Particles component is re-mounted 2022-05-23 22:54:46 -05:00
65e265768b Improved regularFormat on small numbers 2022-05-23 22:54:44 -05:00
3f10abbb09 Fix buyables' onPurchase not being called 2022-05-23 22:54:42 -05:00
1e6104a349 Fixed additive modifier description using + on negative modifiers 2022-05-23 22:54:40 -05:00
061b4f24da Fixed collapsibles having wrong width on buttons + collapsed content 2022-05-23 22:54:38 -05:00
0ead4e8ce0 Made slider tooltips appear below the slider 2022-05-23 22:54:36 -05:00
f23541f3a6 Version Bump 2022-05-10 23:54:16 -05:00
2e3f1de158 Fix presets dropdown not deselecting after creating a save 2022-05-10 23:37:43 -05:00
55c4476edf Fixed exporting the currently active save not using exportEncoding 2022-05-10 21:49:35 -05:00
01ade0984c Add tooltips to icons in saves manager 2022-05-10 21:42:45 -05:00
ce2f9f8ee0 Make buyables' onClick/purchase function support custom canPurchases
They can also now be overidden from the options function
2022-05-10 21:23:05 -05:00
3118db1402 Fixed offline time amount always showing when offline limit is 0 2022-05-10 21:01:57 -05:00
868a77af29 Saving is now always lz-string. saveEncoding renamed to exportEncoding.
exportEncoding only affects exports, and defaults to base64 so it's
obfuscated but doesn't have issues with being pasted in discord
2022-05-10 20:58:13 -05:00
521c0d1ea4 Wrote documentation for feature.ts
Also slightly cleaned up modifiers.tsx due to slightly new comment style
2022-05-10 20:04:08 -05:00
2ec1a03d8f Fixed some typings on Board component
also removed FeatureComponent type since it's no longer used
2022-05-10 19:39:39 -05:00
05eb2a2bed Made findFeatures take multiple types, and added excludeFeatures 2022-05-10 19:08:16 -05:00
86688b5bb1 Fix tab buttons not getting style refs 2022-05-10 08:11:43 -05:00
eec494370c Made layer style and classes 2022-05-10 08:11:11 -05:00
223b1cfcd4 Fix createModifierSection requiring revert and enabled properties 2022-05-10 08:10:56 -05:00
b82bf8eee3 Made most touch events passive 2022-05-03 01:36:07 -05:00
2c14b2193d Fix links sometimes using nodes that were removed 2022-05-03 01:36:00 -05:00
4058fad711 Removed unused import 2022-05-03 01:35:54 -05:00
9a40249c00 Fixed error when switching between saves with different layers 2022-05-03 01:35:48 -05:00
2d9de00424 Make nested player proxies of arrays as well as objects 2022-05-03 01:35:30 -05:00
f94c4a966f Version Bump 2022-05-01 19:38:29 -05:00
4f3d73acd7 Make scaling functions use computables instead of processed computables 2022-05-01 19:24:50 -05:00
17642b95a6 Documented conversion.ts 2022-05-01 19:24:44 -05:00
eb1d394f04 Added periods to modifiers doc comments 2022-05-01 19:24:39 -05:00
b7789563e2 Made modifier constructors have more explicit typing 2022-05-01 19:24:12 -05:00
22f3415069 Fix adding new layers not allowing them to be displayed until refresh 2022-05-01 19:24:03 -05:00
75fde0f099 Fix tooltip component expecting direction to be a number instead of string 2022-05-01 19:23:56 -05:00
7eaae981d8 Fixed createCollapsibleModifierSections typing 2022-05-01 19:23:52 -05:00
ade00f2ebd Remove unused lib file 2022-05-01 19:23:46 -05:00
8f7160c725 Add comments for modifiers 2022-05-01 19:23:43 -05:00
665ddff196 Replaced the two Direction enums with a single one 2022-04-30 23:54:14 -05:00
77bcc10580 Open newly created saves automatically 2022-04-30 23:54:02 -05:00
c692578da7 Made createCollapsibleModifierSections utility function 2022-04-30 23:53:53 -05:00
1479c1d44d Fixed tree nodes not being clickable on the edges 2022-04-27 08:21:04 -05:00
d4c1e16fb4 Fix tree branches not appearing in the correct positions 2022-04-27 08:20:59 -05:00
8e6fc852d7 Made modifier section's base customizable 2022-04-27 08:20:47 -05:00
64533b55dc Fix Particles causing scroll issues 2022-04-24 22:07:47 -05:00