PDA

View Full Version : Crafting Ranks script for Ta'Vaalor



Parker
01-07-2010, 05:26 AM
Okay, I don't know who was the original maker of this script, but thanks to them. (Feel free to claim it, if it's yours, I just modified it to work in a new location.)

Since I'm not terribly good at writing scripts, it took me a while, I'm sure someone with more experience could have done it in seconds.

Stormfront script to make/toss hammerheads in Ta'Vaalor. Not my original work, thanks to who did it!

echo
echo
echo Variables:
echo 1 - cape
echo 2 - 1000
echo
echo
echo Can start from the Supply Stall, the Teller,
echo or the Workshops in Wehnimer's Landing
echo
echo Ensure that you are wearing an apron upon starting
echo in any place, and have your bars purchased and stowed
echo if starting in the Supply Stall or the Workshop.
echo The script will withdraw silver and purchase your bars
echo for you if you are starting in the bank.
echo
echo

BEGIN:
echo Type YES to start or NO to abort.
match START YES
match ABORT NO
matchwait

ABORT:
exit

START:
put stow all
put look
match BANKSTART Teller
match STALLSTART Supply Stall
match WORKSTART Workshop]
matchwait

BANKSTART:
put withdraw %2 silver
move out
move out
move w
move s
move w
move w
move w
move s
move w
move s
move s
move s
move s
move s
move s
move e
move s
put go walk
put order 3 of 2
put buy
pause 1
put open my package
put empty my package in my %1
pause 2
put throw my package
goto STALLSTART

STALLSTART:
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals
match WORKSTART the clerk collects 300 silvers
match WORKSTART the clerk directs you to your rented
matchwait

WORKSTART:
put take bar from my %1
match GOTBAR You remove
match NEEDBAR Get what?
matchwait

GOTBAR:
put swap
goto GLYPH

GLYPH:
pause 2
match GLYPH2 You rub your chin
match GLYPH2 In the skill of forging - crafting, you are a novice
match GLYPH2 In the skill of forging - crafting, you are an apprentice
match GLYPH2 In the skill of forging - crafting, you are a journeyman
match GLYPH2 In the skill of forging - crafting, you are a skilled
match GLYPH2 In the skill of forging - crafting, you are a highly skilled
match MASTER In the skill of forging - crafting, you are a master
put artisan skill
put think
matchwait

GLYPH2:
match GLYPH3 bronze bar
match WORKSTART You glance down at your empty hands.
put glance
matchwait

GLYPH3:
put stare head-glyph
match TOOSMALL Before the design is complete
match GRINDER Your material is marked with a pattern,
matchwait

TOOSMALL:
pause 2
put put my bar in bin
goto WORKSTART

GRINDER:
pause 2
put turn grinder
match TIMESUP The grinding wheel doesn't
match GLYPH You decide the safest
match TOOTHPICK You mutter a few choice
match HAMMER You finish your work and
matchwait

TIMESUP:
move out
put go workshop
MATCH NEEDSILVER1 You don't have enough silver, rentals
MATCH GRINDER the clerk collects 300 silvers
matchwait

TOOTHPICK:
pause 2
put put my tooth in bin
goto WORKSTART

HAMMER:
pause 2
put put my hammer in bin
put swap
goto GLYPH

NEEDBAR:
move out
put order 3 of 2
put buy
match NEEDSILVER2 But you do not have enough silver!
match BACKIN I've placed your purchases in this
matchwait

BACKIN:
pause 1
put open my package
put empty my package in my %1
pause 2
put throw my package
put go workshop
match NEEDSILVER1 You don't have enough silver, rentals are
match WORKSTART the clerk directs you to your rented
match WORKSTART the clerk collects 300 silvers
matchwait

NEEDSILVER1:
put stow all
put go walk
move n
move w
move n
move n
move n
move n
move n
move n
move e
move n
move e
move e
move e
move n
move e
put go bank
put go arch
put withdraw %2 silver
goto GOBACK

GOBACK:
pause 1
move out
move out
move w
move s
move w
move w
move w
move s
move w
move s
move s
move s
move s
move s
move s
move e
move s
put go walk
goto STALLSTART

NEEDSILVER2:
put stow all
put go walk
move n
move w
move n
move n
move n
move n
move n
move n
move e
move n
move e
move e
move e
move n
move e
put go bank
put go arch
pause 1
goto BANKSTART

MASTER:
go out
echo
echo Congratulations! You have mastered crafting!
echo
exit