Undertale: Fixes a major logic bug, and updates Undertale to use the new Options API (#3528)

* Updated the options definitions to the new api

* Fixed the wrong base class being used for UndertaleOptions

* Undertale: Added get_filler_item_name to Undertale, changed multiworld.per_slot_randoms to self.random, removed some unused imports in options.py, and fixed rules.py still using state.multiworld instead of world.options, and simplified the set_completion_rules function in rules.py

* Undertale: Fixed it trying to add strings to the finished item pool

* fixed 1000g item not being in the key items pool for Undertale

* Removed ".copy()" for the junk_weights, reformatted the requested lines to have less new lines, and changed "itempool += [self.create_filler()]" to "itempool.append(self.create_filler())"
This commit is contained in:
Mewlif
2024-06-21 12:21:46 -04:00
committed by GitHub
parent ce37bed7c6
commit 40c9dfd3bf
4 changed files with 136 additions and 118 deletions

View File

@@ -105,7 +105,6 @@ item_table = {
non_key_items = {
"Butterscotch Pie": 1,
"500G": 2,
"1000G": 2,
"Face Steak": 1,
"Snowman Piece": 1,
"Instant Noodles": 1,
@@ -147,6 +146,7 @@ plot_items = {
key_items = {
"Complete Skeleton": 1,
"Fish": 1,
"1000G": 2,
"DT Extractor": 1,
"Mettaton Plush": 1,
"Punch Card": 3,