Files
farmer/farm32.py
2025-11-10 03:07:40 +08:00

45 lines
861 B
Python

import solve, grow, utils
base32 = [
grow.sunflower_base(0, 2, 24, 32),
grow.sunflower(2, 8, 24, 32),
]
mixs32 = [
[grow.three_mix(0, 4, 0, 8)],
[grow.three_mix(4, 8, 0, 8)],
[grow.three_mix(0, 4, 8, 16)],
[grow.three_mix(4, 8, 8, 16)],
[grow.three_mix(0, 4, 16, 24)],
[grow.three_mix(4, 8, 16, 24)],
[grow.pumpkin( 8, 0, 8)],
[grow.pumpkin(16, 8, 8)],
[grow.pumpkin( 8, 16, 8)],
[grow.pumpkin(16, 24, 8)],
[grow.cactus(16, 24, 0, 8)],
[grow.cactus( 8, 16, 8, 16)],
[grow.cactus(16, 24, 16, 24)],
[grow.cactus( 8, 16, 24, 32)],
]
mazes32 = [
[grow.maze(24, 0, 8)],
[grow.maze(24, 8, 8)],
[grow.maze(24, 16, 8)],
[grow.maze(24, 24, 8)],
]
def farm32():
set_world_size(32)
clear()
for maze in mazes32:
utils.spawn(solve.run(maze, 4000))
for mix in mixs32:
utils.spawn(solve.run(mix))
solve.run(base32)()
farm32()