Studycomp (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
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>

Revision as of 20:01, 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
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