Skip to content

claud2893/TFWR_Best-Functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

The Farmer Was Replaced: Best Functions

A set of function to inspire improvements to your game experience

alt text

The Farmer Was Replaced (TFWR) is a PC game that introduces users to the logic of the Python programming language. Completing it won't make you a Python programmer, but you can learn the basics and how it works.

Functions

In the TFWR_Best-Functions.py file of this repository, you will find functions that can improve your efficiency while playing the game. Feel free to edit them and create ones that best suit your needs! For each function, the necessary unlock requirements are listed.

Basic functions

This section contains basic functions, some of which are discussed in the following section.

  • know_companion() => Function to know what should surround the current piece of land to improve your harvest
  • perfect_move() => Best option to move across your field when using the Dinosaur hat
  • water_if_needed() => You can set the water level desired for your field at your preference (it is currently set at 0.85)
  • harvest_if_possible() => Function to check the field and eventually harvest

Harvesting functions

These functions are based on your specific needs and plant what you desire in the best way.

  • pumpkin_field() => Your whole field will be used to grow pumpkins
  • good_forest() => Your whole field will be covered by trees and grass
  • carrot_field() => Your whole field will be used to grow carrots
  • sunflower_power() => Your whole field will be used to grow sunflowers
  • cactus_field() => Your whole field will be used to grow cactus
  • biodiversity() => The field will be optimized with a variety of plants that interact the best with each other
  • grass_field() => Function to cover your whole field with grass

About

The Farmer Was Replaced: Best Functions

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages