summary refs log tree commit diff stats
path: root/randomizer/generator.gd
diff options
context:
space:
mode:
Diffstat (limited to 'randomizer/generator.gd')
-rw-r--r--randomizer/generator.gd22
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
1086func _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
1075func _applyCipher(text): 1097func _applyCipher(text):
1076 var result = text 1098 var result = text
1077 for i in range(result.length()): 1099 for i in range(result.length()):