Dialogue Forge v1.4.0 - Variables, Conditions & State Systems
This is the biggest Dialogue Forge update so far.
Dialogue Forge is no longer limited to static dialogue trees. With v1.4, conversations can react to game state through variables, conditions, and runtime logic, making it possible to build RPG dialogue systems, quest chains, merchants, companion relationships, and much more.
Variables
Added project-wide variables.
Supported types:
- Number
- Boolean
- String
Examples:
- gold
- reputation
- hasKey
- questState
- relationship
Variables can be created, edited, renamed, searched, and reused throughout a project.
Variable Actions
New action type:
Set Variable
Supported operations:
- Set
- Add
- Subtract
- Multiply
- Divide
- Toggle
Examples:
gold += 10
reputation += 1
hasKey = true
questState = "completed"
Conditions
Branches can now be gated by conditions.
Examples:
gold >= 5
hasKey == true
reputation > 10
Dialogue options only appear when their conditions are met.
Condition Groups
Added support for more advanced logic.
Examples:
gold >= 5
AND
reputation > 10
hasKey
OR
lockpickedDoor
Conditions are built visually using dropdowns and groups—no scripting required.
State-Aware Preview
Preview mode can now simulate gameplay state.
Before starting a preview, set variable values such as:
gold = 25
hasKey = true
questState = "started"
Dialogue behavior updates automatically based on those values.
Live State Tracking
Preview now includes a state panel showing:
- Current variables
- Recent variable changes
- Triggered events
- Runtime state updates
This makes testing complex dialogue flows significantly easier.
Validation Improvements
New validation rules detect:
- Missing variables
- Invalid references
- Broken conditions
- Type mismatches
Dialogue Forge now catches common state-related mistakes before export.
Template Upgrades
Built-in templates now use variables and conditions.
Updated:
- Merchant
- Quest Giver
- Companion Dialogue
- Combat Encounter
- Multi-Entry RPG
Templates now demonstrate real gameplay logic instead of static conversations.
Export Format
Exports now include:
- Variables
- Conditions
- Variable actions
Projects remain fully backward compatible through the migration system introduced in v1.3.2.
Why This Update Matters
With variables and conditions, Dialogue Forge moves beyond dialogue authoring and into narrative gameplay design.
You can now build:
- Shops
- Quest systems
- Reputation systems
- Relationship systems
- Inventory checks
- Conditional story paths
without writing a single line of code.
Thanks to everyone who provided feedback and helped shape this release.
Full Changelog: v1.3.3...v1.4.0