Back to "provocation" tags

Train all/selected music skills at Prevalia Zoo by Dextrome

Description:

Looks for instruments in backpack and targets nearby sand crawler.

Delays next skill attempt when world is saving.

Instructions:

Choose which skills to train and what skill level to stop at by changing the variables at the top of the script.

Buy instruments, go to the sand crawlers at Prevalia Zoo and press Start!

# Stand near the sand crawlers at Prevalia Zoo! #-------------------------------------------------- # Choose which skills to train (1 = true / 0 = false) @setvar! trainDiscordance 1 @setvar! trainPeacemaking 1 @setvar! trainPovocation 1 # Choose at which skill level to stop training // (script will continue until all enabled skills have reached this level) @setvar! stopAtSkillLevel 100 #-------------------------------------------------- while not dead if trainDiscordance = 1 and skill 'Discordance' < stopAtSkillLevel if targetexists hotkey 'Cancel Current Target' endif useskill 'Discordance' wft 500 if insysmsg "What instrument" if findtype "bamboo flute" backpack as inny target inny elseif findtype "tambourine" backpack as inny target inny elseif findtype "drum" backpack as inny target inny elseif findtype "lute" backpack as inny target inny elseif findtype "lap harp" backpack as inny target inny endif wft 500 endif if findtype "a sand crawler" ground -1 -1 10 as mob target mob else target self endif for 55 wait 100 if insysmsg 'world is saving' @setvar! saveComplete 0 while saveComplete = 0 overhead 'Waiting for World Save' wait 500 if insysmsg 'save complete' overhead 'World Save complete' @setvar! saveComplete 1 endif endwhile endif endfor endif if trainPeacemaking = 1 and skill 'Peacemaking' < stopAtSkillLevel if targetexists hotkey 'Cancel Current Target' endif useskill 'Peacemaking' wft 500 if insysmsg "What instrument" if findtype "bamboo flute" backpack as inny target inny elseif findtype "tambourine" backpack as inny target inny elseif findtype "drum" backpack as inny target inny elseif findtype "lute" backpack as inny target inny elseif findtype "lap harp" backpack as inny target inny endif wft 500 endif if findtype "a sand crawler" ground -1 -1 10 as mob target mob else target self endif wait 200 if trainPovocation = 1 and skill 'Provocation' < stopAtSkillLevel if insysmsg "You fail to" for 55 wait 100 if insysmsg 'world is saving' @setvar! saveComplete 0 while saveComplete = 0 overhead 'Waiting for World Save' wait 500 if insysmsg 'save complete' overhead 'World Save complete' @setvar! saveComplete 1 endif endwhile endif endfor else //we need to wait longer between successful peace & provo attempts for 125 wait 100 if insysmsg 'world is saving' @setvar! saveComplete 0 while saveComplete = 0 overhead 'Waiting for World Save' wait 500 if insysmsg 'save complete' overhead 'World Save complete' @setvar! saveComplete 1 endif endwhile endif endfor endif else for 55 wait 100 if insysmsg 'world is saving' @setvar! saveComplete 0 while saveComplete = 0 overhead 'Waiting for World Save' wait 500 if insysmsg 'save complete' overhead 'World Save complete' @setvar! saveComplete 1 endif endwhile endif endfor endif endif if trainPovocation = 1 and skill 'Provocation' < stopAtSkillLevel if targetexists hotkey 'Cancel Current Target' endif useskill 'Provocation' wft 500 if insysmsg "What instrument" if findtype "bamboo flute" backpack as inny target inny elseif findtype "tambourine" backpack as inny target inny elseif findtype "drum" backpack as inny target inny elseif findtype "lute" backpack as inny target inny elseif findtype "lap harp" backpack as inny target inny endif wft 500 endif if findtype "a sand crawler" ground -1 -1 10 as mob target mob wft 500 endif wft 500 target self wait 200 if trainDiscordance = 1 and skill 'Discordance' < stopAtSkillLevel for 55 wait 100 if insysmsg 'world is saving' @setvar! saveComplete 0 while saveComplete = 0 overhead 'Waiting for World Save' wait 500 if insysmsg 'save complete' overhead 'World Save complete' @setvar! saveComplete 1 endif endwhile endif endfor else if insysmsg "You fail to" for 55 wait 100 if insysmsg 'world is saving' @setvar! saveComplete 0 while saveComplete = 0 overhead 'Waiting for World Save' wait 500 if insysmsg 'save complete' overhead 'World Save complete' @setvar! saveComplete 1 endif endwhile endif endfor else //we need to wait longer between successful peace & provo attempts for 125 wait 100 if insysmsg 'world is saving' @setvar! saveComplete 0 while saveComplete = 0 overhead 'Waiting for World Save' wait 500 if insysmsg 'save complete' overhead 'World Save complete' @setvar! saveComplete 1 endif endwhile endif endfor endif endif endif endwhile