TUNIC: Breakable Shuffle (#4489)

* Starting out

* Rules for breakable regions

* make the rest of it work, it's pr ready, boom

* Make it work in not pot shuffle

* Fix after merge

* Fix item id overlap

* Move breakable, grass, and local fill options in yaml

* Fix groups getting overwritten

* Rename, add new breakables

* Rename more stuff

* Time to rename them again

* Make it actually default for breakable shuffle

* Burn the signs down

* Fix west courtyard pot regions

* Fix fortress courtyard and beneath the fortress loc groups again

* More missing loc group conversions

* Replace instances of world.player with player, same for multiworld

* Update worlds/tunic/__init__.py

Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>

* Remove unused import
This commit is contained in:
Scipio Wright
2025-03-08 11:25:47 -05:00
committed by GitHub
parent ee9bcb84b7
commit 33a75fb2cb
8 changed files with 554 additions and 34 deletions

View File

@@ -1,5 +1,6 @@
from typing import Dict, NamedTuple, Set, Optional, List
from .grass import grass_location_table
from .breakables import breakable_location_table
class TunicLocationData(NamedTuple):
@@ -342,6 +343,7 @@ standard_location_name_to_id: Dict[str, int] = {name: location_base_id + index f
all_locations = location_table.copy()
all_locations.update(grass_location_table)
all_locations.update(breakable_location_table)
location_name_groups: Dict[str, Set[str]] = {}
for loc_name, loc_data in location_table.items():