πŸ•ΈοΈ WASM HOMUNCULUS DIFFICULTY: Adept Behavioral

The Template Method

A rigid skeletal invocation that allows derived spirits to flesh out the missing somatic components.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Template Method
ARCANUM SCHOOL: Evocation // Invocation
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// WASM PATTERN //
(module
  (type $step (func))
  (table 2 funcref)

  (func $ritual_template (param $custom_step_idx i32)
    (call $prepare_circle)
    (call_indirect (type $step) (local.get $custom_step_idx))
    (call $seal_circle)
  )

  (func $prepare_circle)
  (func $seal_circle)
)

The Template Method

Certain summoning rituals require a strict, unyielding skeletal structure. The Template Method defines this rigid sequence, allowing derived spirits to flesh out only the specific, missing somatic components via table indirection.

Runic Tags: #WASM #Template #Evocation