Commit graph

74 commits

Author SHA1 Message Date
Sollace
4a73cae094 Fixed being able to convert any item into botched gems 2022-10-07 09:03:24 +02:00
Sollace
a664a52bbe Anyone can read the spellbook now 2022-09-21 22:58:29 +02:00
Sollace
ac874945cd Use the stack-aware version of Slot#getMaxItemCount 2022-09-21 10:53:09 +02:00
Sollace
89879494df Grant the player experience when crafting spells 2022-09-15 21:50:28 +02:00
Sollace
986c8b67d7 Update page contents from the server for debugging purposes 2022-09-12 12:50:10 +02:00
Sollace
17d3d92416 Spellbook chapters are now server-controlled 2022-09-12 01:46:48 +02:00
Sollace
b1599c74af More cleanup and refactoring 2022-09-11 19:43:36 +02:00
Sollace
8a7c66b6c1 Remove some debug logs 2022-09-11 19:27:04 +02:00
Sollace
17a989f2a0 Fixed shift-clicking stacks from the result slot not putting them into the correct location and fixed shift-clicking not clearing the input grid 2022-09-11 19:26:19 +02:00
Sollace
3166fb3919 Fix item duplication/sync glitch in the spellbook 2022-09-11 18:52:26 +02:00
Sollace
5e23b7520e Clean up some things that aren't being used any more 2022-09-11 12:45:23 +02:00
Sollace
6e04c6ab6d Store the state in the spellbook and synchronize it between players when multiple are viewing the same book 2022-09-11 12:22:06 +02:00
Sollace
0f90593a9a Move spellbook gui related code to the correct package 2022-09-10 22:13:56 +02:00
Sollace
bfe5f2e3b9 Reset the scrollbars when moving between dex pages 2022-09-10 17:30:25 +02:00
Sollace
06268b70ca Disable debug reloading of spellbook chapters 2022-09-10 17:30:11 +02:00
Sollace
e26c4bbf9e Remove the old Discoveries tab 2022-09-10 17:06:35 +02:00
Sollace
5595468c4b Show a complete list of items with the applicable trait, but as a mystery for items that haven't yet been discovered 2022-09-10 17:03:13 +02:00
Sollace
aba1337774 Add an index to show discovered traits and which items map to those traits 2022-09-10 01:29:03 +02:00
Sollace
3c17cec28a Fix images rendering in front of tooltips 2022-09-06 11:39:00 +02:00
Sollace
4b474e55af Add support for inserting itemstacks into chapters 2022-09-06 11:38:48 +02:00
Sollace
184af1d53e Update kirin 2022-09-04 15:44:57 +02:00
Sollace
518c418072 Account for corruption when computing a unicorn's job title 2022-09-04 14:17:15 +02:00
Sollace
7ba298e162 Change titles to be more consistent 2022-09-02 20:59:46 +02:00
Sollace
37148fad51 Fix some more text wrapping issues and catch exceptions whilst loading chapters 2022-09-02 12:53:14 +02:00
Sollace
5256f1f273 Fix paragraph spacing 2022-09-02 10:36:56 +02:00
Sollace
50b709fa3c More rewrites and allow for adding recipes to book pages 2022-09-01 22:28:55 +02:00
Sollace
bb09feca7e Rewrite dynamic page contents to allow adding more types of elements 2022-09-01 22:27:18 +02:00
Sollace
af385ac671 Add newline character support and fix some text wrapping incorrectly 2022-09-01 20:05:00 +02:00
Sollace
85bb51ed78 level < 0 means never show this page 2022-09-01 20:04:36 +02:00
Sollace
978d336b96 Add tabs with chapters and pages to the spellbook, add a profile page with character levels and mana, and contents for the introduction chapter 2022-08-31 23:58:49 +02:00
Sollace
1e20dd908f Fixed empty rows in the recipe tree 2022-08-29 14:51:07 +02:00
Sollace
3d704b7def Mixed multiple sounds playing when interacting with the spellbook's crafting grid 2022-08-28 18:47:33 +02:00
Sollace
6ed0bb1859 Fixed trait merging recipe and botched gems appearing when they shouldn't 2022-08-28 18:00:28 +02:00
Sollace
48f5943a5b Implement botched gems: Crafting a combination that doesn't result in a working spell will now produce a "botched gem" that's only useful for collecting traits. 2022-08-28 17:12:33 +02:00
Sollace
b1a979eb24 Add utility for creating identifiers with the mod's namespace 2022-08-27 15:25:02 +02:00
Sollace
ded553bd31 1.18 -> 1.19 2022-06-25 00:19:55 +02:00
Sollace
472034bf15 Start with no recipes and unlock them as you discover spells 2022-01-12 13:03:36 +02:00
Sollace
188c3a5523 Set custom subtitles for our sounds 2022-01-05 18:54:33 +02:00
Sollace
256cbdcabc Fixed spell crafting 2022-01-03 14:06:03 +02:00
Sollace
5939ce3d1a Implement gui for viewing spell recipes 2021-12-29 17:50:19 +02:00
Sollace
2cae459eb8 1.17 -> 1.18 2021-12-22 11:15:09 +02:00
Sollace
cbc8c6a6de Fixed slots rendering in front of tooltips 2021-11-21 18:48:56 +02:00
Sollace
536172791e Fix layering of slot textures 2021-11-21 00:25:30 +02:00
Sollace
5bb982ab85 You can now see which traits are unread and mark them read by clicking 2021-11-21 00:25:14 +02:00
Sollace
d45c1aa146 Display a gem in the output slot as a hint for what you're supposed to put there 2021-11-20 16:40:53 +02:00
Sollace
5b9f548585 Fixed z-index of tooltips putting them behind the paging buttons 2021-11-18 00:10:29 +02:00
Sollace
ed3155988a Fix cutoff at the bottom of the discoveries container 2021-11-18 00:10:06 +02:00
Sollace
8a6c23f18e Populate the tooltips for traits 2021-11-18 00:09:40 +02:00
Sollace
c8fc88711d Only play a sound when the stack changes 2021-11-17 22:33:20 +02:00
Sollace
68bcd5a467 Implement various parts of the spellbook screen 2021-11-17 21:00:59 +02:00