Studycomp (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
}}
}}


Studies compendiums/textbooks (tested/created on a textbook so not 100% on how it'll work with a compendium).<br>
Studies compendiums/textbooks (tested/modified on a textbook so not 100% on how it'll work with a compendium).<br>
$comp is the variable used for your compendium.<br>
$comp is the variable used for your compendium.<br>
If a page has 'advanced text' it will study it 8 times before turning the page. <br>
If a page has 'advanced text' it will study it 8 times before turning the page. <br>
Line 13: Line 13:
When you reach charts you've already studied, the script will end.<br>
When you reach charts you've already studied, the script will end.<br>
<br>
<br>
Use skip as the variable to switch directly to skip mode.
Use skip as the variable to switch directly to skip mode.<br>
<br>
Credit goes to Axiarra for the [[Study_Compendium_(script)|original script]] I used as a basis.


<pre>
<pre>
Line 37: Line 39:
skip:
skip:
delay 1
delay 1
gosub firstaid
put study my $comp
put study my $comp
match end Why do you need
match end Why do you need
Line 43: Line 44:
pause
pause
put turn my $comp
put turn my $comp
gosub firstaid
match skip You turn to
match skip You turn to
matchwait
matchwait
Line 74: Line 76:


end:
end:
pause
put stow my $comp
put stow my $comp
echo No more charts to study.
echo No more charts to study.
Line 80: Line 83:


finish:
finish:
pause
put stow my $comp
put stow my $comp
echo Scholarship and FA locked.
echo Scholarship and FA locked.
Line 86: Line 90:


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

</pre>
</pre>

Latest revision as of 20:06, 16 January 2018

Studycomp (script)
Category training
Front-end Genie
Author Nithhogr


Studies compendiums/textbooks (tested/modified 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.

Credit goes to Axiarra for the original script I used as a basis.

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
put study my $comp
match end Why do you need
match tough almost impossible
pause
put turn my $comp
gosub firstaid
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:
pause
put stow my $comp
echo No more charts to study.
pause 1
exit

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

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