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

Change line checks so that defense, offense, statistics and ecology are not mandatory #2

Open
xenusuk1 opened this issue Jun 9, 2024 · 4 comments

Comments

@xenusuk1
Copy link

xenusuk1 commented Jun 9, 2024

This would save some time as some PF stat blocks don't always meet the Paizo standard e.g. Necromancer games

@Lichtblitz
Copy link
Owner

Having Ecology optional makes sense, I'll check that in the next few days. For the others however, I'm not sure how much sense an import makes, if vital stats are missing and you end up with an NPC that's not really usable.

@xenusuk1
Copy link
Author

The Necromancer games stat blocks don't have these non content lines but otherwise have the same format. So if the code allowed for those lines to not be present and simply read the next line it would save manually adding them.
Happy to provide an example if required, you could test by simply removing those lines from a stat block of your choice.

@Lichtblitz
Copy link
Owner

Sure, of you could point me to a real world example, I could use that as a test case for the extension as well.

@xenusuk1
Copy link
Author

xenusuk1 commented Jul 8, 2024

MEDIUM GIANT SCORPION CR 1
XP 400
N Medium vermin (Pathfinder Roleplaying Game Bestiary,
“Scorpion, Giant”)
Init +0; Senses darkvision 60 ft., tremorsense 60 ft.; Perception
+4
AC 14, touch 10, flat-footed 14 (+4 natural)
hp 13 (2d8+4)
Fort +5; Ref +0; Will +0
Immune mind-affecting effects
Speed 40 ft.
Melee 2 claws +2 (1d4+1 plus grab), and sting +2 (1d4+1 plus
poison)
Space 5 ft.; Reach 20 ft.
Special Attacks constrict (1d4+1), poison, pounce
Str 13, Dex 10, Con 14, Int —, Wis 10, Cha 2
Base Atk +1; CMB +2 (+6 grapple); CMD 12 (20 vs. trip)
Skills Climb +5, Perception +4, Stealth +4; Racial Modifiers +4
Climb, +4 Perception, +4 Stealth
Poison (Ex) Sting—injury; save Fort DC 13; frequency 1/rd for
6 rds; effect 1d3 Str; cure 1 save.

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