Commit graph

1013 commits

Author SHA1 Message Date
7000d4898c Updated AI to use repeatables instead of buyables 2023-02-14 13:24:21 -06:00
5a4bb43814 Renamed buyables to repeatables 2023-02-14 13:23:59 -06:00
e78b295e3e More test fixes 2023-02-14 13:00:31 -06:00
f3ed96f8cf Make clamping functions pass-throughs for inverting 2023-02-14 02:41:33 -06:00
ba19f4a727 Fix some tests 2023-02-14 01:12:11 -06:00
a09e87f7ac Remove some AI stuff so tests can run 2023-02-09 07:42:52 -06:00
a18ca76e3d Fix some requirements tests 2023-02-09 07:41:58 -06:00
bc941df22b Updated formula typing for non-invertible params in invertible formulas 2023-02-09 06:57:36 -06:00
ad1211ba2a Added tests for requirements 2023-02-07 08:31:09 -06:00
fdff3a89e3 Further documented formulas 2023-02-06 00:55:55 -06:00
d082228b8c Documented requirements.tsx 2023-02-06 00:55:37 -06:00
7ed71b6c4b Make buyables support buying max 2023-02-05 02:51:07 -06:00
7f3b9dad71 Make requirements support buying max 2023-02-05 02:44:03 -06:00
aa07793759 Make calculateMaxAffordable only accept spendResources values on supported formulas 2023-02-05 00:26:24 -06:00
e45c822787 Fix error about persistent value that isn't part of a layer 2023-02-05 00:25:48 -06:00
5f035c4d22 Made maxAffordable be relative rather than absolute 2023-02-05 00:24:50 -06:00
a508c6c2e7 Update vitest 2023-02-04 19:16:22 -06:00
6236a33b1b Add some more tests for nested formulas 2023-02-04 18:51:11 -06:00
59347c7db4 Lots of formula changes
Many tests fail and inverting integrals is basically non-functional because it just chains stuff
Will need to implement integration by parts and/or integration by substitution for that
2023-02-04 17:56:05 -06:00
3bc88dd3c2 Added tests for custom formulas 2023-01-19 23:26:46 -06:00
8078599831 Implement conditional formulas 2023-01-19 08:36:16 -06:00
0dcd059ead Implement step-wise functions 2023-01-19 07:45:33 -06:00
532d5e7578 Made formulas comparable and more efficient 2023-01-15 00:06:54 -06:00
96e1eb33b3 Fix some tests. Boy tests run slow 2023-01-08 10:15:46 -06:00
f3f9e7ea5b Support variable anywhere in formula 2023-01-06 00:38:11 -06:00
3c2d3a5cea Formulas implementation (incomplete) 2023-01-05 01:27:44 -06:00
5390085a00 Add static functions for trig functions in b_e 2023-01-03 20:56:49 -06:00
df8962ae3e Update b_e 2023-01-03 20:56:48 -06:00
652d720b5f Apply requirement system to advent incremental 2023-01-01 18:25:55 -06:00
6efda5ddce Merge branch 'main' into next 2023-01-01 18:25:51 -06:00
011df9cf2e Implemented requirements system 2023-01-01 18:25:43 -06:00
0728567cb9 Cleanup 2022-12-29 08:36:11 -06:00
d34687bb2d Fix NaN detection
Also removes the proxy around player and cleaned up types
2022-12-28 09:03:51 -06:00
c3cef99c7f Fix typos 2022-12-26 23:17:07 -06:00
d982110bb3 Tweak isPersistent typing 2022-12-26 23:14:12 -06:00
f0ce06e77d Implement Action feature 2022-12-26 22:50:11 -06:00
a3674ffbc6 Floor reindeer feed amount 2022-12-26 16:51:40 -06:00
b5bc37c36a Make setupPassiveGeneration not lower the resource 2022-12-25 18:53:27 -06:00
96263d8bc9 Version Bump 2022-12-25 17:09:41 -06:00
cb2c77fa00 Hard cap packing resets to 3 2022-12-25 17:08:37 -06:00
1316f1bf01 Don't show white dye boost before white dye bought 2022-12-25 16:53:05 -06:00
unsoftcapped3
944c305230
fix upgrades being much more expensive than they should be 2022-12-25 11:49:04 -08:00
6532f27b1a Bump version 2022-12-25 09:32:23 -06:00
e5e5477711 Fix elf resets 2022-12-25 09:30:11 -06:00
2628541bfe Fix mastery issues 2022-12-25 09:10:57 -06:00
457a3ea1ac Mark this as 1.0 2022-12-24 22:16:48 -06:00
c0e3eace37 Fix so many buyables doing the wrong costs and going up by 2
pay() when
2022-12-24 22:13:08 -06:00
f96c9c407f Potential fix for infinite resets bug 2022-12-24 22:05:12 -06:00
2dde092baf Fix elves resetting things when they shouldn't 2022-12-24 22:00:18 -06:00
0dbcefa723 Make calendar auto-open when no other tabs 2022-12-24 21:56:02 -06:00