Sandustry

Sandustry

View Stats:
Spawn "Anything" at mouse cursor - cheat?
Would it be possible to have a sandbox mode as well as a cheat where we can spawn any material at the mouse cursor to prolong the game even after everything has been explored? Will there be modding support also?
< >
Showing 1-2 of 2 comments
There is a way, but it requires a bit of finagling with the debug console. Or you could use the modloader to easily turn it on.
Here is how to easily access debug. I use it to make more sand and water to keep my factory working.

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."
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: May 3 @ 10:41am
Posts: 2