A modern and open-source scripting language
for writing interactive fiction.
Short for lore (story, worldbuilding) and line (writing, a line of dialogue), Loreline is designed so writers can focus on story and dialogue while still having real programming tools (branching, state, functions) when they need them. If you write for games, visual novels, or any kind of branching narrative, this is for you.
You can integrate it anywhere: game engines, web apps, or standalone projects. It adapts to your tools, and the stories you write stay portable.
Here's what a Loreline script looks like.
The left side is what you write, the right side is the result.
The warm aroma of coffee fills the café.
barista: Hi there! How are you doing today?
choice
Having a great day
barista: Wonderful! Coffee will make it even better.
Need caffeine...
barista: Say no more! Let me help with that.
Your name is Alex, right?
barista.name := Alex
barista: Oh, I didn't expect you'd remember it!