Today is a pretty big day!
The Miner Was Replaced, the DLC for The Farmer Was Replaced, is out now! 🥳
Over the past months, we’ve been working on taking the programming and automation of the base game somewhere completely new. Instead of only automating a farm, you can now send your drone into the mines, dig through the world, collect new resources, and solve a whole new set of programming challenges.
The DLC adds a completely new section to the unlock tree with new mechanics and problems to figure out. You’ll mine resources like coal and quartz, sort mushrooms, grow rice on clay, work your way through a Minesweeper-inspired challenge, and discover plenty more as you progress.
We're really excited that you can finally play it yourselves! ❤️
Alongside the DLC, we’ve also made a lot of improvements, adjustments, and bug fixes to the base game. You can find the full list of changes in the patch notes at the bottom of this post.
https://store.steampowered.com/app/4521700/The_Miner_Was_Replaced/
📖 A major documentation overhaul
One of the bigger changes to the base game is the reworked in-game documentation, which should make individual functions and concepts easier to understand.
Explanations have been rewritten, more examples have been added, and navigation between related topics should be much easier. One of the biggest additions is interactive code examples that can run directly inside the documentation windows. We’ve also added a Back button, improved documentation search, and made locked documentation pages explain which research you need to unlock them.
Hopefully this makes it easier to understand new functions without constantly having to figure everything out from scratch. 😊

📱 The Farmer Was Replaced is now on mobile!
And there’s one more thing!
The Farmer Was Replaced is also launching today on Android and iOS.
The mobile version includes The Miner Was Replaced, so the new mining content is available there as well. We’ve also built a custom keyboard for the mobile version, designed to make writing and editing code on a phone or tablet much more comfortable.
You can find the mobile version here: https://farmer.ateo.ch/
We know that programming on a mobile device might sound strange, but the team at Ateo, who developed the mobile version, have put in an incredible amount of work to make the coding intuitive. We were surprised at how well it works.

Thank you to everyone who helped test the DLC or the mobile version and sent us feedback along the way. It made a huge difference and helped us improve a lot of things before release.
We really hope you enjoy going underground and finding out what you can build with the new mechanics.
If you play The Miner Was Replaced or the mobile version, we’d really appreciate it if you could leave us a review on Steam, the App Store, or Google Play. Reviews help us a lot and also let us know what you think of the game!
🚦 If you like other programming games, you might like this one too!
Our friends at Kerzoven (also a Swiss studio) have just released a demo of their traffic programming game using state machines: If Red Then Stop
We thought you might be interested in it since it teaches you how to use a real programming tool, too. They would be really happy if you followed the game on Steam and added it to your wishlist.
https://store.steampowered.com/app/3987060/If_Red_Then_Stop/
Patch Notes:
Documentation and Onboarding
- Reworked the in-game documentation, with rewritten explanations, more examples, and more links for easier navigation.
- Added interactive code examples that run directly in the documentation windows.
- Added a Back button to go back to the previous page.
- Following a link to locked content now explains which research is needed and provides a link to the tech tree.
- Improved searching within documentation windows.
Code Editor
- Autocomplete now appears when continuing an existing word, as well as when starting a new one.
- Added a configurable autocomplete shortcut, defaulting to Ctrl+Space, and a setting to disable automatic autocomplete popups.
- Improved autocomplete ordering: suggestions matching the start of the typed text come first, followed by matches elsewhere in the name.
- Ctrl+Backspace now deletes a whole word.
- __name__ is only suggested after imports have been unlocked.
- Clicking Execute in another code window now stops the current program and starts the selected file in one click.
- Added a Reveal Errors setting to control whether the camera automatically moves to an error.
- Execute, Stop, Resume, and stepping controls now show tooltips matching their current action.
Interface, Camera, and Settings
- Item tooltips now show the amount harvested in the last minute and the best recorded per-minute amount.
- Research nodes now display an icon for the resource they produce.
- Added a scroll-sensitivity setting.
- Improved mouse-wheel zooming in the workspace and tech tree so zoom follows the mouse and responds consistently across frame rates.
- Hold Alt to pan or zoom the farm through windows.
- Added a setting to disable window docking.
- Improved window resizing when dragging past the minimum size, and kept the resize cursor consistent during a drag.
- Plant descriptions now format valid ground types as recognizable code constants.
- Added a Mute in Background setting.
Programming
- get_entity_type() and get_ground_type() can now be passed a direction to inspect adjacent tiles just like measure().
- print() and quick_print() can now be called without arguments.
- Expressions can be used as standalone statements, including string expressions used as documentation.
- Starting a leaderboard or simulation with a nonexistent code file now gives an explicit error.
Other
- Added new in-game music and a few new UI feedback sounds.
- Added official Traditional Chinese localization.
- A few performance optimizations.
Bug Fixes
- Copying text or code from documentation now copies the displayed content without hidden formatting tags.
- Corrected documentation and function-tooltip details, including the tick cost of copying a dictionary and when set_world_size() resets the drone's position.
- Fixed misplaced error messages and execution highlights, including positioning around IME input and Unicode characters.
- Fixed error messages being clipped incorrectly.
- Fixed breakpoints on the first line and on global statements, and breakpoint alignment near the bottom of long files.
- Placing a breakpoint in an unfocused code window no longer scrolls the file to the top.
- Fixed code containing rich-text tags or escape sequences being displayed incorrectly and disrupting cursor placement.
- Cutting text now avoids adding hidden formatting tags to the clipboard.
- Improved Chinese/Japanese/Korean input: pending composition text is visible and underlined, filename fields expand to fit it, and IME navigation keys no longer trigger conflicting game actions. Corrected the IME candidate-window position on macOS.
- Fixed unexpected indentation when writing Korean comments or pressing Enter in an empty file.
- Fixed inconsistent collection membership comparisons with in / not in.
- Fixed a += a charging too many ticks when a list is appended to itself.
- Fixed the swapped “too many values” and “not enough values” unpacking errors.
- Fixed strings being formatted like builtin constants in error messages.
- Out-of-range errors from pop() and insert() now point to the relevant code instead of the top of the file.
- Fixed nearby trees retaining an incorrect growth slowdown after a neighboring tree is removed.
- Fixed sunflower bonus-yield suppression being bypassed after an incorrect harvest.
- Fixed being able to avoid the speed reduction after running out of power.
- Fixed expanding the farm while a size limit from set_world_size() is active.
- The maze treasure can no longer be harvested while it's being repositioned to duplicate the reward.
- Fixed a rare maze failure involving treasure repositioning and changes to the maze.
- Fixed measure() sometimes giving the wrong final apple location while using the dinosaur hat.
- Fixed switching away from the dinosaur hat removing a replacement plant another drone had placed on the apple's tile.
- Fixed the drone's orientation after equipping and removing the dinosaur hat.
- Fixed unlocking dinosaurs before hats making it impossible to obtain those hats.
- Fixed a rare crash when petting the piggy bank.
- Fixed unlocked hats being locked during leaderboard runs.
- Fixed a small amount of extra time being added at the end of leaderboard runs and simulations depending on execution speed.
- Leaderboard results now indicate if your run exceeded the maximum possible submission time.
- Closed an exploit that allowed random outcomes in leaderboard runs to be predicted.
- Fixed scrolling targeting the wrong overlapping/docked window.
- Fixed the cursor getting stuck when opening the tech tree, and corrected the farm/tech-tree button tooltip.
- Tooltips now stay within the screen boundaries.
- Fixed right-click opening documentation before a tooltip had appeared, and tooltips remaining after their target disappeared.
- Fixed the Hide UI functionality breaking tile tooltips.
- Improved save reliability to reduce the risk of damaged saves or code files when a write fails or is interrupted; improved backup handling and external-editor file reads.
- Save names and code filenames now reject additional invalid or reserved names that could cause problems across supported operating systems.

