Skip to content

Randomness 1.0.12

Choose a tag to compare

@github-actions github-actions released this 06 Jun 01:36

Fixed

  • Dictionary keys with spaces or other punctuation now work in
    api.roll/rollUnscoped via dictKey.
    1.0.11 built
    [#<key> <Table>] expressions internally; that form whitespace-
    splits, so a key like "Knight Bachelor" was misparsed as key
    Knight against a non-existent table Bachelor <Table>. The API
    now looks the entry up directly via a new Evaluator.runByKey
    method, passing the key verbatim. Hyphenated, punctuated, and
    embedded-quote keys all resolve.

Added

  • Quoted-key syntax for IPP3 dictionary lookups. In a .ipt
    file, write [#"key with spaces" Table] to look up a dictionary
    entry whose key isn't a single bareword. Embedded double-quotes
    can be escaped: [#"a \"b\" c" Table]. Unquoted keys
    ([#Plain Table], [#Master-Adept Table], [#{$var} Table])
    continue to work exactly as before — the quoted form is additive,
    not a syntax change. Reported by claudermilk while building an
    NPC generator driven by meta-bind dropdowns.
  • Community generators section in settings. Two buttons: one
    opens the community-generators/ folder on GitHub to browse
    contributions; the other opens a pre-filled GitHub issue for
    submitting your own. Contributions are stored in the repo and
    reviewed by maintainers before being added.
  • API.md recipe for storing roll results in frontmatter.
    Documents the dataviewjs feedback loop that happens when render-
    time blocks write back to the same note, and shows two patterns
    to avoid it (seed off a stable value, or move writes out of the
    render path).