Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undertale for AP #439

Merged
merged 159 commits into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from 117 commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
21a74fb
Added undertale world files
jonloveslegos Apr 7, 2022
10575de
Tried to fix generation
jonloveslegos Apr 7, 2022
3f187ea
Fixed generation of Undertale
jonloveslegos Apr 7, 2022
05cba6b
added Undertale Client
jonloveslegos Apr 8, 2022
e9c09bc
Finished making everything
jonloveslegos Apr 10, 2022
be0eb96
fixed an item being in the wrong location
jonloveslegos Apr 10, 2022
0406681
Merge branch 'main' into UndertaleAP
jonloveslegos Apr 10, 2022
2232b89
Fixed having same item ids as another game
jonloveslegos Apr 10, 2022
7709fb7
Merge branch 'UndertaleAP' of https://github.com/jonloveslegos/Archip…
jonloveslegos Apr 10, 2022
0570415
Merge branch 'main' into UndertaleAP
jonloveslegos Apr 10, 2022
da6bdec
Fixed some duplicate item ids and removed a connection that might cau…
jonloveslegos Apr 10, 2022
9882837
Merge branch 'main' into UndertaleAP
jonloveslegos Apr 10, 2022
675d1e2
Added partially automatic patching of Undertale
jonloveslegos Apr 10, 2022
98238e0
Merge branch 'UndertaleAP' of https://github.com/jonloveslegos/Archip…
jonloveslegos Apr 10, 2022
ba487ce
fixed not building the client
jonloveslegos Apr 10, 2022
24f8dff
Made changes to Undertale AP
jonloveslegos Apr 14, 2022
41a6feb
Added an option to remove Temy Armor from the Undertale pool
jonloveslegos Apr 16, 2022
a34cf9f
updated the undertale patch
jonloveslegos Apr 16, 2022
3661e06
Added the setups folder to gitignore
jonloveslegos Apr 16, 2022
c4f2ea3
Merge branch 'main' into UndertaleAP
jonloveslegos Apr 17, 2022
8d7d3bc
updated the undertale patch
jonloveslegos Apr 17, 2022
85c65f0
Merge branch 'UndertaleAP' of https://github.com/jonloveslegos/Archip…
jonloveslegos Apr 17, 2022
a4a5d12
Made the plot be location based items
jonloveslegos May 23, 2022
90f0b55
Fixed items that have a negative id
jonloveslegos May 23, 2022
29a0a47
Merge branch 'main' into UndertaleAP
jonloveslegos May 23, 2022
a22927b
Made changes and additions to Undertale
jonloveslegos May 24, 2022
7023d31
Added features to Undertale
jonloveslegos May 25, 2022
4fd620e
Added Soul Hunt to Undertale
jonloveslegos May 26, 2022
d4ee00f
Fixed the Undertale rules
jonloveslegos May 26, 2022
4eecd40
Fixed another bug
jonloveslegos May 26, 2022
4182039
Forgot to fix this Undertale
jonloveslegos May 26, 2022
556ac23
Merge branch 'main' into UndertaleAP
jonloveslegos May 26, 2022
3226040
Added missing client variables
jonloveslegos May 26, 2022
a2882cd
Made UndertaleClient not have copies of CommonClient
jonloveslegos May 26, 2022
19aa098
fixed hotland logic rules for Undertale
jonloveslegos May 28, 2022
71c4ffb
Merge branch 'main' into UndertaleAP
jonloveslegos Jun 17, 2022
baaf421
Added deathlink
jonloveslegos Jun 17, 2022
56b0138
Fixed some stuff with deathlink
jonloveslegos Jun 18, 2022
8b2473e
Updated the Undertale patch
jonloveslegos Jun 18, 2022
b1c47a4
Merge branch 'main' into UndertaleAP
jonloveslegos Jun 18, 2022
fb12110
Fixed deathlink and local items
jonloveslegos Jun 19, 2022
ba3d932
Fixed deathlink again in undertale
jonloveslegos Jun 19, 2022
b897447
Fixed a permission error bug with opening files
jonloveslegos Jun 19, 2022
f2f4ee5
Made online mode and deathlink a toggle command
jonloveslegos Jun 20, 2022
6e47707
Merge branch 'main' into UndertaleAP
jonloveslegos Jul 2, 2022
ad4a507
Merge branch 'main' into UndertaleAP
jonloveslegos Jul 6, 2022
bf429d3
Added Progressive Plot to undertale
jonloveslegos Jul 6, 2022
643eb96
Updated the patch for Undertale
jonloveslegos Jul 6, 2022
d5d0e33
Added LV rando to Undertale
jonloveslegos Jul 13, 2022
e6644c6
hopefully made Undertale online mode more stable
jonloveslegos Jul 13, 2022
e64221b
Fixed LOVE rando not actually getting told to Undertale
jonloveslegos Jul 13, 2022
1052c73
Added a secret feature to Undertale
jonloveslegos Jul 13, 2022
4c66e4d
Merge branch 'main' into UndertaleAP
jonloveslegos Jul 13, 2022
d661947
Added locations for Undertale plot
jonloveslegos Jul 17, 2022
7372164
Merge branch 'main' into UndertaleAP
jonloveslegos Jul 17, 2022
5d6f667
Added All Routes setting to Undertale
jonloveslegos Jul 18, 2022
84bcd14
Fixed Undertale rules
jonloveslegos Jul 19, 2022
7c433dc
Added Area rando to Undertale AP
jonloveslegos Jul 23, 2022
f689801
Merge branch 'main' into UndertaleAP
jonloveslegos Jul 25, 2022
0a21cf9
Fixed a crash in Undertale with starting a new save from nothing
jonloveslegos Jul 25, 2022
6e5defb
Merge branch 'main' into UndertaleAP
jonloveslegos Jul 25, 2022
8db79b9
Added stats rando
jonloveslegos Jul 27, 2022
70af73e
Almost fixed Undertale generation
jonloveslegos Jul 27, 2022
5598212
Fixed Undertale Stat Rando
jonloveslegos Jul 28, 2022
0032d7f
Fixed one thing with undertale stat rando
jonloveslegos Jul 28, 2022
f74f236
Merge branch 'main' into UndertaleAP
jonloveslegos Jul 29, 2022
6cb8627
Added progressive weapons and armor to Undertale
jonloveslegos Jul 30, 2022
4a7cd63
Made progressive plot change based on area
jonloveslegos Jul 31, 2022
a66ccec
Undertale: Updated the patch
jonloveslegos Jul 31, 2022
9a43e3e
Fixed some things with the Undertale Client
jonloveslegos Jul 31, 2022
514cc03
Fixed a bunch of stuff with Undertale
jonloveslegos Aug 3, 2022
c35c48f
attempt at fix
jonloveslegos Aug 4, 2022
003a0a9
True Fix Undertale
jonloveslegos Aug 4, 2022
0fb8203
Wow, fixed Undertale
jonloveslegos Aug 4, 2022
8adb504
Fixed stuff with Undertale, and made some items marked as useful
jonloveslegos Aug 5, 2022
b12b537
Updated the patch for Undertale
jonloveslegos Aug 5, 2022
6013513
Fixed some stuff with Undertale ap
jonloveslegos Aug 6, 2022
0ffaf42
Finally made Undertale have an auto patch feature
jonloveslegos Aug 6, 2022
6c395ed
Added docs to Undertale
jonloveslegos Aug 6, 2022
d8d7e1b
Fixed something with the auto patching of undertale
jonloveslegos Aug 6, 2022
e15b9b2
Actually got the docs right for Undertale
jonloveslegos Aug 6, 2022
dcf6e5c
Fixed the Docs for Undertale
jonloveslegos Aug 6, 2022
9af53ad
Merge branch 'main' into UndertaleAP
jonloveslegos Aug 6, 2022
4b5cf5d
Changed gold amount
jonloveslegos Aug 9, 2022
6aee83b
Fixed data_version for Undertale
jonloveslegos Aug 9, 2022
04cb867
Merge branch 'main' into UndertaleAP
jonloveslegos Aug 10, 2022
27af3b8
Merge branch 'main' into UndertaleAP
jonloveslegos Aug 12, 2022
59d9e7f
Fixed some stuff with Undertale
jonloveslegos Aug 13, 2022
5459532
Fixed some Undertale stuff
jonloveslegos Aug 18, 2022
98c1230
Merge branch 'main' into UndertaleAP
jonloveslegos Aug 18, 2022
18a2808
Fixed the Undertale init.py file
jonloveslegos Aug 18, 2022
bfa1f99
Merge branch 'main' into UndertaleAP
jonloveslegos Aug 19, 2022
6377236
Fixed some generation errors with Undertale
jonloveslegos Aug 19, 2022
e94cb98
Fixed the Undertale Client freezing
jonloveslegos Aug 20, 2022
feb9569
Merge branch 'main' into UndertaleAP
jonloveslegos Aug 22, 2022
45daf5c
Made the auto patcher create the Custom Sprites folder
jonloveslegos Aug 25, 2022
390a4f0
Merge branch 'main' into UndertaleAP
jonloveslegos Sep 7, 2022
2c3f1ab
Updated Undertale
jonloveslegos Sep 7, 2022
0f99b36
Merge branch 'main' into UndertaleAP
jonloveslegos Sep 13, 2022
481822d
Fixed Undertale bugs
jonloveslegos Sep 13, 2022
cc5dd8b
Merge branch 'main' into UndertaleAP
jonloveslegos Sep 28, 2022
898ad4e
Made some changes to UndertaleClient
jonloveslegos Sep 28, 2022
7d3c632
Merge branch 'main' into UndertaleAP
jonloveslegos Oct 26, 2022
31cd305
Fixed some stuff
jonloveslegos Oct 26, 2022
0543b31
Fixed some Undertale bugs
jonloveslegos Oct 26, 2022
f5523d5
Merge branch 'main' into UndertaleAP
jonloveslegos Dec 15, 2022
19e9f52
Fixed Undertale AP bugs
jonloveslegos Dec 15, 2022
384e601
Final changes
jonloveslegos Dec 17, 2022
c778bbd
Changed docs some, and fixed a bug with photoshop flowey
jonloveslegos Dec 17, 2022
dd90c3c
Merge branch 'main' into UndertaleAP
jonloveslegos Dec 17, 2022
f91b0f1
Some more fixes
jonloveslegos Dec 17, 2022
0c3800a
Merge branch 'main' into UndertaleAP
jonloveslegos Dec 17, 2022
d5ddea2
Made a change to a line in UT docs
jonloveslegos Dec 17, 2022
e8768aa
Forgot to fix the data version
jonloveslegos Dec 18, 2022
37b42dc
Merge branch 'main' into UndertaleAP
jonloveslegos Dec 18, 2022
e0ab182
Fixed some Undertale bugs
jonloveslegos Dec 27, 2022
c6bbbfc
Merge branch 'main' into UndertaleAP
jonloveslegos Dec 27, 2022
74ee3af
Made requested changes
jonloveslegos Jan 2, 2023
11f78c1
Fixed it
jonloveslegos Jan 2, 2023
6086855
Merge branch 'main' into UndertaleAP
jonloveslegos Jan 2, 2023
da02406
Merge branch 'main' into UndertaleAP
jonloveslegos Jan 5, 2023
0de54e8
Merge branch 'main' into UndertaleAP
jonloveslegos Jan 8, 2023
98164dc
Merge branch 'main' into UndertaleAP
jonloveslegos Feb 14, 2023
55b8f78
Fixed broken stuff
jonloveslegos Feb 14, 2023
ca90d19
Merge branch 'main' into UndertaleAP
Berserker66 Feb 17, 2023
2fac1fa
Merge branch 'main' into UndertaleAP
jonloveslegos Feb 22, 2023
282879b
Fixed pacifist route
jonloveslegos Feb 23, 2023
a17760d
Fixed player hitbox
jonloveslegos Feb 24, 2023
71bf787
Fixed some stuff with clearing files
jonloveslegos Feb 26, 2023
4917ce1
Merge branch 'main' into UndertaleAP
jonloveslegos Feb 28, 2023
195b0c5
Fully made Undertale work as an apworld file
jonloveslegos Feb 28, 2023
3442a4f
Merge branch 'UndertaleAP' of https://github.com/jonloveslegos/Archip…
jonloveslegos Feb 28, 2023
46f42bf
Actually fixed undertale client
jonloveslegos Mar 1, 2023
6e59551
Merge branch 'main' into UndertaleAP
jonloveslegos Mar 5, 2023
e70d22a
Merge branch 'main' into UndertaleAP
jonloveslegos Mar 5, 2023
db5d129
Forgot to update the patch
jonloveslegos Mar 7, 2023
fed03be
fixed some stuff
jonloveslegos Mar 8, 2023
59c6f35
Actually updated the patch
jonloveslegos Mar 8, 2023
2c527c2
Merge branch 'main' into UndertaleAP
Berserker66 Mar 10, 2023
2698d87
Made suggested changes
jonloveslegos Mar 12, 2023
71bce4d
Merge branch 'main' into UndertaleAP
jonloveslegos Mar 12, 2023
251983c
Merge branch 'main' into UndertaleAP
jonloveslegos Mar 13, 2023
4e50f9e
Merge branch 'main' into UndertaleAP
jonloveslegos Mar 15, 2023
03a339c
Merge branch 'main' into UndertaleAP
jonloveslegos Mar 17, 2023
3f00bed
Quality of life change
jonloveslegos Mar 19, 2023
bdae1d8
Merge branch 'main' into UndertaleAP
jonloveslegos Apr 6, 2023
43fd6dd
Updated the Undertale Client launcher component to use the new method
jonloveslegos Apr 6, 2023
06537c3
Merge branch 'main' into UndertaleAP
Berserker66 Apr 8, 2023
559dc8e
Merge branch 'main' into UndertaleAP
jonloveslegos Apr 14, 2023
d6c46ac
Made requested changes, and removed unused install argument
jonloveslegos Apr 14, 2023
d04c47b
Missed two lines with the removal of the unused install argument
jonloveslegos Apr 14, 2023
c0e2ab6
Merge branch 'main' into UndertaleAP
jonloveslegos Apr 14, 2023
4dd6c89
Merge branch 'main' into UndertaleAP
jonloveslegos Apr 15, 2023
573ca5f
Merge branch 'main' into UndertaleAP
jonloveslegos Apr 16, 2023
e8d01b3
Merge branch 'main' into UndertaleAP
jonloveslegos May 31, 2023
edb5d99
Merge branch 'main' into UndertaleAP
jonloveslegos Jun 20, 2023
4022c39
Merge branch 'main' into UndertaleAP
jonloveslegos Jun 26, 2023
e285eeb
Added a new option, made the different areas all connect to the initi…
jonloveslegos Jun 26, 2023
bfbc2ab
Merge branch 'main' into UndertaleAP
Berserker66 Jun 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
*.archipelago
*.apsave

setups
build
bundle/components.wxs
dist
Expand Down Expand Up @@ -170,6 +171,9 @@ minecraft_versions.json
# pyenv
.python-version

#undertale stuff
/Undertale/

# OS General Files
.DS_Store
.AppleDouble
Expand Down
2 changes: 2 additions & 0 deletions Launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ def handles_file(self, path: str):
Component('Pokemon Client', 'PokemonClient', file_identifier=SuffixIdentifier('.apred', '.apblue')),
# ChecksFinder
Component('ChecksFinder Client', 'ChecksFinderClient'),
# Undertale
Component('Undertale Client', 'UndertaleClient'),
# Starcraft 2
Component('Starcraft 2 Client', 'Starcraft2Client'),
# Zillion
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Currently, the following games are supported:
* Overcooked! 2
* Zillion
* Lufia II Ancient Cave
* Undertale

For setup and instructions check out our [tutorials page](https://archipelago.gg/tutorial/).
Downloads can be found at [Releases](https://github.com/ArchipelagoMW/Archipelago/releases), including compiled
Expand Down
570 changes: 570 additions & 0 deletions UndertaleClient.py

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions inno_setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Name: "client/pkmn/blue"; Description: "Pokemon Client - Pokemon Blue Setup"; Ty
Name: "client/cf"; Description: "ChecksFinder"; Types: full playing
Name: "client/sc2"; Description: "Starcraft 2"; Types: full playing
Name: "client/zl"; Description: "Zillion"; Types: full playing
Name: "client/ut"; Description: "Undertale"; Types: full playing
Name: "client/text"; Description: "Text, to !command and chat"; Types: full playing

[Dirs]
Expand Down Expand Up @@ -115,6 +116,7 @@ Source: "{#source_path}\ArchipelagoFF1Client.exe"; DestDir: "{app}"; Flags: igno
Source: "{#source_path}\ArchipelagoPokemonClient.exe"; DestDir: "{app}"; Flags: ignoreversion; Components: client/pkmn
Source: "{#source_path}\ArchipelagoChecksFinderClient.exe"; DestDir: "{app}"; Flags: ignoreversion; Components: client/cf
Source: "{#source_path}\ArchipelagoStarcraft2Client.exe"; DestDir: "{app}"; Flags: ignoreversion; Components: client/sc2
Source: "{#source_path}\ArchipelagoUndertaleClient.exe"; DestDir: "{app}"; Flags: ignoreversion; Components: client/ut
Source: "vc_redist.x64.exe"; DestDir: {tmp}; Flags: deleteafterinstall

[Icons]
Expand All @@ -130,6 +132,7 @@ Name: "{group}\{#MyAppName} Final Fantasy 1 Client"; Filename: "{app}\Archipelag
Name: "{group}\{#MyAppName} Pokemon Client"; Filename: "{app}\ArchipelagoPokemonClient.exe"; Components: client/pkmn
Name: "{group}\{#MyAppName} ChecksFinder Client"; Filename: "{app}\ArchipelagoChecksFinderClient.exe"; Components: client/cf
Name: "{group}\{#MyAppName} Starcraft 2 Client"; Filename: "{app}\ArchipelagoStarcraft2Client.exe"; Components: client/sc2
Name: "{group}\{#MyAppName} Undertale Client"; Filename: "{app}\ArchipelagoUndertaleClient.exe"; Components: client/ut

Name: "{commondesktop}\{#MyAppName} Folder"; Filename: "{app}"; Tasks: desktopicon
Name: "{commondesktop}\{#MyAppName} Server"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon; Components: server
Expand All @@ -142,6 +145,7 @@ Name: "{commondesktop}\{#MyAppName} Final Fantasy 1 Client"; Filename: "{app}\Ar
Name: "{commondesktop}\{#MyAppName} Pokemon Client"; Filename: "{app}\ArchipelagoPokemonClient.exe"; Tasks: desktopicon; Components: client/pkmn
Name: "{commondesktop}\{#MyAppName} ChecksFinder Client"; Filename: "{app}\ArchipelagoChecksFinderClient.exe"; Tasks: desktopicon; Components: client/cf
Name: "{commondesktop}\{#MyAppName} Starcraft 2 Client"; Filename: "{app}\ArchipelagoStarcraft2Client.exe"; Tasks: desktopicon; Components: client/sc2
Name: "{commondesktop}\{#MyAppName} Undertale Client"; Filename: "{app}\ArchipelagoUndertaleClient.exe"; Tasks: desktopicon; Components: client/ut

[Run]

Expand Down
249 changes: 249 additions & 0 deletions worlds/undertale/Items.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
from BaseClasses import Item
import typing
from BaseClasses import ItemClassification


class ItemData(typing.NamedTuple):
code: typing.Optional[int]
classification: any


class UndertaleItem(Item):
game: str = "Undertale"



item_table = {
"Progressive Plot": ItemData(77700, ItemClassification.progression),
"Progressive Weapons": ItemData(77701, ItemClassification.useful),
"Progressive Armor": ItemData(77702, ItemClassification.useful),
"Monster Candy": ItemData(77001, ItemClassification.filler),
"Croquet Roll": ItemData(77002, ItemClassification.filler),
"Stick": ItemData(77003, ItemClassification.useful),
"Bandage": ItemData(77004, ItemClassification.useful),
"Rock Candy": ItemData(77005, ItemClassification.filler),
"Pumpkin Rings": ItemData(77006, ItemClassification.filler),
"Spider Donut": ItemData(77007, ItemClassification.filler),
"Stoic Onion": ItemData(77008, ItemClassification.filler),
"Ghost Fruit": ItemData(77009, ItemClassification.filler),
"Spider Cider": ItemData(77010, ItemClassification.filler),
"Butterscotch Pie": ItemData(77011, ItemClassification.useful),
"Faded Ribbon": ItemData(77012, ItemClassification.useful),
"Toy Knife": ItemData(77013, ItemClassification.useful),
"Tough Glove": ItemData(77014, ItemClassification.useful),
"Manly Bandanna": ItemData(77015, ItemClassification.useful),
"Snowman Piece": ItemData(77016, ItemClassification.useful),
"Nice Cream": ItemData(77017, ItemClassification.filler),
"Puppydough Icecream": ItemData(77018, ItemClassification.filler),
"Bisicle": ItemData(77019, ItemClassification.filler),
"Unisicle": ItemData(77020, ItemClassification.filler),
"Cinnamon Bun": ItemData(77021, ItemClassification.filler),
"Temmie Flakes": ItemData(77022, ItemClassification.filler),
"Abandoned Quiche": ItemData(77023, ItemClassification.filler),
"Old Tutu": ItemData(77024, ItemClassification.useful),
"Ballet Shoes": ItemData(77025, ItemClassification.useful),
"Punch Card": ItemData(77026, ItemClassification.progression),
"Annoying Dog": ItemData(77027, ItemClassification.filler),
"Dog Salad": ItemData(77028, ItemClassification.filler),
"Dog Residue": ItemData(77029, ItemClassification.filler),
"Astronaut Food": ItemData(77035, ItemClassification.filler),
"Instant Noodles": ItemData(77036, ItemClassification.useful),
"Crab Apple": ItemData(77037, ItemClassification.filler),
"Hot Dog...?": ItemData(77038, ItemClassification.progression),
"Hot Cat": ItemData(77039, ItemClassification.filler),
"Glamburger": ItemData(77040, ItemClassification.filler),
"Sea Tea": ItemData(77041, ItemClassification.filler),
"Starfait": ItemData(77042, ItemClassification.filler),
"Legendary Hero": ItemData(77043, ItemClassification.filler),
"Cloudy Glasses": ItemData(77044, ItemClassification.useful),
"Torn Notebook": ItemData(77045, ItemClassification.useful),
"Stained Apron": ItemData(77046, ItemClassification.useful),
"Burnt Pan": ItemData(77047, ItemClassification.useful),
"Cowboy Hat": ItemData(77048, ItemClassification.useful),
"Empty Gun": ItemData(77049, ItemClassification.useful),
"Heart Locket": ItemData(77050, ItemClassification.useful),
"Worn Dagger": ItemData(77051, ItemClassification.useful),
"Real Knife": ItemData(77052, ItemClassification.useful),
"The Locket": ItemData(77053, ItemClassification.useful),
"Bad Memory": ItemData(77054, ItemClassification.filler),
"Dream": ItemData(77055, ItemClassification.filler),
"Undyne's Letter": ItemData(77056, ItemClassification.filler),
"Undyne Letter EX": ItemData(77057, ItemClassification.progression),
"Popato Chisps": ItemData(77058, ItemClassification.filler),
"Junk Food": ItemData(77059, ItemClassification.filler),
"Mystery Key": ItemData(77060, ItemClassification.filler),
"Face Steak": ItemData(77061, ItemClassification.filler),
"Hush Puppy": ItemData(77062, ItemClassification.filler),
"Snail Pie": ItemData(77063, ItemClassification.filler),
"temy armor": ItemData(77064, ItemClassification.useful),
"Goat Plush": ItemData(77777, ItemClassification.progression),
"Snow Shovel": ItemData(77778, ItemClassification.progression),
"Complete Skeleton": ItemData(77779, ItemClassification.progression),
"Fish": ItemData(77780, ItemClassification.progression),
"Heat Suit": ItemData(77781, ItemClassification.progression),
"DT Extractor": ItemData(77782, ItemClassification.progression),
"Cooking Set": ItemData(77783, ItemClassification.progression),
"Microphone": ItemData(77784, ItemClassification.progression),
"Bridge Tools": ItemData(77785, ItemClassification.progression),
"Mettaton Plush": ItemData(77786, ItemClassification.progression),
"Left Home Key": ItemData(77787, ItemClassification.progression),
"LOVE": ItemData(77788, ItemClassification.useful),
"Right Home Key": ItemData(77789, ItemClassification.progression),
"Key Piece": ItemData(77000, ItemClassification.progression),
"100G": ItemData(77999, ItemClassification.useful),
"500G": ItemData(77998, ItemClassification.useful),
"1000G": ItemData(77997, ItemClassification.useful),
"ATK Up": ItemData(77065, ItemClassification.useful),
"DEF Up": ItemData(77066, ItemClassification.useful),
"HP Up": ItemData(77067, ItemClassification.useful),
"Undyne Date": ItemData(None, ItemClassification.progression),
"Alphys Date": ItemData(None, ItemClassification.progression),
"Papyrus Date": ItemData(None, ItemClassification.progression),
}

non_key_items = {
"Butterscotch Pie": 1,
"500G": 2,
"1000G": 2,
"Face Steak": 1,
"Snowman Piece": 1,
"Instant Noodles": 1,
"Astronaut Food": 2,
"Hot Cat": 1,
"Abandoned Quiche": 1,
"Spider Donut": 1,
"Spider Cider": 1,
"Hush Puppy": 1,
}

required_armor = {
"Cloudy Glasses": 1,
"Manly Bandanna": 1,
"Old Tutu": 1,
"Stained Apron": 1,
"Heart Locket": 1,
"Faded Ribbon": 1,
"Cowboy Hat": 1,
}

required_weapons = {
"Torn Notebook": 1,
"Tough Glove": 1,
"Ballet Shoes": 1,
"Burnt Pan": 1,
"Worn Dagger": 1,
"Toy Knife": 1,
"Empty Gun": 1,
}

plot_items = {
"Goat Plush": 1,
"Complete Skeleton": 1,
"Snow Shovel": 1,
"Fish": 1,
"Heat Suit": 1,
"Cooking Set": 1,
"Microphone": 1,
"Bridge Tools": 1,
"Mettaton Plush": 1,
"DT Extractor": 1,
}

key_items = {
"Goat Plush": 1,
"Snow Shovel": 1,
"Complete Skeleton": 1,
"Fish": 1,
"Heat Suit": 1,
"DT Extractor": 1,
"Cooking Set": 1,
"Microphone": 1,
"Bridge Tools": 1,
"Mettaton Plush": 1,
"Punch Card": 3,
"Hot Dog...?": 1,
"ATK Up": 19,
"DEF Up": 4,
"HP Up": 19,
"LOVE": 19,
}

junk_weights_all = {
"Bisicle": 12,
"Legendary Hero": 8,
"Glamburger": 10,
"Crab Apple": 12,
"Sea Tea": 12,
"Nice Cream": 10,
"Spider Donut": 10,
"Popato Chisps": 12,
"Junk Food": 12,
"Temmie Flakes": 10,
"Spider Cider": 8,
"Hot Dog...?": 10,
"Cinnamon Bun": 10,
"Starfait": 12,
"Punch Card": 8,
"Monster Candy": 6,
"100G": 6,
"500G": 3,
}

junk_weights_neutral = {
"Bisicle": 12,
"Legendary Hero": 8,
"Glamburger": 10,
"Crab Apple": 12,
"Sea Tea": 12,
"Nice Cream": 10,
"Spider Donut": 10,
"Junk Food": 12,
"Temmie Flakes": 10,
"Spider Cider": 8,
"Cinnamon Bun": 10,
"Starfait": 12,
"Punch Card": 8,
"Monster Candy": 6,
"100G": 6,
"500G": 3,
}

junk_weights_pacifist = {
"Bisicle": 12,
"Legendary Hero": 8,
"Glamburger": 10,
"Crab Apple": 12,
"Sea Tea": 12,
"Nice Cream": 10,
"Spider Donut": 10,
"Popato Chisps": 12,
"Junk Food": 12,
"Temmie Flakes": 10,
"Spider Cider": 8,
"Hot Dog...?": 10,
"Cinnamon Bun": 10,
"Starfait": 12,
"Punch Card": 8,
"Monster Candy": 6,
"100G": 6,
"500G": 3,
}

junk_weights_genocide = {
"Bisicle": 12,
"Legendary Hero": 8,
"Glamburger": 10,
"Crab Apple": 12,
"Sea Tea": 12,
"Spider Donut": 10,
"Junk Food": 12,
"Temmie Flakes": 10,
"Spider Cider": 8,
"Cinnamon Bun": 10,
"Starfait": 12,
"Monster Candy": 6,
"100G": 6,
"500G": 3,
}

lookup_id_to_name: typing.Dict[int, str] = {data.code: item_name for item_name, data in item_table.items() if data.code}
Loading