Lichtblitz / CreatureLab

CreatureLab for Fantasy Grounds, an extension based importer.
GNU General Public License v3.0
1 stars 0 forks source link

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

Open xenusuk1 opened 3 weeks ago

xenusuk1 commented 3 weeks ago

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

Lichtblitz commented 2 weeks ago

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 commented 2 weeks ago

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 commented 2 weeks ago

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