From 7682d34a0e1193b3d0c3dc40a59326f83392c9f8 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 6 Jan 2024 19:32:41 -0500 Subject: Pilgrim Room randomized --- randomizer/generator.gd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'randomizer/generator.gd') diff --git a/randomizer/generator.gd b/randomizer/generator.gd index bc2ebb0..22e0ca5 100644 --- a/randomizer/generator.gd +++ b/randomizer/generator.gd @@ -677,6 +677,17 @@ func generate(chosen_seed): _gStack2("Open Areas/Panel_angered_enraged", kYellowMiddle, "", kWhiteBottom) _gStack2("Open Areas/Panel_vote_veto", kYellowMiddle, "", kBlackBottom) + _gCombo("Lingo Room/Panel_lingo_1", kPurpleTop, kPurpleTop) + _gCombo("Lingo Room/Panel_lingo_2", kBlueMiddle, kYellowMiddle) + _gCombo("Lingo Room/Panel_lingo_3", kWhiteBottom, kWhiteBottom) + _gCombo("Lingo Room/Panel_lingo_4", kWhiteBottom, kPurpleMiddle) + _gCombo("Lingo Room/Panel_lingo_5", kBlackBottom, kBlueMiddle) + _gCombo("Lingo Room/Panel_lingo_6", kBlackBottom, kWhiteBottom) + _gCombo("Lingo Room/Panel_lingo_8", kBlackMiddle, kBlackBottom) + _gCombo("Lingo Room/Panel_lingo_10", kBlueMiddle, kRedMiddle) + _gCombo("Lingo Room/Panel_lingo_11", kYellowTop, kYellowMiddle) + _gCombo("Lingo Room/Panel_lingo_12", kPurpleMiddle, kRedMiddle) + _setFlag(kObscureHint) _gSingle("Entry Room/Panel_forward_forward", kWhiteMiddle) _gSingle("Entry Room/Panel_between_between", kWhiteMiddle) @@ -1072,6 +1083,17 @@ func _gPaintingPuzzle(panel_path, painting_name): painting_mapping.append([painting_name, chosen[0]]) +func _gCombo(panel_path, left_type, right_type): + var puzzles = _generated_puzzles.combos[left_type][right_type] + var chosen = _pickRandom(puzzles) + var hint_text + if chosen[1] == -1: + hint_text = _answer_by_id[chosen[0]] + else: + hint_text = "%s %s" % [_answer_by_id[chosen[0]], _answer_by_id[chosen[1]]] + _writePanel(panel_path, hint_text, _answer_by_id[chosen[2]]) + + func _applyCipher(text): var result = text for i in range(result.length()): -- cgit 1.4.1