-
Notifications
You must be signed in to change notification settings - Fork 14
editor prefix chance
goflishMC edited this page Jun 28, 2025
·
2 revisions
The Prefix Chance option controls the probability that a prefix will be added to the item during generation.
- Click the Prefix Chance icon in the editor.
- Enter a value from
0
to100
(percent chance).
- A random roll is made during item generation.
- If the roll succeeds, a prefix is applied.
- If it fails, no prefix is used.
Prefix names are defined in text files inside:
/plugins/Divinity/modules/item_generator/resources/names/prefixes/
They are organized into subfolders by category:
-
/materials/
— Specific item material (e.g.,diamond_sword.txt
) -
/types/
— Item type (e.g.,sword.txt
,axe.txt
) -
/tiers/
— Item tier (e.g.,common.txt
,eternal.txt
)
Each file should contain one name per line. The plugin randomly selects a name from each applicable file to assemble the prefix.
Let's say you're generating a prefix for a diamond sword of common tier:
Cracked
Damaged
Ancient
Slashing
Dueling
Executioner’s
of the Fallen
of Ruin
of Quickness
Generated name might be:
Ancient Executioner’s Diamond Sword of the Fallen
- You cannot edit affix names from the editor — changes must be made manually in the plugin folder.
- This option only controls if a prefix appears, not which one.
Return to: Item Generator Module