From 8850b7b3043777be9fe2121d7e87e71821da15cd Mon Sep 17 00:00:00 2001 From: Spencer Killen Date: Sat, 26 Sep 2026 11:12:42 -0600 Subject: [PATCH] Add random --- Random.gd | 4 ++++ Random.gd.uid | 1 + project.godot | 1 + 3 files changed, 6 insertions(+) create mode 100644 Random.gd create mode 100644 Random.gd.uid diff --git a/Random.gd b/Random.gd new file mode 100644 index 0000000..4860685 --- /dev/null +++ b/Random.gd @@ -0,0 +1,4 @@ +extends Node + +func generate_random(a: int, b: int) -> int: + return 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 2ef45ed..706104d 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]