How to design a magic system for roleplay
Updated
A magic system works in roleplay when it has a source, a cost, a limit and a way to go wrong, written as a handful of plain rules the AI can see. The cost is what turns a spell into a choice instead of a solution. Keep it to five lines, put them somewhere the AI always reads, such as a character you make at /chat/custom on UnsavedAI, and let the first scene test one rule.
Try it now, free, no account neededStart a story with Lazzaro VentoThe royal weather-maker has rained on your market stall for a month. His clouds follow his moods.Four questions every system answers
| Question | Weak answer | Answer that makes scenes |
|---|---|---|
| Where does it come from? | Mana, energy | Borrowed from a river spirit who wants it back with interest |
| What does it cost? | Nothing, or "it tires you" | One memory per spell, a day of your life, the warmth in your hands |
| What can't it do? | Never stated | Can't touch iron, can't undo a death, doesn't work after sunset |
| How does it fail? | It doesn't | A miscast lands on the caster, or draws the attention of something hungry |
The cost column does the most work. If magic is free, a language model will reach for it every time a problem appears: the locked door opens, the wound closes, the villain is frozen in place. A price forces a question every time someone casts: is this worth it? That question is where the drama lives. A limit is just as useful, because it is a promise the story makes to you. If nobody can teleport, the villain can't vanish from the final scene either.
Three house systems, taken apart
Look at how the strongest fantasy characters on the site fit a whole magic system into one sentence, and how each sentence makes trouble on its own.
Lazzaro Vento is the Royal Weather-Maker of Cirrovale, a kingdom of sky-islands, and his weather follows his moods. The source is feeling, the limit is that he cannot control it while flustered, and the failure is the story's premise: a small rain cloud has emptied itself over your market stall for thirty mornings running. The cost is social. He cannot hide a single thing he feels, because the sky announces it.
Bartholomew Grieve raises the dead only with consent signed in life and properly witnessed, so his crypt beneath Dunmoor Gulch is a retirement village for skeletons who knit and play cribbage. That one ethical rule builds the plot: a warlord necromancer arriving at dawn has no such scruples and wants the residents as soldiers.
Akosua Amankwah casts brass goldweights in Kumasi, each one carrying a proverb. When her grandmother's set is stolen, the proverbs start coming literally true, which is why a trader who boasted too loudly is floating three feet above the market. The rule is simple enough to guess at, and strange enough to keep surprising you.
Write it as five lines
A system the AI can follow fits on an index card. Use these five headings and keep each to one sentence. Here is an invented one, ashwriting, to show the shape:
- Source: words written in the ash of something you loved become true for one hour.
- Price: the thing is gone for good, and ash from something you didn't care about does nothing.
- Limit: one sentence of eight words at most, and it can't name a person.
- Failure: a misspelled word comes true as written.
- Who knows: the temple licenses ashwriters; unlicensed ones hang.
The fifth line is easy to forget and adds a lot. Whether magic is sacred, taxed, illegal or merely embarrassing decides how strangers react when you use it in public. Put the five lines in the description of a character you make, or open a story with them and this note: (OOC: magic in this world follows these rules. Hold me to them, and hold every NPC to them too.)
Test a rule in the first scene
Don't explain the system to your partner. Cast something small early and see whether the price gets paid on the page.
You: *I tear the last page from my mother's letter, burn it in the lamp and write in the ash with one finger: THE DOOR IS UNLOCKED.* A reply that respects the rules: *The lock clicks. You smell lavender, her lavender, and then you can't remember a single word the letter said. Out in the corridor, the guard stops humming.*
The cost landed, and the reply even hinted that magic gets noticed. If the AI waves the cost away, fix it straight away rather than ten scenes later: edit the reply, or add (OOC: that spell should have cost the letter.) The earlier you enforce a rule, the more reliably the AI keeps it.
Where systems go wrong
- Too many schools at once. Start with one kind of magic and add a second only when a story needs it.
- Costs that never come back. A price narrated once and then forgotten is decoration; ask for it on every cast.
- No ceiling. Write one sentence of scale, such as "no spell moves more than a cart's weight", or power climbs every scene.
- Lore lectures. Let the world show its rules through someone breaking them, not through a history lesson.
For the rest of the world around your magic, worldbuilding with AI covers places, factions and keeping canon straight. For what a spell looks like in prose once the rules are settled, see writing magic in scenes.
Questions people ask
Should my magic be hard rules or mysterious?
Mysterious magic suits horror and fairy tales; firm rules suit stories where you solve problems with spells. Even soft magic needs one hard limit in a chat, or the AI uses it to fix everything.
Will the AI remember my rules in a long story?
Rules written into a character's description stay in front of the AI; rules mentioned once in chat fade as the story grows. Restate them when a new chapter or location begins.
Can I borrow a magic system from a book I love?
Borrow the idea of a cost, not the names. Your own five lines will fit your story better than a famous system your partner only half remembers.
Characters for this story
Lazzaro VentoThe royal weather-maker has rained on your market stall for a month. His clouds follow his moods.
Bartholomew GrieveA polite necromancer runs a retirement village for skeletons. A warlord wants them as soldiers.
Akosua AmankwahHer stolen brass charms are loose in Kumasi, and every proverb they carry is coming literally true.