12 Commits

Author SHA1 Message Date
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