diff --git a/Random.gd b/Random.gd new file mode 100644 index 0000000..70a2a26 --- /dev/null +++ b/Random.gd @@ -0,0 +1,4 @@ +extends Node + +func dialogic_random(a: int, b: int): + Dialogic.VAR.set_variable("RNG", randi_range(a, b)) diff --git a/Random.gd.uid b/Random.gd.uid new file mode 100644 index 0000000..00b01cf --- /dev/null +++ b/Random.gd.uid @@ -0,0 +1 @@ +uid://cu3n7igqstbxi diff --git a/project.godot b/project.godot index 3930ef3..123f573 100644 --- a/project.godot +++ b/project.godot @@ -17,6 +17,7 @@ config/features=PackedStringArray("4.7") Dialogic="*uid://ds2q0uclmolvu" Economy="*uid://dnpioqaes87yb" +Random="*uid://cu3n7igqstbxi" [dialogic] @@ -29,6 +30,7 @@ directories/dtl_directory={ } layout/style_directory={} variables={ +"RNG": "", "RNG_1_4": "", "for_timeline_calls": { "requested_amount": "69",