dfhack/library
AtomicChicken c58ffdb922
Added function to remove syndrome wound data
The presence of syndrome data in unit.syndromes.active generates corresponding wound data in unit.body.wounds. This wound data acts to produce all of the syndrome's actual effects, including but not limited to flag changes, interaction abilities, body transformation and display name alterations. Wound data persists when syndrome data is cleared from unit.syndromes.active. Since syndrome-util did not touch wound data at all, the erase function was completely ineffective at actually removing syndromes.

Note that syndromes also generate a bunch of data in the historical figure information of units. I have observed that this historical data is sufficient to restore the syndrome in a unit following map reload (at least in adventure mode), so its clearance (which needs to also include any corresponding interaction effects) will have to be addressed in a future update. As is, syndrome erasure remains incomplete.
2018-04-20 17:14:03 +02:00
..
DataStaticsFields Split DataStaticsFields into multiple compilation units 2016-03-22 17:34:25 -04:00
include DFHACK_PLUGIN: qualify Plugin 2018-02-16 02:17:58 -05:00
lua Added function to remove syndrome wound data 2018-04-20 17:14:03 +02:00
modules add checks to avoid potential segfaults. use more dfhack idiomatic code 2018-01-31 20:10:40 +01:00
proto Improve protobuf file regeneration (no longer uses a dummy status.txt file) 2016-10-24 22:51:27 -04:00
xml@2794f8a6d7 Bump to r2, update changelog, update submdules 2018-02-21 23:07:53 -05:00
CMakeLists.txt Add mising Error.cpp reference to dfhack-client 2018-02-07 14:32:27 -06:00
ColorText.cpp Fix crash in vprinterr due to va_list misuse 2016-07-03 23:33:07 -04:00
Console-posix.cpp Use TCSADRAIN when disabling raw mode as well 2015-10-14 15:58:27 -04:00
Console-windows.cpp Blocked errant line feed at full buffer 2017-12-22 13:42:59 +01:00
Core.cpp Add "headless" mode, use in travis 2018-02-03 23:59:01 -05:00
DFHackVersion.cpp Remove a couple unneeded includes 2016-03-04 20:23:00 -05:00
DataDefs.cpp Replace a call to abort() with a VTableMissing exception 2017-12-25 20:13:15 -05:00
DataStatics.cpp Add support for primitive type fields in lua wrapper. 2012-03-20 13:56:29 +04:00
DataStaticsCtor.cpp Header changes/cleanup. 2011-12-31 12:48:42 +01:00
DataStaticsFields.cpp Lua API: add get_vector() and support for renaming class methods 2017-12-23 20:18:55 -05:00
Error.cpp Fix Error.cpp compile for Windows 2018-02-07 10:40:52 -06:00
Hooks-darwin.cpp replacment -> replacement 2017-06-10 19:41:59 -04:00
Hooks-egg.cpp Fix bug #188, eggy hook 2013-04-24 17:50:34 +02:00
Hooks-linux.cpp headless: Disable sound, wgetch 2018-02-04 00:17:46 -05:00
Hooks-windows.cpp win64 fixes (partial) 2016-07-27 19:46:49 -04:00
LuaApi.cpp Add a basic Lua console API 2017-12-07 14:43:27 -05:00
LuaTools.cpp Fix some warnings with GCC -Wall 2016-10-15 00:37:18 -04:00
LuaTypes.cpp Refactor DFHack exception classes 2018-02-05 19:18:35 -05:00
LuaWrapper.cpp Fix some warnings with GCC -Wall 2016-10-15 00:37:18 -04:00
MiscUtils.cpp Remove Error.h include (#1224) 2018-02-07 20:14:36 -05:00
PlugLoad-posix.cpp Remove AS prefixes from add-spatter.cpp 2015-02-19 12:05:32 -05:00
PlugLoad-windows.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
PluginManager.cpp Show warning if all plugins fail to load (e.g. on Windows XP) 2018-02-12 13:58:55 -05:00
Process-darwin.cpp Fix (for win64) and avoid duplicating base address 2016-07-27 20:10:03 -04:00
Process-linux.cpp Fix (for win64) and avoid duplicating base address 2016-07-27 20:10:03 -04:00
Process-windows.cpp Fix RTTI in Win64 - offsets are relative to the current module (e.g. the DLL), so it needs to be looked up explicitly 2017-01-21 15:16:06 -06:00
RemoteClient.cpp Update clsocket and Open()/Listen() usage 2016-06-14 13:21:51 -04:00
RemoteServer.cpp Do some checks before trying to read json files. 2018-02-13 20:02:42 +05:30
RemoteTools.cpp Merge remote-tracking branch 'remotes/DFHack/develop' into RemoteServerUnsafe 2018-02-12 20:19:40 +05:30
TileTypes.cpp Implement a MapCache api for writing base layer tiles of arbitrary stone. 2013-10-10 12:15:50 +04:00
Types.cpp Add Filesystem::listdir() 2015-01-28 19:15:58 -05:00
VTableInterpose.cpp Fix follow_jmp for 64-bit code - skip REX prefix if found 2016-09-25 18:29:57 -05:00
VersionInfoFactory.cpp Correct bad os-type attributes in symbols.xml 2018-01-14 22:56:35 -05:00
binpatch.cpp Fix the error message produced by binpatch when a mismatch is detected. 2012-10-27 15:35:11 +04:00
dfhack-run.cpp Support calling a lua function via a protobuf request. 2014-02-10 20:09:06 +04:00
git-describe.cmake Make git-describe faster if no git index files have changed 2017-05-20 16:27:14 -04:00