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
  • buildItemDescCardData

Function buildItemDescCardData

  • buildItemDescCardData(logic: SohlItemBaseLogic): Promise<ActionCardSpec>
  • Assemble the informational description card for an item — the body of the SohlItemBaseLogic.outputDescription action. Pure (Foundry access only through the enrich shim), so it is unit-testable and carries no posting side effect. The description HTML is enriched through the normal fvttEnrichHTML path and the card is rendered/sanitized by sohl.document.chat.buildActionCard; item data is never interpolated into template source.

    Parameters

    • logic: SohlItemBaseLogic

      The item logic whose description is being output.

    Returns Promise<ActionCardSpec>

    The ActionCardSpec for item-desc-card.hbs (no buttons).

    • Defined in src/document/item/logic/SohlItemBaseLogic.ts:235

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