|
|
@ -47,7 +47,7 @@ function mainmenu(t1)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
function RunSaved()
|
|
|
|
function RunSaved()
|
|
|
|
print("Locating saves...")
|
|
|
|
print("Locating saves...")
|
|
|
|
local str=df.world.cur_savegame.save_dir
|
|
|
|
local str=df.global.world.cur_savegame.save_dir
|
|
|
|
print("Current region:"..str)
|
|
|
|
print("Current region:"..str)
|
|
|
|
str="data/save/"..str.."/dfusion/init.lua"
|
|
|
|
str="data/save/"..str.."/dfusion/init.lua"
|
|
|
|
print("Trying to run:"..str)
|
|
|
|
print("Trying to run:"..str)
|
|
|
@ -61,7 +61,7 @@ dofile("dfusion/editor.lua")
|
|
|
|
unlockDF()
|
|
|
|
unlockDF()
|
|
|
|
plugins={}
|
|
|
|
plugins={}
|
|
|
|
table.insert(plugins,{"simple_embark","A simple embark dwarf count editor"})
|
|
|
|
table.insert(plugins,{"simple_embark","A simple embark dwarf count editor"})
|
|
|
|
table.insert(plugins,{"tools","some misc tools"})
|
|
|
|
--table.insert(plugins,{"tools","some misc tools"})
|
|
|
|
table.insert(plugins,{"embark","Multi race embark"})
|
|
|
|
table.insert(plugins,{"embark","Multi race embark"})
|
|
|
|
table.insert(plugins,{"friendship","Multi race fort enabler"})
|
|
|
|
table.insert(plugins,{"friendship","Multi race fort enabler"})
|
|
|
|
--[=[table.insert(plugins,{"items","A collection of item hacking tools"})
|
|
|
|
--[=[table.insert(plugins,{"items","A collection of item hacking tools"})
|
|
|
@ -73,8 +73,8 @@ table.insert(plugins,{"adv_tools","some tools for (mainly) advneturer hacking"})
|
|
|
|
table.insert(plugins,{"triggers","a function calling plug (discontinued...)"})
|
|
|
|
table.insert(plugins,{"triggers","a function calling plug (discontinued...)"})
|
|
|
|
table.insert(plugins,{"migrants","multi race imigrations"})
|
|
|
|
table.insert(plugins,{"migrants","multi race imigrations"})
|
|
|
|
--]=]
|
|
|
|
--]=]
|
|
|
|
table.insert(plugins,{"onfunction","run lua on some df function"})
|
|
|
|
--table.insert(plugins,{"onfunction","run lua on some df function"})
|
|
|
|
table.insert(plugins,{"editor","edit internals of df",EditDF})
|
|
|
|
--table.insert(plugins,{"editor","edit internals of df",EditDF})
|
|
|
|
table.insert(plugins,{"saves","run current worlds's init.lua",RunSaved})
|
|
|
|
table.insert(plugins,{"saves","run current worlds's init.lua",RunSaved})
|
|
|
|
loadall(plugins)
|
|
|
|
loadall(plugins)
|
|
|
|
dofile_silent("dfusion/initcustom.lua")
|
|
|
|
dofile_silent("dfusion/initcustom.lua")
|
|
|
|