diff --git a/task-forage.lic b/task-forage.lic index aa5a0722ea..1aee33b6e4 100644 --- a/task-forage.lic +++ b/task-forage.lic @@ -370,12 +370,12 @@ class TaskForage echo 'use_boosts' if @debug # Check to see if a boost is already active - case DRC.bput('info', ' +Task Master, expiring ', ' +Encumbrance :', { 'timeout' => 0.5, 'suppress_no_match' => true }) + case DRC.bput('info', { 'timeout' => 0.5, 'suppress_no_match' => true }, ' +Task Master, expiring ') when / +Task Master, expiring / echo 'Already boosted' if @debug @boosted = true return true - when / +Encumbrance :/ + else echo 'Not boosted' if @debug case DRC.bput('boost task', 'You\'ve activated the Task Master boost', 'You don\'t have enough credits for the Task Master boost') @@ -389,6 +389,9 @@ class TaskForage return false end end + echo 'Unable to determine boost status' if @debug + @boosted = false + return false end def kill_time(repetitions = 1)