dfhack/plugins/Dfusion
Warmist 33f674eee2 Removed dfusion lua files. Updated plugins. 2012-11-11 12:33:54 +02:00
..
include Another dfusion nuking (not much left :) ) 2012-09-25 11:30:38 +03:00
src Dfusion rebuild start (lua script side plugins) 2012-10-07 20:45:14 +03:00
CMakeLists.txt Removed dfusion lua files. Updated plugins. 2012-11-11 12:33:54 +02:00
dfusion.cpp More work on dfusion. Embark anywhere script separated. 2012-10-21 13:42:55 +03:00
readme.txt simple_embark/plugin.lua sanitized 2012-08-30 20:41:10 +03:00

readme.txt

Dfusion plugin offers four DFhack commands: 'dfusion', 'dfuse' and 'lua', 'runlua'.
lua:
Runs an interactive lua console. For more on lua commands see [http://www.lua.org/manual/5.1/manual.html Lua reference manual] or google "lua". Also this command could be ran with filepath as an argument. Then it runs that file as a lua script file. E.g. ''lua dfusion/temp.lua'' runs a file  <your df path>/dfusion/temp.lua.
runlua:
Similar to ''lua <filename>'' but not interactive, to be used with hotkeys
dfusion:
First this command runs all plugins' init.lua part then show a menu. Type number to run specified plugin.
dfuse:
Similar to dfusion but not interactive. To be used with hotkeys (later will have command support).

Also dfuse/dfusion runs an init script located at 'save directory/dfusion/init.lua'. And 'initcustom.lua' if it exists
More info http://dwarffortresswiki.org/index.php/Utility:DFusion