@@ -131,7 +131,9 @@ export function tallonOverworld(): RegionObject[] {
131
131
exits : {
132
132
'Hydro Access Tunnel' : ( items : PrimeItemCollection , settings : PrimeRandomizerSettings ) => {
133
133
const thermalReqs = settings . tricks . removeThermalReqs || items . has ( PrimeItem . THERMAL_VISOR ) ;
134
- return thermalReqs && items . has ( PrimeItem . GRAVITY_SUIT ) && items . has ( PrimeItem . WAVE_BEAM )
134
+ const gravityReqs = items . has ( PrimeItem . GRAVITY_SUIT ) || ( settings . tricks . hydroAccessTunnelWithoutGravity ) ;
135
+
136
+ return thermalReqs && gravityReqs && items . has ( PrimeItem . WAVE_BEAM )
135
137
&& items . has ( PrimeItem . SPACE_JUMP_BOOTS ) ;
136
138
} ,
137
139
'Cargo Freight Lift to Deck Gamma' : ( items : PrimeItemCollection ) => items . has ( PrimeItem . GRAVITY_SUIT ) && items . has ( PrimeItem . SPACE_JUMP_BOOTS )
@@ -140,11 +142,24 @@ export function tallonOverworld(): RegionObject[] {
140
142
{
141
143
name : 'Hydro Access Tunnel' ,
142
144
locations : {
143
- [ PrimeLocation . HYDRO_ACCESS_TUNNEL ] : ( items : PrimeItemCollection ) => items . canLayBombs ( ) && items . has ( PrimeItem . GRAVITY_SUIT )
145
+ [ PrimeLocation . HYDRO_ACCESS_TUNNEL ] : ( items : PrimeItemCollection , settings : PrimeRandomizerSettings ) => {
146
+ return ( items . canLayBombs ( ) && items . has ( PrimeItem . GRAVITY_SUIT ) )
147
+ || ( settings . tricks . hydroAccessTunnelWithoutGravity && items . canBoost ( ) ) ;
148
+ }
144
149
} ,
145
150
exits : {
146
- 'Great Tree Hall (Lower)' : ( items : PrimeItemCollection ) => items . canLayBombs ( ) && items . has ( PrimeItem . GRAVITY_SUIT ) && items . has ( PrimeItem . ICE_BEAM ) ,
147
- 'Biohazard Containment' : ( items : PrimeItemCollection ) => items . canLayBombs ( ) && items . has ( PrimeItem . GRAVITY_SUIT ) && items . has ( PrimeItem . SPACE_JUMP_BOOTS )
151
+ 'Great Tree Hall (Lower)' : ( items : PrimeItemCollection , settings : PrimeRandomizerSettings ) => {
152
+ const gravityReqs = ( items . canLayBombs ( ) && items . has ( PrimeItem . GRAVITY_SUIT ) )
153
+ || ( settings . tricks . hydroAccessTunnelWithoutGravity && items . canBoost ( ) ) ;
154
+
155
+ return gravityReqs && items . has ( PrimeItem . ICE_BEAM ) ;
156
+ } ,
157
+ 'Biohazard Containment' : ( items : PrimeItemCollection , settings : PrimeRandomizerSettings ) => {
158
+ const gravityReqs = ( items . canLayBombs ( ) && items . has ( PrimeItem . GRAVITY_SUIT ) )
159
+ || ( settings . tricks . hydroAccessTunnelWithoutGravity && items . canBoost ( ) ) ;
160
+
161
+ return gravityReqs && items . has ( PrimeItem . SPACE_JUMP_BOOTS ) ;
162
+ }
148
163
}
149
164
} ,
150
165
{
@@ -166,7 +181,8 @@ export function tallonOverworld(): RegionObject[] {
166
181
name : 'Great Tree Hall (Lower)' ,
167
182
exits : {
168
183
'Hydro Access Tunnel' : ( items : PrimeItemCollection , settings : PrimeRandomizerSettings ) => {
169
- const baseReqs = items . has ( PrimeItem . ICE_BEAM ) && items . has ( PrimeItem . GRAVITY_SUIT ) ;
184
+ const gravityReqs = items . has ( PrimeItem . GRAVITY_SUIT ) || settings . tricks . hydroAccessTunnelWithoutGravity ;
185
+ const baseReqs = gravityReqs && items . has ( PrimeItem . ICE_BEAM ) ;
170
186
171
187
if ( settings . pointOfNoReturnItems === PointOfNoReturnItems . ALLOW_ALL ) {
172
188
return baseReqs ;
0 commit comments