editor suffix chance - magemonkeystudio/divinity GitHub Wiki

🎲 Editor: Suffix Chance

The Suffix Chance option controls the probability that a suffix will be added to the item during generation.

How to Use

  • Click the Suffix Chance icon in the editor.
  • Enter a value from 0 to 100 (percent chance).

Behavior

  • A random roll is made during item generation.
  • If it succeeds, a suffix is added.
  • If it fails, no suffix is applied.

Where Do Suffix Names Come From?

Suffix names are stored in:

/plugins/Divinity/modules/item_generator/resources/names/suffixes/

They are organized the same as prefixes:

  • /materials/ — e.g., diamond_sword.txt
  • /types/ — e.g., helmet.txt
  • /tiers/ — e.g., common.txt

Each file holds a list of possible name parts — one per line. The plugin assembles a suffix from available files at generation time.


Example (Diablo-style)

/tiers/common.txt

of Weakness
of Slowness
of the Trainee

/types/sword.txt

of Striking
of Precision
of Bloodletting

/materials/diamond_sword.txt

of the Pit
of the Depths
of the Serpent

Possible result:

Diamond Sword of the Depths

Notes

  • You must edit suffix name files manually.
  • This setting only controls the chance of applying a suffix.

Return to: Item Generator Module