Skip to content

Commit 79a3f1c

Browse files
authored
Merge branch 'master' into inventory-speedup
2 parents 9c837ea + 20efc2e commit 79a3f1c

10 files changed

+848
-582
lines changed

.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
11
.vscode/settings.json
2+
__pycache__/calculator.cpython-37.pyc
3+
__pycache__/config.cpython-37.pyc
4+
__pycache__/inventory.cpython-37.pyc
5+
__pycache__/logger.cpython-37.pyc
6+
__pycache__/recipes.cpython-37.pyc
7+
__pycache__/moves.cpython-37.pyc
8+
calculateRecipeOrder.log
9+
calculator.pyc
10+
config.pyc
11+
inventory.pyc
12+
moves.pyc
13+
logger.pyc
14+
recipes.pyc

calculator.py

+597-404
Large diffs are not rendered by default.

inventory.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@
1313
#log(5, "Inventory", "Items", "Scan", "All item names scanned successfully.")
1414

1515
def getAlphaSort():
16-
file = open(os.getcwd() + "/itemSorts/alphabetic.txt","r")
17-
log(2, "Inventory", "Sort", "Load", "Sort list loaded from file.")
16+
file = open(os.getcwd() + "/itemSorts/alphabetic_sort-JP.txt","r")
17+
#log(2, "Inventory", "Sort", "Load", "Sort list loaded from file.")
1818
sortList = []
1919
for line in file:
2020
sortList.append(line.strip("\n"))
21-
log(7, "Inventory", "Sort", "Load", line.strip("\n") + " added to sort list")
22-
log(2, "Inventory", "Sort", "Load", "Finished creating sort list.")
23-
log(5, "Inventory", "Sort", "Load", str(sortList))
21+
#log(7, "Inventory", "Sort", "Load", line.strip("\n") + " added to sort list")
22+
#log(2, "Inventory", "Sort", "Load", "Finished creating sort list.")
23+
#log(5, "Inventory", "Sort", "Load", str(sortList))
2424
file.close()
2525
return sortList
2626

2727
def getTypeSort():
28-
file = open(os.getcwd() + "/itemSorts/type.txt","r")
29-
log(2, "Inventory", "Sort", "Load", "Sort list loaded from file.")
28+
file = open(os.getcwd() + "/itemSorts/type_sort-JP.txt","r")
29+
#log(2, "Inventory", "Sort", "Load", "Sort list loaded from file.")
3030
sortList = []
3131
for line in file:
3232
sortList.append(line.strip("\n"))
33-
log(7, "Inventory", "Sort", "Load", line.strip("\n") + " added to sort list")
34-
log(2, "Inventory", "Sort", "Load", "Finished creating sort list.")
35-
log(5, "Inventory", "Sort", "Load", str(sortList))
33+
#log(7, "Inventory", "Sort", "Load", line.strip("\n") + " added to sort list")
34+
#log(2, "Inventory", "Sort", "Load", "Finished creating sort list.")
35+
#log(5, "Inventory", "Sort", "Load", str(sortList))
3636
file.close()
3737
return sortList
3838

inventory.txt

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
Golden Leaf
22
Peachy Peach
33
Shooting Star
4-
Slow Shroom
5-
Volt Shroom
6-
Mystery
7-
Jammin Jelly
8-
Ruin Powder
9-
Super Shroom
104
Ultra Shroom
5+
Cake Mix
6+
Thunder Rage
7+
Turtley Leaf
118
Life Shroom
9+
Ice Storm
10+
Slow Shroom
11+
Mystery
1212
Honey Syrup
13-
Maple Syrup
13+
Volt Shroom
1414
Fire Flower
15-
Ice Storm
16-
Hot Dog
1715
Mystic Egg
18-
Cake Mix
16+
Hot Dog
17+
Ruin Powder
18+
Maple Syrup
1919
Hot Sauce
20-
Turtley Leaf
20+
Jammin Jelly
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,111 @@
1-
Mushroom
2-
Super Shroom
1+
Item
2+
POW Block
3+
Icicle Pop
4+
Fright Mask
5+
Spicy Soup
6+
Ink Pasta
7+
Couples Cake
8+
Point Swap
9+
Space Food
310
Ultra Shroom
11+
Golden Leaf
12+
Cake Mix
13+
Courage Shell
14+
Courage Meal
15+
Thunder Bolt
16+
Thunder Rage
17+
Koopa Tea
18+
Turtley Leaf
19+
Koopasta
20+
[Koopa Curse]
21+
Koopa Bun
22+
Spicy Pasta
23+
Omelette Meal
24+
Mushroom
25+
Shroom Fry
26+
Shroom Crepe
27+
Shroom Cake
28+
Shroom Steak
29+
Shroom Roast
30+
Shooting Star
31+
Gold Bar
32+
Gold Bar x 3
433
Life Shroom
5-
Slow Shroom
34+
Dizzy Dial
35+
[Cake]
36+
Shroom Broth
37+
Ice Storm
38+
Coconut Bomb
39+
Coco Candy
40+
Spite Pouch
41+
Mistake
642
Dried Shroom
7-
Honey Syrup
8-
Maple Syrup
9-
Jammin Jelly
43+
Inn Coupon
44+
Choco Cake
45+
Trial Stew
46+
Slow Shroom
1047
Gradual Syrup
48+
Super Shroom
49+
HP Drain
1150
Tasty Tonic
12-
Fire Flower
13-
Ice Storm
14-
Earth Quake
15-
Thunder Bolt
16-
Thunder Rage
17-
Shooting Star
18-
Volt Shroom
51+
Stopwatch
52+
Spaghetti
53+
Inky Sauce
54+
Whacka Bump
55+
Horsetail
56+
[Trade Off]
1957
Repel Cape
2058
Boos Sheet
21-
Ruin Powder
22-
Courage Shell
23-
Mystery
24-
Hot Dog
25-
Coconut
26-
Dried Bouquet
27-
Mystic Egg
28-
Golden Leaf
59+
Power Punch
2960
Keel Mango
30-
Fresh Pasta
31-
Cake Mix
32-
Hot Sauce
33-
Turtley Leaf
34-
Peachy Peach
35-
Spite Pouch
36-
Shroom Fry
37-
Shroom Roast
38-
Shroom Steak
61+
Poison Shroom
62+
Dried Bouquet
63+
Mystery
64+
Zess Cookie
65+
Zess Special
66+
Zess Dynamite
67+
Zess Tea
68+
Zess Dinner
69+
Zess Deluxe
70+
Zess Frappe
71+
Sleepy Sheep
72+
Love Pudding
73+
Honey Candy
3974
Honey Shroom
40-
Maple Shroom
41-
Jelly Shroom
4275
Honey Super
43-
Maple Super
44-
Jelly Super
4576
Honey Ultra
46-
Maple Ultra
47-
Jelly Ultra
48-
Zess Dinner
49-
Zess Special
50-
Zess Deluxe
51-
Spaghetti
52-
Koopasta
53-
Spicy Pasta
54-
Ink Pasta
55-
Spicy Soup
56-
Fried Egg
57-
Omelette Meal
58-
Koopa Bun
77+
Honey Syrup
78+
Egg Bomb
79+
Volt Shroom
80+
Electro Pop
81+
Peach Tart
82+
Peachy Peach
83+
Fire Pop
84+
Fire Flower
85+
Mystic Egg
86+
Mr. Softener
87+
Fruit Parfait
88+
Fresh Juice
5989
Healthy Salad
6090
Meteor Meal
61-
Couples Cake
91+
Hot Dog
92+
Ruin Powder
93+
Mango Delight
94+
Mini Mr. Mini
6295
Mousse Cake
63-
Shroom Cake
64-
Choco Cake
96+
Maple Shroom
97+
Maple Super
98+
Maple Ultra
99+
Maple Syrup
100+
Fried Egg
65101
Heartful Cake
66-
Fruit Parfait
67-
Mango Delight
68-
Love Pudding
69-
Zess Cookie
70-
Shroom Crepe
71-
Peach Tart
72-
Koopa Tea
73-
Zess Tea
74-
Shroom Broth
75-
Fresh Juice
76-
Inky Sauce
77-
Icicle Pop
78-
Zess Frappe
102+
Coconut
79103
Snow Bunny
80-
Coco Candy
81-
Honey Candy
104+
Earth Quake
105+
Hot Sauce
106+
Jelly Shroom
107+
Jelly Super
108+
Jelly Ultra
82109
Jelly Candy
83-
Electro Pop
84-
Fire Pop
85-
Space Food
86-
Poison Shroom
87-
Trial Stew
88-
Courage Meal
89-
Coconut Bomb
90-
Egg Bomb
91-
Zess Dynamite
92-
Mistake
110+
Jammin Jelly
111+
Fresh Pasta

0 commit comments

Comments
 (0)