Comments

Log in with itch.io to leave a comment.

(1 edit)

Wow. This is one of the sleekest modules in Foundry that I have used so far. The interface is so clean, and I am extremely impressed with the range of biographies. Bravo! and thank you for making this! 

Amazing tool, already in love with it. Was wondering if there was a way to add other classes or jobs? I would love to use this to generate just basic commoners, chefs, blacksmiths all that jazz.

This is actually something wich I thought about doing initially!

But because it’s CR based, the issue is even if I title some job as a “commoner”, commoners stop being commoner’s as soon as their CR gets a little high. They can’t effectively be used as a full-pledged job. If you encounter a commoner with some high CR, its probably a retired adventurer with some job on their background.

Usually people portray commoners as any job with a CR 1/8, you can filter by their role: Martial, Specialist, Spellcaster, depending on their background, CR 1/8 (maybe 1/4 or 1/2 depending on whom?), and let the randomizer do the job. This way you have a very wide range of characters available.

Also, keep in mind a commoner created with CR 1/8, but wich you take out their weapon or armor, should probably be worth CR 0.

Sound logic! Thats what i was gonna do, lots of retired warrior stablehands haha, thanks for the fast reply!

(1 edit) (+1)

I’m going to add CR 0 to the CR list! It best represents commoners I think.

Edit: Done! You can create CR 0 NPCs now, they are most suitable for commoners.

amazing! Thanks!

Hey Mad,

I've got FogottenAdventures Tokens and wondering if its possible to have this also create tokens with random Token icons from a structured data folder similar to your Portraits.

ie: I've got

  • NPCs/Commoners/
    • Elves/
    • Gnomes/
    • Humans/
      • Human_Male_Commoner_01-20
      • Human_Female_Commoner_01-20

And it would be super handy to generate an NPC, and use a generic token like this.

I know you can create a Random  Actor Token this way, but thought it would be nice to do the ssame thing using this module as well.

(6 edits)

I will work on it, ty for the suggestion.

Edit: Its done in v1.15. Portrait generation should look at all subfolders as well as being case insensitive.

Edit2: I just saw a bug related with capitalized names. The funcionality should be 100% working in v1.16

(1 edit)

Hi, when i click on the "Create "Button i get this exception:


it's seem the "ideals_align" object is empty ?  but i can see the ideal text on the ui interface:


here  the details on the installation:

Core Version: 10.286

System: dnd5e 2.0.3 (Atropos) 

The server is self hosted and is a standard foundryvtt (no forge host or similar)

Thank you for reporting this. I believe this issue is already solved in the new unreleased version 1.13, wich I will be releasing soon.

Core Version: 10.288

System: dnd5e 2.0.3 (Atropos) 

With version 1.14, i got this other error

(2 edits)

What job, race and CR were you trying to build? It failed only this once, or everytime you try to build a similar NPC? Creating spellcasters seems ok in general?

Im having really trouble reproducing this error, could it be your compendiums are somehow alterated? This bug could be caused in case its failing to get the spells from your compendiums.

It seems to happen only occasionally, but I can't find a common denominator unfortunately, I'll update you if I can identify the combination of factors that gives this error.

Ty for the hard work.

If you can, mention this problem and module in Foundry’s discord server and I will contact you.

I'm not getting portrait images when generating NPCs. I've added images with the correct naming conventions (I even added the included samples) and still nothing.

(2 edits)

Did you configure the correct folder in the configuration? The ‘Folder’ to be selected should have ‘portraits’ and ‘tokens’ subfolders, the images inside those (the tokens folder is actually optional).

Example of correct structure:

  • /imgs/ <- folder selected
  • /imgs/portraits/warrior_human.jpg
  • /imgs/portraits/warrior.png
  • /imgs/tokens/warrior.png <- will get the token IF found one, optional, if NOT will use portrait as the token (and tokenize if you use tokenizer)
(1 edit)

I did do that, thanks. It's still not pulling any images. I'm using this hosted on the Forge if that makes a difference. This message comes up in the console: NPC Generator | No image files found in npc-portraits/portraits, but there are dozen images in that folder.

Im testing and it seems Forge storages user data in a different ‘place’ than ‘user storage’. Even the examples images that come with the module are ‘stripped out’ in the Forge’s module version.

I will come up with a Forge’s compatibility fix soon. Thank you for bringing this issue.

Many thanks.

Images are now working, but it's not creating the NPC

Uncaught (in promise) TypeError: game.settings.get(...).Actor is undefined

[No packages detected]

    writeBio https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...

    prepare https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...

    create https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...

    _renderNPCGenerator https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...

    jQuery 2

        dispatch

        handle

npcdraft.js:1272:37

Tried changing the directory name in the settings and got the following console messages:

Foundry VTT | Error thrown in hooked function '' for hook 'renderSettingsConfig' foundry.js:727:15

Foundry VTT | Error thrown in hooked function '' for hook 'renderSettingsConfig' foundry.js:727:15

Directory npc-portraits does not exist or is not accessible in this storage location foundry.js:58526:78

The form field value "[forgevtt] npcs" was not able to be cast to the requested data type Directory

I'm currently running on version 9 Build 268 and the json link says it requires version 10. Last time I tried to update it crashed my long running game. Any chance you have a separate link for the Version 9 of this module?

I will post a v9 stable link for v0.931 in the manual, thank you for the update!

Thank you!

Its in the manual, please download it again. It will install the module version for v9 but once you update to Foundry v10 it will update normally.