Commit Graph

53 Commits

Author SHA1 Message Date
973e986f78 Make raw item code constrained width wise 2023-10-29 14:07:45 +01:00
a2a2781285 Add in storage counter to stash view 2023-10-29 14:03:23 +01:00
af589216f1 Add uniques, sets & misc category to storage select 2023-10-29 13:27:19 +01:00
b9fee9bb9b Add stash backups to database transfers in the webui 2023-10-28 23:47:52 +02:00
621a858875 Fix bugs with affixes lookup 2023-10-28 22:49:08 +02:00
c14b22f839 Make the items show in a grid 2023-10-28 20:29:44 +02:00
e6b3da2eae Cross platform difficulties 2023-10-28 20:27:20 +02:00
2c47456bd4 Add psutil check to see if d2r is running 2023-10-28 20:02:56 +02:00
b8de278055 Add missing indices to schema 2023-10-28 18:49:27 +02:00
503f927bf5 Split sockets into sockets and socketed_items 2023-10-28 18:43:35 +02:00
4425f9f50a Add takeout from storage 2023-10-28 18:09:22 +02:00
86d2a684f5 Add a hash of the stash to form data 2023-10-28 15:50:35 +02:00
5cca2ef748 rename /remove to /store and remove junk from css 2023-10-28 14:25:23 +02:00
0078b71389 Add simple flask webapp to move items from the stash into the database 2023-10-28 06:17:58 +02:00
5026f58eb8 Fix an issue in rebuilding stash data for socketed items 2023-10-28 06:17:58 +02:00
b73fd9c20e make d2warehouse.db ready for the flask webui
- Add a function to automatically initialize the db with the schema if
   it isn't yet initialized
 - Remove the DROP TABLE queries from the schema in case the above^ goes
   wrong somehow
 - Make Item.write_to_db and Item.load_from_db take a db argument so
   that multiple threads can be supported
 - Add a few properties to d2warehouse.Item to help display items
2023-10-28 06:17:54 +02:00
93b1ad25a6 Add requirements to db write 2023-10-27 18:09:57 +02:00
88ecf7f700 Add prefix/suffix extraction 2023-10-27 17:36:45 +02:00
7251805332 Add req lvl, str & dex to items.json 2023-10-27 16:54:10 +02:00
40276cb0b4 Add basic sqlite3 saving & loading support 2023-10-27 13:48:59 +00:00
4da8e096fe Fix alignemnt bug & set cleanup 2023-10-26 16:50:49 +02:00
f8a628a65f Add stat Extra Blood for Gorefoot 2023-10-26 00:02:40 +02:00
5beb79607a Fix stat Indestructible 2023-10-25 23:51:27 +02:00
c945416bd0 Fix bug with min/max damage parsing 2023-10-25 23:31:42 +02:00
b9f1520b83 Add basic functionality to add and remove items from stash tabs 2023-10-25 22:38:10 +02:00
bd8e468a43 Add item width/height to items.json 2023-10-25 21:07:28 +02:00
91a62f03ac Fix extracting +X to Class Skills with param value 2023-10-25 18:08:48 +02:00
b5b7149c79 Fix issue in item extraction when stackable is "0" instead of "" 2023-10-25 16:41:27 +02:00
074964aa87 Split stackable property away from the class in items.json 2023-10-25 14:51:21 +02:00
1ae1095cd6 Add test for item with implicit 2023-10-25 13:44:05 +02:00
f95564d72f Remove some debug prints 2023-10-25 13:04:52 +02:00
ed32261e36 Move contrib folder 2023-10-25 12:51:00 +02:00
c6ce8a0c45 Fix parsing of implicit mod 2023-10-25 12:48:51 +02:00
a48a833707 Add socketed items parsing 2023-10-24 20:56:55 +02:00
c170241746 Add runeword parsing 2023-10-24 20:26:21 +02:00
29af4ccaa7 Add script for dumping uniques and sets 2023-10-24 20:06:26 +02:00
788394ea7c Add unique & set names 2023-10-24 19:42:40 +02:00
d571d0efbb Add Enhanced, +Min/Max Damage exceptions to contrib/stats.py
Fixes https://gitlab.com/omicron-oss/d2warehouse/-/issues/1
2023-10-24 15:14:17 +02:00
4a57291ba0 Fix several issues revealed by testing and static analysis
- Fix type annotations in d2warehouse.stash
- Fix invalid escape sequences in d2warehouse.item
- Bump the minimum supported version of python to 3.10
- Fix ambiguous variable name in d2warehouse.huffman
2023-10-24 01:29:58 +02:00
223c8edf1c Add CD/CI for testing 2023-10-24 01:19:30 +02:00
78047a057f Add tests for parsing some items and stashes 2023-10-24 00:59:27 +02:00
95664502dc rename item kind to item code 2023-10-23 21:39:08 +02:00
a4f2e1d354 Ignore some flake8 warnings that conflict with black 2023-10-23 20:08:16 +02:00
f6bfad2d4b Switch from affixes.json to stats.json 2023-10-23 17:23:32 +02:00
b72166be0b Add generated stats.json 2023-10-23 16:19:23 +02:00
aa5cc08cdb Add script to parse stats from game data 2023-10-23 16:19:07 +02:00
6abd225558 Add license information and update authors 2023-10-22 18:30:00 +02:00
6ca03cc19c Add enchantment parsing 2023-10-22 17:39:16 +02:00
e99d93a6a0 Add item basetype parsing 2023-10-22 13:10:34 +02:00
643784af52 Add affixes.json
credit to 426ae71394/item.go (L1219C20-L1219C20)
2023-10-22 12:51:56 +02:00