Commit graph

615 commits

Author SHA1 Message Date
cb4830e06b Fix reset typing 2023-05-10 00:35:16 -05:00
0e1915f511 Fix conversion utility showing currentAt instead of nextAt 2023-05-07 21:51:21 -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
3413585c45 Fix bar misalignment on actions 2023-05-03 15:51:18 -05:00
dbdcf19b6d Fix actions not being constructible 2023-05-01 08:20:45 -05:00
8dd2cbe466 Make upgrade.canPurchase return false when already bought 2023-04-30 13:17:15 -05:00
04f14c17bd Fix extends undefined checks 2023-04-30 11:49:49 -05:00
5d17d67e00 Fix repeatable amount display 2023-04-30 11:49:47 -05:00
bffc27344a Fixed isInvertible and isIntegrable not working nested correctly 2023-04-30 11:49:43 -05:00
ff16397cc7 Fix bug with estimateTime not showing "Never" when it should 2023-04-27 22:49:47 -05:00
81058e10b4 Throw error if lazy proxies get cyclical 2023-04-27 20:41:20 -05:00
36fa4ece65 Fix mouse leave deselecting nodes 2023-04-25 23:51:48 -05:00
6f985fd55b Correct doc for actionDistance 2023-04-23 19:31:39 -05:00
7b59fcfc38 Don't capitalize all tree nodes 2023-04-23 16:55:45 -05:00
4980074d26 Fixed board.selectedAction setter not working 2023-04-23 16:44:57 -05:00
066ef71395 Made node text easier to read 2023-04-23 14:16:27 -05:00
425e85a1ee Add function to boards for placing nodes in the next available space 2023-04-23 10:00:40 -05:00
c08ea9ce85 Make selectedNode and selectedAction writable 2023-04-23 00:40:10 -05:00
3808f299ec Fix canAccept not passing in otherNode 2023-04-23 00:40:07 -05:00
2999c971cf Expose current dragging and receiving nodes 2023-04-23 00:40:03 -05:00
9707ceb66d Fix build issue 2023-04-22 23:20:41 -05:00
962e789e1d Added way to customize board action confirmation label 2023-04-22 23:14:05 -05:00
21f49756dc Move selecting action logic inside the board component 2023-04-22 23:14:02 -05:00
693c34f585 Fix action not being marked selected 2023-04-22 20:51:56 -05:00
d5a7ba4af2 Fixed render issue with createFormulaPreview 2023-04-22 19:54:46 -05:00
a59f77aa6d Support classes and styles to be defined by node types 2023-04-22 19:22:31 -05:00
6e443ace0d Show action tooltips when selected 2023-04-22 19:22:25 -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
80c66135b2 Fix nodes appearing in center when selected 2023-04-22 00:33:30 -05:00
b6317a47e8 Fix calculate max affordable edge case 2023-04-21 23:48:19 -05:00
4160986a4d Fix issues with boards 2023-04-21 19:49:55 -05:00
6cff4eca82 Ooops 2023-04-20 17:29:33 -05:00
5ce2c65560 Update discord link 2023-04-20 17:05:32 -05:00
87a2d6bdc9 Close example 2023-04-19 21:40:34 -05:00
8806910f5e Resolving problems 2023-04-19 21:37:28 -05:00
98f18fef43 Ran prettier 2023-04-19 20:39:25 -05:00
Seth Posner
24fcd3468e Print an error if decorator is missing required property 2023-04-19 18:21:00 -07:00
Seth Posner
6043d0c414 Add missing import 2023-04-19 17:55:02 -07:00
Seth Posner
27d678a30b Change decorator varargs to Generic variants 2023-04-19 17:49:15 -07:00
Seth Posner
7065de519f Add optional total functions to BonusDecorator options 2023-04-19 16:59:52 -07:00
Seth Posner
f79359b18a Merge remote-tracking branch 'upstream/main' 2023-04-19 16:56:44 -07:00
b666e0c1f5 Fix common.tsx 2023-04-18 20:58:50 -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
Seth Posner
287541dd3f Merge remote-tracking branch 'upstream/main' 2023-04-18 07:08:15 -07:00
ba67ff4fe9 Update TS 2023-04-16 21:48:38 -05:00
80722bd64b Make noPersist work on objects as well 2023-04-16 21:17:17 -05:00
8ebfb85360 Fix smallerIsBetter handling in createCollapsibleModifierSections 2023-04-16 12:44:48 -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
8c0a0c4410 Made board nodes support booleans for visibility 2023-04-11 07:52:18 -05:00
70cda5fa8a Fix some typing 2023-04-05 19:42:02 -05:00
Seth Posner
3cac14d81d Merge remote-tracking branch 'upstream/main' 2023-04-05 09:43:20 -07:00
d0281e64bf Documented modifierToFormula 2023-04-05 07:43:48 -05:00
73d060aeaf Fix some incorrect tags 2023-04-05 00:49:17 -05:00
0614f14ad6 Added tests for conversions 2023-04-04 23:14:35 -05:00
Seth Posner
d7f6caffd3 Merge remote-tracking branch 'upstream/main' 2023-04-04 14:50:25 -07:00
3ad0d64590 Documented the rest of the features
Not the vue components though
2023-04-04 00:02:23 -05:00
44a5b336d6 Make challenges display requirements 2023-04-03 08:19:58 -05:00
61bc53f954 Large achievement styling changes 2023-04-03 08:15:44 -05:00
2b1250fb38 Fix build issue 2023-04-03 00:39:19 -05:00
7c7fb38dd8 Merge milestones and achievements
Yay for removing a whole redundant feature!
2023-04-03 00:34:45 -05:00
742d2293d0 Made achievements use requirements system, and document them 2023-04-02 23:49:51 -05:00
e6c7ad62a7 Document challenge 2023-04-02 23:49:47 -05:00
165eba688e Slightly improve resource imports 2023-04-02 22:26:30 -05:00
528afc6b59 Fix tooltips being pinnable causing SO 2023-04-02 22:09:13 -05:00
572566c4c1 Updated prestige layer to new conversion 2023-04-02 22:03:58 -05:00
f717fe8db2 Make every component use GenericComponent
some projects seem to require this and others not?
2023-04-02 21:57:50 -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
98cb997056 Make conversions pass the variable to the formula 2023-04-02 21:47:31 -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
eff5852b04 Remove some debugging code 2023-04-02 16:42:03 -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
Seth Posner
a0833d2029 Remove region and separator comments 2023-03-02 15:42:32 -08:00
Seth Posner
06817dbbfb Swap back to util/bignum 2023-03-02 15:40:45 -08:00
Seth Posner
2f847c3fd9 Split decorators into multiple files, add typedocs 2023-03-02 15:05:24 -08:00
Seth Posner
4b2fa80d4c Remove decorated data from generic repeatable display 2023-03-02 15:04:18 -08:00
3489c83cc4 Add util for creating formula from a modifier 2023-02-27 22:44:30 -06:00
Seth Posner
c585a5d1b1 Merge remote-tracking branch 'upstream/main' 2023-02-25 16:50:39 -08:00
Seth Posner
691a68ecf2 Add decorators to decoratable features 2023-02-25 16:48:36 -08:00
d30cfe857f Fix NaN checks 2023-02-22 21:03:47 -06:00
2affe53321 Fix tab buttons not showing glow 2023-02-22 20:29:01 -06:00
bb234ed852 Make persistence NaN check not activate if current value is NaN 2023-02-22 20:28:57 -06:00
1737bef5fc Make modals use foreground color 2023-02-22 20:25:50 -06:00
Seth Posner
40d2bcf55d Merge remote-tracking branch 'upstream/main' 2023-02-17 15:56:32 -08:00