Studycomp (script)

From Elanthipedia
Revision as of 19:48, 16 January 2018 by KHELEK00 (talk | contribs) (Created page with "{{Script |cat=training |fe=Genie |auth=User:Nithhogr }} Studies compendiums/textbooks (tested/created on a textbook so not 100% on how it'll work with a compendium). $com...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Studycomp (script)
Category training
Front-end Genie
Author User:Nithhogr


Studies compendiums/textbooks (tested/created on a textbook so not 100% on how it'll work with a compendium). $comp is the variable used for your compendium. If a page has 'advanced text' it will study it 8 times before turning the page. If it is 'impossible', the script will end. When Scholarship locks, it will change to 'skip mode' where it turns and studies only once, prioritizing FA training. When FA is locked, the script will end. When you reach charts you've already studied, the script will end.

Use skip as the variable to switch directly to skip mode.

compstart:
put get my $comp
pause 1
put open my $comp
if %1 = "skip" then goto skip
if_1 put turn my $comp to %1
goto study

study:
delay 1
put study my $comp
match study ...wait
match tough almost impossible
match study gradually absorbing
match hard advanced text
match page moment of clarity
match end Why do you need
matchwait

skip:
delay 1
gosub firstaid
put study my $comp
match end Why do you need
match tough almost impossible
pause
put turn my $comp
match skip You turn to
matchwait


hard:
counter add 1
if %c = 8 then goto page
gosub schol
goto study

page:
counter set 0
gosub schol
put turn my $comp 
match study You turn to
match page ...wait
matchwait

schol:
if $Scholarship.LearningRate > 33 then
	goto skip
	else
	return
	
firstaid:
if $First_Aid.LearningRate > 33 then
	goto finish
	else
	return

end:
put stow my $comp
echo No more charts to study.
pause 1
exit

finish:
put stow my $comp
echo Scholarship and FA locked.
pause 1
exit

tough:
put stow my $comp
echo Current chart too difficult.
pause 1
exit