diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-01-06 19:32:41 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-01-06 19:32:41 -0500 |
commit | 7682d34a0e1193b3d0c3dc40a59326f83392c9f8 (patch) | |
tree | 7e1b329e28984d668da58341451cdc0e1a69330a /randomizer | |
parent | f882d52baf07d75072e0711002c1eb2188dcd851 (diff) | |
download | lingo-randomizer-7682d34a0e1193b3d0c3dc40a59326f83392c9f8.tar.gz lingo-randomizer-7682d34a0e1193b3d0c3dc40a59326f83392c9f8.tar.bz2 lingo-randomizer-7682d34a0e1193b3d0c3dc40a59326f83392c9f8.zip |
Pilgrim Room randomized
Diffstat (limited to 'randomizer')
-rw-r--r-- | randomizer/generator.gd | 22 |
1 files changed, 22 insertions, 0 deletions
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): | |||
677 | _gStack2("Open Areas/Panel_angered_enraged", kYellowMiddle, "", kWhiteBottom) | 677 | _gStack2("Open Areas/Panel_angered_enraged", kYellowMiddle, "", kWhiteBottom) |
678 | _gStack2("Open Areas/Panel_vote_veto", kYellowMiddle, "", kBlackBottom) | 678 | _gStack2("Open Areas/Panel_vote_veto", kYellowMiddle, "", kBlackBottom) |
679 | 679 | ||
680 | _gCombo("Lingo Room/Panel_lingo_1", kPurpleTop, kPurpleTop) | ||
681 | _gCombo("Lingo Room/Panel_lingo_2", kBlueMiddle, kYellowMiddle) | ||
682 | _gCombo("Lingo Room/Panel_lingo_3", kWhiteBottom, kWhiteBottom) | ||
683 | _gCombo("Lingo Room/Panel_lingo_4", kWhiteBottom, kPurpleMiddle) | ||
684 | _gCombo("Lingo Room/Panel_lingo_5", kBlackBottom, kBlueMiddle) | ||
685 | _gCombo("Lingo Room/Panel_lingo_6", kBlackBottom, kWhiteBottom) | ||
686 | _gCombo("Lingo Room/Panel_lingo_8", kBlackMiddle, kBlackBottom) | ||
687 | _gCombo("Lingo Room/Panel_lingo_10", kBlueMiddle, kRedMiddle) | ||
688 | _gCombo("Lingo Room/Panel_lingo_11", kYellowTop, kYellowMiddle) | ||
689 | _gCombo("Lingo Room/Panel_lingo_12", kPurpleMiddle, kRedMiddle) | ||
690 | |||
680 | _setFlag(kObscureHint) | 691 | _setFlag(kObscureHint) |
681 | _gSingle("Entry Room/Panel_forward_forward", kWhiteMiddle) | 692 | _gSingle("Entry Room/Panel_forward_forward", kWhiteMiddle) |
682 | _gSingle("Entry Room/Panel_between_between", kWhiteMiddle) | 693 | _gSingle("Entry Room/Panel_between_between", kWhiteMiddle) |
@@ -1072,6 +1083,17 @@ func _gPaintingPuzzle(panel_path, painting_name): | |||
1072 | painting_mapping.append([painting_name, chosen[0]]) | 1083 | painting_mapping.append([painting_name, chosen[0]]) |
1073 | 1084 | ||
1074 | 1085 | ||
1086 | func _gCombo(panel_path, left_type, right_type): | ||
1087 | var puzzles = _generated_puzzles.combos[left_type][right_type] | ||
1088 | var chosen = _pickRandom(puzzles) | ||
1089 | var hint_text | ||
1090 | if chosen[1] == -1: | ||
1091 | hint_text = _answer_by_id[chosen[0]] | ||
1092 | else: | ||
1093 | hint_text = "%s %s" % [_answer_by_id[chosen[0]], _answer_by_id[chosen[1]]] | ||
1094 | _writePanel(panel_path, hint_text, _answer_by_id[chosen[2]]) | ||
1095 | |||
1096 | |||
1075 | func _applyCipher(text): | 1097 | func _applyCipher(text): |
1076 | var result = text | 1098 | var result = text |
1077 | for i in range(result.length()): | 1099 | for i in range(result.length()): |