Side Quest - Snacking by Jaseowns
# init
@setvar! jaseowns_EatSnackAtDiffMana 20
@setvar! jaseowns_EatSnackTimerCD 60000
settimer jaseowns_EatSnackTimer jaseowns_EatSnackTimerCD
while not dead
# base
if skill "Cooking" > 0 and diffmana >= jaseowns_EatSnackAtDiffMana and findtype "tray" backpack as jaseowns_Item
if timer jaseowns_EatSnackTimer >= jaseowns_EatSnackTimerCD
dclick jaseowns_Item
settimer jaseowns_EatSnackTimer 0
endif
endif
wait 1000
endwhile