repair repairshard1 - magemonkeystudio/divinity GitHub Wiki

πŸ”§ Repair Shard β€” repairshard1.yml

This page provides the configuration for a basic Repair Shard item, which can restore durability to eligible items when used through the repair module system.


πŸ“ File Location

plugins/Divinity/modules/repair/items/repairshard1.yml

πŸ§ͺ Example Configuration

material: AMETHYST_SHARD
name: Repair Shard
lore: []
tier: common
item-flags:
- '*'
level:
  min: 1
  max: 1
uses-by-level:
  '1': 1
repair-by-level:
  '1': 5
  '2': 10
  '3': 15
  '4': 20
  '5': 25
  type:
  - '*'
  module:
  - '*'
target-requirements:
  type:
  - '*'
  level:
    '1': 0
  module:
  - '*'

πŸ“Œ Notes

  • repair-by-level defines how much durability is restored based on the item’s level.
  • Wildcards (*) allow this shard to repair any item type or module.
  • The uses-by-level field controls how many times the shard can be used.

⬅️ Back to Repair Module Hub