Appearance
Macro Reference
Every Ana macro, grouped by what it does. Use the sidebar or the search box (top right) to jump to a macro; each page lists its macros in the right-hand outline.
New to Ana? Start with the Quick Start, then the Authoring Guide for how the systems fit together. This reference is for looking up exact syntax.
Language
- Navigation, Variables, Conditionals & Links: the core authoring primitives for moving between passages, reading and writing state, branching, and building choices.
- Loops, Arrays, Numbers & Strings: iterating over collections and namespaces, and the value macros for arrays, numbers, and text.
- Declarations, Escape Hatches & System Toggles: declaring variables and bounds, raw HTML/CSS/JS hatches, and enabling/disabling engine systems.
Display
- Text, Prose Styling & Transitions: printing and notifying, inline/block prose styling, and scene/zone transitions.
- Tables, Panels, Forms & Accessibility: data tables, master/detail panels, form inputs, and accessibility helpers.
World Systems
- Items, Inventory, Equipment & Containers: item templates and moving instances between carry, equipment slots, and containers.
- NPCs, Relationships, Stats & Skills: NPC data, relationship tracking, player stats, and skill checks.
- Shops & Currency: buying/selling and declaring/formatting currencies.
Simulation
- Time, Scheduling & Reactivity: advancing time, calendars/clocks, scheduled events, and reactive updates.
- Events, Tags, Status & Dice: event flags, passage-tag events, status effects, and dice.
- Quests & Achievements: multi-stage quests with rewards, and binary/tiered achievements.
Engine
- Config, Save, Keybinds & Passage Utilities: engine configuration, save/load, keybindings, and passage queries.
- Modals, Themes & Audio: modal overlay screens, the theme system, and audio playback.