I am attempting to implement the solution found
here to resurrect a creature in Dwarf Fortress mode to no avail.
I pasted the code into a new lua file in the adv_tools folder (as mentioned above that post) and made a menu item to call the (sic) ressurect method. I am greeted with the following:
dfusion/adv_tools/init.lua:53: attempt to index global 'vector' <a nil value>
stack traceback:
dfusion/init.lua:7: in function '__index'
etc.. etc..
Would anyone have a better, more thorough answer on resurecting and healing up a dead creature (in this case a Tiger Man who accidentally starved to death)?
Edit:After reading the above post more carefully, I added the portions of the script in the script box to the init.lua script file in the tools directory, along with menu items. This seems to be more likely what was being attempted in the post.
Now however, I am greeted with the following:
dfusion/common.lua:262:attempt to call field '?' <a nil value>
stack traceback:
dfusion/init.lua:7: in function '?'
dfusion/common.lua:262: in function 'display'
dfusion/tools/plugin.lua:7 in main chunk
[C]: in function 'xpcall'
dfusion/init.lua:12: in function 'dofile'
dfusion/init.lua:45: in function 'mainmenu'
dfusion/init.lua:99: in main chunk
dfusion/init.lua:7 does not correspond to a function named '?' to my understanding, nor does dfusion/common.lua:262 have a field named '?'.
Caveat:
I am not versed yet in lua, so please enlighten. I can read some of this stuff, but I don't have a hold of the syntax quite yet. By day I am a .NET/Java developer.
Tigey