◀ RetroRPG Engine
THE MODULE EDITORDesigner's handbook · for the RPG Module Editor
Construction Kit
Designer's Handbook
THE MODULE EDITOR
A Designer's Handbook for the RetroRPG Engine
Cover painting. A drafting table seen from above: a sheet of graph paper with a half-painted island of pixel tiles, a pencil, a ruler, a little row of 32×32 tile swatches like paint pots, and a lantern-lit dungeon plan pinned at the corner.
Designer's Handbookfor the RetroRPG Engine
Workshop Copy
The Drafting Room
Keep beside the editor
Designer:
Return to the shelf
THE MODULE EDITOR
A Designer's Handbook for the RetroRPG Engine

Being a Complete Guide to Painting Worlds, Raising Towns, Digging Dungeons, Peopling Them with Talkers and Monsters, and Sending the Result Out into the World

A handbook for the RetroRPG Engine

Contents

  1. I.To the Designer
  2. II.Getting Started
  3. III.Settings, Words and Art
  4. IV.Painting a World Map
  5. V.Raising a Town
  6. VI.Digging a Dungeon
  7. VII.Linking the Maps Together
  8. VIII.People of the Realm
  9. IX.The Art of Conversation
  10. X.Portraits
  11. XI.Building Monsters
  12. XII.Weapons, Armor and Items
  13. XIII.Magic and Gadgets
  14. XIV.Events, Variables and Quests
  15. XV.The Generator
  16. XVI.Testing and Sharing
  17. XVII.Quick Reference Card

Chapter ITo the Designer

Every adventure the RetroRPG Engine plays is a module: a folder of plain text files that describes a world, its towns and dungeons, the people in them, the monsters that roam, the gear for sale, the magic that can be mixed and the story that ties it all together. The engine reads the module and plays it in the framed 320×200 style of the classic eight-bit role-playing games.

The RPG Module Editor is the workshop where modules are made. You never have to open the text files yourself. You paint maps with a tile palette, fill in forms, pick from drop-down lists, and the editor writes the files for you. It checks your work as you go, and with one click it starts the game on your module so you can walk through what you just built.

This handbook takes you through the whole craft, from a blank island to a finished adventure packed up for your friends. Read the first two chapters at the desk with the editor open; dip into the rest when you need them.

What a module is made of

You will rarely need to know this, but it helps to know where things live:

FileWhat it holds
module.jsonTitle, author, theme, start position, starting party, character creation, endings
rules.jsonStats, levels and experience, party size, what happens when the party dies
classes.jsonThe callings a character can follow
tiles.jsonEvery kind of ground, wall, door and water
items.jsonWeapons, armor, reagents, potions and special objects
spells.jsonMagic (or gadgets, programs, tonics: the engine does not mind what you call it)
monsters.jsonEverything that fights the party
arenas.jsonThe small 11×11 battlefields where fights happen
shops.jsonShops, inns, taverns, healers and stables
variables.jsonYour own flags and counters for quests
maps/*.jsonWorld and town maps, with their people, chests, entrances and events
dungeons/*.jsonDungeons: levels of corridors, and rooms where the fights are
pictures/*.pngPortraits and pictures shown in the game

In the editor all of this appears as one module tree down the left side of the window.

Chapter IIGetting Started

The welcome page

Start the editor and the welcome page offers three ways in:

Modules you opened before are listed under Recent.

Your first module

Choose New module…. The dialog asks for four things:

  1. Template: the starting point. Each one brings a theme (tiles, sprites, frame, colors and music), a font, the right words for the setting, and a handful of classes, items and monsters.
  2. Title: the name players will see, such as The Lantern Isle.
  3. Id: the folder name. It is made from the title as you type; lowercase letters, digits and the underscore only.
  4. Folder…: where the module folder is created.
TemplateWhat you get
FantasyThe default fantasy art and font: a fighter and a mage, torches, rats, wolves and goblins
Sci-fi colony worldStation art and sci-fi words: a marine and a psion, drones, crawlers, raiders
Modern spy thrillerCity and casino art: agent, soldier, hacker and medic, guard dogs, thugs, henchmen
Post-apocalyptic wastelandScrap settlements: brawler, scavenger, tinker and doc, gadgets instead of spells
Frontier westernPrairie towns and mines: gunslinger, cowhand, doc and tonic peddler, tonics
Cyberpunk sprawlNeon megacity: merc, hacker, street doc and nomad, programs instead of spells
Pirate islesIslands and port towns: buccaneer, navigator, ship's surgeon and tide caller
Gothic horrorMoors and manors: hunter, occultist, physician and medium, rites
Steampunk empireBrass and steam: brawler, engineer, surgeon and aeronaut, devices

Every template is a small module that already plays: a 32×32 island with grass, forest, mountains and water, a party that can walk it, and monsters to meet. Everything in it is yours to change.

The editor window, drawn as a labeled plan. (1) the module tree on the left, (2) the toolbar across the top with New, Generate, Undo, Redo, Save, Play-test and Pack, (3) the editing area in the middle showing a map, (4) the inspector on the right with the selected entry's form, and (5) the Problems panel along the bottom.
The editor window.

A tour of the window

Forms

Most of your work happens in forms. A field that names another thing (a sprite, an item, a map, a monster) is a drop-down list of the things that exist, with a filter box for long lists, so you cannot misspell an id. Lists have Add, Remove, Move up and Move down buttons. Fields that only make sense for some entries hide themselves: the damage field appears only when an item's kind is weapon. Every field has a short help line; hover over it when in doubt.

Saving and undoing

Every change can be undone with Ctrl+Z and redone with Ctrl+Y. One brush stroke on a map, one wizard or one generator run is one step. Ctrl+S saves; a dot before the title in the window bar means there are unsaved changes, and closing asks before throwing them away. Pictures and sounds you import (or remove) are written to the module folder at once: they need no Save, and Undo does not take them back.

Your first play-test

Press Play-test (▶). The editor saves, starts the game with your module and lets you create a character. Walk around, close the game, change something, press Play-test again. Do this often; nothing teaches like walking your own map.

Chapter IIISettings, Words and Art

Module settings

Module settings in the tree is the front page of your module:

Rules

Rules holds the stats (the first three show on the character sheet), the experience table and the highest level, HP gained per level, the largest party, how fast food is eaten, and what happens when the whole party falls: resurrect at a place you choose (losing some gold) or game_over. Under constants you can tune every number the engine uses, from the base hit chance to how long a torch burns. Leave them alone until a play-test tells you something feels wrong.

Terms: the engine's words

The engine has a few hundred built-in words and messages: the command names, Ship and Horse, gold, Mix, Cast, Reagents. On the Terms page you can rename any of them. A box shows each built-in text as a hint; type your own and the game uses it. The buttons Use sci-fi words, Use modern words, Use western words and the rest fill in a whole setting at once; Reset all clears them. Renaming a word never changes what a command does: a "shuttle" still sails.

Art & sound

The Art & sound page lists every picture and sound your module uses: tiles, class and monster sprites, NPC sprites, the party and vehicles, dungeon textures, the frame, the font, music and sound effects. Each shows a thumbnail, who uses it, and where it comes from: your module, the theme, the built-in set, or missing.

Chapter IVPainting a World Map

A small island painted on graph paper in pixel tiles: blue water around green grass, a dark belt of forest, gray mountains in the north, a brown road from a town square to a cave mouth, and a flag marking where the party arrives.
A first island, blocked out in an evening.

Making a map

Your template already has a world map called world. To make another, press + beside Maps in the tree. Give it an Id (which is also its file name), choose the Kind (world or town) and a Width and Height of up to 256 cells. The new map is added to the module's list of maps for you.

Click a map in the tree and it opens on the canvas, with the tile palette on the left and the map's settings in the inspector on the right.

The tools

KeyToolWhat it does
VSelect / moveClick an NPC, chest, entrance, event or the arrival flag to edit it; drag to move it
BPencilPaint the chosen tile; drag to paint a stroke
LLineDrag from one cell to another
RFilled rectangleDrag a box full of the tile
ORectangle outlineDrag a box with only its edges painted (town walls)
FFillFlood the connected area of the same tile
IPick tileTake the tile under the cursor (or right click with any tool)

After the paint tools come the placing tools: Place NPC, Place object (chest), Place entrance, Place event (drag for an area) and Set arrival position. Zoom with + and − or Ctrl and the mouse wheel. Del deletes the selected thing. The Layers button hides overlays you do not want to see, and Resize map grows or shrinks the map; NPCs, chests and entrances move with the content.

Tiles

Every cell holds one tile. The palette shows the module's tiles with their art. A tile's form (under Tiles in the tree) decides how it behaves:

FlagMeaning
walkThe party can walk on it
sailShips can sail on it
swimSwimming monsters can cross it
flyA balloon (and flying monsters) can pass over it
horseRiding ignores the tile's slowness
opaqueBlocks sight: what lies behind it is hidden
no_encountersNo random monsters appear on it

Slow % is the chance a step onto it fails (forest, swamp). arena is the battlefield used when a fight starts on this tile. special gives it a job: door (opens when walked into; its opensTo is the open door tile), locked_door (needs a key), ladder_up and ladder_down, entrance (towns, caves), counter (talk across it to the shopkeeper behind), sign or portal. damage makes a tile hurt: poison, fire, sleep or energy.

World map settings

Click the map's name in the tree for its settings: name and the short displayName shown under the map frame; wrap (walking off one edge brings you back on the other, on by default for worlds); Line of sight (mountains and forests hide what is behind them); lit; music; the Arrival position; and the random monsters: Encounter % (the chance per turn that a monster appears) and encounters, a list of monsters that replaces the usual choice by terrain.

Chapter VRaising a Town

A town is a map of kind town. Make one with + beside Maps: 32×32 is a good village. Town maps do not wrap; walking off the edge takes the party back out to the world map, to the cell they entered from.

Laying it out

  1. Fill the whole map with grass or paving, then draw the outer wall with the rectangle outline.
  2. Draw each building with the outline tool in wall, fill its inside with floor_wood or floor_stone, and pencil in a door.
  3. Put a counter across the front of each shop, with the shopkeeper standing behind it: the party talks across counters.
  4. Mark where the party appears with Set arrival position (usually just inside the gate).

Floors marked no_encounters keep wandering monsters out of town.

Chests and objects

Place object (chest) drops a chest. In the inspector give it gold, a list of items, and if you like a trap (acid, poison, bomb or sleep). The same tool can place a parked ship, horse or balloon instead: change the object's type. Any object can have a Present only if condition, so a ship can wait in the harbor only after the shipwright has been paid (Chapter 14).

Shops, inns and healers

Use New… → New shop. Choose the kind:

KindWhat it sells
weapons, armour, reagentsItems from its stock (item → price)
guildSpecial supplies (torches, keys, gems) from its stock
foodRations, priced per 25
innA room for the night (heals the party, wakes sleepers)
healerCure, heal and resurrect, at your prices
tavernA meal and a drink, and the keeper's gossip
stableA horse

The shop's name and its keeper's name each have a 🎲 for a random one that suits the kind of shop. The wizard fills the stock with every item of the right kind, and if you choose a map it also places the shopkeeper there. A shopkeeper is an ordinary NPC whose shop field names the shop: talking to them opens it. Edit prices under Shops afterward.

Signs

A sign is an event with the trigger look on the sign's cell, running a Show long text or a picture action. The player presses L and a direction to read it. Chapter 14 explains events.

Chapter VIDigging a Dungeon

Dungeons are different from maps. The party walks their corridors in a first-person view, one cell at a time, with walls on every side; fights happen in rooms, small 11×11 battlefields drawn with ordinary tiles.

Making a dungeon

Press + beside Dungeons. Give it an Id, a Size (4 to 32 cells square; 8 is classic) and a number of Levels (1 to 8). It is added to the module's list of dungeons.

A dungeon plan on graph paper. Left: one 8×8 level drawn as a schematic with walls, floor, ladder glyphs, a red R for a room cell and a $ for a chest. Right: the 11×11 room that R opens into, with monster markers in red at the top and numbered party starts in cyan along the bottom.
A dungeon level, and the room behind its R.

Levels

Each level is painted on a schematic: one flat color and a letter per cell. The level chips along the top switch levels; beside them you can add a level (empty, or a copy of the current one), move a level up or down, delete it, and change the dungeon's size. The paint tools are the same as on maps.

CellWhat it is
wall, floorThe corridors. Levels wrap around at their edges
door, secret_doorA door; a secret one looks like wall until walked into
ladder_up, ladder_down, ladder_bothClimb between levels. A ladder up on level 1 leads out
roomA fight: stepping on it opens its room
chestGold (the amount is in Rules)
altar, orbAn altar (scenery); an orb that raises stats but hurts to touch
fountain_plain, _heal, _cure, _poison, _acidDrink for good or ill
trap_pit, trap_rocks, trap_windHidden traps
field_poison, _fire, _energy, _sleepMagical fields that hurt as you cross

A cell outlined in red is a mistake: a ladder leading into a wall, a ladder up on the last level, or a room cell without a room. Set where the party arrives with Set arrival (level 1).

Rooms

Painting a room cell creates its room. With the Select tool, click the room cell to open it (press Esc or ← Level to go back). A new room has walls with an opening on each side. In the room:

Dungeon settings

Click the dungeon's name for name, music, Encounter % and the encounters list for the corridors, the arena used for corridor fights, and textures: a prefix that picks a texture set, so ice_ walls can give one dungeon a frozen look.

Arenas

Every fight happens on an arena: 11×11 tiles with the party's starting places (cyan) and the monsters' (red). Tiles name their arena, dungeons name one for corridors, and rooms are their own arena. Under Arenas, paint them like any map; Default and Clear reset the start lists.

Chapter VIILinking the Maps Together

A module is a web of places. These are the threads that tie them.

A diagram of links. The world map in the middle. An arrow labeled ENTRANCE goes from a town tile into the town map, and an arrow labeled EDGE comes back. An arrow labeled ENTRANCE goes from a cave tile down to level 1 of a dungeon, and LADDER UP comes back. Between two town floors, KLIMB and DESCEND arrows; across the sea, a TELEPORT arrow.
The threads between places.

Entrances

An entrance is a cell where E (Enter) takes the party somewhere. Choose Place entrance on the world map and click the town's tile. In the inspector pick its target: any map or dungeon. Leave tx and ty empty to arrive at the target's arrival position, or fill them in to arrive somewhere else.

Paint the cell with a tile whose special is entrance (the template's town and dungeon_entrance) so players can see it is a way in. Entrances work on any map: a cellar door in a town can lead into a dungeon, a cave on the world map can lead to a second world underground.

Coming back out

Stairs between floors

A building with an upper floor is two town maps. On each staircase cell put an event with the trigger klimb (on the ground floor) or descend (upstairs) and a Teleport party action to the matching cell of the other map. The player presses K or D to use them.

Teleports, portals and sealed doors

Chapter VIIIPeople of the Realm

The New NPC wizard

Choose New… → New NPC, or + beside a map's NPCs, or the Place NPC tool on the canvas. The wizard asks for the map, a name (press its 🎲 for a random one in your module's setting), the role and a position:

RoleWhat it makes
townsfolkSomeone to talk to
shopkeeperTalking opens the shop you choose
recruitSomeone who can join the party, as the class you choose
hostileAttacks on sight, fighting as the monster you choose
guardPeaceful, but turns on the party if they attack someone in town

The wizard picks a fitting sprite (or choose your own), and writes a first greeting and job.

The NPC form

Chapter IXThe Art of Conversation

Conversations work the way they did in the classic games. The player presses T and a direction, reads who they meet, and types a word. The person answers if they know the word.

A conversation drawn as a flow chart. "You meet a weathered fisherwoman." leads to "Your interest?" where the player types NETS. An arrow goes to the topic NETS with its reply and a yes/no question; YES and NO branches lead to their answers and actions. Unknown words go to "I'm not sure about that." BYE ends the talk.
How a conversation runs.

Built-in words

Every person already understands:

WordAnswer
NAME"I am …" with their name
JOBTheir job text
HEALTHTheir health text (default "I'm feeling fine.")
LOOK"You see …" with their look
BYE (or Enter alone)Their bye text, and the talk ends

Anything they do not know gets the unknown text. Only the first four letters count: HEAL matches HEALTH, and so does HEALTHY, but NA does not match NAME.

Topics

Under topics press Add. Each topic has:

Topics are checked from the top, so put the special cases first: the topic that only works if the quest is done must come before the plain one with the same word. The Problems panel warns you about a topic that can never be reached.

Writing good talk

The job line is a signpost. End it with the words you want the player to ask about, set in capitals: "I MEND NETS AND WATCH THE SHOAL." The player will try NETS and SHOAL. Every answer can hand on one more word, so a chain of townsfolk leads the player across the map. Keep lines short: the message scroll is narrow, and the engine shows speech in capitals unless you switch that off in the module settings.

People can greet the hero by name: "Hail, {sir} {name}!" becomes Hail, madam Ivy! for a heroine called Ivy. These text tokens work in every line an NPC speaks; Chapter 14 lists them all.

Chapter XPortraits

A portrait is a 120×64 picture of a person. In the game it appears over the party roster while that person speaks in a cut-scene, and any picture can be shown with the Show long text or a picture action: a wanted poster, a painting in a gallery, the face of the person who wrote a letter.

You can import your own PNG on the Art & sound page, or let the editor draw one.

The portrait maker

Open it with Generate… → Portrait… or Make a portrait… on the Art & sound page.

  1. For (optional): pick an NPC. Their look and job fill in the description, and the picture id becomes their id followed by _portrait.
  2. Description: describe the person in plain words: an old smith with a grey beard in a forge. Press Read it. The editor fills in the pickers from the words it understood, and lists the ones it did not, so you can say it another way.
  3. The pickers let you set anything by hand: Who (race, age, sex, skin, expression), Hair and headwear, Clothes and things held (up to two), Marks (scars, an eye patch, a monocle, a cyber eye) and Where (the backdrop, and at night). A picker left on any is decided by the seed; All to "any" clears them.
  4. Setting style picks which theme's clothes and backdrops are likely; it starts as your module's theme.
  5. Seed and the 🎲 button: the same seed and choices always give the same face. Roll the die until you like what you see; changing one picker never reshuffles the others.
  6. Save picture writes it to the module's pictures.
Twelve portraits from the same description, "an old smith with a grey beard in a forge", each from a different seed.
One description, twelve seeds.

Words the maker knows include roles (smith, sheriff, hacker, captain, vampire hunter), which suggest clothes, a prop and a setting; colors next to a feature (a red braided beard, a blue coat); ages and sexes (old woman, boy); expressions (grinning, stern); and places (in a forge, on a ship's deck, at night). It matches words, not sentences: "not wearing a hat" still reads as a hat.

A generated picture is marked ✦ on the Art & sound page; Edit portrait… reopens the maker with its description and choices. The editor never replaces a picture you imported, or changed since, without asking.

Chapter XIBuilding Monsters

The New monster wizard

New… → New monster asks for a name, a sprite and a strength, and on which terrains it turns up. The strength fills in sensible numbers you can tune later:

StrengthHPDamageHit %DefenseXPGoldGroup
weak6–121–440030–52–4
average15–252–850085–201–4
strong30–504–126022010–401–3
boss80–1208–2070410050–1501

The monster form

Flags

FlagEffect
ranged, magicShoots from a distance; casts
poison, sleepIts hits can poison, or put to sleep
swims, sails, fliesMoves over water, sails like a ship, flies over anything
immobileNever moves
teleports, hidesBlinks around the arena; invisible until it attacks or is hit
undeadCan be turned back by the repel_undead magic
steals_gold, steals_foodRobs the party
regeneratesHeals every round
peacefulWill not start a fight
bossCannot be put to sleep, killed outright or turned away

Chapter XIIWeapons, Armor and Items

Everything the party can carry is an item. Add one with + beside Items, then pick its kind. The form changes to show only the fields that kind needs. (The data spells the armor kind armour; the game shows the word you choose on the Terms page.)

KindFieldsNotes
weapondamage, range, consumed, alwaysHitsrange above 1 shoots across the arena; consumed is used up when thrown (oil flasks)
armourdefenseLowers the foes' chance to hit
reagentIngredients for magic and gadgets (Chapter 13)
consumableeffect, Use actionsTorches, keys, potions, rations
specialeffect, Use actionsQuest objects: a letter, a crystal, a deed

Every item has an id, a name, an optional short name for tight lists, and a price (what shops charge; they buy back at half).

Who may use what

A class's form lists the weapons and armour it may use (\* means all of them) and its startWeapon and startArmour. A mage who cannot wear plate is the oldest rule in the book.

Built-in effects

Three effect words give an item an engine job:

EffectUsed byExample
lightIgnite (I) in a dungeonTorch
viewPeer at a gem: the overview mapGem, old road map
unlockJimmy (J) a locked doorKey, crowbar

Use actions

Any consumable or special item can have Use actions: what happens when the player presses U and names it. A healing draught takes itself, heals 40, plays a sound and shows a message. A letter shows its text with Show long text or a picture and is not taken, so it can be read again. If the item should only work in one place, use a use_item event on that map instead (Chapter 14): the event wins when the party stands there.

Selling it

Give the item a price and add it to a shop's stock with the price that shop asks. Weapon shops only stock weapons, armor shops armor, reagent shops reagents; the guild sells anything else.

Chapter XIIIMagic and Gadgets

Magic in the RetroRPG Engine is mixed before it is cast. The player buys reagents, uses Mix to combine them into a number of mixtures of a spell, and Cast spends one mixture and some MP. The same machinery serves any setting: rename the words on the Terms page and spells become gadgets, programs, tonics, rites or devices. The post-apocalyptic template's Arc Zapper is built from copper wire and a battery cell exactly the way a fireball is built from ash and sulfur.

Who has magic

A class's Magic points set its MP: a stat times a multiplier (the template's mage has twice their INT; the fighter none). MP comes back slowly as the party walks.

Making a spell

Add one with + beside Spells:

EffectWhat it does
heal, heal_allRestores HP to one member, or to everyone
cure, awaken, resurrectCures poison, wakes a sleeper, raises the dead
lightLights a dungeon for a while
damage, damage_allA bolt at the first foe in a direction; or hits every foe
kill, sleep_allSlays a foe outright; puts foes to sleep (never a boss)
repel_undeadUndead flee
negate, protect, quickFoes cannot cast or blink; better armor; extra turns, for the fight
dispel, openRemoves a field; opens a door or a locked door
blink, gate, windJumps a few cells; travels to the gate target; sets the wind
viewThe overview map
ascend, descend, xitUp or down a dungeon level; out of the dungeon

A worked example

A healing gadget for a wasteland module: name Auto-Mender, letter M, 8 MP, reagents Chem Vial and Battery Cell, effect heal, power 40, target player. Stock chem vials and battery cells at the scrap trader, and teach the recipe through a townsperson's topic: MENDER: "CHEMS AND A CELL, KID. MIX THEM RIGHT OR YOU'LL LOSE BOTH." Players should have to learn recipes; that is half the fun.

Chapter XIVEvents, Variables and Quests

Events

An event makes something happen on a map. Make one with New… → New event, + beside a map's Events, or drag an area with Place event. Each event has a trigger:

TriggerFires when
stepThe party walks onto the area
searchThe player presses S there
lookThe player looks (L) at the area from beside it: signs, plaques, bookshelves
use_itemThe player uses the chosen item there
enterThe party arrives on this map
turnEvery turn, anywhere on the map
klimb, descendK or D on the area: stairs between floors

An event also has an optional Only if condition, once (it fires only the first time) and its actions. In a dungeon, events go on room cells (Chapter 6). Give a once event (and a chest object) a Save id — a short name, unique in its list — and saved games keep track of it even after you add or move events and objects in a later version of your adventure.

Actions

Topics, events, items and cut-scenes all run actions from the same list. Press Add to pick one:

ActionDoes
Show messageA line in the message scroll
Show long text or a pictureA window with a title, a picture and pages of text
Set variable; Add to gold/food/variableChanges the story's state
Give item; Take item; Give experienceRewards and payments
Heal; Cure; Level upLooks after the party
NPC joins the party; Companion leaves the party; Remove NPCCompanions (a level number or leader makes a recruit as strong as the party); a companion going home; people who leave (tick forever to keep them gone for the rest of the game)
Teleport party; Change a map tileMoves the party (also into a dungeon); opens walls, seals doors (maps only)
Park a new vehicleLeaves a ship, horse or balloon
Start a fight; Open a shopCombat; trade
Play a cut-scene; Play sound; Change musicPresentation
End the gameVictory or defeat
If … then … elseChoose actions by a condition

The Add menu also has presets, ready-made groups you just fill in: Reward: message + gold + XP; Hand over an item; Quest step: set variable + message; Ambush: message + fight; Open a passage: message + change a tile; Only if the party has an item….

Variables and conditions

Variables (in the tree, or New… → New variable) remember the story: a number (int), a yes/no (bool) or a text (string). Conditions test them. Press the Build a condition… button beside any condition field and pick the tests from drop-downs, or type them:

ConditionTrue when
quest_ferry >= 2A variable is 2 or more
has_item("brass_key")The party carries the item
count_item("pearl") >= 3The party carries three or more
gold >= 100The party has the money
in_party("tamsin")That companion is with the party
visited("old_kiln")The party has been to that map
party_size < 4There is room for one more
rand(100) < 25One time in four

Join tests with && (and) and || (or); put ! in front of a test to turn it around.

Text tokens

Text can speak to the player by name. Write a token, a word in braces, and the game puts in the right words when the text is shown. Tokens work wherever the player reads your words:

WriteThe player sees
{name}The party leader's name
{name2} … {name8}That party member's name (nothing if the party is smaller)
{class}The leader's class
{he} {him} {his} {himself}he / she, him / her, his / her, himself / herself
{man} {sir} {lad}man / woman, sir / madam, lad / lass
{var:quest_ferry}The value of a variable (nothing if it has none)
{var:gold} {var:food} {var:level}The party's gold, food, or the leader's level

The words in the fourth and fifth rows follow the party leader's sex, chosen when the hero is made. If your module does not ask, the leader counts as male. Write a capital to get one: {He} gives He or She, {Sir} gives Sir or Madam, and {HE} gives HE or SHE.

So a letter read with Show long text might say: "Dear {name}, the ferryman owes you {var:ferry_debt} gold. Come to the docks yourself, good {sir}; he will not dare refuse a {class} to {his} face."

A word in braces the game does not know is shown just as you wrote it, and {var:…} naming a variable you have not made shows nothing; the Problems panel warns you about both. If your module shows NPC speech in capitals, the filled-in words are in capitals too. (Shop greetings do not fill tokens.)

The quest wizard

New… → New quest builds a whole errand at once. Name the quest, pick the Quest giver and the keyword the player asks about, write the offer, choose an Item to bring (or none), the reminder, the Reward text and the reward (gold, XP, an item) and what they say Afterwards. The wizard makes a variable (0 not started, 1 started, 2 done, 3 rewarded) and four topics on the giver, in the right order. Without an item to bring, set the variable to 2 yourself with an event or another topic when the deed is done.

Chapter XVThe Generator

The editor can build for you: a whole adventure from a theme, a single town or dungeon for your own world, or the missing pieces of an adventure you started. It uses no outside service; everything is made from the editor's own name lists, phrase books and map makers.

A generator dialog drawn as a form: fields for Region name, Setting, Goal, Shards for the seal, Side quests, Shape, Climate, Width, Height, Towns and Dungeons; at the bottom a Seed field with the number 48213 and a die button, and the Generate button.
A generator dialog. Note the seed.

Seeds

Every generator dialog has a Seed field with a 🎲 button. The seed decides every random choice: the same seed with the same settings gives the same result, every time. Write down a seed you like. Press 🎲 for a new one.

What it can make

Open Generate… in the toolbar:

Name boxes also have a 🎲 of their own: NPC, companion and cut-scene actor names (people), shop names (by the shop's kind), map names (a town, or a region for a world map), dungeon names (by the dungeon's kind), the shop keeper in New shop, and the name boxes of the generators. Press it for one random name in your module's setting (in a generator, its Setting); press again for another.

The Setting field picks the style of names and talk: fantasy, sci-fi, modern, post-apocalyptic, western, cyberpunk, pirate, horror or steampunk. It starts as your module's theme.

Your work is safe

Generated content is marked with ✦ in the tree, and its form shows a banner with the tool, the seed and the date. Regenerate… on a generated world, town, dungeon or adventure reopens the generator with the same settings: try a new seed, or change a setting. Anything you have edited since counts as yours: the ✦ turns gray, and the generator keeps it and tells you so. The generator never overwrites something you made by hand unless you tick Replace. And every run is one step of Undo.

Chapter XVITesting and Sharing

Play-test often

Play-test saves and starts the game on your module. Keep the Problems panel at zero errors, and walk every link, read every sign, ask every person their job. Try to break things: walk into the dungeon without the key, sell the quest item, let the whole party die. Players will.

Cut-scenes

Under Cut-scenes you can script short scenes: actors walk, speak with portraits, music changes, and when the scene ends its Then actions run. The scene editor shows the stage as it stands before the step chosen on its slider; click squares to plan walks. Play in the game plays just that scene. Use a cut-scene as the Intro, before an ending, or from any action list.

Every step has an Only if condition (the same conditions as Chapter 14). Leave it empty and the step always plays; fill it in and the step is skipped while the condition is false. So Mara can say "You found it!" only if `has_item("brass_key")`, and "Still looking?" only if `!has_item("brass_key")`. Conditions see the game as it was when the scene began, because steps change nothing; put real changes in Then.

A Say text can greet the player by name with text tokens such as {name} and {he} (see Text tokens in Chapter 14).

Renaming

Rename id… in an entry's ⋮ menu changes an id everywhere it is used: every map, topic, shop and action that names it. Map and dungeon files are renamed with it.

Packing

Pack saves, checks the module, and writes one file, <id>-<version>.zip, wherever you choose. It refuses while there are errors. Players open the zip from the game's Modules page, on Windows, Android or the web. Raise the version in Module settings each time you share a new one.

Chapter XVIIQuick Reference Card

Everywhere

KeyDoes
Ctrl+SSave
Ctrl+ZUndo
Ctrl+YRedo (also Ctrl+Shift+Z)

On a map, dungeon or arena canvas

KeyTool
VSelect / move
BPencil
LLine
RFilled rectangle
ORectangle outline
FFill
IPick tile (or right click)
+ −Zoom (or Ctrl + wheel)
DelDelete the selected thing
EscLeave a dungeon room

Toolbar

ButtonDoes
New…Wizards: NPC, monster, shop, event, quest, variable
Generate…Adventure, Finish my adventure, World, Town, Dungeon, Townsfolk, Portrait, Names
▶ Play-testSave and play the module
PackSave as a module package (.zip)

Sizes

ThingSize
World or town mapUp to 256×256 cells
Dungeon level4 to 32 cells square, 1 to 8 levels
Room, arena11×11
Tile, sprite32×32 PNG
PictureUp to 256×128 PNG
Portrait120×64 PNG

The order of building

  1. New module from a template; play-test it at once.
  2. Paint the world; add a town and an entrance to it.
  3. People the town; give the first one a job that names a word.
  4. Dig a dungeon with a room, a monster and a chest; link it.
  5. A quest: a variable, a giver, an item, a reward.
  6. An ending. Then play it through from the start.

Every world worth exploring was once an empty grid. Fill yours.

THE MODULE EDITOR, a designer's handbook for the RetroRPG Engine. Every example name, place and line of talk in this book is original.

Design Notes

THE MODULE EDITOR
Back cover: an empty sheet of graph paper with a single tile painted in the middle, a pencil lying across it, and a small flag where an adventure will begin.

Paint a world. Raise its towns. Dig its dungeons. Give its people something to say.
Then hand it to a friend and watch them play.

RetroRPG EngineWeb · Windows · Android