added first draft new pickaxe try
This commit is contained in:
29
pickaxe.py
29
pickaxe.py
@@ -171,21 +171,24 @@ class Pickaxe_Field(GameBase):
|
|||||||
else:
|
else:
|
||||||
points = points - 10000
|
points = points - 10000
|
||||||
|
|
||||||
second_higest = np.unique(shift_dir)[-2]
|
if np.unique(shift_dir)[-2] is not None:
|
||||||
if shift_dir[1][3] == second_higest:
|
second_higest = np.unique(shift_dir)[-2]
|
||||||
points = points + 300
|
if shift_dir[1][3] == second_higest:
|
||||||
|
|
||||||
if shift_dir[2][3] is not 0:
|
|
||||||
if shift_dir[2][3] == np.unique(shift_dir)[-3]:
|
|
||||||
#third_higest = np.unique(shift_dir)[-3]
|
|
||||||
#if shift_dir[2][3] == third_higest:
|
|
||||||
points = points + 300
|
points = points + 300
|
||||||
|
|
||||||
if shift_dir[3][3] is not 0:
|
if np.unique(shift_dir)[-3] is not None:
|
||||||
if shift_dir[3][3] == np.unique(shift_dir)[-4]:
|
if shift_dir[2][3] is not 0:
|
||||||
#fourth_higest = np.unique(shift_dir)[-4]
|
if shift_dir[2][3] == np.unique(shift_dir)[-3]:
|
||||||
#if shift_dir[3][3] == fourth_higest:
|
#third_higest = np.unique(shift_dir)[-3]
|
||||||
points = points + 300
|
#if shift_dir[2][3] == third_higest:
|
||||||
|
points = points + 300
|
||||||
|
|
||||||
|
if np.unique(shift_dir)[-4] is not None:
|
||||||
|
if shift_dir[3][3] is not 0:
|
||||||
|
if shift_dir[3][3] == np.unique(shift_dir)[-4]:
|
||||||
|
#fourth_higest = np.unique(shift_dir)[-4]
|
||||||
|
#if shift_dir[3][3] == fourth_higest:
|
||||||
|
points = points + 300
|
||||||
|
|
||||||
if shift_dir[1][3] == highest - 1:
|
if shift_dir[1][3] == highest - 1:
|
||||||
points = points + 100
|
points = points + 100
|
||||||
|
|||||||
Reference in New Issue
Block a user