Add: phew, I was able to get rid of the effect by editing the save file.
Later edit: DO NOT USE this solution

Unless you are at the very start of the game.
It works to remove effect, however it will reset the global map (cover it with fog) and remove any areas unlockable through quest (e.g. Lumberjack Village, Last Hope Cemetery)
A good question is how to restore the areas, but purely off topic.
Writing it down here for benefit of everyone else with similar problems:
1) Find and open the folder where the game keeps save files.
On Windows 7 it is %USERPROFILE%\T-Engine\4.0\tome\save\<character name>
e.g. in my case it was f:\Users\taj\T-Engine\4.0\tome\save\neudacha
2) Inside there are several files tracking your game progress. The one you need is called game.teag
3) This file is an archive. Make a backup of the file (e.g. copy it to game.teag.bak), then rename it to game.zip and extract the contents into a temp folder.
4) Double check that you made a backup
5) In the folder with the extract, find file named like mod.class.Player-
<hexidecimal number>
In my case it was mod.class.Player-0x10827cd0, the number will be different for you. There is only one file with name like that so you shouldn't have problems locating it.
6) Open the file in any text editor. It is more or less human-readable.
7) Search for the string
d["tmp"]={ inside. This is a beginning of a section that, I guess, describes temporary effects on your characters.
Inside there are comma-delimited named subsections for each effect.
You'll need to identify whatever you want to get rid of and just delete it from the file.
In my case it was easy to spot what I need to remove, as there was something going by the name EFF_STALKED:
Code: Select all
d["tmp"]={["EFF_STALKED"]={["particle"]=loadObject('engine.Particles-0x167e6890'),
["effect_id"]="EFF_STALKED",
["dur"]=-4895,
["amount_decreased"]=0,
["particleBonus"]=1,
["maximum"]=13,
["src"]=loadObject('mod.class.NPC-0x138da7b8'),
["getName"]=loadstring("LJ\000@/data/timed_effects.lua‰\000\000\000 /.7\000\000\000\000T Ђ4\0007777\000\00067\000\000TЂ%\0007\000\000\000TЂ7\0007\000\000T\
Ђ\000% \0007\0007\0007\
>$H\000TЂH\000G\000\000capitalize from namesrceffect desctempeffect_def\
Actor\
classmodeffect_idself\000\000!name\000\000\000"),
["resolveSource"]=loadstring("LJ\000@/data/timed_effects.luaj\000\000\000%7\000\000\000\000T Ђ7\000\0007\000\000TЂ7\000\000\0007@\000TЂH\000\000G\000\000resolveSourcesrcself\000\000\000\000"),
["apply_power"]=24,
["save_string"]="Mental save",
["minimum"]=0,
["total_dur"]=13,
["__setting_up"]=true,
}
,
}
Pay attention to carefully track what falls inside pattern
["your effect name"]={effect description},.
In my case what's left was just
d["tmp"]={}
Also, IMPORTANT, the file seems to have Unix line endings, so take care to not break it.
For those not sure whats Unix line ending, and edit in Notepad - a) Don't create line breaks, b) If you see dots between sections, e.g.
.d["tmp"]={}., don't delete them as these dots are actually line breaks.

Save the file and archive it back inside game.zip. Then copy game.zip into game.teag - done!
9) If the game goes black screen when you load it, then something went wrong - double check that you haven't screwed up the dots, curly brackets, etc.