Commit graph

175 commits

Author SHA1 Message Date
0c3ce6af45 Fix createCollapsibleModifierSections not being lazy 2022-07-26 23:56:38 -05:00
351d4873be Fixed $ appearing in colorText 2022-07-26 19:52:02 -05:00
1997f70699 Made modifiers lazy 2022-07-26 15:25:31 -05:00
c84bffae59 Made default layer option functions not anonymous 2022-07-22 18:59:52 -05:00
1345209461 Made colorText return JSX Element 2022-07-17 21:32:32 -05:00
4670258241 Moved section into its own interface 2022-07-15 17:27:51 -05:00
5c0a248b16 Documented /data 2022-07-10 01:44:45 -05:00
7dd7744edf Add colorText utility function 2022-07-07 20:40:07 -05:00
8fce6ac23e Removed v-show 2022-06-26 23:44:08 -05:00
b639d91032 Made several projInfo properties default to empty strings 2022-06-26 19:24:03 -05:00
ab81a140c9 Make all type-only imports explicit 2022-06-26 19:17:22 -05:00
a2b5820906 Implemented PWA 2022-06-26 15:22:22 -05:00
7fe57798bb Switched from vue-cli-service to vite
Should be thoroughly tested still
Also involved removing operator overloads, which weren't good anyways
2022-06-25 22:34:18 -05:00
d123ed3feb Made resetTime more useful and various setup functions use BaseLayer 2022-05-23 23:34:59 -05:00
90114f6eb3 Fix reset buttons not displaying Req if buyMax is true (but computed) 2022-05-23 22:54:56 -05:00
3118db1402 Fixed offline time amount always showing when offline limit is 0 2022-05-10 21:01:57 -05:00
868a77af29 Saving is now always lz-string. saveEncoding renamed to exportEncoding.
exportEncoding only affects exports, and defaults to base64 so it's
obfuscated but doesn't have issues with being pasted in discord
2022-05-10 20:58:13 -05:00
7eaae981d8 Fixed createCollapsibleModifierSections typing 2022-05-01 19:23:52 -05:00
c692578da7 Made createCollapsibleModifierSections utility function 2022-04-30 23:53:53 -05:00
cfe378020a Added support for reading/loading from different encodings 2022-04-24 16:59:20 -05:00
76c81dc5b5 Fixed createLayerTreeNode not using display option correctly 2022-04-23 23:54:23 -05:00
7f63bf5d79 Made default theme's feature foreground dark rather than light 2022-04-23 23:37:52 -05:00
b161151424 Add tooltip to example layer 2022-04-23 22:23:46 -05:00
f1e5f177bf Made projEntry default display avoid rendering things rather than hiding them 2022-04-23 22:15:15 -05:00
6e53678991 Moved createModifierSection to modifiers.tsx 2022-04-23 22:14:58 -05:00
f04cb69726 Show pin on pinned tooltips 2022-04-23 22:14:56 -05:00
52864964a2 Fixed independent conversions showing values over 1 when buyMax is false 2022-04-10 23:02:15 -05:00
eb434656b3 Fix Req showing wrong value 2022-04-10 21:53:11 -05:00
98c7cd7724 Added minimumGain to resetButton 2022-04-10 21:16:20 -05:00
42fe66c891 Display Req: instead of Next: when buy max is disabled 2022-04-10 19:33:44 -05:00
6bbd9b990a Update default layers to use new createLayer signature 2022-04-10 19:26:33 -05:00
64f1b460b0 Added FeatureOptionsFunc to simplify features 2022-04-10 19:26:33 -05:00
Seth Posner
099c19d712 Fix independent gain, add current cost 2022-04-10 15:05:49 -07:00
3682582fc3 Added enablePausing config 2022-03-11 16:58:11 -06:00
e56f34c13c Converted variables that track time to numbers 2022-03-11 15:33:08 -06:00
7524ed3164 Export more types 2022-03-08 19:40:51 -06:00
a76182c0bd Hide things from documentation that don't apply 2022-03-08 00:25:08 -06:00
1b765e8b50 Corrected exponential scaling to polynomial 2022-03-05 22:49:35 -06:00
d1cdfd2c9c Fixed layer tree node options 2022-03-05 16:42:55 -06:00
79dd822b3a Remove unused parameter from exponential scaling function 2022-03-05 16:06:23 -06:00
49474b1518 Changed path aliasing 2022-03-03 21:39:48 -06:00
4ddfc8e07f Fix reset buttons activating when held down when canClick is false 2022-03-02 21:09:37 -06:00
9efabf9cf6 Removed redundant Theme properties 2022-03-02 20:30:52 -06:00
b9f28f764f allowSmall -> defaultShowSmall, allow it to be overrided 2022-03-02 20:28:11 -06:00
48ef321c89 Changed some default values in projInfo 2022-03-02 20:21:24 -06:00
52a9f51510 Renamed modInfo -> projInfo, mod -> projEntry 2022-03-02 20:12:56 -06:00
f0e5442898 Ignore the error about using let instead of const :eye_roll:
It's most likely to change once the creator starts working on it
2022-02-27 22:10:42 -06:00
da44b8c4c3 Replaced demo mod with placeholder mod 2022-02-27 18:31:51 -06:00
12438b67b3 Added some logic to reduce redundancies in player data 2022-02-27 18:07:21 -06:00
690b963afd Created utility function for opening layers as a modal 2022-02-27 17:06:38 -06:00
53d4c40aba Fixed game over screen graphical issues 2022-02-27 16:55:43 -06:00
c9d3613d64 Make tab family take TabButtonOptions directly instead of TabButton 2022-02-27 16:49:13 -06:00
a81040d6a2 Moved persistence related code to its own file 2022-02-27 16:18:13 -06:00
a8af84f581 Reorganized components 2022-02-27 16:04:56 -06:00
552aca20e4 Added Profectus branding 2022-02-27 14:24:48 -06:00
e2126472b2 Fixed runtime issues with vue
Entire demo tree has been tested and is fully functional,
including all the options and save manager functionality
2022-02-27 13:49:34 -06:00
067ba6ce90 Make layers lazy instantiate 2022-01-27 22:47:26 -06:00
90e49e196f Fixing more issues 2022-01-24 22:25:34 -06:00
15a460bf42 Fixing building / cleanup 2022-01-24 22:23:30 -06:00
6f781b33fa New layer API WIP 2022-01-13 22:25:47 -06:00
34487cb3da Hide tabs list when there's only a single tab 2021-09-19 12:04:55 -05:00
7c0f93b7ad Renamed grid data -> state 2021-09-19 10:40:18 -05:00
eaf47bb946 Moved properties from player data to new settings and state objects 2021-09-05 18:53:04 -05:00
9e2cc02dce Added badges to changelog 2021-09-04 22:02:13 -05:00
1571171239 Added changelog 2021-09-04 21:42:48 -05:00
9a01a2931b Fixed issue with demo layer working incorrectly 2021-09-04 20:59:02 -05:00
d7b6df5b4f Performance improvements :) 2021-09-04 20:19:59 -05:00
4869f042a9 Fixed issues with input fields in Saves Manager 2021-09-04 17:15:48 -05:00
bb7db73eba Improved themes 2021-09-04 16:51:41 -05:00
6b501dd240 Merge branch 'side-project' 2021-09-04 13:51:06 -05:00
d56aa82297 Fix various issues from typescript update 2021-09-04 00:37:45 -05:00
a63a4084cb Fixed errors caused by lack of .layers in player object 2021-08-30 23:14:22 -05:00
72e73db048 Fixed things happening on save load 2021-08-28 11:35:25 -05:00
97fe313558 Implemented chapter 2 2021-08-28 11:20:17 -05:00
2e06e8e4ea Polish 2021-08-28 11:20:12 -05:00
856809cade Implemented hunger mechanic 2021-08-28 07:42:38 -05:00
6b5c94d62e Added warning notifications when resources deplete 2021-08-27 00:22:26 -05:00
029cd534b1 Added notifications to actions 2021-08-27 00:18:34 -05:00
9313748f21 Added develop action 2021-08-26 23:47:53 -05:00
fdfccefb67 Removed social resource and added make bed action
plus some stuff I forgot to add in the last commit
2021-08-26 22:24:56 -05:00
f516a3a092 Implemented force sleep and rest actions 2021-08-26 22:01:56 -05:00
116e6a47ec Added nordic theme 2021-08-26 18:15:05 -05:00
0e4cf7ebbc Moved links into resources objects 2021-08-26 00:57:33 -05:00
7890c1c298 Made resource colors non-transparent 2021-08-26 00:52:23 -05:00
5c23976ec7 Changed "assign" color to white 2021-08-26 00:29:27 -05:00
ae0fbd09eb Refactored actions and added Bed node 2021-08-26 00:04:51 -05:00
1ee8d2a41c Fixed issue with registering things out of order 2021-08-25 08:41:49 -05:00
e642b0e420 Some refactoring of resources 2021-08-25 00:04:40 -05:00
d2e0ab29f2 Various mobile fixes 2021-08-24 19:19:55 -05:00
a7009e416e Implemented pinning resource amounts 2021-08-24 08:18:55 -05:00
b41e44e87e Implemented links between resource nodes 2021-08-24 02:54:42 -05:00
e52b3751c9 Improved look of log 2021-08-24 00:40:36 -05:00
8a38ecf928 Added amount displays to resource and item nodes 2021-08-23 23:56:21 -05:00
7618ee291a Implemented confirmable actions (plus logs and other related features) 2021-08-22 22:57:59 -05:00
11df9853d0 Implemented selecting nodes and running immediate actions 2021-08-22 01:50:03 -05:00
35b3226995 Updated action node type 2021-08-20 23:53:59 -05:00
b43f3003b5 Added diamond shaped nodes 2021-08-20 23:21:29 -05:00
02443bbb0c Implemented dropping nodes into each other
Also improved node z-ordering and other related things
2021-08-20 00:47:56 -05:00
f3b934337f Added board with basic time resource node 2021-08-19 00:26:34 -05:00
8fff8f2835 setup basic mod info 2021-08-17 08:06:30 -05:00