fd925071e5
Fix some tests
2023-02-15 20:32:24 -06:00
b3d61149c4
Fix some requirements tests
2023-02-15 20:32:14 -06:00
de0e3f90b8
Updated formula typing for non-invertible params in invertible formulas
2023-02-15 20:32:10 -06:00
a4d6c2e844
Added tests for requirements
2023-02-15 20:32:05 -06:00
a88b1520e1
Further documented formulas
2023-02-15 20:32:03 -06:00
7282633767
Documented requirements.tsx
2023-02-15 20:32:00 -06:00
68702c5620
Make buyables support buying max
2023-02-15 20:31:56 -06:00
7eeb0318e2
Make requirements support buying max
2023-02-15 20:31:53 -06:00
757cfaa1ab
Make calculateMaxAffordable only accept spendResources values on supported formulas
2023-02-15 20:31:50 -06:00
b89c4cde09
Fix error about persistent value that isn't part of a layer
2023-02-15 20:31:46 -06:00
536b3e0f17
Made maxAffordable be relative rather than absolute
2023-02-15 20:31:42 -06:00
60625ec9a0
Update vitest
2023-02-15 20:31:29 -06:00
4e9a0f6cb5
Add some more tests for nested formulas
2023-02-15 20:31:05 -06:00
aebf318f83
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-15 20:30:58 -06:00
5293a2ba92
Added tests for custom formulas
2023-02-15 20:30:19 -06:00
30aec8a93c
Implement conditional formulas
2023-02-15 20:30:16 -06:00
675b30fdd0
Implement step-wise functions
2023-02-15 20:30:13 -06:00
773401069a
Made formulas comparable and more efficient
2023-02-15 20:30:10 -06:00
7593fea512
Fix some tests. Boy tests run slow
2023-02-15 20:29:46 -06:00
5f3dd1162d
Support variable anywhere in formula
2023-02-15 20:29:05 -06:00
c8283a7043
Formulas implementation (incomplete)
2023-02-15 20:28:44 -06:00
b3b042c271
Add static functions for trig functions in b_e
2023-02-15 20:27:16 -06:00
f1dc5dd573
Update b_e
2023-02-15 20:27:10 -06:00
3a4b15bd8f
Implemented requirements system
2023-02-15 20:26:40 -06:00
f5a25b2c2d
Fix NaN detection
...
Also removes the proxy around player and cleaned up types
2023-02-15 20:21:26 -06:00
8c8f7f7904
Fix typos
2023-02-15 20:13:20 -06:00
c1a66e6666
Tweak isPersistent typing
2023-02-15 20:13:13 -06:00
345f8c1cd8
Implement Action feature
2023-02-15 20:13:05 -06:00
2ece8e5a17
Floor reindeer feed amount
2023-02-15 20:12:18 -06:00
166c2d34b4
Make setupPassiveGeneration not lower the resource
2023-02-15 20:11:57 -06:00
2122103c0e
Fix display issue in board
2022-12-24 09:43:51 -06:00
16005b1835
Forgot indices
2022-12-23 20:15:00 -06:00
b89366de2a
Made sections support computable titles and subtitles
2022-12-23 19:55:52 -06:00
4c4ff87110
Fix tab family padding-left
2022-12-23 15:57:09 -06:00
5498258700
Don't yell about deleted persistent refs
2022-12-23 11:46:09 -06:00
65071760ec
Make boards take state and link overrides
2022-12-23 11:46:06 -06:00
7984f525d7
Fixed typo for hotkeys
2022-12-22 22:41:03 -06:00
23ad0680f5
Fixed hotkeys not working with shift + number
2022-12-21 22:39:20 -06:00
56b1a7a9b4
Fixed hotkeys not being reactive
2022-12-21 22:34:32 -06:00
36f91f91c3
Hide dev speed when paused
2022-12-20 21:57:11 -06:00
9b49aedccb
Add eslint rule for strict boolean expressions and fix linting issues
2022-12-20 21:33:23 -06:00
81e774bbd4
Make hotkeys 2-column
2022-12-19 07:42:34 -06:00
d02b7294a1
hotkey tweaks
2022-12-19 07:29:28 -06:00
ducdat0507
a4e74a9c5d
Hotkey display
2022-12-19 07:28:00 -06:00
beb996803d
Made modifiers show small numbers
2022-12-14 21:26:21 -06:00
97faa20056
Fix addSoftcap not affecting currentAt or nextAt
2022-12-12 14:19:18 -06:00
b8e498250b
Set modVersion 🤦
2022-12-11 23:44:07 -06:00
2d624f8da9
Merge pull request #12 from adsaf123/main
...
Merge grid rows and retain soft edges
2022-12-10 12:42:33 -06:00
27def194e8
merged grid rows and retain soft edges
2022-12-10 19:33:24 +01:00
c40b80f60a
Update modifier displays
2022-12-10 02:24:14 -06:00