Add tempered sword to progression items if logically required to beat the seed.
This is required for beatable only logic.
MODIFY
app/Randomizer.php
app/Randomizer.php
@@ -256,11 +256,16 @@ class Randomizer implements RandomizerContract
}
}
- // put 1 more sword back in
+ // put master sword back in
if (count($nice_items_swords)) {
array_push($advancement_items, array_pop($nice_items_swords));
}
+ // put tempered sword back in if logically required
+ if ($world->config('region.requireBetterSword', false) && count($nice_items_swords)) {
+ array_push($advancement_items, array_pop($nice_items_swords));
+ }
+
if (count($nice_items_swords)) {
if ($world->config('region.takeAnys', false)) {
array_pop($nice_items_swords);

Add tempered sword to progression items if logically required to beat the seed.
This is required for beatable only logic.