yourmod.lua
Code: Select all
module(..., package.seeall)
function all()
--your code mod goes here
end
modlist.lua
Code: Select all
module(..., package.seeall)
require "nameofyourmod"
function all()
nameofyourmod.all()
end
Code: Select all
module(..., package.seeall)
require "nameoffirstmod"
require "nameofsecondmod"
function all()
nameoffirestmod.all()
nameofsecondmod.all()
end
Also, I know this will be implemented to the game in future updates, but I wanted to do it , and I will add "APIs" later for easyer things, like "terraforming" for world generation (clearing a land and placing entities), and other stuff to make some modding things easy, another thing I want to say, is that the devs are making modding really good, so not much "APIs" are needed
http://rapidshare.com/files/3283273573/ ... %201.1.rar