1
0
Fork 0
Commit graph

4 commits

Author SHA1 Message Date
Michael
8b824512e3
Implement inventory nuking and fix remove all hang (#4)
* support inventory nuking

* style fix

* add init gamedata command

* add hint for new command
2022-07-17 13:50:02 -07:00
elduende05
61e4206e9c
Item refactor (#1)
* Load item definitions from json

- Convert item registration code using regex

* Display item descriptions on hover

- Read descriptions from l10n file
- Only en_US is supported for now

* Add remaining missing materials

- Also add misc. weaponry & armor
- Rename and reorder items to match game
- Keep deprecated alternate names

* Add remaining missing key items

- Replace SpiritOrb image with more accurate one
- Fix positioning on MasterSword and PotLid images
- Add padding to more closely simulate in-game menu

* Rename Meal item type to Food to match game

* Add support for animated icons

- Add support for reading webp files
- Mark all potentially animated items in json
- Add animated icons only for SpiritOrb / TravelMedallion for now
- Add menu option but leave disabled by default

* Review feedback

* Move icon files into subdirectories

* Remove item enum in favor of building list from config

- Fix some incorrect item ordering
- Rename some generic item images

* Add remaining missing items

- Add 122 Weapons, 23 Bows, and 30 Shields
- Add 105 Armor and 189 Food
- Include alternate icons (e.g. charged OHO) for later use

* Clean up types and respond to review feedback

* Add .webp files to lint ignore

* Stupid linter
2022-07-13 19:23:00 -07:00
iTNTPiston
2d82168e1d setup workflows 2022-07-06 20:36:57 -07:00
iTNTPiston
8f56a28586 prototype 2022-06-19 03:52:08 -07:00