Commit graph

1425 commits

Author SHA1 Message Date
Sollace
64be265c04 Fixed crash when an entity other than the player tries to eat 2022-10-03 23:47:24 +02:00
Sollace
afda7a6ef8 Added mimic, mind swap, and hydrophobe spells 2022-10-03 23:47:17 +02:00
Slipstream
e117fe44ea Fixes for pegasus flying wind sound effect
This fixes several aspects of the wind sound effect:
-Interpolation of FadeOutSoundInstance breaking the effect's volume controls
-Attenuation and panning (3D audio) should now work correctly for other clients
-New attenuation curve for velocity based attenuation
-New pitch controls same as above
-Made effect a continuous loop
-Added rate limiter so that sudden movements won't cause volume and pitch jolts (storms?)
2022-10-03 20:44:39 +02:00
Sollace
635d77041c Fix minor offset on portals 2022-10-01 23:53:37 +02:00
Sollace
39e97818e7 Changes to how shapes are handled and align the particles spawned by portals to the portal's orientation 2022-10-01 23:53:18 +02:00
Sollace
63481f9c64 Add an advancement for breaking through a window as a pegasus 2022-10-01 23:51:26 +02:00
Sollace
8e052f2472 Pegasi dashing can now smash through windows 2022-10-01 18:21:33 +02:00
Sollace
8c65adeea2 Add generics to SpellContainer.stream 2022-10-01 18:21:08 +02:00
Sollace
2b00977e7f Clean up raytrace helper code 2022-10-01 18:20:53 +02:00
Sollace
3ca28335bd Added buckets, bottles, and mugs full of love + Changelings can now collect love from the crystal heart 2022-09-30 18:48:34 +02:00
Sollace
02eaf365c8 Remove the race selection from the world creation screen (no longer needed since you are asked to select a race upon joining the world) 2022-09-30 16:42:56 +02:00
Sollace
ab97a7b6ef Spawn batponies in appropriate locations to avoid burning their eyes 2022-09-30 16:42:13 +02:00
Sollace
d720a37cd9 Added creative tabs for each of the different races 2022-09-30 14:52:26 +02:00
Sollace
92c50f2676 Reworking toxics slightly 2022-09-30 12:43:07 +02:00
Sollace
aa724f56b0 Integrate changeling love sickness into the toxics system so we can have more nuanced control over what makes changelings sick 2022-09-30 10:37:56 +02:00
Sollace
5fff677f79 Prep for a future feature 2022-09-30 10:21:18 +02:00
Sollace
cc1b91de20 Added apple pie slices 2022-09-30 00:54:09 +02:00
Sollace
e1659c32b2 You can now stomp apple pies. You monster 2022-09-30 00:23:16 +02:00
Sollace
3a922f8aa5 Added apple pie 2022-09-29 22:01:56 +02:00
Sollace
67e9d5fb3a Fixed batpony flight not functioning as it should since the last change 2022-09-28 22:45:11 +02:00
Sollace
9a614313b8 Added oats, fancy imported oats, and oatmeal 2022-09-28 22:44:23 +02:00
Sollace
1b6ca1ad46 Improve air balloon physics 2022-09-27 00:04:09 +02:00
Sollace
5d21c691b4 Bat ponies and pegasi can now dash forwards while flying by quickly tapping their primary ability 2022-09-26 21:13:58 +02:00
Sollace
7b60248514 Standardise sound playing 2022-09-26 21:13:03 +02:00
Sollace
88ba52efc5 Send a velocity update to the client when modifying player velocities. (should fix some instances of knockback not working when it should)
i.e.
When wearing the alicorn amulet,
When hit by a jar,
When hit by a polearm
When hit by an earth pony stomp
When kicked by an earth pony
When screeched at by a bat pony
2022-09-26 21:12:30 +02:00
Sollace
66cbf1ff2b Document each slot type 2022-09-26 21:07:14 +02:00
Sollace
c185071478 Fixed bat ponies dropping pegasus feathers 2022-09-26 13:57:45 +02:00
Sollace
d27d75f00c Added apples, apple seeds, and friendship bracelets to villager trades 2022-09-26 13:43:35 +02:00
Sollace
e16a2ffaee Make view effect when wearing sunglasses slightly more subtle 2022-09-26 13:43:10 +02:00
Sollace
f468631423 Added apples and apple seeds to loot tables in wooldland mansions and villages 2022-09-26 13:42:32 +02:00
Sollace
bea8272873 Added sunglasses and broken sunglasses (credit @AtomicGlow for the idea) 2022-09-25 22:32:38 +02:00
Sollace
81eff15912 Added sour apple trees 2022-09-25 16:23:10 +02:00
Sollace
043a54eabf Added sweet apple trees 2022-09-25 15:39:07 +02:00
Sollace
b2e3008141 Adjust model and hitbox sizes of fruit 2022-09-25 14:47:04 +02:00
Sollace
1cd3390b1e Fixed kicking apple trees not dropping the fruit 2022-09-25 13:58:10 +02:00
Sollace
9e0e03379e Add green apple seeds and recipe 2022-09-25 01:55:29 +02:00
Sollace
9476b5634c Added granny smith apple trees and more related log blocks for zap apple trees
* Earth ponies can now kick zap and granny smith trees
* Kicking these types of trees will dislodge their fruit rather than spawn apples
2022-09-25 00:15:38 +02:00
Sollace
def7e37712 Added zap apple trees 2022-09-23 23:25:00 +02:00
Sollace
94d81ff5f5 Fix server exception when earth ponies try to kick things. Fixes #63 2022-09-23 16:06:07 +02:00
Sollace
a53cb275e9 Adjust polearm balancing #64 2022-09-23 16:06:06 +02:00
Sollace
445901733d Fixed bat pony hanging not being cancelled when they move. #64 2022-09-23 16:06:06 +02:00
Sollace
9ce27c3f65 Fixed dispensers not being able to equip friendship bracelets and amulets when trinkets is installed 2022-09-22 13:01:31 +02:00
Sollace
48f355050b Made it a little easier for pegasi to hover 2022-09-22 12:47:02 +02:00
Sollace
2f5c191bd2 Fixed wind sounds whilst not fading 2022-09-22 12:46:45 +02:00
Sollace
2e14403f93 Fixed server crash. Fixes #61 2022-09-22 12:13:36 +02:00
Sollace
534a9d000a Fix crash when loading without trinkets. Fixes #60 2022-09-22 12:00:22 +02:00
Sollace
4636ed267b Pegasi can walk on powdered snow 2022-09-21 23:19:29 +02:00
Sollace
a664a52bbe Anyone can read the spellbook now 2022-09-21 22:58:29 +02:00
Sollace
e994b5e837 Earth ponies can now kick things other than trees 2022-09-21 22:58:07 +02:00
Sollace
a1f84872f2 Fixed gear not rendering on ponies 2022-09-21 18:02:45 +02:00
Sollace
f45817bfd6 Add handling for inserting items directly into trinket slots 2022-09-21 17:12:01 +02:00
Sollace
e02589d07b Handle stack limits when equipping items to trinket slots 2022-09-21 15:08:52 +02:00
Sollace
ac874945cd Use the stack-aware version of Slot#getMaxItemCount 2022-09-21 10:53:09 +02:00
Sollace
32a23a6ca5 Added Trinkets support 2022-09-20 23:50:15 +02:00
Sollace
0e74cc6bbe Fixed block destructions not showing on tile entities when sodium is installed 2022-09-20 18:17:02 +02:00
Sollace
bc19a32a41 Fixed magic rendering around polearms 2022-09-20 18:16:33 +02:00
Sollace
2f65f5b0c0 Fixed crash at startup due to bad mixins #59 2022-09-19 17:35:29 +02:00
Sollace
3916e4810f Fixed batpony hanging ability and fixed rendering of upside down players 2022-09-19 17:33:38 +02:00
Sollace
869d900f14 Nerf batpony blindness. Fixes #58 2022-09-18 23:05:28 +02:00
Sollace
fb0e870535 Fix Mixins even harder 2022-09-18 22:31:31 +02:00
Sollace
234e44cbaf Fix mixins 2022-09-18 22:12:57 +02:00
Sollace
c2db33c8df Certain items can now be used as fuel in the furnace 2022-09-18 21:45:56 +02:00
Sollace
33d4233866 Added polearms 2022-09-18 21:39:42 +02:00
Sollace
7fc17d9f79 Use separate textures for each race icon, display the number of spells active in the hud, and change the spell dismiss screen to reflect the location of placed spells 2022-09-18 14:16:28 +02:00
Sollace
47db6d49ee Fixed dead placeable spells not being fully removed from the player 2022-09-18 11:35:35 +02:00
Sollace
f5c643ed50 Cleanup spell orientation slightly 2022-09-18 11:34:57 +02:00
Sollace
33dba4db7e Added the dragon breath scroll 2022-09-18 01:23:29 +02:00
Sollace
8036844941 Add a mana cost when using the portals 2022-09-17 22:11:40 +02:00
Sollace
cbd80270e3 Store the level with the spellcast entity so it can still be used when the owner is offline 2022-09-17 22:11:24 +02:00
Sollace
5d9ef41672 Add pages for the new spells and remaining artefacts 2022-09-17 20:52:19 +02:00
Sollace
188210f020 Fix crash when calling the recipe tree builder with one input 2022-09-17 20:51:38 +02:00
Sollace
af7e19ae69 Portal refinements and add the displacement spell 2022-09-17 19:13:39 +02:00
Sollace
4fde8400c5 Adjust shield sizes to account for increasing levels and placed vs on-person 2022-09-16 22:14:24 +02:00
Sollace
0250d8875a You can now cast more than one placed spell at a time (for any type of placed spell, not just portals) 2022-09-16 22:13:55 +02:00
Sollace
ab017ded6e Fixed levels not increasing when XP is full 2022-09-16 22:13:18 +02:00
Sollace
3ba4040bb9 Remove compound spells since they weren't being used 2022-09-16 22:12:51 +02:00
Sollace
88e078cfc7 More refinements to portal spells 2022-09-16 21:19:54 +02:00
Sollace
b83f947488 Fixed sphere and disk particles not having the right colour when first spawned 2022-09-16 21:19:09 +02:00
Sollace
2a9f19fc9f Fixed spell entities becoming detached when cancelling the spell from very far away 2022-09-16 18:35:13 +02:00
Sollace
734c256822 Reimplemented the portal spell 2022-09-16 17:54:46 +02:00
Sollace
a32a14f134 Fixed multiple spell entities being spawned when far away 2022-09-16 17:54:20 +02:00
Sollace
8d2639b69b Minor cleanup 2022-09-16 17:53:20 +02:00
Sollace
b1f64b9f9f Fixed runes rendering in front of the player 2022-09-16 17:48:01 +02:00
Sollace
09f98be74d Remove debug prints 2022-09-16 17:47:13 +02:00
Sollace
638a136d6d For spells with a timer, display the timer progress to the user 2022-09-16 12:47:32 +02:00
Sollace
082e5e37f2 Distribute mana cost between party members 2022-09-16 12:46:55 +02:00
Sollace
17233f425a Fixed mana regeneration and energy consumption and fixed mana not being loaded correctly between saves 2022-09-16 11:15:07 +02:00
Sollace
89879494df Grant the player experience when crafting spells 2022-09-15 21:50:28 +02:00
Sollace
25d9ebba17 Add tooltip for the race icon on the profile and add the equipped spells 2022-09-15 21:50:15 +02:00
Sollace
b0bb8cbfd9 Make the mana ring more prominent in the hud 2022-09-15 21:49:27 +02:00
Sollace
2a0e6bc14b Update trait dex icon to look more like a lightbulb and change the icon when there are unread entries 2022-09-15 21:49:10 +02:00
Sollace
5448db4bdd More work on hot air balloons 2022-09-15 19:53:45 +02:00
Sollace
2e472a7982 Added air balloons (wip) 2022-09-15 00:51:07 +02:00
Sollace
0b8afe4994 Commit missing file 2022-09-15 00:50:56 +02:00
Sollace
b14771e85a Ensure tree types are available to the client when on a multiplayer server 2022-09-14 21:15:29 +02:00
Sollace
e4eb233f7a Fixed incorrect detection of hybrid trees 2022-09-14 20:43:27 +02:00
Sollace
f90ad6d173 Fixed tab colours being calculated incorrectly 2022-09-14 16:49:24 +02:00
Sollace
e97b461f91 Remove unused code 2022-09-14 16:48:43 +02:00
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
Sollace
26b0f3567e Fixed batponies' vision giving strange results on higher brightness settings 2022-03-27 00:36:47 +02:00
Sollace
abe8142482 We no longer replace the vanilla apple item. 2022-03-27 00:22:08 +02:00