Files
TheFarmerWasReplaced/GrassModule.py
T

14 lines
324 B
Python
Raw Normal View History

2026-11-05 21:32:13 +08:00
import config
def Plant():
for x in range(get_world_size()):
for y in range(get_world_size()):
if get_entity_type() != None:
if can_harvest():
harvest()
if get_ground_type() != Grounds.Grassland:
till()
else:
if get_ground_type() != Grounds.Grassland:
till()
move(North)
move(East)