22 Commits

Author SHA1 Message Date
904adf46f0 Adds some events that trigger when NPC actions start or end, and when sounds are played 2024-07-28 17:12:26 +02:00
81dda85405 Adds sound effects to Blacksmiths and Scrappers 2024-07-28 12:48:45 +02:00
33ef557771 Fixes some savage fail problems
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
Fixes item not being returned when salvage fails
Removes some redundancy when giving back items
Makes extended salvage return 50% of the salvage (no items if only one item would be returned)
Adds a better message when failing to salvage extended salvage items
Fixes a bug in the caching of smith presets
2024-05-07 01:45:48 +02:00
1d7e8a0732 Implements netherite salvaging #24
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2024-05-06 21:26:21 +02:00
7e5525bd00 Updates Spigot, and fixes depreciated code
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2024-05-04 02:46:46 +02:00
4012e532da Finishes the scrapper implementation
Some checks failed
EpicKnarvik97/Blacksmith/pipeline/head There was a failure building this commit
2024-05-04 01:01:56 +02:00
f3f3f66c38 Writes a lot of code necessary for the scrapper
Adds the classes necessary for the new scrapper
Partly implements some scrapper functionality
Restructures some classes to reduce code duplication
Moves some classes to make some classes easier to find
Adds a bunch of TODOs where things have an unfinished implementation
2023-11-14 16:04:48 +01:00
3e3a35d02a Starts on the Scrapper implementation 2023-11-12 19:02:11 +01:00
cb70874093 Adds an option for toggling whether reforging removing enchantments
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-30 12:34:34 +01:00
a79f2e273a Adds missing tests for ItemHelper
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-17 05:28:46 +01:00
753c7c6275 Adds optional ability to reforge anvils #15
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good
2023-01-09 23:47:17 +01:00
3c805ee284 Uses KnarLib for common tasks 2022-11-07 00:07:32 +01:00
89c1c4a56c Adds a new enchantmentBlocklist option
The enchantmentBlocklist allows specifying a list of enchantments blacksmiths should be blocked from adding to items. Especially curse of binding and curse of vanishing are problematic as the effect is quite bad. Mending is possibly undesirable as it's supposed to be quite rare.
2022-11-05 04:21:47 +01:00
cc7d66f270 Fixes several bugs and problems
Fixes getting the name of enchantments
Fixes inconsistencies in material and enchantment name-checking
Allows using "null" or "-1" to unset per-material or per-enchantment configuration options
Fixes a bug where basePrice was set to a material name instead of the price for the material being displayed
Adds missing tab-completion for material/enchantment costs
Prevents inconsistencies in deciding if a value is null
2022-10-24 13:57:58 +02:00
0357de1cf7 Adds most of the code necessary for #11 2022-10-14 21:45:57 +02:00
30bddfa9c8 Adds possibility for message customization and translation #5 2022-10-03 18:15:38 +02:00
505d6bfb2b Adds a new check for items with full durability (#4) 2022-10-03 13:03:21 +02:00
2489cac8db Changes configuration values to lower camelcase
Also fixes some grammar mistakes related to the word reforge
2022-10-03 12:39:15 +02:00
b8ec805f1c Improves random enchantment level logic 2022-10-02 23:50:07 +02:00
a6e9163dbd Adds tons of changes to messages 2022-09-29 01:49:12 +02:00
e1191dad7d Splits the blacksmith command into two commands, and much more 2022-08-19 19:08:54 +02:00
cc39f8879a Improves code structure, and performs some necessary work for commands 2022-08-08 14:14:42 +02:00