- Automated Protection: Secure your scrap mechanic farming plots with an automated squasher system that triggers on bot contact.
- Logic Control: Use a NOR-NOR-OR logic loop combined with a timer to automate piston extension and retraction.
- Sensor Triggers: Set up sport suspension bumpers that push into sensor range when bots attempt to breach your perimeter.
- Piston Advantage: Utilize Level 2 pistons instead of controllers to eliminate bottom-pause delays and crush fast-moving targets.
scrap mechanic farming: Automated Defense Setup Guide
Establishing a highly productive crop field is essential for survival progression, but managing the subsequent daily raids can quickly become overwhelming. This guide outlines how to construct an automated defense grid, allowing you to focus on exploration while your crops defend themselves. By utilizing physical triggers, advanced sensor placement, and a compact logic circuit, you can build a self-resetting trap that instantly squashes raiding bots the moment they touch your perimeter.
Video Highlights:
- Building a compact, four-block-high perimeter wall around the crop plots.
- Installing sport suspension triggers that activate internal sensors on impact.
- Wiring a self-resetting NOR-NOR-OR logic loop with a precise one-second timer.
- Upgrading to Level 2 pistons for high-speed crushing action against Haybots.
Farming in Survival Mode triggers unauthorized farming detections based on the quantity and quality of the crops planted. When your total crop value exceeds a specific threshold, a raid is scheduled for the upcoming midnight. Managing these raids manually wastes precious spinmetal, ammo, and time. An automated system solves this by turning the bots' pathfinding behavior against them, converting their aggressive advances into the physical force that triggers their own demise.
| Crop Type | Value Points | Raid Tier Contribution |
|---|---|---|
| Carrots | 1 | Low |
| Redbeats | 1 | Low |
| Tomatoes | 1 | Low |
| Bananas | 2 | Medium |
| Oranges | 2 | Medium |
| Blueberries | 2 | Medium |
| Broccoli | 3 | High |
| Pineapples | 3 | High |
Raid calculations occur daily at 00:00 (midnight). If your total crop value points equal 10 or more, a raid warning will appear. Ensure your automated defenses are fully powered and functional before this countdown timer hits zero.
Essential Materials for Automatic Defense
To construct a reliable, self-operating farm defense system, you must gather specific mechanical, structural, and logical components. The durability of your outer walls determines how long the system can withstand attacks if power is lost, while the speed of your pistons determines how effectively you can crush higher-tier enemies like Haybots.
| Component | Recommended Level | Quantity | Primary Purpose |
|---|---|---|---|
| Logic Gate | Level 1 | 3 | Processes the sensor signals and controls the piston loop |
| Timer | Level 1 | 1 | Controls the duration of the piston extension |
| Sensor | Level 1 | 4 | Detects when a bot compresses the outer bumper |
| Piston | Level 2 | 4 | Drives the heavy crushing plates down at high speed |
| Sport Suspension | Level 1 | 4 | Acts as a spring-loaded physical trigger button |
| Heavy Block | Level 3 (Concrete/Stone) | Variable | Forms the protective wall and heavy squashing plates |
| Push Button | Level 1 | 1 | Serves as a manual system override and reset switch |
Sensors
- Range Settings: Set to exactly 2 blocks.
- Placement: Mounted inside the main wall looking outward.
- Function: Detects the compressed bumper plate.
Sport Suspension
- Tension: Default settings work perfectly.
- Placement: Mounted on the exterior of the wall.
- Function: Compresses when bots walk into it, triggering the sensor.
Pistons
- Upgrade Priority: High. Level 2 is highly recommended.
- Speed: Maximize speed settings to catch fast bots.
- Function: Rapidly deploys the crushing plate on trigger.
Upgrading your pistons to Level 2 is the most cost-effective upgrade for this build. Level 2 pistons extend up to 7 blocks and deliver much faster travel speeds than Level 1 variants, preventing agile Haybots from slipping underneath the crushing plate unharmed.
Step-by-Step Logic Gate Configuration
The core of this automated defense is a self-resetting latch circuit. Standard buttons or continuous sensors either retract too quickly or hold the piston down too long. By wiring a NOR-NOR-OR logic loop, the system registers an impact, deploys the crushing plates instantly, holds them down for a designated timeframe via a timer, and then automatically retracts them to prepare for the next target.
Build the Outer Wall & Trigger Pads
Construct a solid wall four blocks high around your entire farming plot using high-durability blocks like stone or concrete. On each side of the wall, place one sport suspension unit one block above the ground. Attach a durable block to the end of each suspension to act as a physical bumper pad.
Install and Configure Sensors
Mount four sensors inside the main wall, directly behind each suspension bumper pad, looking outward. Configure each sensor's detection range to 2. Test the physical mechanism by walking into the bumper pad; the suspension should compress, pushing the pad into the sensor's field of view and triggering a positive detection signal.
Wire the Logic Loop
Place three logic gates and one timer nearby. Set the first two logic gates to NOR and the third logic gate to OR. Connect the two NOR gates to each other to create a stable latch. Connect the output of both NOR gates to the inputs of the OR gate. Connect all four sensors to the primary active NOR gate.
Integrate the Timer and Pistons
Connect the output of the OR gate to the input of the Timer. Connect the output of the Timer back to the input of the secondary NOR gate to act as the reset trigger. Set the Timer duration to exactly 1.00 second. Finally, connect the output of the primary OR gate to all four pistons, ensuring the pistons are configured to maximum speed and an extension length of 7 blocks.
| Input Source | Target Component | Logic Gate Type | Expected Behavior |
|---|---|---|---|
| Sensors (1-4) | NOR Gate A | NOR | Sends trigger signal upon bumper compression |
| NOR Gate A | OR Gate | OR | Consolidates signals to trigger the pistons |
| OR Gate | Timer | N/A | Initiates the 1-second delay sequence |
| Timer | NOR Gate B | NOR | Resets the latch, retracting the pistons |
| Manual Button | NOR Gate B | NOR | Allows manual override and system reset |
Setting the timer to 1.00 second provides the optimal balance between crushing duration and reset speed. If the timer is set too short, the crushing plate may retract before dealing lethal damage. If it is set too long, other incoming bots might walk over the lowered plate and enter your farm.
Optimizing Your Automated Farm Against High-Tier Bots
While basic Totebots are easily crushed by almost any mechanical setup, larger enemies like Haybots present unique challenges due to their height and high attack damage. A common mistake is attempting to drive the crushing plates using a Controller instead of a Piston-timer loop. Understanding the mechanical differences between these two systems is crucial for maintaining an impenetrable farm perimeter.
When using a Controller to drive a crushing mechanism, the rotation or translation sequence suffers from a built-in pause at the end of its cycle. Even a fully upgraded Level 5 Controller exhibits a brief delay when reaching its maximum extension before it begins to retract. During this pause, agile bots can climb onto the top of the crushing plate, using it as a stepping stone to leap directly over your defensive walls and land in your crop fields.
| Feature | Piston + Timer Loop | Controller Loop |
|---|---|---|
| Response Speed | Instantaneous | Delayed start |
| Bottom Pause | None (instant retraction) | 0.5 to 1.0 second delay |
| Resource Cost | Low (Level 2 Pistons) | High (Requires Level 5 Controller) |
| Bot Pathing Bypass | Impossible | Bots can climb during the pause |
| Wiring Complexity | Moderate | Simple |
| Lethality | Extremely High | Moderate |
Pre-Raid System Checklist:
- Verify all four sensors are set to range 2 and detect bumper compression.
- Ensure the logic loop is active and the timer is set to exactly 1.00 second.
- Confirm all pistons are upgraded to at least Level 2 and set to maximum speed.
- Check that the heavy crushing plates are positioned directly above the bumper zones.
- Perform a physical test by walking into each bumper to confirm instant deployment.
Do not use controllers for fast-acting crushers. The unavoidable pause at the bottom of a controller's cycle allows Haybots to damage the mechanical joints or climb over your defenses, rendering your automated system ineffective during large-scale raids.
Farming Defense FAQs
Q: Why do all four sides of my farm defense trigger when only one side is attacked?
This design links all four sensors to a single centralized logic loop that fires all pistons simultaneously. This unified design is highly resource-efficient, requiring only three logic gates and one timer to protect the entire perimeter, rather than replicating the circuit four times.
Q: Can I use wooden blocks for the crushing plates to save on resources?
While wood is cheap, it has low durability. High-tier bots like Haybots can quickly destroy wooden plates if they survive the initial strike. It is highly recommended to use stone, metal, or Level 3 Concrete for both the walls and the crushing plates to ensure long-term durability.
Q: My pistons are extending but they are not crushing the bots. What is wrong?
Ensure your pistons are upgraded to at least Level 2 and their speed slider is maximized. If the piston extends too slowly, bots will simply push against the wall without taking crushing damage. Additionally, verify that the gap between the lowered crushing plate and the ground is small enough to compress the bot's hitbox.
Q: How do I reset the system if a logic gate gets stuck in an active loop?
Connect a standard push button to the input of your reset NOR gate (Gate B). Pressing this button will manually send a reset signal through the loop, clearing any stuck states and instantly retracting all pistons.
Regularly inspect your bumper pads after large raids. While the automated logic loop handles the combat, physical blocks can still take minor chip damage from explosive bot deaths or accidental hammer swings during crop harvesting.