From ff357a71314753ceaaaa23cdbd71f726a28032ef Mon Sep 17 00:00:00 2001 From: Spencer Killen Date: Sat, 26 Sep 2026 11:14:59 -0600 Subject: [PATCH] . --- Random.gd | 4 ++-- project.godot | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Random.gd b/Random.gd index 4860685..70a2a26 100644 --- a/Random.gd +++ b/Random.gd @@ -1,4 +1,4 @@ extends Node -func generate_random(a: int, b: int) -> int: - return randi_range(a, b) +func dialogic_random(a: int, b: int): + Dialogic.VAR.set_variable("RNG", randi_range(a, b)) diff --git a/project.godot b/project.godot index 706104d..f6a5bdf 100644 --- a/project.godot +++ b/project.godot @@ -29,6 +29,7 @@ directories/dtl_directory={ } layout/style_directory={} variables={ +"RNG": "", "RNG_1_4": "", "for_timeline_calls": { "requested_amount": "",