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.
_directory with your save files: https://satisfactory.fandom.com/wiki/Save_files#Save_File_Location
Locate directory of your hard drive.
In Satisfactory, check ID of your drive. Its contents will be located at
{save directory}/Computers/{drive ID}
Export Lua annotations for FIN interface.
In Satisfactory, open console by pressing tilde (
~
), the execute commandFINGenLuaDoc
.This will generate a file named
FINLuaDocumentation.lua
in your save directory.Move
FINLuaDocumentation.lua
into{save directory}/Computers/{drive ID}/.amm/lib
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.