Changes configuration values to lower camelcase

Also fixes some grammar mistakes related to the word reforge
This commit is contained in:
2022-10-03 12:39:15 +02:00
parent 9ffd788e29
commit 2489cac8db
10 changed files with 98 additions and 97 deletions

View File

@@ -25,9 +25,9 @@ currently held item is repairable by the blacksmith. If it is, the blacksmith sh
again starts the repair. The item should be given back or dropped after a random delay according to the set limits.
While costs are always set globally (no blacksmith can do the same job for cheaper), the blacksmith's messages,
cool-down between each re-forge, whether the item is dropped or given, the chance of failing or adding an enchantment,
cool-down between each reforge, whether the item is dropped or given, the chance of failing or adding an enchantment,
the maximum number of added enchantments, max and min delays, the length of the cool-down and which items the blacksmith
is able to re-forge can be changed individually.
is able to reforge can be changed individually.
Also note: Changing the default value of a setting doesn't change the setting for existing NPCs, even if no custom value
has been set. Make sure to change default settings as needed before creating too many NPCs.
@@ -63,11 +63,11 @@ for a specific material/enchantment.
### Global-only options
- basePrice (positive decimal number) - The base price which has to be paid regardless of the durability remaining for
an item. Setting this without specifying a material sets the base-price for any item the base-price has not been set
an item. Setting this without specifying a material sets the basePrice for any item the basePrice has not been set
for.
- pricePerDurabilityPoint (positive decimal number) - The price added for each durability point present/missing (depends
on natural cost's value). Setting this without specifying a material sets the price-per-durability-point for any item
the price-per-durability-point has not been set for.
on natural cost's value). Setting this without specifying a material sets the pricePerDurabilityPoint for any item the
pricePerDurabilityPoint has not been set for.
- enchantmentCost (positive decimal number) - The added cost for each level of an enchantment present on the item. The
cost can be set for specific enchantments. Not specifying an enchantment sets the value for all enchantments without a
set value.
@@ -82,18 +82,17 @@ for a specific material/enchantment.
- dropItem (true/false) - Whether the blacksmith should drop the repaired item on the ground (instead of putting it into
the player's inventory)
- disableCoolDown (true/false) - Whether to completely disable the cool-down between repairs
- disableDelay (true/false) - Whether to completely disable the delay required to re-forge an item
- disableDelay (true/false) - Whether to completely disable the delay required to reforge an item
- failReforgeChance (0-100) - The chance of the blacksmith failing to repair an item
- extraEnchantmentChance (0-100) - The chance of the blacksmith adding an enchantment to an item
- maxEnchantments (0-10) - The maximum number of different enchantments a blacksmith can add
- maxReforgeDelay (0-3600) - The maximum number of seconds a player needs to wait for an item to be repaired
- minReforgeDelay (0-3600) - The minimum number of seconds a player needs to wait for an item to be repaired
- reforgeCoolDown (0-3600) - The cool-down a player has to wait between each time they use one specific blacksmith
- reforgeAbleItems (DIAMOND_LEGGINGS,GOLD-pickaxe,bow, etc.) - Specifies which items this blacksmith is able to
re-forge. If set to "" or null, all items can be repaired. If set to a list of items, only the items specified can be
repaired. Some presets have been included for ease of use. Use a preset by specifying "preset:sword-smith" instead of
a material such as "gold-pickaxe". Available presets: SWORD_SMITH, WEAPON_SMITH, ARMOR_SMITH, TOOL_SMITH,
RANGED_SMITH.
- reforgeAbleItems (DIAMOND_LEGGINGS,GOLD-pickaxe,bow, etc.) - Specifies which items this blacksmith is able to reforge.
If set to "" or null, all items can be repaired. If set to a list of items, only the items specified can be repaired.
Some presets have been included for ease of use. Use a preset by specifying "preset:sword-smith" instead of a material
such as "gold-pickaxe". Available presets: SWORD_SMITH, WEAPON_SMITH, ARMOR_SMITH, TOOL_SMITH, RANGED_SMITH.
#### Messages
@@ -102,7 +101,7 @@ for a specific material/enchantment.
- coolDownUnexpiredMessage - The message displayed when the player has to wait for the cool-down to expire before using
the blacksmith again
- costMessage - The message displayed when telling a player about the cost of repairing an item
- failReforgeMessage - The message displayed when a blacksmith fails to re-forge an item
- failReforgeMessage - The message displayed when a blacksmith fails to reforge an item
- insufficientFundsMessage - The message displayed when a player is unable to pay for reforging an item
- invalidItemMessage - The message displayed when a blacksmith is presented an item which it cannot repair
- itemChangedMessage - The message displayed when a player changes their item after being shown the repair cost