Development environment

When you first install AMM, code server writes libraries to /.amm, and it also creates a development environment in the root directory of your hard drive.

Development environment includes common files like .gitignore, .luarc.json, and others. Everything is set up so that you can open your hard drive’s root directory in your favorite IDE and start coding.

The only thing you’ll need is to generate Lua annotations for FIN interface. Here’s a step-by-step guide.

  1. Locate `directory with your save files`_.

_directory with your save files: https://satisfactory.fandom.com/wiki/Save_files#Save_File_Location

  1. Locate directory of your hard drive.

    In Satisfactory, check ID of your drive. Its contents will be located at

    {save directory}/Computers/{drive ID}
    
  2. Export Lua annotations for FIN interface.

    In Satisfactory, open console by pressing tilde (~), the execute command FINGenLuaDoc.

    This will generate a file named FINLuaDocumentation.lua in your save directory.

  3. Move FINLuaDocumentation.lua into

    {save directory}/Computers/{drive ID}/.amm/lib
    
  4. Open the root of your hard drive in an IDE or a text editor. You’re all set!

It’s time to create your first AMM package.