Commit graph

776 commits

Author SHA1 Message Date
3e23555b25 Fixed tests 2023-05-17 00:37:33 -05:00
a55f99daed Fix merge conflicts 2023-05-17 00:01:28 -05:00
ab3b180db8 Improve error handling 2023-05-16 23:49:25 -05:00
539282bef8 Improve error handling 2023-05-16 23:49:06 -05:00
d3a74da5ab Add utility for getting requirement that's met when a conversion can convert 2023-05-15 21:16:28 -05:00
500e412fdb Rebalance resource levels and implement portal costs 2023-05-15 21:10:52 -05:00
4e9fb1bc9b Fixed tests 2023-05-15 07:40:00 -05:00
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
Seth Posner
d7a2049ca2 Make effect decorator generic 2023-05-14 18:50:19 -05:00
006bfdf65d Make node links follow dragging 2023-05-14 18:30:59 -05:00
0991ef0865 Fix some persistence issues 2023-05-13 17:14:29 -05:00
d4f0069dd5 Fix repeatables not buying max correctly 2023-05-12 17:08:11 -05:00
9fa5ec971a Move amount check in bonus amount decorator to postConstruct 2023-05-12 10:59:59 -05:00
502fa99f5d Show selected node above others 2023-05-12 09:40:12 -05:00
8284baa1a0 Fix step-wise formulas causing issues with reactivity 2023-05-12 01:40:51 -05:00
213bdd6005 More board optimizations 2023-05-12 01:40:45 -05:00
2f3ae85eb1 Fix recursive rendering when panning 2023-05-12 01:40:22 -05:00
866685de2d Simplify TPS 2023-05-12 01:40:17 -05:00
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
6786c27b89 Remove lint from readme 2023-05-03 15:51:27 -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