1
Utilities and 3rd Party Applications / DFHack - how to remove werebeast curse?
« on: February 12, 2019, 02:44:15 pm »
Hello all, I have a couple dorfs infected with a werebeast curse, and I was wondering if I could remove the curse with DFHack without having to kill them.
I've been trying a couple of things so far, but unsuccesfully:
This is where it starts to get confusing, because I've then tried to print all syndromes (as I wasn't sure of what the syndrome name was) with this inline script (via ":lua"):
and well, there does not seem to be such thing as a werebeast syndrome... I get lots of inebriation, titan sickness, lots of different sicknesses, but no werebeast (or mistery or weregoat or wereanything).
looking through the list of syndromes in df.syndrome.xml I've found a "BODY_TRANSFORMATION" syndrome, so I tried with
last thing I tried is the add-syndrome script. I've found the dorf ID with cprobe, then tried "add-syndrome -target <ID> -erase -syndrome <many different attempts were made to fill this space>" but it keeps saying the syndrome name is invalid.
Help?
I've been trying a couple of things so far, but unsuccesfully:
- show-unit-syndromes
Code: [Select]
sibrek mosusmor
- Mystery [permanent]
- - Transformation [permanent] Weregoat
- printing all syndromes
This is where it starts to get confusing, because I've then tried to print all syndromes (as I wasn't sure of what the syndrome name was) with this inline script (via ":lua"):
Code: [Select]
for _,syn in ipairs(df.global.world.raws.syndromes.all) do
print(syn.syn_name)
end
and well, there does not seem to be such thing as a werebeast syndrome... I get lots of inebriation, titan sickness, lots of different sicknesses, but no werebeast (or mistery or weregoat or wereanything).
- first attempt to remove the syndrome with syndrome-util
looking through the list of syndromes in df.syndrome.xml I've found a "BODY_TRANSFORMATION" syndrome, so I tried with
Code: [Select]
for _, unit in ipairs(df.global.world.units.active) do
if dfhack.units.isCitizen(unit) then
synutil.eraseSyndromes(unit, "BODY_TRANSFORMATION")
end
end
but again, no change.- add-syndrome
last thing I tried is the add-syndrome script. I've found the dorf ID with cprobe, then tried "add-syndrome -target <ID> -erase -syndrome <many different attempts were made to fill this space>" but it keeps saying the syndrome name is invalid.
Help?