BranchTrading (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 93: Line 93:
Echo *****
Echo *****
Echo *****
Echo *****
</pre>
[[Category:Scripts]]
[[Category:Scripts]]

Revision as of 14:03, 12 March 2011

A Script for novice Traders. Gains trading exp by foraging branches and selling them to Mags in Crossing. Stops teaching around 10 ranks.
If_1 starts the script in front of Mags, otherwise it starts at NE Gate.
Requires a backpack Note: If you're going to have a backpack anyway, why not just GIVE BACKPACK TO MAGS so she can buy them all at once? She does that, you know. Saves a lot of time, and prevents falling to your knees from the weight.

If_1 goto 2
1:
put forage branch
  match 1 ...wait
  match foundone branch
  match 1 roundtime
 matchwait

foundone:
pause 1
put put my branch in my backpack
  match foundone ...wait
  match 1 you put your branch
  match 1 What were you referring to?
  match branchdone That's too heavy to go in there!
 matchwait

branchdone:
pause 1
pause 1
move go gate
move w
move w
move s
move s
move w
move w
move s
move w
move s
put s
wait
put s
wait
pause 1
move go baz

2:
pause 1
put get my branch
  match 2 ...wait
  match gotbranch you get a
  match gotbranch you are already holding that
  match donesell What were you referring to?
 matchwait

gotbranch:
put give mags
  match 2 Mags clucks her tongue, takes your branch, 
  match nomore Mags chuckles and pats your hand affectionately.
 matchwait

donesell:
put dance
wait
put dance
wait
move n
move n
put n
wait
put n
wait
pause 1
move e
move n
move e
move e
move n
move n
move e
move e
move go gate
goto 1


nomore:
Echo ***** 
Echo ***** YOU HAVE SOLD ALL THE BRANCHES YOU CAN.  TIME TO START TRADING FOR REAL
Echo ***** 
Echo ***** 
Echo ***** 
Echo *****