rsek / datasworn

The successor to the original Datasworn repository and Dataforged package, which provide game rules from the Ironsworn and Ironsworn: Starforged TTRPGs in JSON.
https://ko-fi.com/r_sek
120 stars 26 forks source link

Explore folding all ID patterns in to recursive collectable/collection IDs #36

Closed rsek closed 3 weeks ago

rsek commented 1 month ago

This will have a few effects:

This does mean that some types will require a "wrapper" folder around them, as Datasworn doesn't allow collectables to live in the "type root" (e.g. starforged.moves) -- only collections can be placed there.

rsek commented 3 weeks ago

NonRecursive(Collection|Collectable)Id and Recursive(Collection|Collectable)Id have been folded in to CollectionId and CollectableId; all collections can now recurse.

NonCollectableId is still it's own type. Still considering what to do with them, so I'll leave them be for v0.1.0.

rsek commented 3 weeks ago

above changes merged for v0.1.0; reopen issue if NonCollectableId changes warrant revisiting