
A short guide how to permit placing soil on roofs, inside prefab buildings, on metal, in the starter crashed ship, etc.!
What Does This Do?
You may be like me, that likes building on top of things. You know, piston-elevator and safely camp on top of a roof of an existing building. The survival mode has one major limitation in this: soil spots can only be placed on ‘original’ ground level areas. This prohibits planting inside, or on top of a (metal) roof, or… anywhere that’s not the ground really.
I find this a bit limiting! I want to build a huge house on top of the workshop. It’s a beautiful flat, large area. Why wouldn’t I be able to grow crops there if I bring the soil myself?
This fix will allow you to place your soil in a lot more places, meaning rooftop farming becomes possible.
- Want to make your starter farm on top of your spaceship? Sure.
- Want to use the workshop roof as a nice farming area? Go ahead.
- Want to build a huge farm on top of a warehouse? Why not.
Be warned: rooftop farming may inbalance the game because the Farmbots can’t reach you.
How Does this Fix Affect my Game?
This change only works on your own game. In multiplayer, each player needs to do these steps separately if they want to place soil in new places.
With this change, you can put soil in places where you normally can’t, such as:
- Inside barns
- On your starting spaceship
- In the craftbot workshop
- On top of buildings
Note: You still can’t place soil on things you build yourself, like your own buildings or vehicles. While there is a way to make this possible, it doesn’t work well and the soil ends up being unusable for plants.
Applying the Fix
How To:
- Access your local folder of Scrap Mechanic. Usually:
C:\Program Files (x86)\Steam\steamapps\common\Scrap Mechanic\
- Acces the following subfolder: Survival > Scripts > game > tools
\Survival\Scripts\game\tools
- Back up the file “SoilBag.lua”! If anything goes wrong, you can use this to restore.
- Open the file “SoilBag.lua” with Notepad or Notepad++
- Look for the line (LINE 172) if result.type == “terrainSurface” then.
- Replace with if result.type == “terrainSurface” or result.type == “terrainAsset” then.
- Save the file, start the game.
- You can now place soil on steel structures!
Be the first to comment