Update 5.AFK_4x4.py
This commit is contained in:
67
5.AFK_4x4.py
67
5.AFK_4x4.py
@@ -62,3 +62,70 @@ while True:
|
|||||||
change_hat(Hats.Gray_Hat)
|
change_hat(Hats.Gray_Hat)
|
||||||
move(North)
|
move(North)
|
||||||
move(East)
|
move(East)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
'''
|
||||||
|
clear()
|
||||||
|
for i in range(4):
|
||||||
|
move(North)
|
||||||
|
move(East)
|
||||||
|
for i in range(4):
|
||||||
|
plant(Entities.Bush)
|
||||||
|
move(North)
|
||||||
|
move(East)
|
||||||
|
for i in range(4):
|
||||||
|
plant(Entities.Bush)
|
||||||
|
move(North)
|
||||||
|
move(East)
|
||||||
|
for i in range(4):
|
||||||
|
till()
|
||||||
|
plant(Entities.Carrot)
|
||||||
|
move(North)
|
||||||
|
move(East)
|
||||||
|
|
||||||
|
while True:
|
||||||
|
for i in range(4):
|
||||||
|
if can_harvest():
|
||||||
|
harvest()
|
||||||
|
change_hat(Hats.Purple_Hat)
|
||||||
|
move(North)
|
||||||
|
else:
|
||||||
|
do_a_flip()
|
||||||
|
change_hat(Hats.Gray_Hat)
|
||||||
|
move(North)
|
||||||
|
move(East)
|
||||||
|
for i in range(4):
|
||||||
|
if can_harvest():
|
||||||
|
harvest()
|
||||||
|
plant(Entities.Bush)
|
||||||
|
change_hat(Hats.Green_Hat)
|
||||||
|
move(North)
|
||||||
|
else:
|
||||||
|
do_a_flip()
|
||||||
|
change_hat(Hats.Gray_Hat)
|
||||||
|
move(North)
|
||||||
|
move(East)
|
||||||
|
for i in range(4):
|
||||||
|
if can_harvest():
|
||||||
|
harvest()
|
||||||
|
plant(Entities.Bush)
|
||||||
|
change_hat(Hats.Green_Hat)
|
||||||
|
move(North)
|
||||||
|
else:
|
||||||
|
do_a_flip()
|
||||||
|
change_hat(Hats.Gray_Hat)
|
||||||
|
move(North)
|
||||||
|
move(East)
|
||||||
|
for i in range(4):
|
||||||
|
if can_harvest():
|
||||||
|
harvest()
|
||||||
|
plant(Entities.Carrot)
|
||||||
|
change_hat(Hats.Brown_Hat)
|
||||||
|
move(North)
|
||||||
|
else:
|
||||||
|
do_a_flip()
|
||||||
|
change_hat(Hats.Gray_Hat)
|
||||||
|
move(North)
|
||||||
|
move(East)
|
||||||
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user