forked from Roman971/OoT-Randomizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SettingsList.py
6418 lines (6143 loc) · 259 KB
/
SettingsList.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import argparse
import difflib
from itertools import chain
import re
import math
import json
import operator
import os
from Colors import get_tunic_color_options, get_navi_color_options, get_sword_trail_color_options, \
get_bombchu_trail_color_options, get_boomerang_trail_color_options, get_gauntlet_color_options, \
get_magic_color_options, get_heart_color_options, get_shield_frame_color_options, get_a_button_color_options,\
get_b_button_color_options, get_c_button_color_options, get_start_button_color_options
from Hints import HintDistList, HintDistTips, gossipLocations
from Item import ItemInfo
from Location import LocationIterator
from LocationList import location_table
from Models import get_model_choices
import Sounds as sfx
import StartingItems
from Utils import data_path
# holds the info for a single setting
class Setting_Info():
def __init__(self, name, type, gui_text, gui_type, shared, choices, default=None, disabled_default=None, disable=None, gui_tooltip=None, gui_params=None, cosmetic=False):
self.name = name # name of the setting, used as a key to retrieve the setting's value everywhere
self.type = type # type of the setting's value, used to properly convert types to setting strings
self.shared = shared # whether or not the setting is one that should be shared, used in converting settings to a string
self.cosmetic = cosmetic # whether or not the setting should be included in the cosmetic log
self.gui_text = gui_text
self.gui_type = gui_type
if gui_tooltip is None:
self.gui_tooltip = ""
else:
self.gui_tooltip = gui_tooltip
if gui_params == None:
gui_params = {}
self.gui_params = gui_params # additional parameters that the randomizer uses for the gui
self.disable = disable # dictionary of settings this this setting disabled
self.dependency = None # lambda the determines if this is disabled. Generated later
# dictionary of options to their text names
if isinstance(choices, list):
self.choices = {k: k for k in choices}
self.choice_list = list(choices)
else:
self.choices = dict(choices)
self.choice_list = list(choices.keys())
self.reverse_choices = {v: k for k, v in self.choices.items()}
# number of bits needed to store the setting, used in converting settings to a string
if shared:
if self.gui_params.get('min') and self.gui_params.get('max') and not choices:
self.bitwidth = math.ceil(math.log(self.gui_params.get('max') - self.gui_params.get('min') + 1, 2))
else:
self.bitwidth = self.calc_bitwidth(choices)
else:
self.bitwidth = 0
# default value if undefined/unset
if default != None:
self.default = default
elif self.type == bool:
self.default = False
elif self.type == str:
self.default = ""
elif self.type == int:
self.default = 0
elif self.type == list:
self.default = []
elif self.type == dict:
self.default = {}
# default value if disabled
if disabled_default == None:
self.disabled_default = self.default
else:
self.disabled_default = disabled_default
# used to when random options are set for this setting
if 'distribution' not in gui_params:
self.gui_params['distribution'] = [(choice, 1) for choice in self.choice_list]
def calc_bitwidth(self, choices):
count = len(choices)
if count > 0:
if self.type == list:
# Need two special values for terminating additive and subtractive lists
count = count + 2
return math.ceil(math.log(count, 2))
return 0
class Checkbutton(Setting_Info):
def __init__(self, name, gui_text, gui_tooltip=None, disable=None,
disabled_default=None, default=False, shared=False, gui_params=None, cosmetic=False):
choices = {
True: 'checked',
False: 'unchecked',
}
super().__init__(name, bool, gui_text, 'Checkbutton', shared, choices, default, disabled_default, disable, gui_tooltip, gui_params, cosmetic)
class Combobox(Setting_Info):
def __init__(self, name, gui_text, choices, default, gui_tooltip=None, disable=None,
disabled_default=None, shared=False, gui_params=None, cosmetic=False, multiple_select=False):
gui_type = 'Combobox' if not multiple_select else 'MultipleSelect'
type = str if not multiple_select else list
super().__init__(name, type, gui_text, gui_type, shared, choices, default, disabled_default, disable, gui_tooltip, gui_params, cosmetic)
class Scale(Setting_Info):
def __init__(self, name, gui_text, min, max, default, step=1,
gui_tooltip=None, disable=None, disabled_default=None,
shared=False, gui_params=None, cosmetic=False):
choices = {
i: str(i) for i in range(min, max+1, step)
}
if gui_params == None:
gui_params = {}
gui_params['min'] = min
gui_params['max'] = max
gui_params['step'] = step
super().__init__(name, int, gui_text, 'Scale', shared, choices, default, disabled_default, disable, gui_tooltip, gui_params, cosmetic)
# Below is the list of possible glitchless tricks.
# The order they are listed in is also the order in which
# they appear to the user in the GUI, so a sensible order was chosen
logic_tricks = {
# General tricks
'Pass Through Visible One-Way Collisions': {
'name' : 'logic_visible_collisions',
'tags' : ("General", "Entrance Shuffle", "Kakariko Village", "Overworld", "Child", "Adult",),
'tooltip' : '''\
Allows climbing through the platform to reach
Impa's House Back as adult with no items and
going through the Kakariko Village Gate as child
when coming from the Mountain Trail side.
'''},
'Hidden Grottos without Stone of Agony': {
'name' : 'logic_grottos_without_agony',
'tags' : ("General", "Entrance Shuffle", "Overworld", "Child", "Adult",),
'tooltip' : '''\
Allows entering hidden grottos without the
Stone of Agony.
'''},
'Fewer Tunic Requirements': {
'name' : 'logic_fewer_tunic_requirements',
'tags' : ("General", "Fire Temple", "Fire Temple MQ", "Water Temple", "Water Temple MQ", "Gerudo Training Ground", "Gerudo Training Ground MQ",
"Zora's Fountain", "Death Mountain Crater", "Master Quest", "Overworld", "Vanilla Dungeons", "Child", "Adult",),
'tooltip' : '''\
Allows the following possible without Tunics:
- Enter Water Temple. The area below the center
pillar still requires Zora Tunic. Applies to
MQ also.
- Enter Fire Temple. Only the first floor is
accessible, and not Volvagia. Applies to
MQ also.
- Zora's Fountain Bottom Freestanding PoH.
Might not have enough health to resurface.
- Gerudo Training Ground Underwater
Silver Rupee Chest. May need to make multiple
trips. Applies to MQ also.
'''},
'Beehives with Bombchus' : {
'name' : 'logic_beehives_bombchus',
'tags' : ("General", "Beehives", "Overworld", "Zora's Fountain", "Child", "Adult",),
'tooltip' : '''\
Puts breaking beehives with bombchus into logic.
Using bombs is already expected on beehives that
that are low enough that a bomb throw will reach.
'''},
'Hammer Rusted Switches Through Walls': {
'name' : 'logic_rusted_switches',
'tags' : ("General", "Fire Temple", "Fire Temple MQ", "Ganon's Castle MQ", "Master Quest", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
Applies to:
- Fire Temple Highest Goron Chest.
- MQ Fire Temple Lizalfos Maze.
- MQ Spirit Trial.
'''},
# Overworld tricks
'Adult Kokiri Forest GS with Hover Boots': {
'name' : 'logic_adult_kokiri_gs',
'tags' : ("Kokiri Forest", "Gold Skulltulas", "Overworld", "Adult",),
'tooltip' : '''\
Can be obtained without Hookshot by using the Hover
Boots off of one of the roots.
'''},
'Jump onto the Lost Woods Bridge as Adult with Nothing': {
'name' : 'logic_lost_woods_bridge',
'tags' : ("Lost Woods", "Entrance Shuffle", "Overworld", "Adult",),
'tooltip' : '''\
With very precise movement it's possible for
adult to jump onto the bridge without needing
Longshot, Hover Boots, or Bean.
'''},
'Backflip over Mido as Adult': {
'name' : 'logic_mido_backflip',
'tags' : ("Lost Woods", "Overworld", "Adult",),
'tooltip' : '''\
With a specific position and angle, you can
backflip over Mido.
'''},
'Lost Woods Adult GS without Bean': {
'name' : 'logic_lost_woods_gs_bean',
'tags' : ("Lost Woods", "Gold Skulltulas", "Overworld", "Adult",),
'tooltip' : '''\
You can collect the token with a precise
Hookshot use, as long as you can kill the
Skulltula somehow first. It can be killed
using Longshot, Bow, Bombchus or Din's Fire.
'''},
'Hyrule Castle Storms Grotto GS with Just Boomerang': {
'name' : 'logic_castle_storms_gs',
'tags' : ("Hyrule Castle", "Gold Skulltulas", "Overworld", "Child",),
'tooltip' : '''\
With precise throws, the Boomerang alone can
kill the Skulltula and collect the token,
without first needing to blow up the wall.
'''},
'Man on Roof without Hookshot': {
'name' : 'logic_man_on_roof',
'tags' : ("Kakariko Village", "Overworld", "Child", "Adult",),
'tooltip' : '''\
Can be reached by side-hopping off
the watchtower as either age, or by
jumping onto the potion shop's roof
from the ledge as adult.
'''},
'Kakariko Tower GS with Jump Slash': {
'name' : 'logic_kakariko_tower_gs',
'tags' : ("Kakariko Village", "Gold Skulltulas", "Overworld", "Child",),
'tooltip' : '''\
Climb the tower as high as you can without
touching the Gold Skulltula, then let go and
jump slash immediately. By jump-slashing from
as low on the ladder as possible to still
hit the Skulltula, this trick can be done
without taking fall damage.
'''},
'Windmill PoH as Adult with Nothing': {
'name' : 'logic_windmill_poh',
'tags' : ("Kakariko Village", "Overworld", "Adult",),
'tooltip' : '''\
Can jump up to the spinning platform from
below as adult.
'''},
'Kakariko Rooftop GS with Hover Boots': {
'name' : 'logic_kakariko_rooftop_gs',
'tags' : ("Kakariko Village", "Gold Skulltulas", "Overworld", "Adult",),
'tooltip' : '''\
Take the Hover Boots from the entrance to Impa's
House over to the rooftop of Skulltula House. From
there, a precise Hover Boots backwalk with backflip
can be used to get onto a hill above the side of
the village. And then from there you can Hover onto
Impa's rooftop to kill the Skulltula and backflip
into the token.
'''},
'Graveyard Freestanding PoH with Boomerang': {
'name' : 'logic_graveyard_poh',
'tags' : ("Graveyard", "Overworld", "Child",),
'tooltip' : '''\
Using a precise moving setup you can obtain
the Piece of Heart by having the Boomerang
interact with it along the return path.
'''},
'Second Dampe Race as Child': {
'name' : 'logic_child_dampe_race_poh',
'tags' : ("Graveyard", "Entrance Shuffle", "Overworld", "Child",),
'tooltip' : '''\
It is possible to complete the second dampe
race as child in under a minute, but it is
a strict time limit.
'''},
'Shadow Temple Entry with Fire Arrows': {
'name' : 'logic_shadow_fire_arrow_entry',
'tags' : ("Shadow Temple", "Overworld", "Adult",),
'tooltip' : '''\
It is possible to light all of the torches to
open the Shadow Temple entrance with just Fire
Arrows, but you must be very quick, precise,
and strategic with how you take your shots.
'''},
'Death Mountain Trail Soil GS without Destroying Boulder': {
'name' : 'logic_dmt_soil_gs',
'tags' : ("Death Mountain Trail", "Gold Skulltulas", "Overworld", "Child",),
'tooltip' : '''\
Bugs will go into the soft soil even while the boulder is
still blocking the entrance.
Then, using a precise moving setup you can kill the Gold
Skulltula and obtain the token by having the Boomerang
interact with it along the return path.
'''},
'Death Mountain Trail Chest with Strength': {
'name' : 'logic_dmt_bombable',
'tags' : ("Death Mountain Trail", "Overworld", "Child",),
'tooltip' : '''\
Child Link can blow up the wall using a nearby bomb
flower. You must backwalk with the flower and then
quickly throw it toward the wall.
'''},
'Death Mountain Trail Lower Red Rock GS with Hookshot': {
'name' : 'logic_trail_gs_lower_hookshot',
'tags' : ("Death Mountain Trail", "Gold Skulltulas", "Overworld", "Adult",),
'tooltip' : '''\
After killing the Skulltula, the token can be fished
out of the rock without needing to destroy it, by
using the Hookshot in the correct way.
'''},
'Death Mountain Trail Lower Red Rock GS with Hover Boots': {
'name' : 'logic_trail_gs_lower_hovers',
'tags' : ("Death Mountain Trail", "Gold Skulltulas", "Overworld", "Adult",),
'tooltip' : '''\
After killing the Skulltula, the token can be
collected without needing to destroy the rock by
backflipping down onto it with the Hover Boots.
First use the Hover Boots to stand on a nearby
fence, and go for the Skulltula Token from there.
'''},
'Death Mountain Trail Lower Red Rock GS with Magic Bean': {
'name' : 'logic_trail_gs_lower_bean',
'tags' : ("Death Mountain Trail", "Gold Skulltulas", "Overworld", "Adult",),
'tooltip' : '''\
After killing the Skulltula, the token can be
collected without needing to destroy the rock by
jumping down onto it from the bean plant,
midflight, with precise timing and positioning.
'''},
'Death Mountain Trail Climb with Hover Boots': {
'name' : 'logic_dmt_climb_hovers',
'tags' : ("Death Mountain Trail", "Overworld", "Adult",),
'tooltip' : '''\
It is possible to use the Hover Boots to bypass
needing to destroy the boulders blocking the path
to the top of Death Mountain.
'''},
'Death Mountain Trail Upper Red Rock GS without Hammer': {
'name' : 'logic_trail_gs_upper',
'tags' : ("Death Mountain Trail", "Gold Skulltulas", "Overworld", "Adult",),
'tooltip' : '''\
After killing the Skulltula, the token can be collected
by backflipping into the rock at the correct angle.
'''},
'Deliver Eye Drops with Bolero of Fire': {
'name' : 'logic_biggoron_bolero',
'tags' : ("Death Mountain Trail", "Overworld", "Adult",),
'tooltip' : '''\
Playing a warp song normally causes a trade item to
spoil immediately, however, it is possible use Bolero
to reach Biggoron and still deliver the Eye Drops
before they spoil. If you do not wear the Goron Tunic,
the heat timer inside the crater will override the trade
item's timer. When you exit to Death Mountain Trail you
will have one second to show the Eye Drops before they
expire. You can get extra time to show the Eye Drops if
you warp immediately upon receiving them. If you don't
have many hearts, you may have to reset the heat timer
by quickly dipping in and out of Darunia's chamber or
quickly equipping and unequipping the Goron Tunic.
This trick does not apply if "Randomize Warp Song
Destinations" is enabled, or if the settings are such
that trade items do not need to be delivered within a
time limit.
'''},
'Goron City Spinning Pot PoH with Bombchu': {
'name' : 'logic_goron_city_pot',
'tags' : ("Goron City", "Overworld", "Child",),
'tooltip' : '''\
A Bombchu can be used to stop the spinning
pot, but it can be quite finicky to get it
to work.
'''},
'Goron City Spinning Pot PoH with Strength': {
'name' : 'logic_goron_city_pot_with_strength',
'tags' : ("Goron City", "Overworld", "Child",),
'tooltip' : '''\
Allows for stopping the Goron City Spinning
Pot using a bomb flower alone, requiring
strength in lieu of inventory explosives.
'''},
'Rolling Goron (Hot Rodder Goron) as Child with Strength': {
'name' : 'logic_child_rolling_with_strength',
'tags' : ("Goron City", "Overworld", "Child",),
'tooltip' : '''\
Use the bombflower on the stairs or near Medigoron.
Timing is tight, especially without backwalking.
'''},
'Stop Link the Goron with Din\'s Fire': {
'name' : 'logic_link_goron_dins',
'tags' : ("Goron City", "Overworld", "Adult",),
'tooltip' : '''\
The timing is quite awkward.
'''},
'Goron City Maze Left Chest with Hover Boots': {
'name' : 'logic_goron_city_leftmost',
'tags' : ("Goron City", "Overworld", "Adult",),
'tooltip' : '''\
A precise backwalk starting from on top of the
crate and ending with a precisely-timed backflip
can reach this chest without needing either
the Hammer or Silver Gauntlets.
'''},
'Goron City Grotto with Hookshot While Taking Damage': {
'name' : 'logic_goron_grotto',
'tags' : ("Goron City", "Overworld", "Adult",),
'tooltip' : '''\
It is possible to reach the Goron City Grotto by
quickly using the Hookshot while in the midst of
taking damage from the lava floor. This trick will
not be expected on OHKO or quadruple damage.
'''},
'Crater\'s Bean PoH with Hover Boots': {
'name' : 'logic_crater_bean_poh_with_hovers',
'tags' : ("Death Mountain Crater", "Overworld", "Adult",),
'tooltip' : '''\
Hover from the base of the bridge
near Goron City and walk up the
very steep slope.
'''},
'Death Mountain Crater Jump to Bolero': {
'name' : 'logic_crater_bolero_jump',
'tags' : ("Death Mountain Crater", "Overworld", "Adult",),
'tooltip' : '''\
As Adult , using a shield to drop a pot while you have
the perfect speed and position, the pot can
push you that little extra distance you
need to jump across the gap in the bridge.
'''},
'Death Mountain Crater Upper to Lower with Hammer': {
'name' : 'logic_crater_boulder_jumpslash',
'tags' : ("Death Mountain Crater", "Overworld", "Adult",),
'tooltip' : '''\
With the Hammer, you can jump slash the rock twice
in the same jump in order to destroy it before you
fall into the lava.
'''},
'Death Mountain Crater Upper to Lower Boulder Skip': {
'name' : 'logic_crater_boulder_skip',
'tags' : ("Death Mountain Crater", "Overworld", "Adult",),
'tooltip' : '''\
As adult, With careful positioning, you can jump to the ledge
where the boulder is, then use repeated ledge grabs
to shimmy to a climbable ledge. This trick supersedes
"Death Mountain Crater Upper to Lower with Hammer".
'''},
'Zora\'s River Lower Freestanding PoH as Adult with Nothing': {
'name' : 'logic_zora_river_lower',
'tags' : ("Zora's River", "Overworld", "Adult",),
'tooltip' : '''\
Adult can reach this PoH with a precise jump,
no Hover Boots required.
'''},
'Zora\'s River Upper Freestanding PoH as adult with Nothing': {
'name' : 'logic_zora_river_upper',
'tags' : ("Zora's River", "Overworld", "Adult",),
'tooltip' : '''\
Adult can reach this PoH with a precise jump,
no Hover Boots required.
'''},
'Zora\'s Domain Entry with Cucco': {
'name' : 'logic_zora_with_cucco',
'tags' : ("Zora's River", "Overworld", "Child",),
'tooltip' : '''\
You can fly behind the waterfall with
a Cucco as child.
'''},
'Zora\'s Domain Entry with Hover Boots': {
'name' : 'logic_zora_with_hovers',
'tags' : ("Zora's River", "Overworld", "Adult",),
'tooltip' : '''\
Can hover behind the waterfall as adult.
'''},
'Zora\'s River Rupees with Jump Dive': {
'name' : 'logic_zora_river_rupees',
'tags' : ("Zora's River", "Freestandings", "Overworld", "Adult",),
'tooltip' : '''\
You can jump down onto them from
above to skip needing Iron Boots.
'''},
'Skip King Zora as Adult with Nothing': {
'name' : 'logic_king_zora_skip',
'tags' : ("Zora's Domain", "Overworld", "Adult",),
'tooltip' : '''\
With a precise jump as adult, it is possible to
get on the fence next to King Zora from the front
to access Zora's Fountain.
'''},
'Zora\'s Domain GS with No Additional Items': {
'name' : 'logic_domain_gs',
'tags' : ("Zora's Domain", "Gold Skulltulas", "Overworld", "Adult",),
'tooltip' : '''\
A precise jump slash can kill the Skulltula and
recoil back onto the top of the frozen waterfall.
To kill it, the logic normally guarantees one of
Hookshot, Bow, or Magic.
'''},
'Lake Hylia Lab Wall GS with Jump Slash': {
'name' : 'logic_lab_wall_gs',
'tags' : ("Lake Hylia", "Gold Skulltulas", "Overworld", "Child",),
'tooltip' : '''\
The jump slash to actually collect the
token is somewhat precise.
'''},
'Lake Hylia Lab Dive without Gold Scale': {
'name' : 'logic_lab_diving',
'tags' : ("Lake Hylia", "Overworld", "Adult",),
'tooltip' : '''\
Remove the Iron Boots in the midst of
Hookshotting the underwater crate.
'''},
'Water Temple Entry without Iron Boots using Hookshot': {
'name' : 'logic_water_hookshot_entry',
'tags' : ("Lake Hylia", "Overworld", "Adult",),
'tooltip' : '''\
When entering Water Temple using Gold Scale instead
of Iron Boots, the Longshot is usually used to be
able to hit the switch and open the gate. But, by
standing in a particular spot, the switch can be hit
with only the reach of the Hookshot.
'''},
'Gerudo Valley Crate PoH as Adult with Hover Boots': {
'name' : 'logic_valley_crate_hovers',
'tags' : ("Gerudo Valley", "Overworld", "Adult",),
'tooltip' : '''\
From the far side of Gerudo Valley, a precise
Hover Boots movement and jump-slash recoil can
allow adult to reach the ledge with the crate
PoH without needing Longshot. You will take
fall damage.
'''},
'Thieves\' Hideout "Kitchen" with No Additional Items': {
'name' : 'logic_gerudo_kitchen',
'tags' : ("Thieves' Hideout", "Gerudo's Fortress", "Overworld", "Child", "Adult",),
'tooltip' : '''\
Allows passing through the kitchen by avoiding being
seen by the guards. The logic normally guarantees
Bow or Hookshot to stun them from a distance, or
Hover Boots to cross the room without needing to
deal with the guards.
'''},
'Gerudo\'s Fortress Ledge Jumps': {
'name' : 'logic_gf_jump',
'tags' : ("Gerudo's Fortress", "Overworld", "Adult",),
'tooltip' : '''\
Adult can jump onto the top roof of the fortress
without going through the interior of the hideout.
'''},
'Wasteland Crossing without Hover Boots or Longshot': {
'name' : 'logic_wasteland_crossing',
'tags' : ("Haunted Wasteland", "Overworld", "Child", "Adult",),
'tooltip' : '''\
You can beat the quicksand by backwalking across it
in a specific way.
Note that jumping to the carpet merchant as child
typically requires a fairly precise jump slash.
'''},
'Lensless Wasteland': {
'name' : 'logic_lens_wasteland',
'tags' : ("Lens of Truth", "Haunted Wasteland", "Overworld", "Child", "Adult",),
'tooltip' : '''\
By memorizing the path, you can travel through the
Wasteland without using the Lens of Truth to see
the Poe.
The equivalent trick for going in reverse through
the Wasteland is "Reverse Wasteland".
'''},
'Reverse Wasteland': {
'name' : 'logic_reverse_wasteland',
'tags' : ("Haunted Wasteland", "Overworld", "Child", "Adult",),
'tooltip' : '''\
By memorizing the path, you can travel through the
Wasteland in reverse.
Note that jumping to the carpet merchant as child
typically requires a fairly precise jump slash.
The equivalent trick for going forward through the
Wasteland is "Lensless Wasteland".
To cross the river of sand with no additional items,
be sure to also enable "Wasteland Crossing without
Hover Boots or Longshot".
Unless all overworld entrances are randomized, child
Link will not be expected to do anything at Gerudo's
Fortress.
'''},
'Colossus Hill GS with Hookshot': {
'name' : 'logic_colossus_gs',
'tags' : ("Desert Colossus", "Gold Skulltulas", "Overworld", "Adult",),
'tooltip' : '''\
Somewhat precise. If you kill enough Leevers
you can get enough of a break to take some time
to aim more carefully.
'''},
# Dungeons
'Deku Tree Basement Vines GS with Jump Slash': {
'name' : 'logic_deku_basement_gs',
'tags' : ("Deku Tree", "Gold Skulltulas", "Vanilla Dungeons", "Child", "Adult",),
'tooltip' : '''\
Can be defeated by doing a precise jump slash.
'''},
'Deku Tree Basement without Slingshot': {
'name' : 'logic_deku_b1_skip',
'tags' : ("Deku Tree", "Deku Tree MQ", "Master Quest", "Vanilla Dungeons", "Child"),
'tooltip' : '''\
A precise jump can be used to skip
needing to use the Slingshot to go
around B1 of the Deku Tree. If used
with the "Closed Forest" setting, a
Slingshot will not be guaranteed to
exist somewhere inside the Forest.
This trick applies to both Vanilla
and Master Quest.
'''},
'Deku Tree Basement Web to Gohma with Bow': {
'name' : 'logic_deku_b1_webs_with_bow',
'tags' : ("Deku Tree", "Entrance Shuffle", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
All spider web walls in the Deku Tree basement can be burnt
as adult with just a bow by shooting through torches. This
trick only applies to the circular web leading to Gohma;
the two vertical webs are always in logic.
Backflip onto the chest near the torch at the bottom of
the vine wall. With precise positioning you can shoot
through the torch to the right edge of the circular web.
This allows completion of adult Deku Tree with no fire source.
'''},
'Deku Tree MQ Compass Room GS Boulders with Just Hammer': {
'name' : 'logic_deku_mq_compass_gs',
'tags' : ("Deku Tree MQ", "Gold Skulltulas", "Master Quest", "Adult",),
'tooltip' : '''\
Climb to the top of the vines, then let go
and jump slash immediately to destroy the
boulders using the Hammer, without needing
to spawn a Song of Time block.
'''},
'Deku Tree MQ Roll Under the Spiked Log': {
'name' : 'logic_deku_mq_log',
'tags' : ("Deku Tree MQ", "Master Quest", "Child", "Adult",),
'tooltip' : '''\
You can get past the spiked log by rolling
to briefly shrink your hitbox. As adult,
the timing is a bit more precise.
'''},
'Dodongo\'s Cavern Scarecrow GS with Armos Statue': {
'name' : 'logic_dc_scarecrow_gs',
'tags' : ("Dodongo's Cavern", "Gold Skulltulas", "Vanilla Dungeons", "Child", "Adult",),
'tooltip' : '''\
You can jump off an Armos Statue to reach the
alcove with the Gold Skulltula. It takes quite
a long time to pull the statue the entire way.
The jump to the alcove can be a bit picky when
done as child.
'''},
'Dodongo\'s Cavern Vines GS from Below with Longshot': {
'name' : 'logic_dc_vines_gs',
'tags' : ("Dodongo's Cavern", "Gold Skulltulas", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
The vines upon which this Skulltula rests are one-
sided collision. You can use the Longshot to get it
from below, by shooting it through the vines,
bypassing the need to lower the staircase.
'''},
'Dodongo\'s Cavern Staircase with Bow': {
'name' : 'logic_dc_staircase',
'tags' : ("Dodongo's Cavern", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
The Bow can be used to knock down the stairs
with two well-timed shots.
'''},
'Dodongo\'s Cavern Child Slingshot Skips': {
'name' : 'logic_dc_slingshot_skip',
'tags' : ("Dodongo's Cavern", "Vanilla Dungeons", "Child",),
'tooltip' : '''\
With precise platforming, child can cross the
platforms while the flame circles are there.
When enabling this trick, it's recommended that
you also enable the Adult variant: "Dodongo's
Cavern Spike Trap Room Jump without Hover Boots".
'''},
'Dodongo\'s Cavern Two Scrub Room with Strength': {
'name' : 'logic_dc_scrub_room',
'tags' : ("Dodongo's Cavern", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
With help from a conveniently-positioned block,
Adult can quickly carry a bomb flower over to
destroy the mud wall blocking the room with two
Deku Scrubs.
'''},
'Dodongo\'s Cavern Spike Trap Room Jump without Hover Boots': {
'name' : 'logic_dc_jump',
'tags' : ("Dodongo's Cavern", "Dodongo's Cavern MQ", "Master Quest", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
The jump is adult Link only. Applies to both Vanilla and MQ.
'''},
'Dodongo\'s Cavern Smash the Boss Lobby Floor': {
'name' : 'logic_dc_hammer_floor',
'tags' : ("Dodongo's Cavern", "Dodongo's Cavern MQ", "Entrance Shuffle", "Master Quest", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
The bombable floor before King Dodongo can be destroyed
with Hammer if hit in the very center. This is only
relevant with Shuffle Boss Entrances or if Dodongo's Cavern
is MQ and either variant of "Dodongo's Cavern MQ Light the
Eyes with Strength" is on.
'''},
'Dodongo\'s Cavern MQ Early Bomb Bag Area as Child': {
'name' : 'logic_dc_mq_child_bombs',
'tags' : ("Dodongo's Cavern MQ", "Master Quest", "Child",),
'tooltip' : '''\
With a precise jump slash from above, you
can reach the Bomb Bag area as only child
without needing a Slingshot. You will
take fall damage.
'''},
'Dodongo\'s Cavern MQ Light the Eyes with Strength as Child': {
'name' : 'logic_dc_mq_eyes_child',
'tags' : ("Dodongo's Cavern MQ", "Master Quest", "Child",),
'tooltip' : '''\
If you move very quickly, it is possible to use
the bomb flower at the top of the room to light
the eyes. To perform this trick as child is
significantly more difficult than adult. The
player is also expected to complete the DC back
area without explosives, including getting past
the Armos wall to the switch for the boss door.
'''},
'Dodongo\'s Cavern MQ Light the Eyes with Strength as Adult': {
'name' : 'logic_dc_mq_eyes_adult',
'tags' : ("Dodongo's Cavern MQ", "Master Quest", "Adult",),
'tooltip' : '''\
If you move very quickly, it is possible to use
the bomb flower at the top of the room to light
the eyes.
'''},
'Jabu Underwater Alcove as Adult with Jump Dive': {
'name' : 'logic_jabu_alcove_jump_dive',
'tags' : ("Jabu Jabu's Belly", "Jabu Jabu's Belly MQ", "Entrance Shuffle", "Master Quest", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
Standing above the underwater tunnel leading to the scrub,
jump down and swim through the tunnel. This allows adult to
access the alcove with no Scale or Iron Boots. In vanilla Jabu,
this alcove has a business scrub. In MQ Jabu, it has the compass
chest and a door switch for the main floor.
'''},
'Jabu Near Boss Room with Hover Boots': {
'name' : 'logic_jabu_boss_hover',
'tags' : ("Jabu Jabu's Belly", "Gold Skulltulas", "Entrance Shuffle", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
A box for the blue switch can be carried over
by backwalking with one while the elevator is
at its peak. Alternatively, you can skip
transporting a box by quickly rolling from the
switch and opening the door before it closes.
However, the timing for this is very tight.
'''},
'Jabu Near Boss Ceiling Switch/GS without Boomerang or Explosives': {
'name' : 'logic_jabu_near_boss_ranged',
'tags' : ("Jabu Jabu's Belly", "Jabu Jabu's Belly MQ", "Gold Skulltulas", "Entrance Shuffle", "Master Quest", "Vanilla Dungeons", "Child", "Adult",),
'tooltip' : '''\
Vanilla Jabu: From near the entrance into the room, you can
hit the switch that opens the door to the boss room using a
precisely-aimed use of the Slingshot, Bow, or Longshot. As well,
if you climb to the top of the vines you can stand on the right
edge of the platform and shoot around the glass. From this
distance, even the Hookshot can reach the switch. This trick is
only relevant if "Shuffle Boss Entrances" is enabled.
MQ Jabu: A Gold Skulltula Token can be collected with the
Hookshot or Longshot using the same methods as hitting the switch
in vanilla. This trick is usually only relevant if Jabu dungeon
shortcuts are enabled.
'''},
'Jabu Near Boss Ceiling Switch with Explosives': {
'name' : 'logic_jabu_near_boss_explosives',
'tags' : ("Jabu Jabu's Belly", "Entrance Shuffle", "Vanilla Dungeons", "Child", "Adult",),
'tooltip' : '''\
You can hit the switch that opens the door to the boss
room using a precisely-aimed Bombchu. Also, using the
Hover Boots, adult can throw a Bomb at the switch. This
trick is only relevant if "Shuffle Boss Entrances" is
enabled.
'''},
'Jabu MQ without Lens of Truth': {
'name' : 'logic_lens_jabu_mq',
'tags' : ("Lens of Truth", "Jabu Jabu's Belly MQ", "Master Quest", "Child", "Adult",),
'tooltip' : '''\
Removes the requirements for the Lens of Truth
in Jabu MQ.
'''},
'Jabu MQ Compass Chest with Boomerang': {
'name' : 'logic_jabu_mq_rang_jump',
'tags' : ("Jabu Jabu's Belly MQ", "Master Quest", "Child",),
'tooltip' : '''\
Boomerang can reach the cow switch to spawn the chest by
targeting the cow, jumping off of the ledge where the
chest spawns, and throwing the Boomerang in midair. This
is only relevant with Jabu Jabu's Belly dungeon shortcuts
enabled.
'''},
'Jabu MQ Song of Time Block GS with Boomerang': {
'name' : 'logic_jabu_mq_sot_gs',
'tags' : ("Jabu Jabu's Belly MQ", "Gold Skulltulas", "Master Quest", "Child",),
'tooltip' : '''\
Allow the Boomerang to return to you through
the Song of Time block to grab the token.
'''},
'Bottom of the Well without Lens of Truth': {
'name' : 'logic_lens_botw',
'tags' : ("Lens of Truth", "Bottom of the Well", "Vanilla Dungeons", "Child",),
'tooltip' : '''\
Removes the requirements for the Lens of Truth
in Bottom of the Well.
'''},
'Child Dead Hand without Kokiri Sword': {
'name' : 'logic_child_deadhand',
'tags' : ("Bottom of the Well", "Bottom of the Well MQ", "Vanilla Dungeons", "Master Quest", "Child",),
'tooltip' : '''\
Requires 9 sticks or 5 jump slashes.
'''},
'Bottom of the Well Map Chest with Strength & Sticks': {
'name' : 'logic_botw_basement',
'tags' : ("Bottom of the Well", "Vanilla Dungeons", "Child",),
'tooltip' : '''\
The chest in the basement can be reached with
strength by doing a jump slash with a lit
stick to access the bomb flowers.
'''},
'Bottom of the Well MQ Jump Over the Pits': {
'name' : 'logic_botw_mq_pits',
'tags' : ("Bottom of the Well MQ", "Master Quest", "Child",),
'tooltip' : '''\
While the pits in Bottom of the Well don't allow you to
jump just by running straight at them, you can still get
over them by side-hopping or backflipping across. With
explosives, this allows you to access the central areas
without Zelda's Lullaby. With Zelda's Lullaby, it allows
you to access the west inner room without explosives.
'''},
'Bottom of the Well MQ Dead Hand Freestanding Key with Boomerang': {
'name' : 'logic_botw_mq_dead_hand_key',
'tags' : ("Bottom of the Well MQ", "Master Quest", "Child",),
'tooltip' : '''\
Boomerang can fish the item out of the rubble without
needing explosives to blow it up.
'''},
'Forest Temple First Room GS with Difficult-to-Use Weapons': {
'name' : 'logic_forest_first_gs',
'tags' : ("Forest Temple", "Entrance Shuffle", "Gold Skulltulas", "Vanilla Dungeons", "Child", "Adult",),
'tooltip' : '''\
Allows killing this Skulltula with Sword or Sticks by
jump slashing it as you let go from the vines. You can
avoid taking fall damage by recoiling onto the tree.
Also allows killing it as Child with a Bomb throw. It's
much more difficult to use a Bomb as child due to
Child Link's shorter height.
'''},
'Forest Temple East Courtyard GS with Boomerang': {
'name' : 'logic_forest_outdoor_east_gs',
'tags' : ("Forest Temple", "Entrance Shuffle", "Gold Skulltulas", "Vanilla Dungeons", "Child",),
'tooltip' : '''\
Precise Boomerang throws can allow child to
kill the Skulltula and collect the token.
'''},
'Forest Temple East Courtyard Vines with Hookshot': {
'name' : 'logic_forest_vines',
'tags' : ("Forest Temple", "Forest Temple MQ", "Master Quest", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
The vines in Forest Temple leading to where the well
drain switch is in the standard form can be barely
reached with just the Hookshot. Applies to MQ also.
'''},
'Forest Temple NE Outdoors Ledge with Hover Boots': {
'name' : 'logic_forest_outdoors_ledge',
'tags' : ("Forest Temple", "Forest Temple MQ", "Entrance Shuffle", "Master Quest", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
With precise Hover Boots movement you can fall down
to this ledge from upper balconies. If done precisely
enough, it is not necessary to take fall damage.
In MQ, this skips a Longshot requirement.
In Vanilla, this can skip a Hookshot requirement in
entrance randomizer.
'''},
'Forest Temple East Courtyard Door Frame with Hover Boots': {
'name' : 'logic_forest_door_frame',
'tags' : ("Forest Temple", "Forest Temple MQ", "Master Quest", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
A precise Hover Boots movement from the upper
balconies in this courtyard can be used to get on
top of the door frame. Applies to both Vanilla and
Master Quest. In Vanilla, from on top the door
frame you can summon Pierre, allowing you to access
the falling ceiling room early. In Master Quest,
this allows you to obtain the GS on the door frame
as adult without Hookshot or Song of Time.
'''},
'Forest Temple Outside Backdoor with Jump Slash': {
'name' : 'logic_forest_outside_backdoor',
'tags' : ("Forest Temple", "Forest Temple MQ", "Master Quest", "Vanilla Dungeons", "Child", "Adult",),
'tooltip' : '''\
A jump slash recoil can be used to reach the
ledge in the block puzzle room that leads to
the west courtyard. This skips a potential
Hover Boots requirement in vanilla, and it
can sometimes apply in MQ as well. This trick
can be performed as both ages.
'''},
'Swim Through Forest Temple MQ Well with Hookshot': {
'name' : 'logic_forest_well_swim',
'tags' : ("Forest Temple MQ", "Master Quest", "Adult",),
'tooltip' : '''\
Shoot the vines in the well as low and as far to
the right as possible, and then immediately swim
under the ceiling to the right. This can only be
required if Forest Temple is in its Master Quest
form.
'''},
'Skip Forest Temple MQ Block Puzzle with Bombchu': {
'name' : 'logic_forest_mq_block_puzzle',
'tags' : ("Forest Temple MQ", "Master Quest", "Child", "Adult",),
'tooltip' : '''\
Send the Bombchu straight up the center of the
wall directly to the left upon entering the room.
'''},
'Forest Temple MQ Twisted Hallway Switch with Jump Slash': {
'name' : 'logic_forest_mq_hallway_switch_jumpslash',
'tags' : ("Forest Temple MQ", "Master Quest", "Child", "Adult",),
'tooltip' : '''\
The switch to twist the hallway can be hit with
a jump slash through the glass block. To get in
front of the switch, either use the Hover Boots
or hit the shortcut switch at the top of the
room and jump from the glass blocks that spawn.
Sticks can be used as child, but the Kokiri
Sword is too short to reach through the glass.
'''},
#'Forest Temple MQ Twisted Hallway Switch with Hookshot': {
# 'name' : 'logic_forest_mq_hallway_switch_hookshot',
# 'tags' : ("Forest Temple MQ", "Master Quest", "Adult",),
# 'tooltip' : '''\
# There's a very small gap between the glass block
# and the wall. Through that gap you can hookshot
# the target on the ceiling.
# '''},
'Forest Temple MQ Twisted Hallway Switch with Boomerang': {
'name' : 'logic_forest_mq_hallway_switch_boomerang',
'tags' : ("Forest Temple MQ", "Entrance Shuffle", "Master Quest", "Child",),
'tooltip' : '''\
The Boomerang can return to Link through walls,
allowing child to hit the hallway switch. This
can be used to allow adult to pass through later,
or in conjuction with "Forest Temple Outside
Backdoor with Jump Slash".
'''},
'Fire Temple Boss Door without Hover Boots or Pillar': {
'name' : 'logic_fire_boss_door_jump',
'tags' : ("Fire Temple", "Fire Temple MQ", "Master Quest", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
The Fire Temple Boss Door can be reached as adult with a precise
jump. You must be touching the side wall of the room so
that Link will grab the ledge from farther away than
is normally possible.
'''},
'Fire Temple Song of Time Room GS without Song of Time': {
'name' : 'logic_fire_song_of_time',
'tags' : ("Fire Temple", "Gold Skulltulas", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
A precise jump can be used to reach this room.
'''},
'Fire Temple Climb without Strength': {
'name' : 'logic_fire_strength',
'tags' : ("Fire Temple", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
A precise jump can be used to skip
pushing the block.
'''},
'Fire Temple East Tower without Scarecrow\'s Song': {
'name' : 'logic_fire_scarecrow',
'tags' : ("Fire Temple", "Vanilla Dungeons", "Adult",),
'tooltip' : '''\
Also known as "Pixelshot".
The Longshot can reach the target on the elevator