diff --git a/plugins/Dfusion/include/lua_VersionInfo.h b/plugins/Dfusion/include/lua_VersionInfo.h new file mode 100644 index 000000000..cd46bd2a3 --- /dev/null +++ b/plugins/Dfusion/include/lua_VersionInfo.h @@ -0,0 +1,9 @@ +#ifndef LUA_VERSIONINFO_H +#define LUA_VERSIONINFO_H +#include + +namespace lua +{ + +} +#endif diff --git a/plugins/Dfusion/luafiles/adv_tools/plugin.lua b/plugins/Dfusion/luafiles/adv_tools/plugin.lua index 7ad4726d7..d8317f7ab 100644 --- a/plugins/Dfusion/luafiles/adv_tools/plugin.lua +++ b/plugins/Dfusion/luafiles/adv_tools/plugin.lua @@ -18,9 +18,11 @@ function adv_tools.ressurect() engine.poke(vector:getval(indx),ptr_Creature.bloodlvl,60000) --give blood engine.poke(vector:getval(indx),ptr_Creature.bleedlvl,0) --stop some bleeding... local flg=engine.peek(vector:getval(indx),ptr_Creature.flags) - flg:set(1,false) --ALIVE + flg:set(1,false) --ALIVE flg:set(39,false) -- leave body yet again flg:set(37,false) -- something todo with wounds- lets you walk again. + flg:set(58,true) -- makes them able to breathe + flg:set(61,true) -- gives them sight engine.poke(vector:getval(indx),ptr_Creature.flags,flg) end diff --git a/plugins/Dfusion/src/lua_VersionInfo.cpp b/plugins/Dfusion/src/lua_VersionInfo.cpp new file mode 100644 index 000000000..1d0cd6bed --- /dev/null +++ b/plugins/Dfusion/src/lua_VersionInfo.cpp @@ -0,0 +1 @@ +#include "lua_VersionInfo.h"