1. The Farmer Was Replaced
  2. News

The Farmer Was Replaced News

🎨 Custom Themes, Editor Improvements 🎨

[p]Hey folks, πŸ‘‹

I have just pushed a new update and this one is especially interesting if you like to customize the colors of your coding environment.

You can now choose between different color themes, including a night mode and a light mode. For those of you celebrating, I've added a Lunar New Year theme.
But even better: you can create and fully customize your own theme. Every color in the game can be adjusted using hexadecimal values, and changes update instantly in-game.

I’ve also added several community-submitted translations (Czech, Traditional Chinese, and Ukrainian). These are marked as unofficial for now, but I wanted to make them available since many of you have asked for them.

For those using external editors: Python type annotations are now ignored by the game, so you can use them freely.
Autocomplete has been improved to immediately register new variables, and the editor should feel slightly faster overall. Although very large files can still slow it down.

As always, thank you for the feedback and bug reports. It really helps. πŸ”₯



🎨 How to Create Your Own Theme

You can customize and add your own themes here:
Windows:
%userprofile%AppDataLocalLowTheFarmerWasReplacedTheFarmerWasReplacedThemes
Mac: /Users/%userprofile%/Library/ApplicationSupport/com.TheFarmerWasReplaced.TheFarmerWasReplaced/Themes [/p]
  1. [p] Open Custom.tfwrTheme (for example with Visual Studio Code).[/p]
  2. [p] Change any color using hexadecimal codes.[/p]
  3. [p] (VS Code even shows a live color preview.)[/p]
  4. [p] In-game: Open the settings and switch to the custom theme. Changes will update immediately.[/p]
  5. [p] If you want to share your theme, rename it here: "theme_name": "YourThemeNameHere"[/p]
  6. [p] Don’t forget to save the file πŸ˜‰[/p]
[carousel][/carousel][p]

Patch Notes:[/p]
  • [p] Added customizable color themes, including a night mode and a light mode.[/p]
  • [p] Added some unofficial translations (Czech, Traditional Chinese, Ukrainian) that have been submitted by the community to the game with a warning if you select one of them.[/p]
  • [p] Python type annotations are now ignored by the game so you can use them if you're using an external code editor.[/p]
  • [p] Improved the autocomplete functionality to immediately register new variables.[/p]
  • [p] Made the code editor slightly faster. Unfortunately it still gets slow with larger files.[/p]
  • [p] Various documentation fixes and improvements.[/p]
  • [p] Changed the tick cost of get_time() to 0 to match get_tick_count()[/p]
  • [p] Fixed passing NaN into set_execution_speed()[/p]
  • [p] Fixed another bug that allowed you to get shared memory between multiple drones.[/p]
  • [p] Fixed a bug that made the game hang when calling len() on something that doesn't have a length.[/p]
[p]See you soon,
Timon

[p][/p]
[p][/p]
[p]
Take a look at the other programming game from my publisher:[/p][p][dynamiclink][/dynamiclink][/p]

The Farmer Was Replaced is Now Available on macOS 🍎

[p]Hey folks πŸ‘‹,[/p][p]I’ve got some really good news to share today. 😊 [/p][p]First of all: The Farmer Was Replaced is now available on macOS! 🍎
The Mac build is finally live, so you can now play the game natively on Mac without any workarounds. I know many of you have been waiting for this. Thank you for your patience![/p][p]I also experimented with a native Linux version but unfortunately, it had some issues and didn't make it into this update. However, the game runs just fine via Proton, so you can still play it on Linux.[/p][p]Alongside the Mac release, this update also includes a couple of fixes and small improvements:[/p]
  • [p]Added the result of measure() to entity tooltips[/p]
  • [p]Fixed sunflower tooltips showing incorrect yield values[/p]
  • [p]Fixed a rare bug that could cause the game to freeze when harvesting a hedge while the treasure was repositioning[/p]
  • [p]The maximum call stack size is now actually updated to 1100 (this was already intended for the previous update)[/p]
[p]Another thing I really want to say today:
Thank you. ❀️ [/p][p]We recently passed 500,000 copies sold, which still feels absolutely unreal to me. What started as a small solo project about programming and farming has grown far beyond anything I expected and that’s entirely because of you! πŸ₯³ πŸŽ‰ [/p][p]Also, just as a heads-up:
The game is currently 20% off as part of the Steam Winter Sale, so it’s a great time to jump in or to convince a friend (or family member) to give programming a try. πŸ˜‰ [/p][p]As always, if you run into any issues or have feedback, please let me know via the Steam discussions or Discord.[/p][p]Thanks again for playing and supporting the game. It truly means a lot! [/p][p]See you soon,
Timon[/p][p][/p]
[p][/p]
[p][/p]
[p]
Sign up for the upcoming playtest of my friends' programming game about fixing traffic lights![/p][p][dynamiclink][/dynamiclink][/p]

Hotfixes

  • Fixed links in the info window showing before they are unlocked.
  • Fixed the error message when calling `spawn_drone` with a function that takes arguments.
  • Make sure only one item is used when multiple drones try to reposition the treasure at the same time.

Quality-of-Life Update and Leaderboard Rebalance

[p]Hey folks, As promised, this update balances the leaderboards and introduces highly requested quality-of-life features, such as the option to enable all language features at the beginning of the game.[/p][p]First some general improvements:[/p]
  • [p]Added a particle effect to give some visual feedback when there's a polyculture hit.[/p]
  • [p]Added a couple of specialized error messages that detect and explain some common beginner mistakes.[/p]
  • [p]Improved the "Wrong number of arguments" error message that could be very confusing.[/p]
  • [p]Added an option to allow using all language features even before they are unlocked. This is not the intended way of playing, but some people seem to really hate that they can't use variables and functions right away.[/p]
  • [p]Split the "Autosave" setting into "Autosave Code" and "Autosave Progress" so you can still autosave progress when using an external code editor.[/p]
  • [p]Increased the maximum call stack size from 1000 to 1100, so that recursive pathfinding on 32x32 always fits into it.[/p]
  • [p]Fixed passing unlock amounts of 0 or 1 into simulate()[/p]
[p]Now to some changes that make some less fun strategies weaker to give the actually interesting strategies more of a chance on the leaderboard. The leaderboards have been reset because the old times are no longer quite correct with the changes. To get back on the leaderboards, you'll have to rerun your code.[/p]
  • [p]Made RNG harder to break.[/p]
  • [p]Fixed shared memory bugs.[/p]
  • [p]If you harvest and replant a cactus before it is fully grown it no longer changes its value.[/p]
  • [p]The treasure now takes 200 ticks to move to the new location instead of instantly teleporting.[/p]
  • [p]You now receive the gold already when the chest is relocated instead of all at the end.[/p]
  • [p]When harvesting a sunflower that doesn't have the maximum number of petals the yield boost is now also removed for the next sunflower you harvest after it.[/p]
  • [p]The sunflower yield bonus has been increased from 5x to 8x.[/p]
  • [p]Fixed a bug that caused some operations to not use power. This significantly increases power consumption for some things.[/p]
  • [p]Fixed list.insert() taking one tick more than it should.[/p]
  • [p]Fixed the in operator not taking the correct number of ticks.[/p]
  • [p]Concatenating two empty lists to create a new empty list now takes 1 tick.[/p]
  • [p]Fixed another zero tick computation exploit that was abusing free function calls in dynamic modules.[/p]
[p]It's been almost two months since the release of version 1.0 of The Farmer Was Replaced. Thank you all for playing, and especially for the many reviews over the last few days! More reviews than when it hit 1.0! You guys are crazy! [/p][p]From today until January 5, The Farmer Was Replaced is 20% off. It's a great time to start programming or convince your family and friends to learn to code. ;)[/p][p]Cheers,
Timon[/p][p]
[p][/p]
[p][/p]
[/p][h3]Wishlist this upcoming programming game my friends are working on:[/h3][p][dynamiclink][/dynamiclink][/p]

Please nominate the Farmer Was Replaced for Best Game You Suck At

[p]Hey folks πŸ‘‹[/p][p]The Steam Awards are just around the corner! [/p][p]Every programmer knows the feeling. When the code works as expected, you feel like a genius. If not, well, you know how it is. That's why I think the β€œBest Game You Suck At” Steam award is perfect for my game. πŸ˜…[/p][p] [/p][p]Cheers and a big thank you, πŸŒΎπŸ‘¨β€πŸŒΎ[/p][p] Timon[/p][p][/p]
[p][/p]
[p][/p]