The in-game selected berry should not be used for the automation.
This value can be tempered with easily, by simply navigating between
pages for example.
Moreover, this data is reset each time the app is closed,
it's not persisted.
An advanced setting is now used for that purpose.
Farm: Don't use the selectedBerry to force berry planting
Forcing a berry planting would override the in-game user-selected
berry.
The ForcePlantBerriesAsked now contains the berry type directly,
this value is then used to plant berries insteadn of using
FarmController.selectedBerry().
Menu: Add custom dropdown list creation method
Regular HTML select element can only contain options with text content
The createDropdownListWithHtmlOptions method can be used to create
dropdown lists containing elements accepting any HTML Elements as
content.
This is mainly usefull to add images to the content.
The in-game selected berry should not be used for the automation. This value can be tempered with easily, by simply navigating between pages for example.
Moreover, this data is reset each time the app is closed, it's not persisted.
An advanced setting is now used for that purpose.![image](https://user-images.githubusercontent.com/11090416/219823666-f32a5502-ed58-4e2d-b26f-d4e02c42534a.png)
Farm: Don't use the selectedBerry to force berry planting
Forcing a berry planting would override the in-game user-selected berry.
The ForcePlantBerriesAsked now contains the berry type directly, this value is then used to plant berries insteadn of using
FarmController.selectedBerry()
.Menu: Add custom dropdown list creation method
Regular HTML select element can only contain options with text content
The
createDropdownListWithHtmlOptions
method can be used to create dropdown lists containing elements accepting any HTML Elements as content.This is mainly usefull to add images to the content.