Scrap Mechanic Item IDs List & Console Spawn Codes (Complete Guide 2026)

Want to test out the endgame weapons early? Are you tired of grinding for rare crafting materials, or perhaps you accidentally sold a critical quest item and now your survival playthrough is completely soft-locked? Building massive, physics-defying vehicles and sprawling automated bases requires an unbelievable amount of resources. Sometimes, you just want to skip the tedious resource gathering and get straight to the engineering.

Using developer commands to spawn items is a beloved staple of PC gaming freedom. Modifying your inventory via console commands allows you to experiment with complex logic gates, test out suspension setups, or arm yourself to the teeth before raiding a massive Warehouse. Below is the most curated, categorized list of essential Item IDs and spawn codes for Scrap Mechanic, verified and updated for the latest patch cycle. We have meticulously filtered out the useless junk to bring you the top critical items you need to dominate the game.

You may also like: The Ultimate Scrap Mechanic Cheat Engine Guide (And A Much Easier Alternative)

1. Quick Reference: Top 10 Most Wanted Scrap Mechanic IDs

If you don’t want to scroll through thousands of rows of game data, here are the exact spawn codes for the absolute most essential items in the game. These are the items players search for the most when they want to bypass the massive grind associated with Farmbots and resource nodes.

Item Name Exact Item ID / Code Item Effect & Usage
Component Kit ComponentKit The most vital upgrade material. Used to upgrade seats, engines, and thrusters to maximum level.
Circuit Board CircuitBoard Essential electronic crafting component dropped by Haybots. Used in almost all logic and motorized parts.
Spud Gun SpudGun The classic ranged weapon. Essential for safely taking down Tapebots in Warehouses.
Warehouse Key WarehouseKey Grants immediate access to the massive, loot-filled Warehouse dungeons without farming a Farmbot boss.
Revival Baguette RevivalBaguette The ultimate consumable. Revives fallen teammates in multiplayer co-op sessions instantly.
Epic Garment Box GarmentBoxEpic Contains the highest tier of cosmetic clothing items to permanently unlock in your wardrobe.
Gasoline Gas Fuel for standard gas engines. Essential for keeping your exploration vehicles moving.
Battery Battery Power source for electric engines. Highly efficient but historically tedious to farm in large quantities.
Level 5 Metal Block MetalBlock3 The highest durability building material. Immune to most Farmbot attacks, perfect for base defense.
Level 5 Concrete Block ConcreteBlock3 Extremely heavy and durable material, highly recommended for keeping vehicles grounded with a low center of gravity.

2. How to Enable the Console & Use Spawn Commands

Before you can use the ID codes listed below, you must understand the correct syntax and how to actually enable developer commands. Unlike many other sandbox games, Scrap Mechanic does not have developer cheats enabled by default in Survival Mode. You must perform a minor text edit to your game files to unlock the chat-based console commands.

Expert Tip: Before making any modifications, it is highly recommended to create a backup copy of your SurvivalGame.lua file and save it to your desktop. This ensures that if you make a syntax error, you can easily restore your game without waiting for Steam to verify file integrity.

Step-by-Step Guide to Enabling Developer Mode in Scrap Mechanic:

  1. Navigate to your Steam Library, right-click on Scrap Mechanic, hover over Manage, and select Browse local files.
  2. Navigate through the folders to this exact path: \Survival\Scripts\game\SurvivalGame.lua.
  3. Open SurvivalGame.lua using a text editor (Notepad++ is highly recommended to avoid formatting issues).
  4. Press Ctrl + F and search for the phrase: if g_survivalDev then.
  5. Change that specific line to read: if true then.
  6. Save the file and launch Scrap Mechanic.

How to Spawn Items In-Game:

Once you have loaded your Survival world, simply press the Enter key to open the in-game text chat box. The chat box now functions as your developer console.

The exact syntax you must use is: /give [ItemID] [Quantity]

Example: If you want to spawn 100 Component Kits to fully upgrade your vehicle’s engine, you must type exactly:

/give ComponentKit 100 and press Enter. The items will immediately drop into your inventory or fall at your character’s feet if your inventory is full.

Expert Warning: “Typing long hex codes or internal developer strings is fine if you only need to do it once. But if you are building a massive base or experimenting with complex logic builds, manually typing case-sensitive codes becomes incredibly repetitive. One wrong character results in a syntax error or a game crash. I personally switched to a visual UI injector months ago.”

Download Scrap Mechanic Trainer Now

3. The Easy Way: XMODhub Visual Spawner (No Typing Required)

Stop Alt-Tabbing to check massive spreadsheets. Typing long, case-sensitive ID codes breaks your immersion, wastes valuable gaming time, and puts you at risk of accidentally corrupting your world file if you mess up the Lua code injection.

The XMODhub PC Client includes a dedicated “Visual Item Spawner” feature specifically built from the ground up for Scrap Mechanic. It acts as a powerful, modern alternative to outdated Scrap Mechanic cheat engine tables, injecting directly into the game’s physics and inventory engine without requiring you to manually edit a single line of Lua script.

  • Icon-Based UI: See exactly what the weapon, logic gate, or building material looks like in a beautiful, transparent overlay before you spawn it.
  • Instant Search: Just type the item name (e.g., “Thruster”) in the overlay search bar and click the icon to drop it into your hotbar. No need to memorize internal strings.
  • Batch Spawning: Get 999x of every single crafting material, block, or consumable with one single button press.
  • Auto-Updated Lists: When the developers at Axolot Games add new DLC items, patches, or entirely new mechanics, XMODhub updates its internal database automatically. You will never need to hunt for updated Item IDs again.
  • Bypass Anti-Cheat & File Integrity Checks: Because XMODhub operates directly in system memory, you don’t have to worry about Steam overriding your modified SurvivalGame.lua every time the game patches.

4. Weapon IDs List (Melee & Ranged)

Weapons in Scrap Mechanic are your only line of defense against the relentless rogue agricultural robots. While the arsenal is highly specialized, having immediate access to the best firearms and upgraded tools is mandatory for surviving the dangerous multi-floor Warehouses. Here are the top weapon and critical tool IDs.

Weapon / Tool Name Item ID Rarity / Tactical Notes
Sledgehammer Sledgehammer Your basic melee weapon. Does not require ammo, but requires you to get dangerously close to Farmbots.
Spud Gun SpudGun The standard ranged weapon. Fires potatoes at high velocity. Crucial for early-game defense.
Spud Shotgun PotatoShotgun Fires multiple fries in a spread pattern. Devastating at close range against Tapebots.
Spud Gatling Gun PotatoGatling Rapid-fire suppression weapon. Consumes massive amounts of potato ammo but shreds boss enemies rapidly.
Mountable Spud Gun MountableSpudGun A weapon designed to be attached to vehicles and triggered via logic gates and buttons.
Connect Tool ConnectTool The most important tool in the game. Used to wire logic gates, engines, bearings, and switches together.
Weld Tool WeldTool Allows you to attach loose creations to the ground, or fuse two separate vehicle creations into one solid grid.
Paint Tool PaintTool Used to color blocks and parts. Excellent for color-coding complex logic circuits so you don’t forget how they work.
Lift Lift Your best friend. Used to lift vehicles off the ground for easy building and maintenance from below.
Handbook Handbook The basic tutorial guide, useful if you accidentally lost yours or want to reference basic building techniques.
Logbook Logbook Contains lore and quest data found throughout the ruined world of Scrap Mechanic.
Glowstick Glowstick Throwable light source. Incredibly useful when exploring dark ruins or warehouse ventilation shafts.
Water Bucket WaterBucket Used to put out fires or water crops manually before you build an automated farming system.
Fertilizer Fertilizer Accelerates crop growth instantly. Highly recommended for power-leveling your farming output.
Soil Bag SoilBag Required to plant seeds. Spawning these saves you from scavenging for dirt patches across the map.

5. Armor & Clothing IDs List

Unlike traditional fantasy RPGs, Scrap Mechanic does not feature stat-boosting “armor” pieces like breastplates or helmets. Instead, survival depends on your vehicle’s armor and your character’s wardrobe customization, which is unlocked via Garment Boxes. Additionally, your functional “equipment” includes interactive backpacks and vital base-building tech. Here are the most essential IDs for character customization and vital equipment.

Equipment / Garment Name Item ID Equip Slot / Functionality
Common Garment Box GarmentBoxCommon Unlocks standard tier cosmetic clothing at the Dressbot.
Rare Garment Box GarmentBoxRare Unlocks medium-tier, highly detailed clothing items for your mechanic.
Epic Garment Box GarmentBoxEpic Unlocks the most prestigious, glowing, and complex clothing items in the entire game.
Gas Engine GasEngine High-torque equipment for driving heavy, armored vehicles across rough terrain.
Electric Engine ElectricEngine High-speed, silent equipment for lightweight scout vehicles and logic-based contraptions.
Controller Controller Equipment used to precisely rotate bearings to exact degree angles without needing an engine.
Logic Gate LogicGate The brain of any complex build. Capable of AND, OR, XOR, NAND, NOR, and XNOR operations.
Timer Timer Essential logic equipment. Delays a signal for a specific amount of time before passing it forward.
Sensor Sensor Detects distance, players, or specific colors. Mandatory equipment for automated doors and traps.
Suspension (Off-Road) SuspensionOffroad Heavy-duty shock absorbers. Prevents your armored vehicles from taking physics damage on jumps.
Suspension (Sport) SuspensionSport Stiff, high-response shocks. Ideal for low-profile, high-speed racing builds.
Seat Seat The basic driver’s equipment. Connects your movement keys to the vehicle’s engine and steering bearings.
Saddle Saddle A specialized seat. Offers less protection but fits into incredibly tight spaces on compact vehicles.
Piston Piston Equipment that extends and retracts. Vital for creating elevators, expanding bridges, and complex robotics.
Thruster Thruster Consumes massive amounts of fuel to provide raw directional thrust. Used for flying vehicles and hovercrafts.

6. Ammo & Consumables IDs List

Never run out of supplies during an intense Farmbot boss fight again. The survival mechanics in Scrap Mechanic require you to manage your hunger, thirst, and ammunition pools constantly. Manually farming these takes hours of real-world time. Use these IDs to bypass the agricultural grind entirely and keep your inventory fully stocked.

Item Name Item ID Recommended Spawn Quantity
Potato (Ammo) Potato 999 – Your primary ammunition. You will burn through hundreds of these in a single Warehouse run.
Sunshake Sunshake 50 – The best early-game consumable for restoring both thirst and a moderate amount of hunger.
Carrot Burger CarrotBurger 50 – A high-tier food item that provides massive hunger restoration.
Redbeet Burger RedbeetBurger 50 – Excellent for keeping your stats maxed out before taking combat damage.
Woc Steak WocSteak 25 – Harvested from Wocs. Good raw food, but much better when cooked or used in advanced recipes.
Tomato Seed TomatoSeed 100 – Basic agricultural seed to begin your automated farming operations.
Carrot Seed CarrotSeed 100 – Mid-tier seed. Sells for higher value and provides better food yield.
Redbeet Seed RedbeetSeed 100 – Used for high-tier farming and attracting specific types of hostile Farmbots.
Potato Seed PotatoSeed 200 – The most important seed. You must grow potatoes to convert them into ammunition.
Broccoli Seed BroccoliSeed 50 – Endgame agricultural crop. Highly valuable for late-game crafting and trading.
Pineapple Seed PineappleSeed 50 – Another endgame crop. Requires serious automated defenses to protect while growing.
Chemicals Chemicals 200 – Required for crafting advanced blocks and mixing concrete. Highly tedious to farm in the poison biomes.
Crude Oil CrudeOil 500 – Must be refined into Gasoline. Found underwater, making it annoying and dangerous to harvest natively.
Beeswax Beeswax 100 – Harvested from hives. Required for crafting specific types of low-friction blocks and certain upgrades.
Cotton Cotton 200 – Found exclusively in the Autumn Forest biomes. Mandatory for crafting any beds, seats, and clothing.

7. Troubleshooting: Why Are My Commands Failing?

If you have edited your Lua files, launched the game, and are typing the IDs correctly but the game is throwing errors (or nothing is happening at all), do not panic. The Scrap Mechanic physics and logic engine can be highly temperamental. Check these common technical issues to resolve your spawning problems:

  • Strict Case-Sensitivity Errors: The /give command in Scrap Mechanic relies entirely on strict string matching within its JSON database. If you type /give componentkit 10, the game will return an “Item not found” or Lua Nil error because it is searching for an exact camel-case match. You must type /give ComponentKit 10. Always double-check your capital letters!
  • Lua Syntax & File Corruption: When editing the SurvivalGame.lua file, it is extremely easy to accidentally delete a bracket, a parenthesis, or an end statement. If Scrap Mechanic crashes to the desktop immediately upon loading your save file, your Lua script is corrupted. To fix this, go to Steam, right-click the game, select Properties > Installed Files > “Verify integrity of game files”. This will download a fresh, clean Lua file. You can then carefully attempt the edit again.
  • The Command Exceeds Inventory Space: If you attempt to spawn /give MetalBlock3 999999, the game engine may freeze or heavily lag as it attempts to calculate physical drop entities for blocks that cannot fit into your character’s backpack limits. Always spawn items in reasonable stacks (e.g., blocks in stacks of 256, tools in stacks of 1) to prevent the physics engine from overloading and crashing your session.
  • Multiplayer Desyncs: Spawning thousands of physical items at once while hosting a multiplayer session will likely cause a massive desync. Your client will attempt to render thousands of dynamic physics objects, which can force your friends to disconnect from the server.
  • Major Game Updates Reverting Files: Every time Axolot Games releases a patch or hotfix, Steam automatically overrides all modified .lua files back to their default, encrypted state. If your commands were working yesterday but aren’t working today, you will need to re-open SurvivalGame.lua and change if g_survivalDev then back to if true then. (This is a primary reason why utilizing XMODhub’s memory injection is preferred over local file editing).

8. Enemy & NPC Spawn Codes (Farmbot Testing)

Building the ultimate automated defense system requires live targets. Instead of dragging your carefully constructed vehicle into the wild to find Farmbots, you can spawn them directly at your base for rigorous stress testing. Using the /spawn command followed by these specific NPC IDs allows you to orchestrate massive mechanical battles or verify that your base perimeter is truly impenetrable.

Entity Type Exact Spawn Code Threat Level & Behavior Loot Drops
Totebot Totebot Low – Charges directly at the player. Good for testing basic traps and low-tier walls. Circuit Boards
Haybot Haybot Medium – Swings a pitchfork rapidly, can easily destroy basic wooden structures. Scrap Metal, Component Kits
Tapebot Tapebot High – Shoots high-velocity tape rolls. Deadly at long range. Perfect for testing vehicle armor. Batteries, Component Kits
Red Farmbot Farmbot Extreme – Massive boss enemy. Shoots pesticides and uses a giant scythe to tear through metal. Warehouse Keys
Woc Woc Passive – Wandering livestock. Eats corn and produces Woc Milk. Safe to spawn in pens. Woc Steak (if killed)
Glowbug Glowbug Passive – Small insectoid entity. Essential for gathering specific resources. Glowsticks

9. Advanced Logic & Sensor Configuration IDs

For the hardcore engineers, Scrap Mechanic is all about the logic gates. If you are building a 16-bit computer, a fully automated sorting system, or a self-aiming turret, you need massive quantities of these specific interactive parts. Manually gathering the circuit boards to craft these is incredibly tedious, so spawning them in bulk allows you to focus purely on the complex wiring.

Logic Component Exact Item ID Core Engineering Function Complexity Level
Logic Gate LogicGate Foundational – Handles AND, OR, XOR, NAND, NOR, and XNOR operations. High
Timer Timer Sequencing – Delays signal outputs for precise mechanical timing and looping circuits. Medium
Math Block MathBlock Calculation – Performs advanced mathematical operations for highly complex builds. Extreme
Memory Bit MemoryBit Storage – Stores a binary state (1 or 0) for logic loops and data memory banks. Extreme
Color Sensor ColorSensor Detection – Triggers a signal when a specific painted block passes in front of it. Medium

10. Frequently Asked Questions (FAQ)

Q: Are these Item IDs case-sensitive in Scrap Mechanic?

A: Yes, absolutely. Because Scrap Mechanic’s engine parses inventory requests through Lua scripts directly reading from JSON data dictionaries, every single item ID is strictly case-sensitive. spudgun will fail, whereas SpudGun will succeed. You must match the casing provided in the tables above perfectly.

Q: Can I spawn items while playing in Multiplayer or Co-Op servers?

A: No, not unless you are the Host of the server and your friends have the exact same modified SurvivalGame.lua file installed on their local machines. If a client attempts to execute a /give command on a server where the Host has not enabled developer mode, the command will simply appear as regular text chat, or worse, trigger a desync error that disconnects the client. For seamless multiplayer spawning, third-party overlay tools are required.

Q: Does enabling developer commands disable Steam Achievements?

A: In the current build of Scrap Mechanic, editing the Lua file to enable the /give command does not inherently disable your Steam Achievements. However, because the game is still receiving updates, developers may implement a flag in the future that detects modified Lua files and blocks achievement progress. Proceed with caution on your main save file.

Q: How do I find the Item IDs for custom modded weapons and blocks downloaded from the Steam Workshop?

A: Finding dynamic load-order IDs manually for Workshop mods is extremely difficult. Modded items utilize complex, 32-character UUID strings (e.g., f152e46b-8809-4824-b1eb-50fcda696e59) rather than simple names like SpudGun. If you try to guess the name, it will fail. We highly recommend using the XMODhub Item Browser, which automatically scans your active mod load order, extracts the UUIDs in real-time, and lets you spawn any modded item with a single visual click.

Conclusion: The Ultimate Sandbox Experience

Having unlimited access to the complete Scrap Mechanic Item IDs list is the absolute fastest way to experiment with radical different vehicle designs, test out complex logic-gate computers, or simply recover your progress from a frustrating physics glitch that launched your favorite car into the stratosphere. Bookmark this page so you can quickly reference these critical codes whenever you start a new world.

However, if you want a significantly smoother, crash-free experience where you don’t need to memorize strings of code, worry about case-sensitivity, or constantly re-edit your game files after every single Steam patch, the XMODhub Visual Spawner is the superior modern choice. It transforms Scrap Mechanic from a tedious grind into the ultimate, frictionless engineering sandbox.

Stop Grinding, Start Enjoying.

Bypass the tedious resource gathering and unlock your full potential instantly.

Download XMODhub Trainer

  • Catherine Hu

    I am a passionate gamer and writer at XMODhub, dedicated to bringing you the latest gaming news, tips, and insights. Connect with me: LinkedIn Profile ↗

    Related Posts

    KOTAMON Mods List: Top 15 Essential Enhancements & Tweaks for 2026

    Quick Answer: What are the best KOTAMON: My Sis Found A Super-Rare Card In Her Cereal Box, So I Became A Garbage Man To Find The Entire Collection And Earn $1,000,000 mods right…

    KOTAMON Cheat Engine Guide: Item IDs, Console Spawn Codes & 1-Click Trainer

    Want to test out the endgame tools early? Are you entirely tired of grinding through endless piles of digital trash for rare crafting materials, or perhaps you accidentally sold a critical quest item,…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Primary Color

    Secondary Color

    Layout Mode