This app designed for D&D game masters allows you to quickly and flexibly generate non-player characters (NPCs) for the Dungeons & Dragons tabletop role-playing game. With this generator, you will be able to create unique NPCs with different characteristics, which will significantly speed up the preparation for the game.
- Fast generation: Create an NPC in just a few clicks.
- Flexibility: Customize the characteristics of the characters as you see fit. The application has different generation modes. You can also hide the characteristics that you dont need or lock up the ones you like in order to re-generate the rest.
- React 19.x
- lodash 4.17.21 or higher
- Сloning a repository
git clone https://dillank82/Fast-n-flex.git
- Navigate to the directory Fast-n-flex
cd fast-n-flex
- Installing dependencies
npm install
- Run app
npm start
- Open the application in a browser at http://localhost:5173/
- Generating random values (the list of possible values is given at the end of the section)
- Hiding characteristics or groups of characteristics
- Reroll characteristics or groups
- Lock characteristics or groups to avoid rerolling them
- Select mode of generation (described at the end of section)
- Stat: depending on the mode
- Race: Gnome, Dwarf, Dragonborn, Half-orc, Halfling, Half-elf, Tiefling, Human, Elf
- Gender: Male or Female
- Class: Bard, Barbarian, Fighter, Wizard, Druid, Cleric, Warlock, Monk, Paladin, Rogue, Ranger, Sorcerer
- Alignment: Lawful good, Neutral good, Chaotic good, Lawful evil, Neutral evil, Chaotic evil, Lawful neutral, True neutral, Chaotic neutral
- Relationships: Hostile, Friendly, Indifferent
- 4d6 exclude minimal from D&D Players Handbok. Imitates rolls of 4d6 and summarizes 3 biggest values. Result is from 3 to 18.
- Buying stats from D&D Players Handbok. Algorithm generates stats according to the D&D rules about buying stats.
- Standard set of stats from D&D Players Handbok. Randomly distributes a set of values (8, 10, 12, 13, 14, 15) between characteristics.
- Commoner. Generates stats for NPC who is not a hero. Result is from 8 to 12.
- Random. Generates random number from 5 to 20.
- XGE. Imitates dice rolls according to the table from section "This is your life" of the Xanathar's Guide to Everything book.
- Random. Generates random option.