|
bbe0aaa31e
|
Fix directSum breaking formulas
|
2023-05-14 18:51:15 -05:00 |
|
|
f8095a9694
|
Made calculateMaxAffordable, calculateCost, and cost requirements interface a bit cleaner
|
2023-05-14 18:51:15 -05:00 |
|
|
0991ef0865
|
Fix some persistence issues
|
2023-05-13 17:14:29 -05:00 |
|
|
8284baa1a0
|
Fix step-wise formulas causing issues with reactivity
|
2023-05-12 01:40:51 -05:00 |
|
|
4d7f03d543
|
Fix crash when calculating formula cost
Happened when spend resource was false and the formula was non-integrable, but the amount to buy were all going to be summed anyways
|
2023-05-05 19:11:57 -05:00 |
|
|
04f14c17bd
|
Fix extends undefined checks
|
2023-04-30 11:49:49 -05:00 |
|
|
bffc27344a
|
Fixed isInvertible and isIntegrable not working nested correctly
|
2023-04-30 11:49:43 -05:00 |
|
|
7a81157bcc
|
Fix remaining typing issues with formula typing change
|
2023-04-22 18:10:32 -05:00 |
|
|
6363062ce6
|
Gate integration operations
|
2023-04-22 18:04:15 -05:00 |
|
|
f7f4d0aa9f
|
Fix non-integrable requirements crashing in cost requirements with spendResources true
(Which should be valid in the event the dev doesn't want to maximize)
|
2023-04-22 17:59:09 -05:00 |
|
|
97fcd28fe2
|
Change formula typing to work better
|
2023-04-22 17:59:05 -05:00 |
|
|
b6317a47e8
|
Fix calculate max affordable edge case
|
2023-04-21 23:48:19 -05:00 |
|
|
8806910f5e
|
Resolving problems
|
2023-04-19 21:37:28 -05:00 |
|
|
a262d6fd03
|
Make formulas unwrap persistent refs automatically
|
2023-04-18 20:56:53 -05:00 |
|
|
632da10aca
|
Make lazy proxies and options funcs pass along base object
|
2023-04-18 20:56:47 -05:00 |
|
|
0f2cc45a7e
|
Add else statement to conditional formulas
|
2023-04-18 20:56:23 -05:00 |
|
|
80722bd64b
|
Make noPersist work on objects as well
|
2023-04-16 21:17:17 -05:00 |
|
|
1928be236d
|
Add tests for modifiers
|
2023-04-15 22:43:42 -05:00 |
|
|
c65dc777cc
|
Reworked flow for converting modifiers to formulas, and renamed revert to invert
|
2023-04-15 09:39:16 -05:00 |
|
|
73d060aeaf
|
Fix some incorrect tags
|
2023-04-05 00:49:17 -05:00 |
|
|
804d48ae80
|
Fix cost requirement requiring spendResources
Also fixed it defaulting to false instead of true
|
2023-04-02 21:56:43 -05:00 |
|
|
3e0aafcf02
|
Make conversions use formulas
|
2023-04-02 20:30:08 -05:00 |
|
|
cc1a2998e0
|
Make challenges use the requirements system
|
2023-04-02 19:22:23 -05:00 |
|
|
7e7a36bb78
|
Add summedPurchases param for buy max utilities
|
2023-04-02 16:41:39 -05:00 |
|
|
8dc0c6c55c
|
All tests pass now
|
2023-04-02 15:02:43 -05:00 |
|
|
6f9b73d0e8
|
Add printFormula util
|
2023-04-02 00:48:48 -05:00 |
|
|
6115b6687d
|
Fixing more tests with integral rework
|
2023-04-02 00:33:11 -05:00 |
|
|
a91efffd5c
|
WIP integral rework
|
2023-04-01 15:55:17 -05:00 |
|
|
d7e2658304
|
Fix some tests
|
2023-03-23 20:59:41 -05:00 |
|
|
c3b5f2cdad
|
Throw error objects instead of strings
|
2023-03-23 20:22:03 -05:00 |
|
|
f589184c9e
|
Simplify alias definitions
|
2023-03-23 19:22:27 -05:00 |
|
|
6e4c61155a
|
Re-organize formulas for better readability/maintainability
|
2023-03-23 19:04:07 -05:00 |
|
|
3078584043
|
Rewrite integration to handle nested formulas properly
And more clearly defines which formulas are supported
|
2023-03-23 11:43:44 -05:00 |
|
|
5afb691b30
|
Fix more tests
|
2023-03-21 00:15:28 -05:00 |
|
|
d30cfe857f
|
Fix NaN checks
|
2023-02-22 21:03:47 -06:00 |
|
|
bb234ed852
|
Make persistence NaN check not activate if current value is NaN
|
2023-02-22 20:28:57 -06:00 |
|
|
fb02699cb0
|
Fix tests not running
|
2023-02-15 23:15:55 -06:00 |
|
|
832517d192
|
Potential fix for some tab weirdness
|
2023-02-15 22:27:01 -06:00 |
|
|
940fd4c2eb
|
Add minimizedDisplay
|
2023-02-15 22:14:14 -06:00 |
|
|
e0e325e048
|
Settings overhaul
|
2023-02-15 21:58:06 -06:00 |
|
|
4a28c2f8f9
|
Remove showIf and make visibility properties take booleans
|
2023-02-15 20:54:56 -06:00 |
|
|
fe25ea71b6
|
Add utilities for making common cost requirement pay functions
|
2023-02-15 20:36:00 -06:00 |
|
|
909c7a5f5e
|
Make modifier section take options func and display bad numbers in red
|
2023-02-15 20:35:01 -06:00 |
|
|
dcb3bc949d
|
Change buyMax to maximize on repeatables, and make requirements report ability to maximize
Also fixes up some of the requirements tests that weren't actually asserting
|
2023-02-15 20:33:53 -06:00 |
|
|
8987c0c69f
|
More test fixes
|
2023-02-15 20:32:30 -06:00 |
|
|
553c6a4554
|
Make clamping functions pass-throughs for inverting
|
2023-02-15 20:32:27 -06:00 |
|
|
fd925071e5
|
Fix some tests
|
2023-02-15 20:32:24 -06:00 |
|
|
de0e3f90b8
|
Updated formula typing for non-invertible params in invertible formulas
|
2023-02-15 20:32:10 -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 |
|