Undertale: Doc updates and client bug fixes. (#1996)

This commit is contained in:
Mewlif
2023-07-22 01:38:21 -04:00
committed by GitHub
parent 191dcb505c
commit 889a4f4db9
8 changed files with 53 additions and 15 deletions

View File

@@ -47,13 +47,12 @@ class UndertaleWorld(World):
"""
game = "Undertale"
option_definitions = undertale_options
topology_present = True
web = UndertaleWeb()
item_name_to_id = {name: data.code for name, data in item_table.items()}
location_name_to_id = {name: data.id for name, data in advancement_table.items()}
data_version = 5
data_version = 6
def _get_undertale_data(self):
return {
@@ -107,9 +106,6 @@ class UndertaleWorld(World):
self.multiworld.push_precollected(self.create_item("ITEM"))
self.multiworld.push_precollected(self.create_item("FIGHT"))
self.multiworld.push_precollected(self.create_item("ACT"))
chosen_key_start = self.multiworld.per_slot_randoms[self.player].choice(["Ruins Key", "Snowdin Key", "Waterfall Key", "Hotland Key"])
self.multiworld.push_precollected(self.create_item(chosen_key_start))
itempool.remove(chosen_key_start)
self.multiworld.push_precollected(self.create_item("MERCY"))
if self.multiworld.route_required[self.player] == "genocide":
itempool = [item for item in itempool if item != "Popato Chisps" and item != "Stained Apron" and