module

Not Enough NPCs: A 5e NPC Generator

Endorsements
1
Installs
4.59%
Comments
0
Latest version1.1.0
Minimum Core0.8.0
Compatible Core0.8.9
Last updated3 years ago
Created4 years ago
Authors
Languages Deutsch
English
Systems Dnd5e
Dependencies Ace Library
Project source Project URL

Not Enough NPCs

This module adds a customizable NPC Generator to Foundry.

Usage

General Usage

A new button should've been added to the bottom of the Actors tab named Generate NPC. This button opens a window where you can select what you want to include in the generation. If you're satisfied with your generation, click Accept to save the NPC to a NPC sheet.

Custom Images

On the generator application there is an image settings button. Clicking this button will pop up the image setting list, any folder and it's you put in here will be used with it's subdirectories for searching icons. Make sure you don't have too many subdirectories in the folder or it might take a while to generate a npc. To select a folder with the filepicker, just select any file in the folder and it'll automatically remove the filename from the textbox once closed.

Custom Data

It is possible to import custom data into the generator. The data get's loaded from JSON. In the settings there is an option to open a JSON editor where you can add your own entries. For some formatting examples you can look at Examples, or double click on a tab in the editor to see the default data.

If you don't want to use the default data but only your custom data. You can toggle the default data on and off at the bottom of the editor.

Changelog

Check the Changelog

Credits

A lot of the generator data comes from Cellule/dndGenerator

 

Api usage

Though not recommended there is an api that can be used to generate npcs.

API info

 
npcGen.generateNPC(amount, options);

  • amount is amount of npcs to generate
  • options is an object with all the options for the generator, how this object looks can be found in the console when clicking generate in the npc generator. If no options are provided everything default is enabled.
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x