In the last update, scrap mechanic has enabled Survival mode :).
In this topic, I will show you how to cheat in Survival Mode!
Scrap mechanic cheats
Step 1:
Go to “C:\installed folder\Scrap Mechanic\Survival\Scripts\game” and find “SurvivalGame.lua” file.
or
Right-click on Scrap Mechanic in the steam library, select properties> local files > browse local files> Survival> Scripts> game> SurvivalGame.lua
Edit the file with Notepad
Step 2:
Go to this line and change “if g_survival then” to “if true then”
What is the next step?
Before changing to true :
- Go in the game to your savegame.
- Open the chat press ENTER.
- Dot not forget to add ” / ” when typing codes.
Here is the code list:
- /tumble “Set tumble state”
- /god “Mechanic characters will take no damage”
- /respawn “Respawn at last bed (or at the crash site)”
- /encrypt “Restrict interactions in all warehouses”
- /decrypt “Unrestrict interactions in all warehouses”
- /limited “Use the limited inventory”
- /unlimited “Use the unlimited inventory”
- /ambush “Starts a ‘random’ encounter”
- /recreate “Recreate world”
- /timeofday “Sets the time of the day as a fraction (0.5=mid day)”
- /timeprogress “Enables or disables time progress”
- /day “Disable time progression and set time to daytime”
- /spawn “Spawn a unit: ‘woc’, ‘tapebot’, ‘totebot’, ‘haybot’”
- /harvestable “Create a harvestable: ‘tree’, ‘stone’”
- /cleardebug “Clear debug draw objects”
- /export “Exports blueprint $SURVIVAL_DATA/LocalBlueprints/
.blueprint” - /import “Imports blueprint $SURVIVAL_DATA/LocalBlueprints/
.blueprint” - /starterkit “Spawn a starter kit”
- /mechanicstartkit”Spawn a starter kit for starting at mechanic station”
- /pipekit “Spawn a pipe kit”
- /foodkit “Spawn a food kit”
- /seedkit “Spawn a seed kit”
- /die “Kill the player”
- /sethp “Set player hp value”
- /setwater “Set player water value”
- /setfood “Set player food value”
- /aggroall “All hostile units will be made aware of the player’s position”
- /goto “Teleport to predefined position”
- /raid “Start a level
raid at player position at wave in hours.” - /stopraid “Cancel all incoming raids”
- /disableraids “Disable raids if true”
- /camera “Spawn a SplineCamera tool”
- /printglobals “Print all global lua variables”
- /clearpathnodes “Clear all path nodes in overworld”
- /enablepathpotatoes “Creates path nodes at potato hits in overworld and links to previous node”
Thank’s to EuCandTragAmValoare
Enjoy !