nathanhoad / godot_dialogue_manager

A powerful nonlinear dialogue system for Godot
MIT License
2.22k stars 170 forks source link

Add support for conditions on randomised lines #665

Closed nathanhoad closed 2 months ago

nathanhoad commented 2 months ago

This adds support for conditional randomised jumps and randomised lines:

Conditions for randomised lines go in square brackets after the % and before the line's content:

% => some_title
%2 => some_other_title
% [if SomeGlobal.some_condition] => another_title

Closes #659