Improves un-setting of NPC values #10

This commit is contained in:
2022-10-18 11:41:25 +02:00
parent 430c168de5
commit 154c17b2c6
5 changed files with 58 additions and 25 deletions

View File

@@ -12,6 +12,8 @@ fee. Costs are highly customizable.
- EnchantmentTarget is used instead of a hard-coded list of repairable items
- All settings (except default reforge-able-items), both global and for each blacksmith, can be changed using commands,
and support tab-completion.
- This plugin is not directly compatible with the original. If you are using the old one, you will need to set it up
again!
### Dependencies
@@ -53,6 +55,10 @@ In addition to just being able to repair items, blacksmiths have some random fea
For /blacksmith and /blacksmithconfig, if a new value isn't specified, the current value is displayed instead.
For /blacksmith, using "" or null as the value will clear a custom value, making the NPC use the default value set in
the config instead. Additionally, every value overridden for an NPC will display a marker (default \[NPC]) when
displaying the current value.
Note: basePrice, pricePerDurabilityPoint and enchantmentCost can be set like: `/blacksmithconfig option 4` or
like `/blacksmithconfig option material/enchantment 4` depending on whether you are setting the default or an override
for a specific material/enchantment.