Are we allowed to edit the game?

Are we allowed to edit the game?
If we are allowed to edit the game, what program can we use?

yes you are. you can use node.js

ok, but how can you use node.js to edit the game.

Node.js is not a program, it is a library that the game uses to simplify a lot of features. To edit the game, you could use notepad, or vim/emacs, or SciTE, or notepad++, or gEdit, etc. The files are just plain unencrypted javascript (Note: NOT Java).

There is already a save game editor maintained by @HeWhoWas, but modified saves are NOT supported by GHG. Use at your own risk.

I use Notepad C++ for playing around with some tweaks and adding some fun scripts. I went through it with Javascript but I am more fluent with C++, you can use either one.

if I want to edit the game, what file in the game install directory should i open.

It depends what you want to edit. codeNw.js under the “compressed” folder contains a large majority of the game code. but you will have to un-obfuscate it to make it readable before you go editing it.

‘Editing’ the game itself goes against our EULA and is currently not okay. You can edit your save games if you wish but if something goes wrong then please don’t expect support from us.

I was completely unaware of this, usually the EULA is the first thing I check on games to see if I can mod them. I SHALL STOP FOR THE GREATER GOOD