Welcome to the TFT Helper Adventure Creator! It's designed to make creating an adventure for TFT Helper as easy as possible. Thanks for checking it out!
Please send any questions, comments, or bug reports to creator@tfthelper.app.
You create an adventure in this web app by describing the various locations and the buttons that allow the characters to move from one to another. The adventure can also have branches where the computer sends the character to one of two locations based on various conditions you describe. Of course, you will also include some foes to fight! When you are finished you have an "Exportable", a block of scrambled text you can paste into the TFT Helper mobile app to play the adventure live. You can also share this finished adventure.
You should see eight tabs at the top of this window...
Overview - This introductory page, with buttons for various topics on the left.
Editor - This is where you actually craft your adventure.
Simulator - Walk through your adventure as it would appear on a mobile device and make sure everything works as expected! You will be able to "see under the hood" and jump to any location, streamlining the testing process.
Exportable - Presents the scrambled adventure you can load into TFT Helper and share with others.
Text Editor - Here you can write and edit your adventure as raw text. Copying and pasting this text is also the way to back up or share an adventure in development. The same content is always displayed in the Editor, Text Editor, Simulator, and Exportable tab.
Examples - Diagrams and descriptions of several sample dungeons. With a click these can be transferred to the editor so you can see how they were implemented (this will overwrite whatever is currently in the editors).
Graphic - The current adventure presented as something like a flow chart. This non-interactive diagram is not a map, but if your adventure gets tangled this may help you figure things out.
Settings - The color scheme, whether to show warnings and JSON, a way to recover an adventure you overwrote by mistake, whether the Adventure Creator saves your work in this browser while you are working (it does unless you turn it off), and how to install it as an app.
If you'd like an AI assistant such as Claude or ChatGPT to draft an adventure, give it the AI adventure guide along with your ideas for the theme, setting, goal, and foes. The guide explains the text format and how to write a good adventure, and asks the assistant to answer with the whole adventure in one block. Paste that into the Text Editor, fix anything the report lists, and test it in the Simulator. You are still the author: read it, revise it, and make sure it meets the writing standards below.
You should strive for a high level of professionalism in an adventure you plan to share. While you are not writing for SJ Games, you are writing for the customers of SJ Games and they are accustomed to quality writing. Keep it PG, no hate. The SJ Games writer's guidelines will be very helpful.
http://www.sjgames.com/general/guidelines/authors/The Adventure Creator will check for potentially offensive language. The blacklist for offensive words is borrowed from elsewhere, so no warranties are made as to its completeness. If there are words you feel should be included or excluded please let us know at tfthelper@gmail.com
Much GMing and narrative construction advice carries over, and we don't need to go over that here. But here are some guidelines to keep in mind.
Don't make it too easy. If players complete the adventure on the first run through they are likely to feel disappointed and not revisit your adventure.
Don't make it too hard. Specifically, there will only be a single character without a lot of resources so they won't be able to face a series of fearsome foes. Put in some weaker foes. Create paths by which clever adventurers can get around some foes. Put in some encounters that offer healing (perhaps at a cost).
There should be a clear goal expressed early, perhaps even in the description. It's also fun to learn more about the goal in the first part of the adventure. Foreshadowing increases excitement.
Small screens are not the place to read novels, so you'll want short, high impact descriptions of the important elements of the adventure, and no descriptions of anything else. Your players have imaginations and they've read some fantasy, they'll fill in the rest.
You can achieve replayability by providing multiple paths to victory and degrees of success. The player should finish the game wanting to try again and achieve a better result or to try the paths not taken. Perhaps you can hint to players that characters with particular talents (eg Naturalist, Courtly Graces) will have opportunities to see other parts of the adventure and succeed via a different path.
Variables can create a lot of depth in the world, but they also create work for you. Lean towards fewer rather than many, but make them meaningful.
It is fun to learn hidden secrets. As they progress through the adventure an exciting reward is learning more about what's going on in the story, discovering that things are not as they appear.
Treasure is a classic reward, but that's because you look forward to spending it. You might devise a treasure that you can use during the adventure. Possessing a treasure can take the character to an alternate version of some locations where the character can see more or do more. If the character kills a giant rat and finds some gold the player is unlikely to remember the adventure, there was nothing for the player to take away But if the first part of the adventure creates some curiosity about the mystery of the abandoned temple and completing the adventure means learning the secret, that will give the player something to remember.
Beware of paths that become boring or frustrating. If the player makes choices that make winning impossible, wrap things up. Write a destination that explains that they lost, or introduce an unbeatable foe. Either way they get to try again and make different choices.
It's very rewarding to players to receive goodies because their characters have particular Talents. These should be extras, however; an adventure that can only be won though knowledge of Courtly Graces will be frustrating if this is not made clear early on (hopefully in the description).
The Adventure Creator has been designed to make it easy for anyone to create an adventure. To that end this section, along with the sections on Using the Editor and Using the Text Editor, have been written with the important topics at the outset. You do not need to read these in their entirety, just as much as you can swallow. Reading further will introduce you to more tools to create more involved adventures, but adventures will be compelling based on design and writing, not bells and whistles. That said, bells and whistles are fun and can bring the fantasy world to life. The point is, read only as much as you want, then start creating. When you feel like it go back and read more to get more toys.
If you have played Death Test or any Choose-Your-Own-Adventure style game, you know the basic unit of solitaire adventures is the numbered paragraph. If you have not played Death Test you should probably stop and do that now, you have hours of exciting fun ahead of you and you a good grasp of the numbered-paragraph system will be very useful here, even though TFT Helper Adventure Creator doesn't use numbers, or paragraphs.
Instead, we have Nodes. A node can be a location, a trap, a foe, a test against an attribute, a decision point in a conversation, etc. They come in three functional types: Locations, Branches, and Foes. A Location has text for the player and one or more buttons to take them further along. A Location could be a fork in the road, a response point in a conversation, a decision to drink from the magic fountain, etc. The player reads some text and taps a button. A Branch is invisible to players, the software will send the character to one of two locations according to a condition you specify, such as rolling 3d vs adjDX. A Foe is just that - something the character will fight. These nodes have names used by author and the software but the player won't see these. All three types are described in detail under Nodes.
In addition, some locations will have Actions. These are actions for the software to perform, not the character. When arriving at a Location means that something has changed - perhaps the character has taken damage or earned some XP, you will add that to the Location as an Action. The text of the Location can let the player know this has happened or not, as the author sees fit. These are described in full under Actions.
Finally, there are Variables. Variables allow the adventure to track various things during the adventure, such as how much rope has been collected, whether or not the character has picked up a key, whether or not a certain place has been visited. These are initialized at the beginning of the adventure, modified by Actions, and checked by Branches. You can also include them in location descriptions. All this is described in detail under Variables.
Nodes are the basic unit of an adventure, and they come in three types, Locations, Branches, and Foes.
Every node will have a name, which the players will not see. These are the equivalent of the paragraph numbers in a traditional solitaire adventure. When a button or branch outcome takes the player to another node the name is how it knows where to go. Node names are a string of letters and numbers with no spaces, ideally something that helps you remember what this node is.
A Location might be a physical place, but it could also be a part of a conversation with an NPC, or a report of something that has happened. One physical place in the adventure might correspond to several Locations in the adventure, since how that place is presented and what options the character has may depend on how the character got there. In these ways it is similar to a paragraph in the traditional solitaire adventure.
Locations can have four parts: the name, Actions, paragraphs of text, and buttons. Actions will be discussed later, and you can postpone learning about them. The paragraphs of text are what will appear on screen when the character arrives at this Location. Buttons are also presented, but they appear as buttons and if tapped they will take the character to another node. A Location must have some text - to leave the player with nothing on the screen doesn't make sense. A Location without buttons is a dead end; this is only appropriate for the end of the adventure, since the ony thing the player can do at that point is touch the Main Menu button of the mobile app and leave the adventure. When writing adventure text you can't use @ or ^ as these have a special meaning to the software that interprets the adventure.
You can also include Conditional Buttons or paragraphs. These are optional. Conditional buttons and paragraphs will only appear if a certain condition is met. This lets you customize a Location to specific game conditions. For example: maybe characters with the Naturalist talent will see something others don't, the condition would be Naturalist > 0. You can learn more about how to write the conditions in the section on Variables.
Branches are nodes that are not presented to the player, they are executed by the software. Branches always have four elements: the name, the branch expression, the true destination, and the false destination. The branch expression is what the branch is switching on, such as a DX roll, the value of a variable, a reaction roll, etc. The true destination is the node the software will go to if the branch expression turns out to be true. The false destination is where the software will go if the branch expression turns out to be false.
Branch expressions are basically algebraic expressions, and can include variables, character attributes, die rolls.
Branch expressions can be more complicated if you want to capture more detail. For example:
You can use | or || for a logical OR, and & or && for logical AND. You can use = for equality when it is the only comparison, but when you combine comparisons use == (charRace == 1 && injury == 0), since a lone = only works once. You can use parentheses to group things. Note that if you don't use a comparison operator (=, <, >, <=, >=) an expression that works out to zero will be treated as false and any non-zero value will be treated as true. Capitalization will not matter. You can write die rolls as 3d vs ST if you like, VS translates to <=. You can use your own variables, and all the talents and attributes in the game appear automatically, so MA is MA, etc. Chartype will be 1 for heroes and 2 for wizards. Charrace is 0 for humans, 1 for elves, 2 for dwarves, 3 for halflings, 4 for orcs, and 5 for goblins.
The third type of node is a Foe. This is the most straightforward, even if it has the most info to enter. When the adventure leads to a Foe node combat will begin. If you want the player to be able to talk to the foe first that would be a set of Locations and Branches that might lead to compromise or could lead to actual combat, which is the Foe node.
The Foe will have a name, as all nodes do, which is how other nodes will lead to it. The player will not see this name. You will separately specify the name that will be shown in combat. You will specify all the attributes of the foe for the combat system. Range is the distance at which combat will commence. Intro text is the text the player will see just as combat starts. Foes will also have a type, which will be one of these:
Finally, Foes will have three destinations. Win Destination is the node the character will go to next if they win the fight. A beaten foe is dead, so don't have them run off or make a final speech; any clue they leave is found among their belongings. If the story needs them alive, say plainly that they were knocked out. Lose Destination is the node the player will see if they lose. A character who loses a fight is dead, so this should be one of the adventure's endings, with no buttons. No Foe is the node the character will go to if they reach the foe but the foe is gone, either having previously been defeated or removed by other means through the Remove Foe action.
There is also a virtual node called LastLocation. When a button or branch tries to go to this location the adventure will return to the last Location the character visited. Branches and Foes along the way don't count, so a Location reached through a Branch can use LastLocation to go back to where the player chose.
Arriving at certain locations means something significant has happened that affects the game state, and you can make this happen with Actions: Heal, Rest, Damage, Grant XP, Remove Foe, Reassign Variable, Writing, and Remember. These things happen automatically on arriving at the Location - they are not actions the character will choose, in fact the player will not know these things have happened unless you mention it in the location description!
A Heal action comes with a number, and the character will be healed up to that many hit points. This can be a set number, a die roll such as 1d+1, or even a variable. Obviously, a character will not be healed above their initial ST.
A Rest action works the same way for Fatigue, removing up to that much of it.
These amounts can't be negative. To hurt the character use Damage, not a negative Heal, and to tire them use Fatigue, not a negative Rest. The review counts a negative number as a problem, and warns about a formula that could come out negative (one with a variable and a minus sign, like 3 - torches; 1d-1 is fine), since a negative amount does nothing.
A Damage action is similar; the character will take the specified amount of damage. If that takes the character's remaining ST (ST less injury and fatigue) to 0 or below then the character has died: the player will not see this location, and instead goes to the node named after the damage amount. (In The Fantasy Trip a character at 0 is only unconscious, but an adventurer alone in a perilous place has no friends to help, so here 0 is death.) Note that the game assumes this is physical damage such as a fall or a trap, so armor will protect the character. If this is poison or magical damage that ignores armor you can add the armor value to the amount of damage. EG, two dice of damage that ignores armor would be expressed as "2d+armor".
A Fatigue action works just like Damage, but adds fatigue instead of injury, and armor doesn't stop it: a forced march, a long swim, a spell that drains the caster. It also names a node to go to if it leaves the character with no ST. Setting Fatigue, Injury or ST directly with a variable change doesn't check whether the character dies, so the review warns about it; use Damage or Fatigue instead.
Grant XP is straightforward, the character is simply granted that many XP. Characters spend XP between adventures, so there is no inherent way to use XP during the adventure. Since this is silent, like all actions, you should let the player know in the adventure text that they have earned XP, and if the character survives tell them how many XP they earned by displaying the variable XPEARNED in the final Locations by including '^XPEARNED' in the text.
The Remove Foe Action will cause a foe to disappear from the adventure. If the player reaches the named Foe location they will be diverted to the No Foe node named in that Foe's description. This is handy when the player bribes a guard or dropped a rock on the giant spider and thus won't have to fight them, or when a conversation with a potential foe turns them neutral or even favorable, or when a foe is killed by subterfuge instead of combat. This adds depth to the adventure and increases the chances of success for a single character.
Note that actions are silent, the player won't know that they happened. It is up to you to inform them in the adventure text, or not. Of course, @Damage and @Heal may apply random amounts of damage, and you might want to mention that amount. There is a built-in variable called ^LastAction which holds the amount of the last @Damage, @Fatigue, @Heal, @Rest or @XP action, and you can include that in your text to let the player know what happened. It's the amount that actually took effect: damage after armor, or only as much healing as there was injury to heal.
Not all characters can read. If there is writing in your adventure - on a scroll, on a wall, etc, the Location description should mention the writing, but not what it says, since the character may not have the Literacy talent. A Writing Action allows you to specify what the writing says, and this will be presented as part of the description if the character has literacy. You could do this with a Branch and two versions of the Location or a conditional paragraph, but the Writing Action provides a shortcut since this may happen often. When you want to give extra info to a character with Naturalist, Architect, etc, you will need to use a conditional paragraph or create a Branch and two versions of the Location.
The Reassign Variable action allows you to change the value of one of the variables you set up at the start of the adventure. If the character finds some rope, wins some favor, collects some berries, consumes or spends a resource collected earlier, etc, this action makes it happen. The expression on the right side of the equal sign will be the variable's new value. This can be a numeral, die roll, variable, attribute, etc. You can read more about Variables in their section.
Sometimes you will want to interrupt the flow of play and return to it. Perhaps there is a magic item they may choose to use in one of several locations. Perhaps time has run out and the situation has changed. You can use the Remember action to store a specific location, and then when the adventure tries to go to a location called Return (whether from a button, the result of a Branch, etc) it will go to the remembered location instead.
Variables let you store a number to keep track of various things to add richness to your adventure. You can keep track of whether or not a particular item has been picked up, how much of a resource is left, how many times something has happened, whether or not a particular event has happened, or how much silver or rope or berries the character has picked up here and there. You give a variable a name and a starting value at the top of the editor. Variables can then be modified by Actions when the character arrives at a Location.
The value of variables can affect the adventure in two ways. Most commonly, you will check the value of a variable in a Branch and go to one of two Locations (or Foes, etc). Some variables keep track of how much time or food or air is left, and it would be inconvenient to have a Branch every time the player makes a move to see if it's run out. These variables can have a Zero Destination: when a location changes the variable to zero or below, the character goes straight to the Location, Branch, or Foe you named. In the Visual Editor it goes in the zero destination box beside the variable at the top of the editor; in the Text Editor it goes after an arrow, ^air = 5 -> drowned. The details are below.
Variables are listed at the top of the Editor, and they always have starting value. That starting value doesn't have to be a number, it can be a formula including Attributes, Talents, and die rolls.
You can change a variable at any Location by using an action like ^foodLeft = foodLeft - 1 That would subtract one from the variable foodLeft. You can use die rolls in the standard TFT notation, as in ^foodLeft = foodLeft -1D.
If you want to get fancy there are a few more details: + - * / % all work, and you can use parentheses. ^ is not an operator (it only marks a variable). For security a formula can only contain numbers, dice, variables, attributes, Talents, Spells, and these operators; anything else is reported as a problem. If you do division you may get a decimal result, so ^numberOfWebs = numberofWebs / 2 when numberOfWebs starts at 5 will give you 2.5. If you want an integer subtract the decimal part using the % 1 trick, eg assuming torches = 5 then ^torches = torches / 2 will set torches equal to 2.5, but ^torches = torches / 2 - torches / 2 % 1 will set torches equal to 2. If you want to get really fancy the ternary operator will work, as in ^elfPenalty = charRace == 1 ? 3 : 0
Perhaps there is a key that opens a particular door. At the top of the editor you would add a variable called silverkey and set it to 0. The Location where the key can be picked up would have an Action that sets silverkey to 1. If the character arrives at the door it will not be a Location but a Branch. The Branch will check if the value of silverkey is greater than 0. If it's not they do not have the key and the Branch will lead to the location where they are faced with a door they cannot unlock. You can present them with the option to try to break it down or go back or whatever. If the value of silverkey is greater than 0 the Branch would take the player to a location where they have the option of unlocking the door.
You can include the value of a variable in your adventure text or button text by putting a caret (^) in front of the variable name. So the value of a variable called FOODLEFT will be substituted into "You have ^FOODLEFT days of food left."
There are many "automatic" variables that let you use the basic game elements in assigning variables and testing conditions in branches. ST, DX, adjDX, IQ, MA, armor, injury, fatigue, xpearned are the most obvious. Chartype is 1 for heroes, 2 for wizards. Charrace is 0 for humans, 1 for elves, 2 for dwarves, 3 for halflings, 4 for orc characters, and 5 if the character is a goblin. An adventure can test Chartype and Charrace but can't change them, since they're who the character is; if your story turns the character into a frog, keep track of it with a variable of your own, like ^isFrog = 1. In addition, each Talent and Spell is a variable, set to 0 if the character does not have that Talent or Spell and 1 if they do. Its name is the Talent or Spell written without spaces or punctuation: PoleWeapons, AxMace, QuickDraw, LockKnock, WizardsWrath. Silent Movement is both a Talent and a Spell, so the Talent is SilentMovement and the Spell is SilentMovementSpell.
Examples: 3d < ST - armor + 2 * swimming this is a swimming roll, three dice vs ST penalized by the weight of your armor with a +2 if you have the Swimming talent.
In general you will not change these automatic variables, but this game does have "Fantasy" right in the name so you definitely can. You can change any Talent or Spell to 1 to give a character that Talent or Spell, or set it to Zero to take it away. You can increase ST or DX if the player drinks from a magical fountain or whatnot, and you can lower a character's stats if you really want to annoy them.
The amount of the last @damage, @fatigue, @heal, @rest or @xp action is stored in a variable ^lastaction that you can use in your adventure text to report what happened. It's the amount that actually took effect: damage after armor, or only as much healing or rest as there was injury or fatigue to remove. It is kept until the next of those actions, in case you want to use it in a branch or store it in a variable, so put @xp before @damage when your text reports the damage.
Some variables keep track of how much time or food or air is left, and it would be inconvenient to have a Branch every time the player makes a move to see if it's run out. For situations like this you can give the variable a Zero Destination, the Location, Branch, or Foe the character goes to when the variable drops to zero or below. This may or may not be the end of the adventure.
You can give it one when you declare the variable: in the Visual Editor type it in the zero destination box beside the variable, and in the Text Editor put an arrow and the destination after the starting value, ^air = 5 -> drowned. A location can also set or change it while changing the variable, ^air = air - 1 -> drowned, and an arrow with nothing after it, ^air = 5 ->, takes it away. Capitals and punctuation don't matter, just as with location names.
The Zero Destination is checked only when a ^ line in a location changes that variable, so a variable that starts at zero does nothing until a location changes it. All the actions of that location will happen, but the player will not see its description or buttons; they go directly to the Zero Destination. If two variables reach zero in the same location, the first one wins. If you want to return, see the LastLocation node or Remember/Return feature. Once a Zero Destination has been triggered it clears, so the character will not be brought back there over and over, even if the variable is raised and then lowered back to zero again. You can set it again with another arrow if you want, but if you don't it won't be there.
An interesting adventure involves a lot of details and contingencies, and working with all this is challenging. The Visual Editor allows you to work with all this info in a handy way. You should read the tour below, and the sections on Nodes, Locations, Branches, and Foes. Then you can start creating. When you get the hang of it you can learn about Actions and Variables.
At the top of the editor you will enter the basic info about your adventure: the Title, Creator (you!), and the maximum character attribute level the adventure is suited for. Typical TFT characters start with 32 attribute points, and this system should work well up to 36. You can read more about Test Mode under Editor Features. You also enter a description that will be visible to people before they load the adventure, up to 100 characters. It can be split into two lines by pressing Return once; extra Returns are removed, and a line break counts as one character.
After the basic info you can initialize Variables for the adventure. You can ignore variables, or read more about them in their own section.
After the variables come the nodes, each in their own box. Every node has a unique name in the upper left corner, followed by the other elements necessary for that type of node. In the lower right corner of each node's box is a button to delete that node.
Below the scrolling list of nodes boxes is a row of buttons that will let you add new nodes of each type. You can read more about First/Later Locations below, but in a nutshell this button quickly creates several nodes such that a location will appear one way when a character first visits it and differently when they return. There's also an Undelete button that will show you a list of deleted nodes if you want to pick one to bring back from the dead. (The graveyard of deleted nodes is not preserved between sessions.) The Create Missing Nodes button will create Locations for all the names that your buttons and branches try to visit which you have not created yet. This can be handy as you are first sketching out your adventure, but of course if some of those buttons should lead to branches instead of locations you'll want to create those first manually.
Below these buttons is the Report window. This lists all the problems with your adventure at the moment - buttons that go nowhere, locations to which nothing leads, and so on. Each item will have a link with the name of the node with each problem that will scroll the editor straight to that node. If a node links to a node that does not exist yet there will be three buttons allowing you to create a Location, Branch, or Foe with that name.
On the right hand side is a list of all the nodes you have created so far. You can click on any of these to scroll the editor to show you that node so you can work on it. This starts out in chronological order, that is the order that you created the nodes, but below the list are buttons to switch this to alphabetical order if that's easier.
Finally, in the lower right hand corner are the Save to Disk and Load from Disk buttons, which save the current adventure to a file or load an adventure from a file, and Clear All Nodes, which erases the adventure so you can start fresh. Saved files will likely appear in your Downloads folder. These are ordinary text files and you can edit them in another application if that is helpful. You can save them again as text and load them with these buttons or copy the work and paste it into the Text Editor.
If you have played Death Test or any Choose-Your-Own-Adventure style, you know the basic unit of solitaire adventures is the numbered paragraph. If you have not played Death Test you should probably stop and do that now, you have hours of exciting fun ahead of you and you a good grasp of the numbered-paragraph system will be very useful here, even though TFT Helper Adventure Creator doesn't use numbers, or paragraphs.
Instead, we have nodes. A node can be a location, a trap, a foe, a test against an attribute, a decision point in a conversation, etc. They come in three types: Locations, Branches, and Foes. A Location has text for the player and one or more buttons to take them further along. A Branch is invisible to players, the software will send the character to one of two locations according to a test you specify, such as rolling 3d vs adjDX. A Foe is just that - something the character will fight. These nodes have names used by author and the software but the player won't see these.
In addition, some locations will have Actions. You can ignore actions for now, or read more about them below. These are actions for the software to perform, not the character. When arriving at a Location means that something has changed - perhaps the character has taken damage or earned some XP, you will add that to the Location as an Action. The text of the Location can let the player know this has happened or not, as the author sees fit.
Finally, there are Variables. You and start working without these and add them to your toolbox when you like. Variables allow the adventure to track various things during the adventure, such as how much rope has been collected, whether or not the character has picked up a key, whether or not a certain place has been visited. These are initialized at the beginning of the adventure, modified by Actions, and checked by Branches.
Most locations will be physical locations. They start with a description of the location, then present one or more buttons. The button labels should be short, so the description of the adventure is the place to put more information about where the buttons go. It is possible to put text between buttons. You can start a new line by including a Return in the text, and start a new paragraph with two Returns. You'll be able to see how everything looks in the Simulator.
A location without any buttons is possible, this is a dead end. This may be appropriate for the end of the adventure, and the user can exit by using the Main Menu Button. A good adventure will make it clear that this is the end and remind the user to go to the main menu.
Some locations should be different when the character returns to them after the first visit. A trap will already have been triggered or disabled, an item will already have been collected, etc. This is easily done with a variable that keeps track of whether or not the location has been visited and a branch to send the player to either the unvisited or visited version of the location. Since this is an important way to make adventures great there is a short cut to setting this up: the First/Later Location, explained below.
A Branch is invisible to players as the character is sent to one of two locations depending on circumstances. When you add a Branch you will give it a name, which other parts of the adventure will use to get here.
Then comes the heart of the Branch, where you specify what gets compared to what to decide where the adventure goes next. Can the character climb out of the pit? It's a 3d roll vs adjDX. You would put 3d for the first term, <= for the middle term, and adjDX for the third term. Does the character have the Naturalist talent? You would put Naturalist for the first term, > for the second, and 0 for the third. Is the character wearing metal armor? You would put armor for the first term, > for the second, and 2 for the third, since armor with a value of 1 or 2 is non-ferrous.
Following the condition you will specify the name of the node to visit next if the condition is true and the name of the node to visit next if the condition is false.
Things you can use in the comparison terms include character attributes and talents, variables you create.
Examples:
1d > 5 (a basic reaction roll)
4d < = adjDX (a difficult climb)
ST > 12 (can the character lift that stone?)
Naturalist > 0 (does the character have a particular talent?)
charRace (0=human, 1=elf, 2=dwarf, 3=halfling, 4=orc, 5=goblin)
armor > 2 (is the character wearing metal armor?)
Be sure and use adjDX instead of DX when armor would affect the outcome. Also, be sure and use <= or > and never => or =<, as the latter won't work.
If you want to get really fancy the condition for the branch can include "and" and "or" in the form && and ||. Be sure to test carefully with the Simulator to make sure you are writing what you think you're writing. You can use parentheses to group things, and when you combine comparisons use == rather than =.
literacy || courtlygraces - will go to @destinationTrue if the character has either Literacy or Courtly Graces.
alertness && armor < 4 - will go to @destinationTrue if the character has Alertness and they are wearing chainmail or lighter.
charRace == 1 && injury == 0 - will go to @destinationTrue if the character is an uninjured elf.
Talents like Alertness, Acrobatics, and so on should give bonuses to some rolls. This is easily written since the various Talents act like variables. So...
3d <= adjDX + Acrobatics * 3 - a 3d roll vs adjusted DX with a bonus of 3 if you have Acrobatics
4d <= IQ + Alertness * 2 - a 4d roll vs IQ with a bonus of 2 if you have Alertness
The value of the Talent is one if the character has it, zero if they do not. Multiply that by the amount of the bonus and add it to the number you're trying to roll under. This works the other way around, of course...
3d <= st - armor - a swimming roll with armor as a penalty.
If you really want to get fancy you can google ternary operator and give an Elf a penalty to an IQ roll in the presence of an insect like this:
3d <= iq - ( charrace == 1 ? 3 : 0 )
Of course, if you want to give characters with Naturalist a bonus in the same situation you would write:
3d <= iq - ( charrace == 1 ? 3 : 0 ) + ( naturalist * 2 )
...of course, the player will never see any of this.
When the adventure reaches a Foe there will be a fight. If you want a chance to avoid the creature or a conversation before the fight breaks out, those should be separate locations that might lead to the Foe, but once you get to the Foe the fight starts. The combat intro text is presented and initiative is rolled.
The Foe has a name like other nodes, then you will enter the various attributes of the Foe. These are mostly self-explanatory except for Type. This tells the software how the Foe should behave in a fight - charging straight in, keeping distance, and so forth. Spoiler: there are only four Wizards possible, specified here.
Finally you will specify the nodes to visit next if the character wins or loses, the latter being one of the adventure's endpoints. If the character returns to this Foe after having defeated it, or if the Foe is removed by some other means than a fight via the Remove Foe action, the player will be taken to the node named under No Foe.
Variables let you store a number to give you a chance to keep track of various things to add richness to your adventure. You can keep track of whether or not a particular item has been picked up, how much of a resource is left, how many times something has happened, whether or not a particular event has happened, or how much silver or rope or berries the character has picked up here and there. You give a variable a name and a starting value at the top of the editor. Variables can then be modified by Actions when the character arrives at a Location.
The value of variables can affect the adventure in two ways. Most commonly, you will check the value of a variable in a Branch and go to one of two Locations (or Foes, etc).
Variables are listed at the top of the Editor, and they always have starting value. That starting value doesn't have to be a number, it can be a formula including Attributes, Talents, and die rolls.
You can change a variable at any Location by using an action like ^foodLeft = foodLeft - 1 That would subtract one from the variable foodLeft. You can use die rolls in the standard TFT notation, as in ^foodLeft = foodLeft -1D.
If you want to get fancy there are a few more details: + - * / % all work, and you can use parentheses to group things. ^ is not an operator (it only marks a variable). For security a formula can only contain numbers, dice, variables, attributes, Talents, Spells, and these operators; anything else is reported as a problem. If you do division you may get a decimal result, so ^numberOfWebs = numberofWebs / 2 when numberOfWebs starts at 5 will give you 2.5. If you want an integer subtract the decimal part using the % 1 trick, eg assuming torches = 5 then ^torches = torches / 2 will set torches equal to 2.5, but ^torches = torches / 2 - torches / 2 % 1 will set torches equal to 2. An exclamation point will give you the logical opposite of something, so !Swimming is TRUE if the character does NOT have swimming. If you want to get really fancy the ternary operator will work, as in ^elfPenalty = charRace == 1 ? 3 : 0. Numbers are plain decimals (010 is ten), and signs in a row are read one at a time (5 - -1 is 6). A formula longer than 2,000 characters, or a roll of more than 1,000 dice, is reported as a problem, and counts as 0 if it's played anyway.
Perhaps there is a key that opens a particular door. At the top of the editor you would add a variable called silverkey and set it to 0. The Location where the key can be picked up would have an Action that sets silverkey to 1. If the character arrives at the door it will not be a Location but a Branch. The Branch will check if the value of silverkey is greater than 0. If it's not they do not have the key and the Branch will lead to the location where they are faced with a door they cannot unlock. You can present them with the option to try to break it down or go back or whatever. If the value of silverkey is greater than 0 the Branch would take the player to a location where they have the option of unlocking the door.
You can include the value of a variable in your adventure text or button text by putting a caret (^) in front of the variable name. So the value of a variable called FOODLEFT will be substituted into "You have ^FOODLEFT days of food left."
Sometimes when a character arrives at a Location that location will change: a trap will be sprung, items will be collected, a conversation will take place, etc. This means that the place will be different when the character returns to this point on the map. This is easily done: you create a variable called "placeVisited" and set it's value to 0. The node named "place" will be a Branch, not a location. The condition for the Branch "place" will check if the variable placeVisited is equal to zero, and if it is send the player to a Location called "placeFirst". If the value of placeVisited is not equal to zero the player will go to a Location called "placeLater". The Location placefirst will include an Action that will reassign the variable placevisited to 1 (or any other non zero number).
This is not hard at all, but it's a lot of steps for something that happens pretty often, so there's a button that will do it all: Add First/Later Location. This button will ask you for the place name, then create the Variable, Branch, both Locations, and the Reassign Variable Action to make it all work. All you need to add are the descriptions of the two locations and any Actions or Buttons needed.
The Editor continually saves your work inside the browser, so if you close the window and come back later you should find your work as you left it. It's on unless you turn it off in Settings. The adventure is stored in something called localStorage, which is not the same as "Cookies" but will be cleared at the same time. So if you are going to clear your browser's data you should save your work to disk before doing so.
To save your work outside the browser use the Save to Disk button in the lower right corner of the Editor (or Save Adventure to Disk in the Text Editor). This saves a text file named after your adventure and the date and time, probably in your Downloads folder. Load from Disk brings it back. You can also copy all the text in the Text Editor and paste it into a text document, then later paste it back into the Text Editor to restore all your work.
Test Mode will be set to 0 for the adventure you will share with others. While you are writing the adventure you can set Test Mode ON and load the adventure into TFT Helper to test it with a couple of advantages. Your character will start with 23 hit points, so they won't die too easily. That means you will survive the combats, the traps, the falls, but it's not too many that you can't test character death. Additionally, you will see two buttons on the character sheet in TFT Helper, a staff of Aesculapius and a skull. The staff of Aesculapius resets injury and fatigue to 0, and the skull sets injury to 23. The latter won't kill the character immediately, but the next time character hit points are checked the character will be considered dead.
The Undelete button will show you a list of the nodes you have deleted. You can select one and restore it to the same position in your adventure. Note that this is not stored in LocalStorage so it is volatile - if you refresh your window, close the window and return later, etc, the Undelete window will be empty. This window also only stores whole nodes; if you delete a Button, Action, Variable, etc, it will not be recoverable.
The Create Missing Nodes button will first look for any Remove Foe actions that have no corresponding foe and create corresponding foes, along with locations for their missing, defeated, and victorious nodes. Then it will create locations for any buttons or branches that don't exist. You still have to describe them, but this will save you some clicking.
Clear All Nodes will erase your entire adventure. You will get a confirmation box. Undo can't reverse it, but the Back In Time button in Settings can bring back the adventure you erased. To be safe, save your adventure to disk before erasing it.
Below the node list and the buttons is a report on any problems with the adventure: buttons that go nowhere, etc. You will need to fix these issues before proceeding to the Simulator or Exportable tabs. Luckily the report will include links that will scroll straight to the nodes with the issue.
There are a few things the Visual Editor won't do, and if you need to do these you will need to use the Text Editor.
You can't change the order of nodes. The order of the nodes doesn't matter to the software, but if the order you originally created your nodes is getting in the way of improving and revising them and you want to reorder them, you'll need to do that in the Text Editor with Cut-and-Paste. Be sure to save your work first. Be sure to cut and paste entire nodes.
You can't duplicate things - whether entire nodes, buttons, etc. If you have several locations that are largely similar it might be more efficient to write one, make copies, and then edit each copy. You will have to do that in the Text Editor.
You can't change a node's type, changing a Branch to a Location. These are so different there's no obvious way to convert them, so just delete the node and create a new node of the desired type with the same name.
You can't spell check or do a global search and replace. If you wanted to change "amulet" to "talisman" throughout your adventure you would need to go to the Text Editor, copy the entire adventure, paste it into an editor that will let you search and replace, do that, copy it, and paste it back into the Text Editor. Not hard, but not easy. The same goes for other advanced editing tricks.
Clicking on the Simulator tab takes you to the simulator, which will let you see the adventure as your players will see it on a simulated phone screen. This allows you to step through and make sure things are connected the way you intended, and nothing is left out.
The center of the window will be the simulated phone screen. The text and buttons will appear exactly like they would for player running the adventure on the TFT Helper mobile app. Note that if there are problems with the adventure (buttons that go nowhere, etc) you will have to resolve those before the simulator will work.
When you reach a branch the simulator will follow the appropriate branch for the character and conditions, EG if a character with the Naturalist talent should go to one version of a location where they get more information and options that a character without that talent, then that's what the simulator will show. In cases where the branch comparison involves a die roll a dialog box will ask you which path you want to pursue so you can conveniently test each one.
Similarly, when you face a foe you will see a dialog box showing the foe's combat opening description and stats, and then you can choose to follow the path where the character wins the fight or the path where the character loses the fight.
In the upper right hand corner you will see buttons that allow you to restart the adventure with a typical armored fighter or a literate wizard. The third button lets you load in a custom character from the text area immediately below that button, so you can simulate the adventure with that character. The Adventure Creator will expect you to use this format:
Jon of the Isles, hero, age 23 ST 12, DX 12 (10), IQ 8, MA 10 (8) Talents: Sword, Shield, Acrobatics, Naturalist, Literacy Weapon: Broadsword (2d) Armor: Leather armor stops 2 hits/attack, Small shield stops 1 hit/attack
This is SJG's standard stat block, the format TFT Helper uses when it exports a character, so you can paste one straight in. You can also edit the character in that little space. The first line is the name, then a comma and a description: the race (leave it out for a Human), and hero or wizard. If the description doesn't say, a character who knows spells is a wizard. A number in parentheses is the adjusted value, so "DX 12 (10)" is DX 12 and adjDX 10; without one, adjDX and MA are worked out from the armor and shield the way TFT Helper does it. The Simulator reads Talents, Spells and Armor; it skips Weapons, Languages, Equipment, Notes and the like, since adventures can't test them. Talents and spells are matched whatever the capitals, spaces and punctuation, a leveled talent like Unarmed Combat III brings the lower levels with it, and you'll be told about any it doesn't recognize. Older TFT Helper exports work too. The character always starts the adventure with no injury or fatigue. The imported character will be remembered between sessions if you have localStorage turned on.
Your place in a run is kept while you visit other tabs, so you can stop partway through to check something and come back. Any change to the adventure, in the Visual Editor or the Text Editor, starts the run over at the first location. The character starts over too, just as they were chosen: no injury or fatigue, and their own attributes, talents and spells, even if the adventure or you changed them during the run.
Below this is a list of all the nodes in your adventure - locations, branches, and foes. You can click on any node to go directly there. This will save time testing larger adventures, since you won't have to walk through the whole adventure to get to the part you want to test. If you click on a branch it will immediately resolve as if you had travelled there, offering you a dialog box if a die roll is involved. If you click on a location with actions those actions will happen immediately, but of course any actions that would have happened if you had stepped through each location to reached the clicked location will not have happen.
In the lower right hand corner is a history of the nodes visited so far in this run through. Clicking here does nothing.
On the left side is a list of the variables in your adventure with their current values, updated as you go through the adventure. You can click on any of them to change them; for CharRace and CharType, you pick from a button for each race or type.
Below this are the character attributes as they exist at the moment. You can click on these to change them, too.
Below this are lists of the Talents and Spells, which are like variables that are set to 1 if the character has that Talent or Spell and 0 if they don't. You can click on these to change them. There are checkboxes to list only the abilities the character has, ie only the non-zero values.
Testing with the simulator is an efficient way to check your work as you write your adventure, but it's not a substitute for testing your adventure on the mobile app before sharing it with other people.
Clicking on other phone features may reveal other features.
The Exportable is the block of text you will share with the world. It's been prepared for the TFT Helper mobile app to present, and it's been scrambled to prevent spoilers. The text in that textArea is the adventure that can be played on the mobile app. Copy it to the clipboard or save it to a file and share it with your friends in any way you can move text.
Once you have the text on the clipboard of a mobile device you can launch TFT Helper, then select Go On An Adventure from the main menu. Select a character and then select New Adventures from the adventure menu. In the bottom part of the New Adventures screen is a text area you can paste the exportable into, then tap Import to see that adventure added to the menu of adventures above. Now you can play it for real.
Someone is going to ask why we're using a bespoke format instead of JSON or XML. Those formats use a lot of punctuation and extra tags in those formats and they are hard for humans to parse. But if you want to use JSON, check Show JSON in Settings and the Exportable tab will show your adventure as JSON in a text area below the Exportable. You can copy it, or save it to a .json file with Save JSON to File, and take it to another editor to edit. When you're done you can bring the result back here, either by pasting it into the JSON window and clicking Import JSON or with Load JSON from File. The JSON is checked first: if it can't be read as an adventure at all, nothing is loaded and you're told why; if parts of it are damaged, as much as possible is loaded and you're told what to fix in the Editor or Text Editor.
If you want to edit your adventure in XML there are many JSON-XML convertors on the web.
Note that these adventures are scrambled and not encrypted. I don't need the headaches that come along with a mobile app associated with "encryption".
Exportables made since November 2026 use a newer scrambling, marked by the line of nonsense above the number ending in "!" instead of a period. They play in TFT Helper 2.0, the web app at tfthelper.app, but not in the old TFT Helper from the App Store or Google Play. That's on purpose: the old app can't protect players from an adventure file someone has tampered with. TFT Helper 2.0 still plays Exportables made before the change.
TL;DR - it works well, but don’t be lazy, and include (AI) in your description to let people know. Give the LLM the guide below. This guide will be updated, so come back here to get it when you need it.
Copy Guide to Clipboard
The longer version begins with a short sermon.
“On two occasions I have been asked, ‘Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?’ ... I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.”
— Charles Babbage
By the 1950s folks had minted a shorter version of this to remind themselves of an essential truth: Garbage in, garbage out. To go back even further, “You reap what you sow.”
Generative AI can create output with so little effort from us that some are tempted to turn the crank and say, “Look what I made!” This is how you get slop, and people will recognize it instantly. But if you take the time to develop your vision for what you want the player to feel and put in the effort to pursue a high standard LLMs can save a lot of time. This will take the form of iterating on your prompt as well as hand editing the final product.
And, things being how they are, please label any adventure created with generative AI by including (AI) in your description. This will not prevent it from being accepted in the Adventure Library, or even invite extra scrutiny. It will just allow users to choose what to enjoy and avoid them feeling tricked.
How to do it: write up your overall idea for the adventure - where it happens, the kinds of locations, the mood, the theme, the characters, the overall flavor, the goal. Then paste in the guide below (the Copy Guide to Clipboard button copies all of it). Take the result and paste it into the Text Editor in Adventure Creator. Check for errors (I have never seen one!).
Then read through the adventure very carefully. LLMs will use incorrect words, and things may not make sense. There will be stilted descriptions, unsurprising surprises, and foes, treasures, and XP rewards may be wildly out of proportion. Locations and characters will be included that add nothing to the user experience. Most importantly, the text will not feel right. Take the time to rewrite things, cut out pieces, and add cool things. Make things matter in the way that LLMs cannot conceive or express. Then test, test, test.
Before your own read-through, get a second opinion from the AI. The guide asks it to reread its story for consistency, logic, motives and the usual AI writing habits (section 9), but a fresh conversation catches far more, because it didn't write the story. Start a new chat, paste in the guide and the adventure, and ask: “Review this adventure using section 9 of the guide. List the problems; don’t rewrite anything yet.” Then choose the fixes you want and ask for just those. It finds things like a character who is alive in one scene and dead in another, a clue that doesn’t prove what the text claims, or a beaten foe still standing in the road when you come back.
You will get better results with better models. I think higher effort levels do better, particularly for review, but I have not tested this formally. I have had good results with Sonnet, Opus, and Luna. No model can be trusted not to make you look lazy and confused.
Loading the guide...
A sketched out map is a great way to start working out your ideas for your adventure. Unfortunately, such an intuitive representation fails when some locations correspond to several nodes in the adventure, which happens when a place appears differently and offers the player different choices based on their abilities, how they got there, what they have done so far, etc. On top of that, the journey between map locations may involve decisions and tests, which may lead the character somewhere other than where they meant to go when they left the last location.
This representation, then, is not a map but a display of your nodes and how they connect to each other. The green rectangles are locations, and the labels on the arrows leading out of them are the buttons that lead from one location to another. The purple diamonds are branches, with arrows labelled true and false. The orange circles are foes, with arrows labelled win and lose. These are roughly the same colors as the boxes in the editor.
While an entire adventure would be hard to follow if you lose track of the buttons and conditions leading through one part of your adventure you can look for that section in this image and hopefully figure out what's wrong.
When you are studying the example adventures the graphic can also be a good way to get a handle on how they fit together.
The chart starts at full size, so a big adventure runs off the edges of the page; scroll to see the rest. The buttons above it zoom out (−) and in (+), return to Full Size, or shrink the whole chart to Fit Width, which shows its shape but can make a big adventure's labels too small to read.