# Fighter Factory 3 - Scripting system

For problems and bug report, go to VirtuallTek Systems web site. For doubts related to M.U.G.E.N., go to a more specialized site like: Elecbyte, Mugen Fighters Guild, among others that you can find using Google.

# Scripting system

The Scripting system allows the user to perform very specific and advanced tasks that the program doesn't provide by default.

All project functions and some interface widgets are scriptable using Lua 5.1. See Classes and functions for more details.

The system contains 4 types of scripts:

## Common

Stored in the common folder, is used to provide helper functions to other scripts.

## Project template

Stored in the projects folder, this type of script is used to initialize a new project (Project -> New).

The new project to be created is passed as parameter to the entry point function:

function template(project)
return true
end

This is the simpliest template that leaves the new project empty. The return value determines if the new project will be accepted as is or discarded.

The project parameter is a Project class.

## Code snippet

## Tool