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
Seth Posner
dafbcd5a6c
Advanced Decorator first draft
2023-02-17 15:56:04 -08:00
fb02699cb0
Fix tests not running
2023-02-15 23:15:55 -06:00
e6dd4bf332
Fix some Layer styling
2023-02-15 22:43:44 -06:00
aa1acf8d70
Fixed go back button sometimes appearing erroneously
2023-02-15 22:43:06 -06:00
cd36549cbe
Don't set values on ref prop
2023-02-15 22:31:19 -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
d3f5e3bed7
Fix some merge issues
2023-02-15 21:08:10 -06:00
4a28c2f8f9
Remove showIf and make visibility properties take booleans
2023-02-15 20:54:56 -06:00
44be53d475
Add utility function for showing previews of how formulas will change
2023-02-15 20:54:32 -06:00
8bf68831b7
Add utility function for ETAs
2023-02-15 20:36:57 -06:00
7f4d57d3e4
Added incredibly dangerous deleteLowerSaves function to window
2023-02-15 20:36:08 -06:00
1bfa66e1c9
Add mouse/touch events to more onClicks
2023-02-15 20:36:04 -06:00
fe25ea71b6
Add utilities for making common cost requirement pay functions
2023-02-15 20:36:00 -06:00
3dd2d96567
Documented repeatables
2023-02-15 20:35:37 -06:00
cdce13480e
Remove references to purchasing for repeatable
2023-02-15 20:35:08 -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
4fb2d90dbb
buyMax -> maximize
2023-02-15 20:33:49 -06:00
712fcf7eb0
Rename repeatable.purchaseLimit to limit and initialValue to initialAmount
2023-02-15 20:33:46 -06:00
ccb8e76eaf
Renamed buyables to repeatables
2023-02-15 20:33:32 -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
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
536b3e0f17
Made maxAffordable be relative rather than absolute
2023-02-15 20:31:42 -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
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
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
8524d65dc1
Reword PWA update notif
2022-12-10 00:47:31 -06:00
6085dfdfe2
Fixed PWAs not showing updates
2022-12-08 19:32:46 -06:00
8e8c71224a
Fix total resources increasing on load
2022-12-07 23:01:38 -06:00
36f064ebd7
Cleaned up NonPersistent typing
2022-12-06 08:06:35 -06:00
5fa2e521b2
Fixed resets
2022-12-06 08:06:31 -06:00
4207677944
Fix save data object redundancy
...
Note: Requires the use of noPersist quite a bit, but the console will tell you when you missed a spot
Also required breaking up events.ts due to cyclical dependencies
2022-12-06 00:22:32 -06:00
ae0d19c267
Make rest of discord links open in new tab
2022-12-05 07:19:23 -06:00
6704e1bea8
Create createCollapsibleMilestones util function
2022-12-04 20:31:42 -06:00
0f275e3e94
Add showPopups property to milestones
2022-12-04 20:07:01 -06:00
7a1e00b2e8
Fixed offline time not being capped
2022-12-03 12:26:12 -06:00
Seth Posner
62c3e1f45d
Apply flooring to resource displays
2022-12-01 21:16:00 -06:00
ce895ed0a0
Fix mainDisplay not respecting classes and styles props
2022-11-30 18:42:58 -06:00
d9dac42837
Made notifs not selectable
2022-11-30 00:12:51 -06:00
753ce5f8de
Add initialValue to Buyables
2022-11-29 08:13:04 -06:00
505bb2a4bc
projInfo.id must be non-zero length
2022-11-17 21:04:32 -06:00
c6909cf1b6
Updated projinfo schema
2022-11-17 07:54:55 -06:00
5b3e6e3de2
Added schema for projInfo.json
2022-11-16 21:37:36 -06:00
9f38ae6449
Fix typing issue
2022-11-08 10:07:30 -06:00
8f52918e38
Fix boards not starting with starting nodes
2022-11-07 22:09:34 -06:00
3dbacc8e21
Fixed board feature
2022-11-07 22:09:20 -06:00
a451d4ad94
Add submitOnBlur property to text fields
2022-11-07 22:08:27 -06:00
5bea1bf9b4
Fix isFunction typing
2022-11-07 22:06:16 -06:00
73d6fd7566
Fix a couple type issues
2022-11-07 22:05:37 -06:00
07fcccd0e4
Add hotkey to default layer
2022-10-08 15:57:09 -05:00
8bd51932d9
Fix modifier sections not looking correct when the topmost section isn't visible
2022-08-22 08:53:06 -05:00
6784fbaf51
Update node bounds whenever a node is registered or unregistered
2022-08-22 08:53:01 -05:00
11662e248f
Use fontsource for loading webfonts offline
2022-08-22 08:52:55 -05:00
ad613d06d4
Fixed fonts causing shifts in Node positions on firefox
2022-08-22 08:52:51 -05:00
3042d5ebb6
Use shallowRef in more places
2022-08-22 08:52:43 -05:00
bca8c6d64e
Made Pixi application holder a shallow ref
2022-08-22 08:52:24 -05:00
61859049b9
Fixed issues with pixi.js
2022-08-22 08:52:15 -05:00
e8ba3f1f88
Add utility type for the values within a readonly array
2022-08-22 08:52:02 -05:00
21eb5409b4
Added option to exponential modifiers to support low numbers
2022-08-22 08:51:53 -05:00
1729fa8561
Add joinJSX utility function
2022-08-22 08:51:37 -05:00
1a304ea425
Fix collapsible modifier sections not registering persistent
2022-07-27 22:59:15 -05:00
6323fa0879
Implemented createDismissableNotify
2022-07-27 22:59:03 -05:00
39c62f3b9c
Made trackHover less intrusive
2022-07-27 22:58:59 -05:00
0c3ce6af45
Fix createCollapsibleModifierSections not being lazy
2022-07-26 23:56:38 -05:00
1976628b16
Fixed modifier typing
2022-07-26 19:52:24 -05:00
72dbc2da90
Implemented utility to unwrap computable resources
2022-07-26 19:52:11 -05:00
351d4873be
Fixed $ appearing in colorText
2022-07-26 19:52:02 -05:00
783d5a8a6b
Add function to track hovering over a VueFeature
2022-07-26 19:51:39 -05:00
b397929c62
Made sequential modifiers lazy
2022-07-26 18:17:36 -05:00
1997f70699
Made modifiers lazy
2022-07-26 15:25:31 -05:00
17a033bfd9
Use ID to compare layers in trackResetTime
2022-07-22 21:54:37 -05:00
c84bffae59
Made default layer option functions not anonymous
2022-07-22 18:59:52 -05:00
fe865bff9d
Add onLoad event
2022-07-21 19:23:50 -05:00