added equip level 6-7 rings
minor digging fix
This commit is contained in:
@@ -40,6 +40,7 @@ def run():
|
|||||||
dig_point(290, 100, 200)
|
dig_point(290, 100, 200)
|
||||||
level = 1
|
level = 1
|
||||||
plot_size = 45
|
plot_size = 45
|
||||||
|
DIG_TIME = 100
|
||||||
cv.waitKey(2000)
|
cv.waitKey(2000)
|
||||||
runcounter = runcounter - 1
|
runcounter = runcounter - 1
|
||||||
|
|
||||||
|
|||||||
BIN
equip/rings/ring_6_32-mask.png
Normal file
BIN
equip/rings/ring_6_32-mask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 407 B |
BIN
equip/rings/ring_6_32.jpg
Normal file
BIN
equip/rings/ring_6_32.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
BIN
equip/rings/ring_6_32.png
Normal file
BIN
equip/rings/ring_6_32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
BIN
equip/rings/ring_7_32-mask.png
Normal file
BIN
equip/rings/ring_7_32-mask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 441 B |
BIN
equip/rings/ring_7_32.jpg
Normal file
BIN
equip/rings/ring_7_32.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
BIN
equip/rings/ring_7_32.png
Normal file
BIN
equip/rings/ring_7_32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
@@ -666,6 +666,15 @@ def include_rings(needles, hsv, tresh, mask):
|
|||||||
tresh.append(0.93)
|
tresh.append(0.93)
|
||||||
mask.append(cv.imread("equip/rings/ring_5_32-mask.png", cv.IMREAD_COLOR))
|
mask.append(cv.imread("equip/rings/ring_5_32-mask.png", cv.IMREAD_COLOR))
|
||||||
|
|
||||||
|
needles.append(cv.imread("equip/rings/ring_6_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
|
hsv.append(HSV_DEFAULT)
|
||||||
|
tresh.append(0.91)
|
||||||
|
mask.append(cv.imread("equip/rings/ring_6_32-mask.png", cv.IMREAD_COLOR))
|
||||||
|
|
||||||
|
needles.append(cv.imread("equip/rings/ring_7_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
|
hsv.append(HSV_DEFAULT)
|
||||||
|
tresh.append(0.93)
|
||||||
|
mask.append(cv.imread("equip/rings/ring_7_32-mask.png", cv.IMREAD_COLOR))
|
||||||
|
|
||||||
def include_wands(needles, hsv, tresh, mask):
|
def include_wands(needles, hsv, tresh, mask):
|
||||||
needles.append(cv.imread("equip/wands/wand_1_32.jpg", cv.IMREAD_UNCHANGED))
|
needles.append(cv.imread("equip/wands/wand_1_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
|
|||||||
Reference in New Issue
Block a user