Modding

In Nested, it is possible to modify (mod) the game itself. This means you would be able to add, remove, and change archetypes and other aspects of the game. In this tutorial, you will learn how to do this, and what you can do with it. To begin modding Nested, you must first have the files on your device. Here is how to get the necessary files: new Thing("Thing",["Thing Inside","Another Thing"],["It looks like things"]);
 * Go to Nested, the actual game
 * Right click (Ctrl+Click on Mac) the page, and select "Save Page As". Then save it to somewhere on your device
 * In this location, you need to locate the file named "Nested_files". There will also be something there called "Nested.html"
 * Within "Nested_files" open "Nestedscript.js" with a Javascript (or text) editor (Recommend Notepad on Windows and TextEdit on Mac for default)
 * In the text there should be something that says "And so, the fun begins!". You should follow the instructions given here (To find it fast, press Ctrl+F and type in the phrase)
 * The general structure for an archetype looks something like this:

To actually start modding everything, you need to learn what to do first. You should use the structure above for help or you can look at other archetypes in the code.
 * Here, you can add or remove archetypes and even change them

When you are done modding and want to see what the game is like follow these steps: If everything is okay, you should be able to play your modded game!
 * Save the file "Nestedscript.js"
 * Open "Nested.html" with your preferred internet browser
 * If something doesn't work, look back into your code for errors