Hello.
A few hours ago I downloaded MDF 1.31, set up everything, generated a fresh world and embarked as succubi. Designated a 3x3 tavern on top of a Den of iniquity, waited for some visitors to arrive and ran 'Corrupt foreigners' job. And got this error:
origRace: SUCCUBUS, targetRace: SUCCUBUS
origRace: SUCCUBUS, targetRace: SUCCUBUS
origRace: ELF, targetRace: SUCCUBUS
selected caste: CAMBION_FEMALE
hack/scripts/masterwork//succubus/corrupt.lua:344: attempt to index a nil value (local 'spouse')
stack traceback:
hack/scripts/masterwork//succubus/corrupt.lua:344: in global 'corrupt'
hack/scripts/masterwork//succubus/corrupt.lua:111: in local 'findLos'
hack/scripts/masterwork//succubus/corrupt.lua:492: in local 'script_code'
...ress\Masterwork v1.31\Dwarf Fortress\hack\lua\dfhack.lua:680: in function 'dfhack.run_script_with_env'
(...tail calls...)
[C]: in field 'runCommand'
...ress\Masterwork v1.31\Dwarf Fortress\hack\lua\dfhack.lua:753: in upvalue '_run_command'
...ress\Masterwork v1.31\Dwarf Fortress\hack\lua\dfhack.lua:768: in function 'dfhack.run_command'
...warf Fortress/hack/scripts/modtools/reaction-trigger.lua:154: in local 'doAction'
...warf Fortress/hack/scripts/modtools/reaction-trigger.lua:200: in function <...warf Fortress/hack/scripts/modtools/reaction-trigger.lua:123>
Tried same thing 3 more times, and every time I get the same error and a demon that has the elf's name but no skills (not that I know if it
should get any skills). The original elf survives the process, actually, and seems to stop other visitors from getting turned (probably because she is the first in the 'Units->Others' list).
Here's MDF profile file:
https://www.dropbox.com/s/dkcl9fi3kbvxwfq/profile-corrupt-bug.JSON?dl=1And here's the save file (error pops up after a few seconds):
https://www.dropbox.com/s/wh3tumohttalyrw/region-corrupt-bug.zip?dl=1