1. The Farmer Was Replaced
  2. News
  3. 🎨 Custom Themes, Editor Improvements 🎨

🎨 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]