Adds increased scrapper cost when used excessively
All checks were successful
EpicKnarvik97/Blacksmith/pipeline/head This commit looks good

This commit is contained in:
2024-12-21 19:48:39 +01:00
parent 7e17122bb2
commit 42ca42c571
12 changed files with 210 additions and 70 deletions

View File

@ -142,17 +142,13 @@ scrapper:
# The cost of using the scrapper to remove netherite from an item
netheriteSalvagePrice: 15
# The per-enchantment cost of splitting an enchanted book
enchantedBookSalvageBasePrice: 10
# The mathematical formula for salvage cost increase when continually used within the same hour. This is necessary
# for some servers where items can be easily farmed. Set to {cost} to disable behavior.
salvageCostIncrease: "{cost}*{timesUsed}"
# The item that needs to be provided to pay for splitting an enchanted book
enchantedBookSalvageItemCost: null
# Whether to multiply the initial cost with the number of enchantments on the book
enchantedBookSalvageMultiplyByEnchantmentNumber: true
# Whether to require both a monetary sum and providing an item in order to pay for salvaging an enchanted book
enchantedBookSalvageRequireMoneyAndItem: false
# The mathematical formula for salvage cooldown increase when continually used within the same hour. This is
# necessary for some servers where items can be easily farmed. Set to {cooldown} to disable behavior.
salvageCooldownIncrease: "{cooldown}*{timesUsed}"
# The settings which are set to any new scrapper NPC. To change any of these settings for an existing NPC, you must
# change the Citizens NPC file, or use the /scrapper command

View File

@ -89,4 +89,6 @@ en:
# The text shown if the player has to wait for more than 5 minutes
INTERVAL_MORE_THAN_5_MINUTES: "in quite a while"
# The marker shown when displaying values overridden for the selected NPC (not shown if the NPC inherits the default value)
SETTING_OVERRIDDEN_MARKER: " [NPC]"
SETTING_OVERRIDDEN_MARKER: " [NPC]"
# The translation of the text displayed when a cost is expected, but a non-number is provided
DOUBLE_COST_REQUIRED: "You must supply a numeric (double) cost"