repair sample_tool - magemonkeystudio/divinity GitHub Wiki
sample_tool.yml
๐ ๏ธ Sample Repair Tool โ This configuration defines a Repair Tool item, which allows weapons or armor to be repaired when used with the repair module.
๐ File Location
plugins/Divinity/modules/repair/items/sample_tool.yml
๐งช Example Configuration
material: IRON_AXE
name: 'Repair Tool'
lore: []
tier: common
item-flags:
- '*'
level:
min: 1
max: 5
uses-by-level:
'1': 1
'2': 3
repair-by-level:
'1': 10
'2': 20
'3': 30
'4': 40
'5': 50
target-requirements:
type:
- 'WEAPON'
- 'ARMOR'
level:
'1': 1
module:
- '*'
๐ Notes
repair-by-level
scales the durability restored depending on the level of the item.target-requirements
restrict this tool to only affect items tagged asWEAPON
orARMOR
.- Supports leveling and multiple uses via
uses-by-level
.
โฌ ๏ธ Back to Repair Module Hub