From 6e04dbb1ebb811429bbfdb53bd8c4c079ef63732 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 4 Feb 2024 11:30:04 -0500 Subject: Randomize layout of The Steady --- randomizer/randomizer.gd | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'randomizer/randomizer.gd') diff --git a/randomizer/randomizer.gd b/randomizer/randomizer.gd index 0738cb6..681567d 100644 --- a/randomizer/randomizer.gd +++ b/randomizer/randomizer.gd @@ -3,8 +3,10 @@ extends Node const my_version = "0.1.0" var SCRIPT_generator +var SCRIPT_steady var generator +var steady var thread = Thread.new() signal finished_randomizing @@ -21,6 +23,12 @@ func _thread_func(gen_seed): generator.connect("generator_status", self, "statusUpdate") generator.generate(gen_seed) + var rng = RandomNumberGenerator.new() + rng.seed = generator.gen_seed + + steady = SCRIPT_steady.new() + steady.generate(rng) + emit_signal("finished_randomizing") -- cgit 1.4.1