enjarai / trickster

A Minecraft mod about magic, creativity, and trickery.
https://modrinth.com/mod/trickster
MIT License
1 stars 5 forks source link

Tweak mouse behaviour in spell circle screen and add `shell.nix` for Nix dev envs #8

Closed StellarWitch7 closed 3 weeks ago

StellarWitch7 commented 3 weeks ago

The spell circle screen's controls were bugging me so I messed around with them a little. I figured I'd commit the shell.nix in case of a rare second NixOS user wanting to contribute, but if you don't want it around I won't be hurt if you delete it and add it to the .gitignore.

Changes

shell.nix: added Nix configuration for development in a Nix environment. Some dependencies may be unnecessary, but it works for me.

src/client/java/dev/enjarai/trickster/screen/SpellPartWidget.java: added toggle for click-and-drag glyph drawing. boolean drawToggle is set to the original mode for now, but can be changed once configuration is added to Trickster.

src/client/java/dev/enjarai/trickster/screen/ScrollAndQuillScreen.java: overrode mouse handling to pan the screen when using any mouse button.

.gitignore: added .direnv/ and .envrc as I use direnv to auto-load the Nix environment.

StellarWitch7 commented 3 weeks ago

src/main/resources/assets/trickster/lavender/entries/tome_of_tomfoolery/entity.md: removed Impulse Ploy from the Entity Distortions section. It already has an entry in Entity Ploys.

StellarWitch7 commented 3 weeks ago

Renamed Archer's and Scout's to match Hexcasting, added Architect's.