PepijnMC / FoundryVTT-AI-Description-Generator

MIT License
10 stars 6 forks source link

Allow configuration of character actor data types #23

Open th3raid0r opened 1 year ago

th3raid0r commented 1 year ago

Is your feature request related to a problem? Please describe.

When trying to get this to work with the Stars Without Number: Revised system here, character descriptions don't work because the structure is slightly different.

Describe the solution you'd like

I'd like the following settings to be added:

Character Appearance Key: Type = String; Default = "appearance" Character Lineage Key: Type = String; Default = "race" Character Class Single String: Type = Bool; Default = False

Additional context Ideally, there should be a slightly more intelligent way to figure out how to work with various different form structures. Perhaps a much larger feature to make it somehow dynamic, or at least easier to configure is in order?

th3raid0r commented 1 year ago

I did a quick-n-dirty update in my fork here - https://github.com/th3raid0r/FoundryVTT-AI-Description-Generator/tree/main

Might be helpful for understanding the differences and how you might build in a way to change it via settings.

bodgingbrom commented 1 year ago

I'm going to be using this as a starting point for universal rpg characters: https://thealexandrian.net/wordpress/37916/roleplaying-games/universal-npc-roleplaying-template

/sendprompt (Provide an NPC description with the sections - (appearance, quote, roleplaying tips, background, key info, copyable dnd 5e stat block) for a male insane dwarf who is a warlock and absorbed in a book that's making him crazier named Urist) is my starting point. I would love to be able to grab this output and create an actor out of it all in one go.

Appearance: Urist is a male dwarf with a wild, unkempt beard and an equally wild look in his eyes. He wears a tattered robe with strange symbols and runes.

Quote: "The secrets of the universe are hidden in this book! I can feel it!"

Roleplaying Tips: Urist is consumed by the book he holds, and is completely lost in its world. He speaks in riddles and often speaks of things that make no sense to others. It's best to treat him as if he's not entirely sane.

Background: Urist was once a normal dwarf before he stumbled across an ancient tome filled with long-forgotten secrets. Since then, he has become obsessed with it, spending hours pouring over its pages, slowly driving himself insane. As he grew more and more absorbed in the book's secrets, his warlock powers began to manifest, allowing him to tap into magical energies that had been sealed away for ages.

Key Info: Urist is an insane warlock who has been driven mad by an ancient book of secrets.

Copyable DnD 5e Stat Block: Urist, Insane Warlock Medium humanoid (dwarf), Chaotic Neutral Armor Class 12 (tattered robe) Hit Points 11 (2d8 + 2) Speed 25 ft., burrow 5 ft. STR 10 (+0) DEX 14 (+2) CON 12 (+1) INT 16 (+3) WIS 10 (+0) CHA 12 (+1) Skills Arcana +5 Perception +2 Senses darkvision 60 ft., passive Perception 12 Languages Common, Dwarvish Challenge 1/4 (50 XP) Spellcasting. Urist is a 2nd-level spellcaster. His spellcasting ability is Intelligence (spell save DC 13, +5 to hit with spell attacks). He has the following warlock spells prepared: Cantrips (at will): chill touch, eldritch blast, mage hand 1st Level (2 slots): command, hex

th3raid0r commented 1 year ago

@bodgingbrom @PepijnMC - I've now done this in my fork. Feel free to merge in the work that you find useful - https://github.com/th3raid0r/FoundryVTT-AI-Description-Generator/releases/tag/v2.0-beta