updated readme.txt

develop
Warmist 2012-03-18 02:22:26 +02:00
parent e1279d79db
commit 943c4abe76
1 changed files with 12 additions and 40 deletions

@ -1,40 +1,12 @@
Dfusion command runs file <df dir>\dfusion\init.lua Dfusion plugin offers four DFhack commands: 'dfusion', 'dfuse' and 'lua', 'runlua'.
Other than std lua commands supported: lua:
* Console. 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.
print(string) runlua:
printerr(string) Similar to ''lua <filename>'' but not interactive, to be used with hotkeys
clear() dfusion:
gotoxy(x,y) First this command runs all plugins' init.lua part then show a menu. Type number to run specified plugin.
color(int) //TODO add id's, use numbers upto 16 for now dfuse:
reset_color() Similar to dfusion but not interactive. To be used with hotkeys (later will have command support).
cursor(true/false)
msleep(int) Also dfuse/dfusion runs an init script located at 'save directory/dfusion/init.lua'. And 'initcustom.lua' if it exists
get_columns() More info http://dwarffortresswiki.org/index.php/Utility:DFusion
get_rows()
lineedit(string) //text input through console
history_add(string) // adds string to console history
* Process.
readDWord
writeDWord
readFloat
readWord
writeWord
readByte
writeByte
read
write
read/writeSTLString
copySTLString
doReadClassName
readClassName
readCString
isSuspended
isIdentified
getThreadIDs
getMemRanges
getBase
getPath
setPermisions
Functions searched:
OnTick()
If defined is called each DFHack tick.