fortify stone_essence - magemonkeystudio/divinity GitHub Wiki

πŸͺ¨ Fortify Stone: Essence

This fortify stone enhances items that are being socketed with Essences. It adds a chance to protect the item from destruction during socketing, depending on the level of the fortify item.


πŸ“„ File Location

Place this file at:

plugins/Divinity/modules/fortify/items/stone_essence.yml

🧾 Purpose

This stone is used to increase protection chance when socketing essences. If the socketing fails, this fortify stone can prevent the item from being destroyed β€” depending on the chance-by-level.


πŸ”§ Configuration Explained

material: COAL

The base Minecraft item for this fortify stone.

name: 'Fortify Stone'
lore:
  - '&7Fortifies the item when socketing &fEssences&7.'

This shows a tooltip to the player describing the stone’s purpose.

enchanted: false
tier: common

The item does not glow and is labeled as common tier.


πŸ“ˆ Fortify Levels & Uses

level:
  min: 1
  max: 10

uses-by-level:
  '1': 1
  '5': 2
  '10': 3
  • Supports Fortify levels 1–10.
  • Higher-level stones provide more uses before breaking.

πŸ›‘ Protection Bonus

protection:
  modules:
    - essences
  chance-by-level:
    '1': 15
    '2': 20
    ...
    '10': 60
  • This stone only applies protection when socketing essences
  • At level 10, it gives a 60% chance to prevent destruction on socketing failure

🎯 Target Requirements

target-requirements:
  type:
    - WEAPON
    - ARMOR
  level:
    '1': '1:10'
    '2': '11:20'
  module:
    - '*'

This fortify stone only works on:

  • Items that are WEAPON or ARMOR
  • With a level between 1–20 (based on the fortify stone’s level)
  • Belonging to any module ('*' is a wildcard)

πŸ§ͺ Usage Example

  1. The player applies this stone to an item.
  2. They attempt to socket an essence into that item.
  3. If socketing fails, this stone may prevent the item from being destroyed, based on its level.

πŸ“š Related