Merlin is AVALON's visual logic editor. It lets any builder add real game logic to their world with no code: ambushes that spring when someone steps in the wrong place, bosses summoned at altars, timed waves, checkpoints, quests, and full custom game modes.
Everything you make in Merlin is an artifact: a card inscribed into your world's grimoire. Open one, tweak its chips, and it runs live for everyone playing.
WHEN, IF, THEN
- Every artifact reads like a sentence. WHEN something happens (a player enters a volume, a unit dies, a lever is pulled, a chat command is typed), IF the conditions hold, THEN actions fire: spawn NPCs, give or take items, play sounds and effects, change the weather, teleport, announce, count down.

Drag chips into lanes; click any value to edit it - Chips are picked from a palette and dropped into lanes. No syntax, no scripting, and a Test Cast button to try the card before you inscribe it.
Starter templates
- The grimoire ships with starter behaviors to learn from: Goblin Ambush, Timed Waves, Boss Altar, Locked Chest, Checkpoint, and more. Open one, change what it spawns, and inscribe your own copy.

Starter templates in the grimoire
A boss arena in five chips
- A concrete example of how far a few chips go:
- WHEN a player pulls the arena lever, THEN Announce "The Balrog stirs..." and start a 30 second Countdown.
- WHEN the countdown ends, THEN Spawn NPC: your forged boss at the altar.
- WHEN that unit dies, THEN Give Item: vault key to everyone in the arena, and Show On Screen: "Balrogs felled" with a Remembered counter that survives reloads.
- That is one artifact, five chips, and a repeatable world boss with a persistent server-wide kill count. Pair it with a forged boss for a fully custom encounter.
Built for real game modes
- Remembered counters persist across world reloads and can be scoped to each player or shared by the whole world: kill counts, scores, story flags.
- Creator HUD: push live values onto the screen for objectives and progress, plus center-screen announcements and ticking countdowns.
- Waves, checkpoints, and respawns: refill enemies while players hold an area, place respawn points, and override death timers per player or world-wide.
- Logic runs on the server for everyone in the world at once. Multiplayer is the default, not an afterthought.