the current farmer quest resets the quest to INIT after spawning the reward.
The initial code Commit 14aab09 has a 10 at this place that also would make more sense since there also is a case 10.
I guess that this bug was added while replacing magic numbers by enum values.
Edit:
The incriminating commit: adf5f8f504236dc64624916b462ab9c0ad9ca0cb
as explored in https://github.com/diasurgical/devilutionX/issues/2578#issuecomment-897880228
the current farmer quest resets the quest to
INIT
after spawning the reward. The initial code Commit 14aab09 has a10
at this place that also would make more sense since there also is acase 10
.I guess that this bug was added while replacing magic numbers by enum values.
Edit:
The incriminating commit: adf5f8f504236dc64624916b462ab9c0ad9ca0cb