Sandustry

Sandustry

View Stats:
Any "sandbox" mode? Or money Cheat?
I've cleared the map multiple times now, I'd really like to start from scratch one time with my factory already built. Then dig to the bottom and let her rip by opening the launchers and watch everything process all at once. Is there a way to cheat the money??
< >
Showing 1-7 of 7 comments
From Reddit:

Credit to Lottie from discord for these instructions (of Lottie's Cave fame)

"To unlock debug mode,

go to options,

at the bottom, open debug console, click it

then you want to go to sources in the debug tools, go down into the JS folder as shown in the first image

right click on bundle.js it and click override content then at the top you should get this prompt (second image), select a folder to store it in (i just use Downloads/Sandustry) search (Ctrl+f) for debug: { the first instance of that in the file should look like the third image

change the line just underneath it from active: !1 to active: 1

then hit Ctrl+s to save the change

be sure to save your game

then go back to the console and hit Ctrl+Shift+r to refresh it

as for how to use debug mode Click "Debug" bottom right of the screen E + click places solids (second half of the element list) F + click places dynamic elements (first half of the list)

Press R to lock camera position (so you can move about or out of frame or whatever you want, then R again to center the player again

❌ Do not use the empty box element, it will freeze the game. ❌ Ideally do not hit Hide UI, it will require a refresh (or further tinkering) to fix ✅ If you find a bug using this, please tell Lantto you were using this

Note: on Linux using Proton to run the game, use Z:/ based path If loading stops working, either you modified a image file outside of params accepted or the game updated enough that your modifications don't work if you have only turned on debug mode, remove/delete your bundle.js override and start from the begining of the guide."

I just tried this and it worked. Literally spawns anything you want. I've only played with it for about 30 seconds though.
Originally posted by KingSchwing:
From Reddit:

Credit to Lottie from discord for these instructions (of Lottie's Cave fame)

"To unlock debug mode,

go to options,

at the bottom, open debug console, click it

then you want to go to sources in the debug tools, go down into the JS folder as shown in the first image

right click on bundle.js it and click override content then at the top you should get this prompt (second image), select a folder to store it in (i just use Downloads/Sandustry) search (Ctrl+f) for debug: { the first instance of that in the file should look like the third image

change the line just underneath it from active: !1 to active: 1

then hit Ctrl+s to save the change

be sure to save your game

then go back to the console and hit Ctrl+Shift+r to refresh it

as for how to use debug mode Click "Debug" bottom right of the screen E + click places solids (second half of the element list) F + click places dynamic elements (first half of the list)

Press R to lock camera position (so you can move about or out of frame or whatever you want, then R again to center the player again

❌ Do not use the empty box element, it will freeze the game. ❌ Ideally do not hit Hide UI, it will require a refresh (or further tinkering) to fix ✅ If you find a bug using this, please tell Lantto you were using this

Note: on Linux using Proton to run the game, use Z:/ based path If loading stops working, either you modified a image file outside of params accepted or the game updated enough that your modifications don't work if you have only turned on debug mode, remove/delete your bundle.js override and start from the begining of the guide."

I just tried this and it worked. Literally spawns anything you want. I've only played with it for about 30 seconds though.
awesome, thanks man! Any idea how to scroll up to the elements? I can only see the bottom half
I'm not sure man. When I did it, I could see all elements, and inventory items(guns and such).

The debug list that I see fills the rightmost third of the screen with no scrolling.
Originally posted by LORD_K:
"...as for how to use debug mode Click "Debug" bottom right of the screen E + click places solids (second half of the element list) F + click places dynamic elements (first half of the list)..."
i no see any button "Debug" :(

You start by clicking "debug menu" in the pause screen. then after you follow the rest of the steps, debug will show up in the bottom right.
Originally posted by LORD_K:
how close debug window?
(Hard to use it!)

I believe it should be as simple as going to the folder you saved everything in (eg. Downloads/Sandustry), opening the Debug document, and changing the same line you did before from active: 1 back to active: !1, before saving and reloading.

I might be wrong though since I haven't done it myself, but it would make sense to me since all you're doing in reverting your original change.
Originally posted by LORD_K:
how close debug window?
(Hard to use it!)

I just restart the game to get rid of it. Just quit, and load save file.

You will also have to refresh the debug console (ctrl,shift,r) when you load up a new save to get the debug menu back. You don't have to do all the steps over again.
There's a whole modding community on the discord. New maps, new production chains, reskins, ect...
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: May 14, 2025 @ 6:51am
Posts: 6