Heroic Lands Heroic Lands
Home Thalorna Blog
Projects
Song of Heroic Lands HârnMaster 3 Modules API Documentation KnowledgeBase
License
  • Preparing search index...
  • The search index is not available
Song of Heroic Lands API - v0.8.2
  • Song of Heroic Lands API
  • sohl
  • document
  • item
  • logic
  • chooseFateSource

Function chooseFateSource

  • chooseFateSource(eligible: MysteryLogic[]): Promise<MysteryLogic | undefined>
  • Resolve which eligible Fate Mystery to spend a point from: auto-pick when exactly one is eligible, otherwise ask the player (pre-selecting the most-restricted point via preferredFateSource so flexible general points are preserved).

    Parameters

    • eligible: MysteryLogic[]

      The eligible Fate Mystery logics (availableFateFor).

    Returns Promise<MysteryLogic | undefined>

    The chosen mystery, or undefined if the dialog was dismissed.

    • Defined in src/document/item/logic/fate-host.ts:393

Settings

Member Visibility
Song of Heroic Lands API - v0.8.2
  • Loading...

Generated using TypeDoc with typedoc-github-theme

© 2020–2026 Tom Rodriguez. Content under The World of Thalorna and Song of Heroic Lands is licensed under CC BY-SA 4.0; all other content is © Tom Rodriguez, all rights reserved. See License.

CC BY-SA 4.0 Discord