Undertale for AP (#439)
Randomizes the items, and adds a new item to the pool, "Plot" which lets you go further and further in the game the more you have. Developers: WirTheAvali (Preferred name for professional use, mewlif)
This commit is contained in:
48
worlds/undertale/Regions.py
Normal file
48
worlds/undertale/Regions.py
Normal file
@@ -0,0 +1,48 @@
|
||||
from BaseClasses import MultiWorld
|
||||
|
||||
|
||||
def link_undertale_areas(world: MultiWorld, player: int):
|
||||
for (exit, region) in mandatory_connections:
|
||||
world.get_entrance(exit, player).connect(world.get_region(region, player))
|
||||
|
||||
|
||||
# (Region name, list of exits)
|
||||
undertale_regions = [
|
||||
("Menu", ["New Game", "??? Exit"]),
|
||||
("???", []),
|
||||
("Hub", ["Ruins Hub", "Snowdin Hub", "Waterfall Hub", "Hotland Hub", "Core Hub"]),
|
||||
("Ruins", ["Ruins Exit"]),
|
||||
("Old Home", []),
|
||||
("Snowdin Forest", ["Snowdin Forest Exit"]),
|
||||
("Snowdin Town", ["Papyrus\" Home Entrance"]),
|
||||
("Papyrus\" Home", []),
|
||||
("Waterfall", ["Undyne\"s Home Entrance"]),
|
||||
("Undyne\"s Home", []),
|
||||
("Hotland", ["Cooking Show Entrance", "Lab Elevator"]),
|
||||
("Cooking Show", ["News Show Entrance"]),
|
||||
("News Show", []),
|
||||
("True Lab", []),
|
||||
("Core", ["Core Exit"]),
|
||||
("New Home", ["New Home Exit"]),
|
||||
("Barrier", []),
|
||||
]
|
||||
|
||||
# (Entrance, region pointed to)
|
||||
mandatory_connections = [
|
||||
("??? Exit", "???"),
|
||||
("New Game", "Hub"),
|
||||
("Ruins Hub", "Ruins"),
|
||||
("Ruins Exit", "Old Home"),
|
||||
("Snowdin Forest Exit", "Snowdin Town"),
|
||||
("Papyrus\" Home Entrance", "Papyrus\" Home"),
|
||||
("Undyne\"s Home Entrance", "Undyne\"s Home"),
|
||||
("Cooking Show Entrance", "Cooking Show"),
|
||||
("News Show Entrance", "News Show"),
|
||||
("Lab Elevator", "True Lab"),
|
||||
("Core Exit", "New Home"),
|
||||
("New Home Exit", "Barrier"),
|
||||
("Snowdin Hub", "Snowdin Forest"),
|
||||
("Waterfall Hub", "Waterfall"),
|
||||
("Hotland Hub", "Hotland"),
|
||||
("Core Hub", "Core"),
|
||||
]
|
||||
Reference in New Issue
Block a user