Open rsek opened 2 days ago
example usage: tags.starforged.legacy_track_xp
, accepts a boolean value. applies to all Starforged legacy tracks. other RulesPackage
s could use it and it'd be pretty clear what they're referring to, even in isolation.
SpecialTrack
often implies some kind of specialized behaviour. Datasworn currently doesn't describe such behaviour at all, making it less useful for describing hacks.The problem with describing this in a constrained way (e.g. an enum of pre-set methods defined in the Datasworn schema) is that hacks, by their nature, are likely to do something different. It's not practical to add a method to the main schema for every hack.
The problem with describing this in an unconstrained way is that now we're describing mathematical functions in JSON, and I'm uneasy about opening that can of worms. In this context I think the best description of a function is the function itself -- in other words, actual code.
I think the ideal solution would involve including some kind of reference implementation (e.g. a web component) of the
SpecialTrack
in a Datasworn package subdirectory; the JSON definition would then identify this + provide an embedded schema for values the component exposes.In the mean time, adding
tags
would at least make it possible to describe special track behaviour in an ad-hoc way.