From 63b5b3a1eef9cc70284fe1096416e97852023a74 Mon Sep 17 00:00:00 2001 From: Josh Creek <8179928+jcreek@users.noreply.github.com> Date: Tue, 23 Dec 2025 15:10:27 +0000 Subject: [PATCH] feat(*): Add hay --- hay.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 hay.py diff --git a/hay.py b/hay.py new file mode 100644 index 0000000..b9d8d09 --- /dev/null +++ b/hay.py @@ -0,0 +1,14 @@ +import helpers + +def till_and_plant(): + if get_ground_type() != Grounds.Grassland: + till() + if get_entity_type() == Entities.Grass: + helpers.harvest_if_possible() + +def harvest_hay(): + for x in range(get_world_size()): + for y in range(get_world_size()): + till_and_plant() + move(North) + move(East) \ No newline at end of file