Where is this from if you don't mind me asking, I don't generally paste things into dev console, don't know enough to read it.
Eh don't even bother with that shit. Just use the console.
Press F12, go to the console
Write
SugarCube.State.active.variables
Hit enter.
This will bring up a list of all the variables in the game. It's used for debugging purposes, but can also be used to tweak values and stuff.
The variable you're looking to change is "cash"
To change it, just do the above (or just hit up on your arrow key), and add ".cash = x" (x being the amount of money you want)
So for example
SugarCube.State.active.variables.cash = 10000
would set your cash value to $10,000.
And it would take effect after you go to another passage (basically clicking any link in the game).
You can pretty much change any variable in the game this way.
For nested variables (ones that show up under an arrow), you'd just do the first variable, and then the second one.
This game doesn't have them, but let's just say cash was under "player"
You'd just do
SugarCube.State.active.variables.player.cash = 10000
I should mention that you can do this stuff with pretty much any twine HTML game (you'd know em when you see them, they look/feel exactly like this game), so go ham. It's pretty useful knowledge to have, and can give you a bit of insight into how the game works.
There's a way you can also edit array values, but I can't remember off the top of my head. Usually I remember whenever I actually need to do it, which is almost never. So I tend to forget it after I do it.
But yeah, way easier than exporting a save, editing in notepad, and then importing it again. That's so tedious. Just edit values live. Sometimes I'll even edit the HTML side of things (on the HTML tab of the console) and fix bugs if I see them. But only really enough to progress on my end, so they're more of a bandaid. Or just edit some of the game logic to do shit like unlock mutually exclusive paths (like playing all 3 main paths of this game simultaneously), since I don't have time or patience to bother starting anew. Though the code resets back to normal if you refresh the page or close and reopen the game. But that can be a blessing as well if you fuck things up.