Farm Sidequest completeion detection

dawdawdo

Member
Is there a reliable way to detect which uniform was used to complete the "dook" sidequest during the Island War? I searched through the forums, and the OCW file, but nothing jumped out at me. Thanks.
 

Alhifar

Member
Only during the war, and even then, only during the first visit of the day, at least as far as I can figure out.
However, if the Farm quest was completed in mafia, then the property "sidequestFarmCompleted" will contain who the sidequest was completed for.
 

zarqon

Well-known member
Yes. Assuming you used mafia to do everything, you can simply check using

PHP:
if (get_property("sidequestFarmCompleted") == "hippy") {
 // it was completed as a hippy
}
if (get_property("sidequestFarmCompleted") == "fratboy") {
 // it was completed as a fratboy
}

If the quest has not been completed, the property will contain "none".

These specific words are in the warplans (external data file) of OCW, not the ASH, so it's little wonder it wasn't evident there.
 

dawdawdo

Member
Great. Thanks a bunch. Will this work if you complete the quest through the web browser VIA KolMafia, or does it have to be completed through the main java KolMafia interface? Either way, I suppose the external file can be modified to reflect this. Thanks again.
 
Top