Commit graph

1227 commits

Author SHA1 Message Date
Sollace
3225c7924f Add arcane protection spell 2022-09-14 12:18:22 +02:00
Sollace
d38005c5bf Remove unused SpellContainer code 2022-09-14 11:54:18 +02:00
Sollace
cb50ec544c Make fire spells explode when hitting an entity 2022-09-14 11:53:56 +02:00
Sollace
89e8f0dccc Simplify projectile delegate code 2022-09-14 11:53:31 +02:00
Sollace
8e65a265f9 Change spell constructors to use CustomisedSpellType<?> 2022-09-14 11:45:19 +02:00
Sollace
22f28c098c Fix duplication bug when equipping/unequipping spells 2022-09-12 19:53:02 +02:00
Sollace
802ba060ba Apply emote animations to the first person arm 2022-09-12 17:52:26 +02:00
Sollace
054134545d Reduce the volume of the wololo when clearing a spell 2022-09-12 16:08:08 +02:00
Sollace
82b030cab5 Persist block destructions 2022-09-12 16:07:49 +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
e721568312 Document the new abilities of shield spells 2022-09-12 00:10:31 +02:00
Sollace
5d31446c54 You can use generosity to make the shield spell placeable 2022-09-11 23:33:22 +02:00
Sollace
75aff1e884 You can now cast more than one spell of the same type if they have different traits 2022-09-11 23:32:58 +02:00
Sollace
547b5f8c63 Add more etherial effects to the runes particle 2022-09-11 23:32:20 +02:00
Sollace
92fea6d349 Change attractive spell to use chaos to make it sticky 2022-09-11 23:32:05 +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
8f7fa1ae7e Render the duplicating recipe to the ingredient tree 2022-09-11 19:25:34 +02:00
Sollace
53775ce34b Add a recipe for cloning a spell 2022-09-11 18:52:38 +02:00
Sollace
3166fb3919 Fix item duplication/sync glitch in the spellbook 2022-09-11 18:52:26 +02:00
Sollace
021a7f0b3c Fixed raytracing in several places. 2022-09-11 17:54:55 +02:00
Sollace
ec1a1e8583 Fix error 2022-09-11 17:06:29 +02:00
Sollace
0ffa55a20c More cleanup! Haza! 2022-09-11 17:06:05 +02:00
Sollace
7b58fdb6ba Cleanup and move duck interfaces to a dedicated package 2022-09-11 16:58:42 +02:00
Sollace
1cea2bf391 Exclude spellbooks from shields' effects and exclude/include classes of entities for shields based on certain traits added to the spell 2022-09-11 16:47:06 +02:00
Sollace
d80bc3c7dd Reduce the maximum shield radius based on caster level 2022-09-11 15:43:34 +02:00
Sollace
d25696bfb9 Fixed shields appearing invisible when looking from the inside 2022-09-11 15:43:13 +02:00
Sollace
700f2a50e4 Equipping a new spell will no longer discard what you had equipped before 2022-09-11 15:42:57 +02:00
Sollace
22ada528fd Added Chilling Breath spell 2022-09-11 15:42:26 +02:00
Sollace
0db98b8048 Fix error printed when casting the attractive spell 2022-09-11 15:41:14 +02:00
Sollace
5e23b7520e Clean up some things that aren't being used any more 2022-09-11 12:45:23 +02:00
Sollace
bd8640f5fe Fix z-fighting on spellbook models 2022-09-11 12:44:43 +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
10eb493ccf Adjust hitbox for the spellbook entity 2022-09-10 17:29:56 +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
f923f7e872 Sync traits from the server 2022-09-10 17:02:30 +02:00
Sollace
f527c08bb6 No longer combine the traits from the grid to simplify crafting/remove unneeded traits from crafted results 2022-09-10 14:57:33 +02:00
Sollace
f10e5965bd Refine the attraction spell to give it more uses 2022-09-10 14:56:59 +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
fe1e6172c7 Fix lava and water matching 2022-09-08 18:49:58 +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
95e487ad1b Update mod.json 2022-09-04 15:16:26 +02:00
Sollace
518c418072 Account for corruption when computing a unicorn's job title 2022-09-04 14:17:15 +02:00
Sollace
edad4678ca Fix some things that I missed 2022-09-04 14:16:47 +02:00
Sollace
3e848e86ed Apply trait-specific corruption when using a spell 2022-09-02 21:52:33 +02:00
Sollace
7ba298e162 Change titles to be more consistent 2022-09-02 20:59:46 +02:00
Sollace
3792ca8c52 wip 2022-09-02 12:53:49 +02:00
Sollace
1f767f0be3 Increase max mana with the player's level 2022-09-02 12:53:37 +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
8fe3e9ec62 Fix crash when levelling up 2022-09-02 10:36:47 +02:00
Sollace
d9933bb3ec Fixed magic projectiles not actually using their caster's level 2022-09-01 23:00:20 +02:00
Sollace
46e4d14bb0 Whoops! 2022-09-01 22:57:19 +02:00
Sollace
53c0f1aff8 Add corruption stat and fix level and xp not actually being saved 2022-09-01 22:54:34 +02:00
Sollace
50b709fa3c More rewrites and allow for adding recipes to book pages 2022-09-01 22:28:55 +02:00
Sollace
0bc9f447f6 Change level effects to be scaled so we can allow arbitrarily high caster levels 2022-09-01 22:28:27 +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
30011407f4 This time actually do fix hitboxes 2022-09-01 20:03:54 +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
a73a7af43c Fixed unable to break the crystal heart after being placed 2022-08-31 23:56:43 +02:00
Sollace
1e20dd908f Fixed empty rows in the recipe tree 2022-08-29 14:51:07 +02:00
Sollace
5b0d3bb770 Fixed snow being placed in illegal positions 2022-08-29 14:48:07 +02:00
Sollace
b894665d65 Implement the replace flag for state maps 2022-08-29 14:47:25 +02:00
Sollace
4cfa493654 Register the state map loader 2022-08-29 14:46:59 +02:00
Sollace
1de9313610 Move state maps to resources 2022-08-29 00:47:39 +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
99effcfd8f Fix some sizing issues with the trait tooltip renderer and render undiscovered traits as as obfuscated 2022-08-28 18:00:02 +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
60acaf64dd Fixed exception whilst reloading resources 2022-08-28 15:54:00 +02:00
Sollace
5077d04193 Fix mixin sig 2022-08-27 18:12:44 +02:00
Sollace
f210d1cd9f Rebalance the metamorphosis potion and turn players' hearts black when they're turning 2022-08-27 18:07:26 +02:00
Sollace
cf07f5d341 Fix server crashes due to late initialisation of registered values 2022-08-27 16:39:56 +02:00
Sollace
03bb4f654c Fixed race descriptions 2022-08-27 15:57:13 +02:00
Sollace
52a4643ece Fixed error whilst executing the /race command 2022-08-27 15:51:49 +02:00
Sollace
b1a979eb24 Add utility for creating identifiers with the mod's namespace 2022-08-27 15:25:02 +02:00
Sollace
09e0bcd7b2 Rewrite races to use a registry 2022-08-27 15:07:29 +02:00
Sollace
4699788472 1.19 -> 1.19.2 2022-08-27 12:33:53 +02:00
Sollace
c10b9e8e3a Nerf food poisoning effect 2022-06-25 00:33:57 +02:00
Sollace
ded553bd31 1.18 -> 1.19 2022-06-25 00:19:55 +02:00
Sollace
9e1b9161b8 Fixed crash due to naming conflict 2022-06-23 16:24:45 +02:00
Sollace
d94626e094 Added advancements and recipes for crafting muffins 2022-04-01 00:40:39 +02:00
Sollace
a878fd0d6c Muffins now float in water, as they should 2022-04-01 00:39:08 +02:00
Sollace
3255eacd18 Fixed sun blindness being incorrectly applied on the client when changing dimensions. Closes #55 2022-03-28 19:34:55 +02:00
Sollace
b35c592569 Add a bit of randomisation to muffins' rtajectories when they bounce 2022-03-27 18:16:03 +02:00
Sollace
e0f6ab8937 Muffins should bounce off of entities 2022-03-27 18:15:29 +02:00
Sollace
c84a38cefb Slight cleanup, fixed a duplication bug, and make it so muffins don't deal any damage 2022-03-27 17:55:02 +02:00
Sollace
d9d56c634c Pigs love muffins 2022-03-27 17:47:52 +02:00
Sollace
2c77cfb4c3 Added muffins 2022-03-27 16:02:14 +02:00
Sollace
83b110a8d3 Prevent sun blindness effect when leaving postals. Should fix #55 but can't really reproduce 2022-03-27 00:38:32 +02:00