-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
🧩 Better Pathfinder 2e creature statblock layout #436
Comments
Here's an example of what the statblock looks like currently. This should include all available fields.
|
pf2e.css generated from the Fantasy-Statblocks-CSS-Development repo
This seems much better than the current format!
I believe you can have notes on each different save type, ie. one for Fort, one for Ref. In that case, it might make sense to put the note under the save like so: saves:
- fort: 1
- ref: 1
- will: 1
saveNotes:
- fort: "+2 circumstance against flying"
- ref: "+1 when using Guiding Ward" or saves:
- fort:
- value: 1
- note: "+2 circumstance against flying"
- ref:
- value: 1
- note: "+1 when using Guiding Ward"
- will:
- value: 1
- note: "" The same thing might apply for skills, but not sure on that.
The format here seems great, but my concern would be that the
Would it make sense to move the DC and attack numbers out into the spellcasting object? Like
A lot of this could be absolutely bad suggestion (and to be honest, I don't really know YAML), so take all of that with a grain of salt. |
Thank you for the suggestions! For save notes and skills, I considered the notes and at the moment you can enter it like this, which will render as expected: saves:
- fort: +10 (+12 vs poison)
- will: +7 (immune to illusions)
skills:
- Athletics: +10 (+12 for jumping) I fall back to the text-based freeform entry method, basically. This means that if you were doing data stuff you'd need to do some parsing, but I'm trying to find a balance between readability and structure. Ideally this is what I'd like to do: saves:
- fort: 10
vs poison: 12
note: some other note
- ref: 12
- will: 8
skills:
- Cult Lore: 10
note: lore on their cult
- Athletics: 10
in forests: 12 but this would require callbacks for the "Save" layout block, which isn't currently implemented. I considered implementing it but I've been going back and forth on whether this is going too far into the structure side and losing out on readability. I also know that a lot of folks have trouble with nested YAML syntax. For the trait hyperlinks, the
Thanks for pointing out the spellcasting DCs and bonuses! I'll pull those ones out. If you're interested, this is the template that I'm currently using to generate statblocks in my local branch. (it uses some nested templates which can be found here: ability, action) |
pf2e.css generated from the Fantasy-Statblocks-CSS-Development repo
pf2e.css generated from the Fantasy-Statblocks-CSS-Development repo
Please make sure that anything with name: can be a link. E.g. you show it for ability_top, but want to make sure it applies for ability_mid, ability_bot and attacks. |
Scope
Improve the Pathfinder 2e creature layout to reduce duplication and boilerplate, and make it easier to access the underlying data without resorting to regex on the formatted strings.
Discovery
Primarily the Pathfinder 2e layout but I'm expecting this to require touching several different repos to do properly. This seemed like a decent place to track the changes and allow feedback on how I'm going about this.
Validate
I have a local vault which contains statblocks generated using a local branch of ttrpg-convert-cli which I've added pf2e bestiary statblock support to. I've been working on the changes using a local branch of rhe Fantasy-Statblocks-CSS-Development repo.
My current plan is to first add an Experimental layout with a different name to the default to use so I don't break people's vaults while I'm adding support in the upstream repos. This is probably also going to be different enough that I think it's worth making a separate layout entirely rather than trying to do it piece-by-piece.
This is my current list of repos/projects which will need modifications of some type if I want this to become the new default layout. Please let me know if there's anything I've missed:
This bug is mostly to have somewhere somewhat centralised to track changes, since I know there's a lot of different repos involved here.
I'd appreciate feedback on whether this seems like a reasonable approach to trying to get this done, or whether I'm barking up entirely the wrong tree here.
The text was updated successfully, but these errors were encountered: