import type { Gesture } from './spells'; /** How a gesture is written in the ledger. A clap needs both hands; alone it is nothing. */ export function glyph(g: Gesture, other: Gesture = 'C'): string { if (g === '>') return '†'; if (g === '-') return '–'; if (g === 'C' && other !== 'C') return '(C)'; return g; } export const GESTURE_SHORT: Record = { F: 'fingers', P: 'palm', S: 'snap', W: 'wave', D: 'digit', C: 'clap', '>': 'stab', '-': 'nothing' };