BranchTrading (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Script
|cat=training
|fe=StormFront
|auth=[[User:Tjorlando|Tjorlando]]
}}

<p>
<p>
A Script for novice Traders. Gains trading exp by foraging branches and selling them to Mags in Crossing. Stops teaching around 10 ranks.
A Script for novice [[Traders]]. Gains trading exp by foraging branches and selling them to [[Mags]] in [[Crossing]]. Stops teaching around 10 ranks.
<br>
<br>
If_1 starts the script in front of Mags, otherwise it starts at NE Gate.
If_1 starts the script in front of Mags, otherwise it starts at NE Gate.
<BR>
<BR>
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.
</p>
</p>


<pre>
<pre>
# Replace backpack with container you're keeping branches in
save backpack

If_1 goto 2
If_1 goto 2
1:
1:
Line 20: Line 26:
foundone:
foundone:
pause 1
pause 1
put put my branch in my backpack
put put my branch in my %s
match foundone ...wait
match foundone ...wait
match 1 you put your branch
match 1 you put your branch
Line 28: Line 34:


branchdone:
branchdone:
pause 1
put put my branch in bucket
pause 1
pause 1
pause 1
pause 1
Line 40: Line 48:
move w
move w
move s
move s
put s
move s
wait
put s
wait
pause 1
pause 1
move go baz
move go baz
pause 1
put remove my %s
wait
put drop my %s
wait
put guard %s
wait


2:
2:
put get branch in %s
pause 1
put get my branch
match 2 ...wait
match 2 ...wait
match gotbranch you get a
match gotbranch you get a
Line 63: Line 74:


donesell:
donesell:
pause 1
put dance
put get %s
wait
wait
put dance
put wear my %s
wait
wait
move n
move n
move n
move n
put n
move n
wait
put n
wait
pause 1
move e
move e
move n
move n
Line 87: Line 95:


nomore:
nomore:
put get %s
wait
put wear my %s
Echo *****
Echo *****
Echo ***** YOU HAVE SOLD ALL THE BRANCHES YOU CAN. TIME TO START TRADING FOR REAL
Echo ***** YOU HAVE SOLD ALL THE BRANCHES YOU CAN. TIME TO START TRADING FOR REAL
Line 93: Line 104:
Echo *****
Echo *****
Echo *****
Echo *****
</pre>
[[Category:Scripts]]

Latest revision as of 23:23, 11 January 2012

BranchTrading (script)
Category training
Front-end StormFront
Author Tjorlando


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.

# Replace backpack with container you're keeping branches in
save backpack

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 %s
  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
put put my branch in bucket
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
move s
pause 1
move go baz
pause 1
put remove my %s
wait
put drop my %s
wait
put guard %s
wait

2:
put get branch in %s
  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:
pause 1
put get %s
wait
put wear my %s
wait
move n
move n
move n
move e
move n
move e
move e
move n
move n
move e
move e
move go gate
goto 1


nomore:
put get %s
wait
put wear my %s
Echo ***** 
Echo ***** YOU HAVE SOLD ALL THE BRANCHES YOU CAN.  TIME TO START TRADING FOR REAL
Echo ***** 
Echo ***** 
Echo ***** 
Echo *****