diff --git a/t2.lic b/t2.lic index 42a0e19179..375a20ea61 100644 --- a/t2.lic +++ b/t2.lic @@ -51,6 +51,8 @@ class T2 trainables = @settings['training_list'] EquipmentManager.new.empty_hands + # should only stay true if it gets through the below loop without executing anything. + warn_user = true trainables.each do |trainable| # Skip if learning rate is above start threshold for this trainable if trainable['skill'].is_a?(Array) @@ -81,8 +83,14 @@ class T2 execute_actions(trainable['scripts']) update_cooldown(trainable['skill']) if has_cooldown?(trainable['skill']) echo "***STATUS*** Completed #{trainable_title} in #{Time.at(Time.now - trainable_start_time).strftime("%Mm:%Ss")}" + warn_user = false break end + if warn_user + DRC.message("Ran out of things to do - please read the T2 tutorial if you see this message.\n https://github.com/rpherbig/dr-scripts/wiki/T2-Tutorial") + DRC.message("Sleeping 5 seconds.") + pause 5 + end end if !@settings.t2_after_shutdown.empty? echo "***STATUS*** Controlled shutdown, executing shutdown actions."