Compare commits
2 Commits
c918e1007b
...
ad0e642964
Author | SHA1 | Date | |
---|---|---|---|
ad0e642964 | |||
|
175055c84a |
BIN
images/Items_test/test5.jpg
Normal file
BIN
images/Items_test/test5.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
BIN
images/Items_test/test6.jpg
Normal file
BIN
images/Items_test/test6.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 KiB |
BIN
images/Items_test/test7.jpg
Normal file
BIN
images/Items_test/test7.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
images/Items_test/test8.jpg
Normal file
BIN
images/Items_test/test8.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
13
main.py
13
main.py
@ -132,13 +132,16 @@ def wozek_serves_orders(wozek, grid_points, drzewo):
|
|||||||
def add_another_order(ekran, pred_list):
|
def add_another_order(ekran, pred_list):
|
||||||
if random.random() < 0.5:
|
if random.random() < 0.5:
|
||||||
if random.random() < 0.5:
|
if random.random() < 0.5:
|
||||||
order = Paczka('duzy', 12, 'narzedzia', False, True, False,
|
order = Paczka('duzy', 12, 'motoryzacja', False, True, False,
|
||||||
any, any, any, any, any, pred_list[3])
|
any, any, any, any, any, pred_list[6])
|
||||||
else:
|
else:
|
||||||
order = Paczka('maly', 1, 'ogród', False, True, False,
|
order = Paczka('maly', 1, 'kuchnia', False, True, False,
|
||||||
any, any, any, any, any, pred_list[1])
|
any, any, any, any, any, pred_list[7])
|
||||||
else:
|
else:
|
||||||
order = Letter(pred_list[2])
|
if random.random() < 0.5:
|
||||||
|
order = Letter(pred_list[5])
|
||||||
|
else:
|
||||||
|
order = Letter(pred_list[4])
|
||||||
|
|
||||||
ekran.dodaj_na_rampe_jedno(order)
|
ekran.dodaj_na_rampe_jedno(order)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user