File tree Expand file tree Collapse file tree 1 file changed +57
-10
lines changed
Expand file tree Collapse file tree 1 file changed +57
-10
lines changed Original file line number Diff line number Diff line change 88x_pad = 361
99y_pad = 344
1010
11- """
12- Plate cords:
13- (246, 530)
14- (503, 537)
15- (739, 525)
16- (995, 532)
17- (1257, 534)
18- (1504, 529)
19- """
20-
2111# import game button coordinates
2212class Cord :
2313
@@ -43,6 +33,63 @@ class Cord:
4333
4434 delivary_norm = (1243 , 743 )
4535
36+ """
37+ Recipes:
38+ onigiri: 2 rice, 1 nori
39+ caliroll: 1 rice, 1 nori, 1 roe
40+ gunkan: 1 roce, 1 nori, 2 roe
41+ """
42+ def foldMat ():
43+ mousePos ((557 , 839 ))
44+ leftClick ()
45+ time .sleep (0.5 )
46+
47+ def makeFood (food ):
48+ if food == 'caliroll' :
49+ print ("making caliroll" )
50+ mousePos (Cord .f_rice )
51+ leftClick ()
52+ time .sleep (0.5 )
53+ mousePos (Cord .f_nori )
54+ leftClick ()
55+ time .sleep (0.5 )
56+ mousePos (Cord .f_roe )
57+ leftClick ()
58+ time .sleep (0.5 )
59+ foldMat ()
60+ time .sleep (2 )
61+
62+ elif food == 'onigiri' :
63+ print ("making onigiri" )
64+ mousePos (Cord .f_rice )
65+ leftClick ()
66+ time .sleep (0.5 )
67+ mousePos (Cord .f_rice )
68+ leftClick ()
69+ time .sleep (0.5 )
70+ mousePos (Cord .f_nori )
71+ leftClick ()
72+ time .sleep (0.5 )
73+ foldMat ()
74+ time .sleep (2 )
75+
76+ elif food == 'gunkan' :
77+ print ("making gunkan" )
78+ mousePos (Cord .f_rice )
79+ leftClick ()
80+ time .sleep (0.5 )
81+ mousePos (Cord .f_nori )
82+ leftClick ()
83+ time .sleep (0.5 )
84+ mousePos (Cord .f_roe )
85+ leftClick ()
86+ time .sleep (0.5 )
87+ mousePos (Cord .f_roe )
88+ leftClick ()
89+ time .sleep (0.5 )
90+ foldMat ()
91+ time .sleep (2 )
92+
4693def clear_tables ():
4794 mousePos ((204 , 500 ))
4895 leftClick ()
You can’t perform that action at this time.
0 commit comments