-
-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Describe the solution you'd like
The prerequisite resource for feats often returns complex strings. Level prerequisites are always ordinal numbers without any accompanying text, and if additional prerequisites follow it, they may be delimited by a combination of ; and or. In addition, the handling of the 5etools data often makes the output longer than it otherwise could be. For example, many 2024 feats have prerequisites output in the format
4th; Strength 13 or higher or 4th; Dexterity 13 or higher
Perhaps the first improvement that could be made here is breaking out the level prerequisite into its own resource that can be called separately within templates. The ordinal numbering could then be removed so that templates could either call it as {resource.level}th Level for 2014 feats, or Level {resource.level}+ for 2024 feats. This may then make it easier for the tool to consolidate the other prerequisites like many 2024 feats do (e.g. "Strength or Dexterity 13+").
I believe I noticed some placeholders for feat levels already existing in the source. If this description matches your original intention for that section of the tool, then I'd imagine you're well aware of all this, and can just consider this a long-winded expression of my support for that plan.