Commit graph

122 commits

Author SHA1 Message Date
3bc00f3389 remove missing Powder Limit warning 2025-01-01 20:32:27 +00:00
700f40fba7 add in type checks for existing blocks 2025-01-01 20:20:27 +00:00
a2c6317474 remove some line breaks 2025-01-01 19:55:57 +00:00
0a06bc80e4 make each modular encode function use one general struct of {out, debug_mode, ver} 2025-01-01 18:23:26 +00:00
13e4eb76a9 modular mode hellyeah 2025-01-01 18:07:46 +00:00
366f5b5a64 move stuff to ENCODE functions 2025-01-01 17:36:27 +00:00
321a5b302f make powder vec happen as seperate function 2025-01-01 16:16:18 +00:00
a8b3b63a0a remove powder tier, because wynntils literally doesn't use anything but t6 2025-01-01 14:35:39 +00:00
9835e9f9d2 powder limit is min of 255 and current powders amount 2025-01-01 14:22:10 +00:00
b4f61b9eb1 remove powderlimit field entirely and make it automatically find based on num of powders (it's useless anyway) 2025-01-01 14:21:10 +00:00
501bacc7f3 make all the ACTUALLY non essential blocks Optional. Also powder limit is necessary if you have powders 2025-01-01 13:40:58 +00:00
33c4d64b92 fucking clippy man 2025-01-01 00:04:30 +00:00
8d46acb705 remove comments. also cargo fmt 2025-01-01 00:03:23 +00:00
ebeb57b3fa fix the issue with displaying the json borked issue 2024-12-31 23:58:11 +00:00
8d5341f3e2 add json5 support (first function is broken??? 2024-12-31 23:43:20 +00:00
fa9a50b60e cargo fmt 2024-12-31 16:27:33 +00:00
41610c51ca fix clippy stuff 2024-12-31 16:27:21 +00:00
db78cdaf30 reformatting fr 2024-12-31 16:20:13 +00:00
88092f1456 some refactoring 2024-12-31 15:40:33 +00:00
c5a30d0d46 remove debug print 2024-12-31 15:08:08 +00:00
78b6e9ddcc better method of loading files, because this is necessary for implementing other item types 2024-12-31 00:06:08 +00:00
2f581abe65 make config path optional yep 2024-12-29 19:59:39 +00:00
deb174f338 fix a bug where its looking for ShinyStats.json instead of shiny_stats.json (blame clion refactoring) 2024-12-29 19:28:50 +00:00
041dc62684 fix the shiny stats json detection 2024-12-29 15:30:36 +00:00
33df7335e3 Revert "test global vars (this is pain)"
This reverts commit 73e0a94cc2.
2024-12-25 14:45:15 +00:00
73e0a94cc2 test global vars (this is pain) 2024-12-25 14:44:52 +00:00
6efad16944 cargo clippy --fix 2024-12-25 00:32:37 +00:00
a6e56b4519 a 2024-12-25 00:32:15 +00:00
5dd7966761 fixed every linter warning 2024-12-25 00:30:38 +00:00
e2868aed8c remove fancypanic as its redundant now. 2024-12-25 00:24:09 +00:00
66fd2ce14e added multiline errors 2024-12-25 00:23:05 +00:00
515c0d4c60 set the help message to appear if no args sent 2024-12-25 00:15:12 +00:00
142c548057 download jsons function for ease of use 2024-12-24 23:37:50 +00:00
5cdfcfeca2 crafted support (1/?) (unfinished) 2024-12-24 18:49:30 +00:00
a2b82ccf22 bit of cleaning up 2024-12-23 23:17:30 +00:00
3220d21e73 add crafted bool for crafted support 2024-12-23 22:56:04 +00:00
a204a37843 make it so it looks for config jsons in the executable dir, NOT the working dir 2024-12-23 22:55:15 +00:00
b2744bb6f7 rename debugmode parameter to debug and remove the now redundant dbg!(powderamount) 2024-11-06 17:25:57 +00:00
f2cb7ab9c7 fix borrow errors using dbg! 2024-11-06 17:23:44 +00:00
7a6af25bc2 change debug print location for powder adding and element 2024-11-06 17:21:49 +00:00
fc4e92ed34 use dbg! for debug prints 2024-11-06 17:20:39 +00:00
d45ad9c39d change the config parameter to '--config', clarify about negative IDIs in the config.md documentation 2024-11-05 21:52:51 +00:00
6010d1be0d fix powders changing in idmangler-lib 4.0 2024-11-05 21:47:15 +00:00
05f85641da make the config error display a bit nicer 2024-11-05 20:04:11 +00:00
9c51da97a8 print the actual json error if the config is broken 2024-11-05 20:02:20 +00:00
510b023e4e tf did i do smh 2024-11-05 19:51:58 +00:00
0b120eda74 tbh 2024-11-05 19:47:47 +00:00
6b5f051b5a extra line formatting 2024-11-05 19:39:08 +00:00
3a956d6fce refactor error message on id_keys.json error 2024-11-05 19:19:14 +00:00
c1cca55db7 finally, proper error handling support 2024-11-05 19:17:45 +00:00