Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPGTinker #14

Closed
meta5by5 opened this issue Jan 7, 2022 · 3 comments
Closed

RPGTinker #14

meta5by5 opened this issue Jan 7, 2022 · 3 comments

Comments

@meta5by5
Copy link

meta5by5 commented Jan 7, 2022

Any suggestions for importing NPCs generated from rpgtinker.com? A copy of the HTML creates this text below. It actually pulls in a lot, but not spells, and other content, like the Mace action doesn't parse well. Thoughts?
BTW, You're importer is awesome. I'm looking forward to finding a NPC generator that produces the right format.

Carvin : Acolyte
Male Lightfoot Halfling, any alignment
Armor Class: 17 (Half plate, Shield)

Hit Points: 45 (6d8 +18)

Speed: 25ft (7,5m / 5 sqr)

Proficiency: +3

STR

13 (+1)

DEX

11 (+0)

CON

16 (+3)

INT

8 (-1)

WIS

17 (+3)

CHA

12 (+1)

Skills: Religion +2 Insight +6

Challenge: 3 (700 XP)

Actions
Mace. Melee Weapon Attack +4 to hit, reach 5 ft, one target. Hit: 4 (1d6 +1 ) bludgeoning damage.

Properties: WOLOLO!,

Spells
Spellcasting. the Acolyte is an 6th-level cleric. Its spellcasting ability is Wisdom (spell save DC 14, to hit with spell attacks +6)

Cantrips (at will): Chill Touch, Thorn Whip, Resistance, Spare the Dying,

1st level (4 slots): Detect Magic, Purify Food and Drink, Shield of Faith, Ray of Sickness, Bane, Divine Favor, Cure Wounds,

2nd level (3 slots): Find Traps, Continual Flame, Spike Growth,

3rd level (3 slots): Water Walk,

Click here to see spells descriptions (external tool)

Special Abilities
Potion of Healing: The healer carries a potion of healing (2d4+2 healing as a action) and a Healer's Kit.
Chosen of Gods: Once per week, as an act of incredible courage the acolyte can sacrifice himself to protect other. The DM can roll a d20 and add acolyte CR to this roll. If the check gets 20 or more the acolyte can receive one of the random bonuses: Regain one spell slot of his greater slot available; Maximize the healing of a spell, grant one target resitance/advantage against the next damage/saving throw.
Racial Features
Ability Modifiers: +2 Dex, +1 Cha

Small Size: small creatures should use d6 for hit dices

Lucky: When you roll a 1 on an attack roll, ability check, or saving throw, you can reroll the die and must use the new roll.

Brave: You have advantage on saving throws against being frightened.

Halfling Nimbleness: You can move through the space of any creature that is of a size larger than yours.

Naturally Stealthy: You can attempt to hide even when you are obscured only by a creature that is at least one size larger than you.

Languages: speaks Common and Halfling

@jbhaywood
Copy link
Owner

That's a tricky one. They use a lot of their own conventions for the statblock instead of following WotC's. Here are the ones that immediately stand out to me...

  • Using ":" instead of "." or nothing at all.
  • Putting languages at the bottom.
  • Adding "Properties:" to weapons.

There might be other things. I can go through all the differences and see which can be supported without having to change the code too much. But at the end of the day I'm expecting the stats to conform to a certain standard because it would be impossible to support every possible way someone could organize this information. So if someone isn't following the standard, and it's too far off, you'll have to manually fix it up so that the importer will understand it.

One thing I can do is spell out the expectations in the help docs to make it easier to know how to fix up non-standard stats. I'll try to remember to do that soon.

@meta5by5
Copy link
Author

meta5by5 commented Jan 12, 2022 via email

@jbhaywood
Copy link
Owner

I'm closing this because I'm just not going to get around to adding the specs here. It actually changes as I add support for things that fall outside of the normal statblock format, so it would be hard to keep it up to date. The best bet for anyone wanting to make sure this module can parse their statblock is to take a look as the 5e SRD and make sure it follows the ones in there.

@jbhaywood jbhaywood closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants