Pound *KS* (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Initial page creation / script submission)
 
Line 15: Line 15:


== Using It For The First Time ==
== Using It For The First Time ==
This script makes extremely heavy use of variables. The first page of the script is a simple set of instructions for you to set up the containers that you will be using for the various aspects of forging. The separation made there is due to the existence of Forger’s Belts. Following the instructions there should take just a few seconds and the script will set the appropriate variables to use your container if you’ve done so.<br>
This script makes extremely heavy use of variables. The first page of the script is a simple set of instructions for you to set up the containers that you will be using for the various aspects of forging. The separation made there is due to the existence of Forger’s Belts. Following the instructions there should take just a few seconds and the script will set the appropriate variables to use the container in question. It is initially set up for my own personal use, with a Forger's Belt and a Forging Kit. If that's your setup, then you won't need to change a thing!<br>


After you’ve done that and saved it, to start the script, just hold your profession book in one hand, with it open to the correct page, and type .Pound.<br>
After you’ve done that and saved it, to start the script, just hold your profession book in one hand, with it open to the correct page, and type .Pound.<br>

Revision as of 20:29, 12 June 2016

Pound *KS* (script)
Category Crafting,Forging
Front-end StormFront
Author Kashna

What This Script Does

This is an extremely comprehensive forging script meant to serve all three of the forging disciplines: Weaponsmithing, Blacksmithing, and Armorsmithing. In total it will:

1. Verify if you wish to just use a bronze ingot (as is typical for work orders) or not.
  • If you choose NOPE, it will then set your new chosen ingot as the one to be used.
  • If there’s an ingot on the anvil already, prompts along the way will let that one be used instead.
2. Verify which book you’re going to use, and if you’re doing this for a work-order or not.
  • If it’s for a work-order, it will run through, without prompts, until the work-order is complete. The exception to this is if you’re missing a necessary component – it will prompt you, but won’t stop the script so that it’s easy to keep going once you’ve acquired the item in question.
3. Reads through your profession book, determines the item being crafted, and the special actions or components required to forge it.
4. Alerts you, via text, when your crafting is complete (either single-session, or work-order, depending upon which was selected.

Using It For The First Time

This script makes extremely heavy use of variables. The first page of the script is a simple set of instructions for you to set up the containers that you will be using for the various aspects of forging. The separation made there is due to the existence of Forger’s Belts. Following the instructions there should take just a few seconds and the script will set the appropriate variables to use the container in question. It is initially set up for my own personal use, with a Forger's Belt and a Forging Kit. If that's your setup, then you won't need to change a thing!

After you’ve done that and saved it, to start the script, just hold your profession book in one hand, with it open to the correct page, and type .Pound.

Regarding Prompts

There are two kinds of prompts that you will receive within the script.

1. One is a YES/NOPE prompt. As long as you echo your text within your UI, this prompt will work perfectly by typing one of those two words. You’ll only ever have to respond to this prompt once per script use (whether it’s one item, or an entire work-order).
2. The second kind of prompt is one that waits until you perform a NOD. The script is waiting for the precise phrase “You nod”, which the game produces in response to your inputting the action “nod”. I made those prompts as such because it feels more intuitive to me and I like that kind of prompt more than a YES/NOPE prompt. This one is used, primarily, with regards to missing components – when a component is missing, you can keep the script running, wander off to the bank and back, buy the item in question, get back to the forge and “nod”, and the script will pick right back up where it left off!

Special Notes

I’ve tested this script extensively personally, in all three careers. It should work flawlessly for all of them, for all items currently craftable forging. That said, I might have missed something, so if you have any particular feedback, I would love to hear it on the TALK page!

Pound (Script)

# Variables at use in this script
# Variable P = item name
# Variable Q = book it belongs to
# Variable U = Do or DoNot - used for bundling
# Variable E = extra item required // what happens after quench
# Variable F = second extra item required
# Variables A, B, C, D, J, and K are described below
# N is only used internally and should never be touched.
# G, H, and I are used to help manage container interactions
#
# ** Container Variables:  CHANGE THESE! **
# Default assumes forger’s belt and forging kit.
# *Primary Tools Container – Hammer, Shovel, Tong, Bellows
# Due to the existence of forging belts, which use special verbs,
# By default it is assumed you are using a forger’s belt.
# If not, you MUST change the following two variables
# to refer to your own container.
#
# You may leave variables B. D and K empty if you do not need two
# variables to refer to your own individual container.
setvariable A forge
setvariable B belt
# 
# *Other Pieces Container* - for Pliers and Oil
setvariable C kit
setvariable D 
#
# *Profession Books and Logbook Container*
setvariable J kit
setvariable K 
#
# **IMPORTANT NOTICE**
# Prompts will be given at various points in this script.
# Each time it is to create a setting that is necessary
# for various elements within the script.
# 
# The script is waiting for you to either type “yes” or “nope”
# or just simply waiting for the prompt "You nod"
# before continuing.  Simply respond to the prompt.
#
# Warning:  Script will be caught in an infinite loop if you have a 
# work order open for which you are not currently crafting.
# To craft regular gear for another person, you will need to
# pause the script after it “gets” your logbook, then put your logbook away
# and close the container that it is kept in.  You will then be prompted as usual. 
#
#
# Do not change the following three variables – they are determined within the script
# and the following are the default values necessary to begin.
setvariable E Oil
setvariable F 
setvariable U Do

put tap my %A %B
match SetBelt belt
match SetOther you are wearing
matchwait

SetBelt:
setvariable G tie
setvariable H to
setvariable I untie
goto PoundGlance

SetOther:
setvariable G put
setvariable H in
setvariable I get
goto PoundGlance

PoundGlance:
put glance
match PoundGlance ...wait
match PoundPutAwayRod stirring rod
match PoundPutAwayHammer hammer
match PoundPutAwayTongs tong
match PoundPutAwayLog logbook
match PoundPutAwayShovel shovel
match PoundPutAwayIngot ingot
match IngotDoubleCheck at your empty
match IngotDoubleCheck instructions in your right hand and nothing
match IngotDoubleCheck instructions in your left hand
matchwait

PoundPutAwayIngot:
put stow ingot
waitfor You put
goto PoundGlance

PoundPutAwayHammer:
put %G my hammer %H my %A %B
waitfor hammer
goto PoundGlance

PoundPutAwayTongs:
put %G my tongs %H my %A %B
waitfor tongs
goto PoundGlance

PoundPutAwayRod:
put %G my rod %H my %A %B
waitfor rod	
goto PoundGlance

PoundPutAwayLog:
put put my log in my %J %K
waitfor You put
goto PoundGlance

PoundPutAwayShovel:
put %G my shovel %H my %A %B
waitfor shovel
goto PoundGlance

IngotDoubleCheck:
echo
echo ***************
echo
echo ***  Use bronze? ***
echo *** (Yes / Nope) ***
echo
echo ***************
echo
match IngotConfirmation Yes
match IngotConfirmation yes
match IngotSpecial Nope
match IngotSpecial nope
matchwait

IngotConfirmation:
echo Okay!
setvariable V bronze
goto MatchItemCheck

IngotSpecial:
setvariable V 
echo
echo *****************************
echo
echo *** Get the ingot you want to use
echo *** NOD when ready
echo
echo *****************************
echo
waitfor You nod
echo Okay!
goto IngotSpecialSet

	
MatchItemCheck:
pause 1
echo
echo **********************************
echo
echo *** Hold your forging book in your hand
echo *** Turn your book to the appropriate page
echo *** NOD when ready
echo
echo **********************************
echo
waitfor You nod
echo  Okay!
put glance
match SetBlackBook blacksmith
match SetArmorBook armorsmith
match SetWeaponBook weaponsmith
matchwait

SetBlackBook:
setvariable Q Blacksmith
goto CheckLogbook

SetArmorBook:
setvariable Q Armorsmith
goto CheckLogbook

SetWeaponBook:
setvariable Q Weaponsmith
goto CheckLogbook

CheckLogbook:
put read my logbook
match CheckLogbook ...wait
match NoOrder could not find what you
match NoOrder not currently tracking
match MatchItem%Q bundle and deliver
match WODone appears to be complete
matchwait

GetIngot:
put get my %V ingot
match GetIngot ...wait
match GetIngot quite lift it
match GetIngot2 You get
match GetIngot2 You are already
matchwait

GetIngot2:
put put my %V ingot on anvil
match GetIngot2 ...wait
match GetIngotStand You put
match PoundIngotProblem The anvil already has
matchwait

GetIngotStand:
put stand
match GetIngotStand ...wait
match StudyBook You stand back
match GetIngotStand Roundtime
match StudyBook You are already
matchwait

StudyBook:
pause 1
put get my %Q book
put study my book
waitfor Roundtime
goto PoundGetToolsPutAwayBook

PoundGetToolsPutAwayBook:
put put my book in my %J %K
waitfor You put
goto PoundGetTools

PoundGetTools:
put glance
match PoundGetTools ...wait
match PoundGetToolsPutAwayLog logbook
match PoundGetToolsPutAwayBook book
match PoundGetHammer at your empty
match PoundGetHammer tongs in your left
match PoundGetTong hammer
matchwait

PoundGetToolsPutAwayLog:
put put my logbook in my %J %K
waitfor You put
goto PoundGetTools

PoundGetHammer:
put %I my hamm %H my %A %B
match PoundGetHammer ...wait
match PoundGetTools You get
match PoundGetTools You remove
match PoundGetTong You are already
match PoundOops What were you
matchwait

PoundGetTong:
put %I my tong %H my %A %B
match PoundGetTong ...wait
match PoundStart You get
match PoundStart You remove
match PoundStart You are already
match PoundOops What were you
matchwait

MatchItemArmorsmith:
pause 1
echo Reading through the armorsmithing book...
match NoOrder logbook is not currently
match Helm helm
match ArmorMask ring mask
match ArmorMask chain mask
match ArmorMask mail mask
match ArmorMask scale mask
match ArmorMask brigandine mask
match ArmorMask lamellar mask
match ArmorMask plate mask
match Cap cap
match Aventail aventail
match Tasset tasset
match Gloves gloves
match Greaves greaves
match Vambraces vambraces
match Balaclava balaclava
match Sleeves sleeves
match Vest vest
match Mantle mantle
match Lorica lorica
match Robe robe
match Shirt shirt
match Hauberk hauberk
match Morion morion
match Gauntlets gauntlets
match Bascinet bascinet
match Barbute barbute
match Fauld fauld
match Backplate backplate
match Sallet sallet
match Breastplate breastplate
match Cuirass cuirass
match Plate field plate
match Plate half plate
match Plate full plate
match Plate fluted plate
match ShieldHandle shield handle
match ShieldBoss shield boss
match Shield shield
match Targe targe
match Sipar sipar
match Buckler buckler
match Aegis aegis
pause 3
put read my book
matchwait

MatchItemBlacksmith:
pause 1
echo Reading through the blacksmithing book...
match NoOrder logbook is not currently
match Shovel shovel
match Pickaxe pickaxe
match BlackTongs tongs
match BlackMallet peen mallet
match BlackHammer peen hammer
match Drawknife drawknife
match Chisels chisels
match WoodSaw wood saw
match BoneSaw bone saw
match Rasp rasp
match Rifflers rifflers
match Shaper shaper
match Pliers pliers
match Scraper scraper
match Yardstick yardstick
match Needles needles
match Scissors scissors
match Brazier brazier
match Awl awl
match Pestle pestle
match MixingStick mixing stick
match Sieve wire sieve
match Cup cup
match Rod rod
match Mug mug
match Keyblank keyblank
match Horseshoe horseshoe
match Scratcher scratcher
match Barbells barbells
match Flask flask
match AnkleBand ankle band
match Case case
match Box box
match Lantern lantern
match Razor razor
match Armband armband
match Chest chest
match Tube tube
match Clippers clippers
match Crown crown
match Mask mask
match Torque torque
match Headdress headdress
match Nut nut
match Bolt bolt
match Gear gear
match Spangle spangle
match Racken racken
match Flarmen flarmen
match Glarmen glarmen
pause 3
put read my book
matchwait

MatchItemWeaponsmith:
pause 1
echo Reading through the weaponsmithing book...
match NoOrder logbook is not currently
match Broadaxe broadaxe
match Briquet briquet
match Knife knife
match Dagger dagger
match Katar katar
match Misericorde misericorde
match Poignard poignard
match Pugio pugio
match Sword sword
match Stiletto stiletto
match Dart dart
match Falcata falcata
match Jambiya jambiya
match Kris kris
match Nehlata nehlata
match Takouba takouba
match Telek telek
match Dao dao
match Kasai kasai
match Koummya koummya
match Kythe kythe
match Oben oben
match Foil foil
match Pasabas pasabas
match Rapier rapier
match Blade blade
match Adze adze
match Baselard baselard
match Curlade curlade
match Gladius gladius
match Hanger hanger
match Mambeli mambeli
match Parang parang
match Sabre sabre
match Sashqa sashqa
match Scimitar scimitar
match Cutlass cutlass
match Axe axe
match Hatchet hatchet
match Shotel shotel
match Arzfilt arzfilt
match Condottiere condottiere
match Kudalata kudalata
match Nehdalata nehdalata
match Spatha spatha
match Abassi abassi
match Cinqueda cinqueda
match Dagasse dagasse
match Falchion falchion
match Namkomba namkomba
match Nimsha nimsha
match Recade recade
match Schiavona schiavona
match Claymore claymore
match Karambit karambit
match Flamberge flamberge
match Kaskara kaskara
match Shh shh
match Cosh cosh
match Cudgel cudgel
match Gavel gavel
match Prod prod
match Bludgeon bludgeon
match WeaponMallet hand mallet
match Scepter scepter
match Zubke zubke
match Club club
match Garz garz
match Mace mace
match Gauntlet gauntlet
match Bola bola
match Bulhawf bulhawf
match Cuska cuska
match Boko boko
match Boomerang boomerang
match Pin pin
match Hhr hhr
match Komno komno
match Marling marling
match Sha sha
match Ball ball and
match Chain chain
match Greathammer greathammer
match Flail flail
match Hara hara
match Star star
match Sledge sledge
match Ukabi ukabi
match Akabo akabo
match Kodur kodur
match Mattock mattock
match Javelin javelin
match Spear spear
match Allarh allarh
match Ava awgravet ava
match Bardiche bardiche
match Corseca coresca
match Guisarme guisarme
match Halberd halberd
match Hunth hunth
match Scythe scythe
match Tzece tzece
match Skefne skefne
match Glaive glaive
match Khuj khuj
match Fork fork
match Partisan partisan
match Fauchard fauchard
match Ngalio ngalio
match Lance lancepike
match Ranseur ranseur
match Spetum spetum
match Voulge voulge
match Nightstick nightstick
match Cane cane
match Quarterstaff quarterstaff
match Staff staff
match Knuckles knuckles
match Spike spike
match Claws claws
match Fan fan
match Riste riste
match Hawkbill hawkbill
match Kudalata kudalata
match Katana katana
match Tekkan tekkan
match Ring ring
match WeaponHammer short metal hammer
pause 3
put read my book
matchwait

#Variables E and F based on matching
VarECheck:
put read my book
match VarLargePadding large cloth padding
match VarSmallPadding small cloth padding
match VarLargeBacking large leather backing
match VarSmallBacking small leather backing
match VarShortCord short leather cord
match VarLongCord long leather cord
match VarHilt hilt
match VarHaft haft
match VarShortPole short wooden pole
match VarLongPole long wooden pole
matchwait

VarSmallPadding:
setvariable L small
setvariable E Padding
goto GetIngot

VarLargePadding:
setvariable L large
setvariable E Padding
goto GetIngot

VarSmallBacking:
setvariable L small
setvariable E Backing
gotoGetIngot

VarLargeBacking:
setvariable L large
setvariable E Backing
gotoGetIngot

VarHilt:
setvariable L 
setvariable E Hilt
goto GetIngot

VarHaft:
setvariable L 
setvariable E Haft
goto GetIngot

VarShortPole:
setvariable L short
setvariable E Pole
goto GetIngot

VarLongPole:
setvariable L long
setvariable E Pole
goto GetIngot

VarShortCord:
setvariable L short
setvariable E cord
goto GetIngot

VarLongCord:
setvariable L long
setvariable E cord
goto GetIngot

VarShields:
setvariable E Handle
setvariable F Cord
goto GetIngot

VarOilStow:
setvariable L
setvariable E OilStow
goto GetIngot

# Armorsmithing Products
#

Helm:
setvariable P helm
goto VarECheck

ArmorMask:
setvariable P mask
goto VarECheck

Cap:
setvariable P cap
goto VarECheck


Aventail:
setvariable P Aventail
goto VarECheck

Tasset:
setvariable P tasset
goto VarECheck

Gloves:
setvariable P gloves
goto VarECheck

Greaves:
setvariable P greaves
goto VarECheck

Vambraces:
setvariable P vambraces
goto VarECheck

Balaclava:
setvariable P balaclava
goto VarECheck

Sleeves:
setvariable P sleeves
goto VarECheck

Vest:
setvariable P vest
goto VarECheck

Mantle:
setvariable P mantle
goto VarECheck

Lorica:
setvariable P lorica
goto VarECheck

Robe:
setvariable P robe
goto VarECheck

Shirt:
setvariable P shirt
goto VarECheck

Hauberk:
setvariable P hauberk
goto VarECheck

Morion:
setvariable P morion
goto VarECheck

Gauntlets:
setvariable P gauntlets
goto VarECheck

Bascinet:
setvariable P bascinet
goto VarECheck

Barbute:
setvariable P barbute
goto VarECheck

Fauld:
setvariable P fauld
goto VarECheck

Backplate:
setvariable P backplate
goto VarECheck

Sallet:
setvariable P sallet
goto VarECheck

Breastplate:
setvariable P breastplate
goto VarECheck

Cuirass:
setvariable P cuirass
goto VarECheck

Plate:
setvariable P plate
goto VarECheck

ShieldHandle:
setvariable P handle
goto VarECheck


ShieldBoss:
setvariable P boss
goto VarECheck

Shield:
setvariable P shield
goto VarShields

Targe:
setvariable P targe
goto VarShields

Sipar:
setvariable P sipar
goto VarShields

Buckler:
setvariable P buckler
goto VarShields

Aegis:
setvariable P aegis
goto VarShields

# Blacksmithing Products
#

Shovel:
setvariable P shovel
goto VarECheck


Pickaxe:
setvariable P pickaxe
goto VarECheck


BlackMallet:
setvariable P mallet
goto VarECheck


BlackHammer:
setvariable P hammer
goto VarECheck


BlackTongs:
setvariable P tong
goto  VarOilStow

Drawknife:
setvariable P drawknife
goto VarECheck

Chisels:
setvariable P chisels
goto VarECheck
	
WoodSaw:
BoneSaw:
setvariable P saw
goto VarOilStow

Rasp:
setvariable P rasp
goto VarOilStow

Rifflers:
setvariable P rifflers
goto VarECheck

Shaper:
setvariable P shaper
goto VarOilStow

Pliers:
setvariable P pliers
goto VarOilStow
	
Yardstick:
setvariable P yardstick
goto VarOilStow

Needles:
setvariable P needles
goto VarOilStow

Scraper:
setvariable P scraper
goto VarOilStow

Scissors:
setvariable P scissors
goto VarOilStow

Awl:
setvariable P awl
goto VarOilStow

Brazier:
setvariable P brazier
goto VarOilStow	

Pestle:
setvariable P pestle
goto VarOilStow

MixingStick:
setvariable P stick
goto VarOilStow

Sieve:
setvariable P sieve
goto VarOilStow

Cup:
setvariable P cup
goto VarOilStow

Rod:
setvariable P rod
goto VarOilStow

Mug:
setvariable P mug
goto VarOilStow

Keyblank:
setvariable P keyblank
goto VarOilStow

Horseshoe:
setvariable P horseshoe
goto VarOilStow

Scratcher:
setvariable P scratcher
goto VarOilStow

Barbells:
setvariable P barbells
goto VarOilStow

Flask:
setvariable P flask
goto VarOilStow

AnkleBand:
setvariable P band
goto VarOilStow

Case:
setvariable P case
goto VarOilStow

Box:
setvariable P box
goto VarOilStow

Lantern:
setvariable P lantern
goto VarOilStow

Ring:
setvariable P ring
goto VarOilStow

Razor:
setvariable P razor
goto VarOilStow

Armband:
setvariable P armband
goto VarOilStow

Chest:
setvariable P chest
goto VarOilStow

Tube:
setvariable P tube
goto VarOilStow

Clippers:
setvariable P clippers
goto VarOilStow

Crown:
setvariable P crown
goto VarOilStow

Mask:
setvariable P mask
goto VarOilStow

Torque:
setvariable P torque
goto VarOilStow

Headdress:
setvariable P headdress
goto VarOilStow

Nut:
setvariable P nut
goto VarOilStow

Bolt:
setvariable P bolt
goto VarOilStow

Gear:
setvariable P gear
goto VarOilStow

Spangle:
setvariable P spangle
goto VarOilStow

Racken:
setvariable P racken
goto VarOilStow

Flarmen:
setvariable P flarmen
goto VarOilStow

Glarmen:
setvariable P glarmen
goto VarOilStow


#Weaponsmithing Products
#
Briquet:
setvariable P briq
goto VarECheck

Broadaxe:
setvariable P broadaxe
goto VarECheck

Knife:
setvariable P knife
goto VarECheck

Dagger:
setvariable P dagger
goto VarECheck

Katar:
setvariable P katar
goto VarECheck

Misericorde:
setvariable P misericorde
goto VarECheck

Poignard:
setvariable P poignard
goto VarECheck

Pugio:
setvariable P pugio
goto VarECheck

Sword:
setvariable P sword
goto VarECheck

Stiletto:
setvariable P stiletto
goto VarECheck

Dart:
setvariable P dart
goto VarECheck

Falcata:
setvariable P falcata
goto VarECheck

Jambiya:
setvariable P jambiya
goto VarECheck

Kris:
setvariable P kris
goto VarECheck

Nehlata:
setvariable P nehlata
goto VarECheck

Takouba:
setvariable P takouba
goto VarECheck

Telek:
setvariable P telek
goto VarECheck

Dao:
setvariable P dao
goto VarECheck

Kasai:
setvariable P kasai
goto VarECheck

Koummya:
setvariable P koummya
goto VarECheck

Kythe:
setvariable P kythe
goto VarECheck

Oben:
setvariable P oben
goto VarECheck

Foil:
setvariable P foil
goto VarECheck

Pasabas:
setvariable P pasabas
goto VarECheck

Rapier:
setvariable P rapier
goto VarECheck

Blade:
setvariable P blade
goto VarECheck

Adze:
setvariable P adze
goto VarECheck

Baselard:
setvariable P baselard
goto VarECheck

Curlade:
setvariable P curlade
goto VarECheck

Gladius:
setvariable P gladius
goto VarECheck

Hanger:
setvariable P hanger
goto VarECheck

Mambeli:
setvariable P mambeli
goto VarECheck

Parang:
setvariable P parang
goto VarECheck

Sabre:
setvariable P sabre
goto VarECheck

Sashqa:
setvariable P sashqa
goto VarECheck

Scimitar:
setvariable P scimitar
goto VarECheck

Cutlass:
setvariable P cutlass
goto VarECheck

Axe:
setvariable P axe
goto VarECheck

Hatchet:
setvariable P hatchet
goto VarECheck
	
Shotel:
setvariable P shotel
goto VarECheck

Arzfilt:
setvariable P arzfilt
goto VarECheck

Condottiere:
setvariable P condo
goto VarECheck

Kudalata:
setvariable P kudalata
goto VarECheck

Nehdalata:
setvariable P nehdalata
goto VarECheck

Spatha:
setvariable P spatha
goto VarECheck

Abassi:
setvariable P abassi
goto VarECheck

Cinqueda:
setvariable P cinqueda
goto VarECheck

Dagasse:
setvariable P dagasse
goto VarECheck
	
Falchion:
setvariable P falchion
goto VarECheck

Namkomba:
setvariable P namkomba
goto VarECheck

Nimsha:
setvariable P nimsha
goto VarECheck

Recade:
setvariable P recade
goto VarECheck

Schiavona:
setvariable P schiavona
goto VarECheck

Claymore:
setvariable P claymore
goto VarECheck

Karambit:
setvariable P karam
goto VarECheck

Flamberge:
setvariable P flamb
goto VarECheck

Kaskara:
setvariable P kaskara
goto VarECheck

Shh:
setvariable P shh
goto VarECheck

Cosh:
setvariable P cosh
goto VarOilStow

Prod:
setvariable P prod
goto VarOilStow

Cudgel:
setvariable P cudgel
goto VarOilStow

Gavel:
setvariable P gavel
goto VarECheck

Bludgeon:
setvariable P bludgeon
goto VarECheck

WeaponMallet:
setvariable P mallet
goto VarECheck

WeaponHammer:
setvariable P hammer
goto VarECheck

Scepter:
setvariable P scepter
goto VarECheck

Zubke:
setvariable P zubke
goto VarECheck

Club:
setvariable P club
goto VarECheck

Garz:
setvariable P garz
goto VarOilStow

Mace:
setvariable P mace
goto VarOilStow

Gauntlet:
setvariable P gauntlet
goto VarOilStow

Bola:
setvariable P bola
goto VarECheck

Bulhawf:
setvariable P bulhawf
goto VarECheck

Cuska:
setvariable P cuska
goto VarECheck

Boko:
setvariable P boko
goto VarOilStow

Boomerang:
setvariable P boomer
goto VarOilStow

Pin:
setvariable P pin
goto VarOilStow

Hhr:
setvariable P hhr
goto VarECheck

Komno:
setvariable P komno
goto VarECheck

Marling:
setvariable P marling
goto VarECheck

Sha:
setvariable P sha
goto VarOilStow

Ball:
setvariable P ball
goto VarECheck

Chain:
setvariable P chain
goto VarOilStow

Greathammer:
setvariable P greathammer
goto VarECheck

Flail:
setvariable P flail
goto VarECheck

Hara:
setvariable P hara
goto VarECheck

Star:
setvariable P star
goto VarECheck

Sledge:
setvariable P sledge
goto VarECheck

Ukabi:
setvariable P ukabi
goto VarECheck

Akabo:
setvariable P akabo
goto VarECheck

Kodur:
setvariable P Kodur
goto VarECheck

Mattock:
setvariable P mattock
goto VarECheck

Javelin:
setvariable P javelin
goto VarECheck

Spear:
setvariable P spear
goto VarECheck

Allarh:
setvariable P allar
goto VarECheck

Ava:
setvariable P ava
goto VarECheck

Bardiche:
setvariable P bardiche
goto VarECheck

Corseca:
setvariable P Corsec
goto VarECheck

Guisarme:
setvariable P guisarme
goto VarECheck

Halberd:
setvariable P halberd
goto VarECheck

Hunth:
setvariable P hunth
goto VarECheck

Scythe:
setvariable P scythe
goto VarECheck

Tzece:
setvariable P tzece
goto VarECheck

Skefne:
setvariable P skefne
goto VarECheck

Glaive:
setvariable P glaive
goto VarECheck

Khuj:
setvariable P khuj
goto VarECheck

Fork:
setvariable P fork
goto VarECheck

Partisan:
setvariable P partisan
goto VarECheck

Fauchard:
setvariable P fauchard
goto VarECheck

Ngalio:
setvariable P ngalio
goto VarECheck

Lance:
setvariable P lance
goto VarECheck

Ranseur:
setvariable P ranseur
goto VarECheck

Spetum:
setvariable P spetum
goto VarECheck

Voulge:
setvariable P voulge
goto VarECheck

Nightstick:
setvariable P nightstick
goto VarOilStow

Cane:
setvariable P cane
goto VarOilStow

Quarterstaff:
setvariable P quarterstaff
goto VarOilStow

Staff:
setvariable P staff
goto VarOilStow

Knuckles:
setvariable P knuckles
goto VarOilStow

Spike:
setvariable P spike
goto VarECheck

Claws:
setvariable P claws
goto VarECheck

Fan:
setvariable P fan
goto VarOilStow

Riste:
setvariable P riste
goto VarECheck

Hawkbill:
setvariable P hawkbill
goto VarECheck

Kudalata:
setvariable P kudalata
goto VarECheck

Katana:
setvariable P katana
goto VarECheck

Tekkan:
setvariable P tekkan
goto VarECheck


PoundStart:
put pound ingot on anvil with my hammer
match PoundStart ...wait
match PoundNotEnough need a larger volume
match PoundFuel some more fuel
match PoundFuel needs more fuel
match PoundBellows produces less heat
match PoundBellows unable to consume
match PoundTurn soft reworking
match PoundTurn along the horn
match PoundTurn mandrel
match PoundQuench in the slack tub
match PoundQuench ready for a quench
match PoundItem Roundtime
matchwait

PoundItem:
put pound %P on anvil with my hammer
match PoundItem ...wait
match PoundFuel need some more fuel
match PoundFuel needs more fuel
match PoundBellows produces less heat
match PoundBellows unable to consume
match PoundOil need of some oil
match PoundTurn soft reworking
match PoundTurn along the horn
match PoundTurn mandrel
match PoundQuench does not seem suitable
match PoundQuench slack tub
match PoundQuench complete and ready
match PoundItem Roundtime
matchwait

PoundQuench:
pause 1
put push tub
goto Pound%E
matchwait

PoundHaft:
pause 1
put %G my hamm %H my %A %B
put %G my tong %H my %A %B
match PoundHaft ...wait
match PoundHaftGetItem You put
match PoundHaftGetItem You attach
matchwait

PoundHaftGetItem:
put get %P on anvil
match PoundHaftGetItem ...wait
match PoundHaftGetHaft You get	
matchwait

PoundHaftGetHaft:
put get my haft
match PoundHaftGetHaft ...wait
match PoundHaft2 You get
match PoundHaftProblem What were you referring to
matchwait

PoundHaftProblem:
echo
echo *******************
echo
echo *** Missing hafts
echo *** NOD when acquired
echo *** And in hand
echo
echo *******************
echo
waitfor You nod
goto PoundHaft2

PoundHaft2:
put assemble my %P with my haft
match PoundHaft2 ...wait
match PoundGrindPush and affix it securely
matchwait

PoundHilt:
pause 1
put %G my hamm %H my %A %B
put %G my tong %H my %A %B
match PoundHilt ...wait
match PoundHiltGetItem You put
match PoundHiltGetItem You attach
matchwait

PoundHiltGetItem:
put get %P on anvil
match PoundHiltGetItem ...wait
match PoundHiltGetHilt You get
matchwait

PoundHiltGetHilt:
put get my hilt
match PoundHiltGetHilt ...wait
match PoundHilt2 You get
match PoundHiltProblem What were you referring to
matchwait

PoundHiltProblem:
echo
echo *******************
echo
echo *** Missing hilts
echo *** NOD when acquired
echo *** and in hand
echo
echo *******************
echo
waitfor You nod
goto PoundHilt2

PoundHilt2:
put assemble my %P with my Hilt
match PoundHilt2 ...wait
match PoundGrindPush your Hilt and tighten
matchwait

PoundGrindPush:
put turn grindst
match PoundGrindPush ...wait
match PoundGrindWeapon keeping it spinning
match PoundGrindPush Roundtime
matchwait

PoundGrindWeapon:
put push grind with %P
match PoundGrindWeapon ...wait
match PoundOilCont With grinding complete
matchwait

PoundPole:
pause 1
put %G my hamm %H my %A %B
put %G my tong %H my %A %B
match PoundPole ...wait
match PoundPoleGetItem You put
match PoundPoleGetItem You attach
matchwait

PoundPoleGetItem:
put get %P on anvil
match PoundPoleGetItem ...wait
match PoundPoleGetPole You get
matchwait

PoundPoleGetPole:
put get my %L pole
match PoundPoleGetPole ...wait
match PoundPole2 You get
match PoundPoleMissing What were you referring to
match PoundPoleWrong is not required
matchwait

PoundPoleWrong:
echo
echo ***********************
echo
echo *** Missing appropriate pole
echo *** NOD when acquired
echo *** and in hand
echo
echo *******************
echo
waitfor You nod
goto PoundPole2


PoundPoleMissing:
echo
echo *******************
echo
echo *** Missing pole
echo *** NOD when acquired
echo *** and in hand
echo
echo *******************
echo
waitfor You nod
goto PoundPole2

PoundPole2:
put assemble my %P with my Pole
match PoundPole2 ...wait
match PoundOilCont You place your Pole
matchwait

PoundPadding:
pause 1
put %G my hamm %H my %A %B
put %G my tong %H my %A %B
match PoundPadding ...wait
match PoundPaddingGetItem You put
match PoundPaddingGetItem You attach
matchwait

PoundPaddingGetItem:
put get %P on anvil
match ComplexPaddings light half plate
match ComplexPaddings light field plate
match ComplexPaddings lamellar robe
match ComplexPaddings brigandine robe
match ComplexPaddings scale robe
match ComplexPaddings mail robe
match ComplexPaddings mail shirt
match ComplexPaddings chain robe
match ComplexPaddings chain shirt
match ComplexPaddings ring robe
match ComplexPaddings ring shirt
match ComplexPaddings light full plate
match ComplexPaddings brigandine hauberk
match ComplexPaddings scale hauberk
match ComplexPaddings chain hauberk
match ComplexPaddings ring hauberk
match PoundPaddingGetItem ...wait
match PoundPaddingGetPadding from atop
matchwait

ComplexPaddings:
setvariable N First
goto ComplexPadding
	
ComplexPadding:
put get my %L padding
match ComplexPadding ...wait
match ComplexPaddingPart2 You get
match ComplexPaddingProblem What were you referring to
matchwait

ComplexPaddingProblem:
echo
echo **********************
echo
echo *** Missing required padding
echo *** NOD when acquired
echo	
echo **********************
echo
waitfor You nod
goto ComplexPaddingPart2

ComplexPaddingPart2:
put assemble my %P with my padding
match ComplexPaddingPart2 ...wait
match ComplexPaddingGetPliers You place your Padding
matchwait

ComplexPaddingGetPliers:
pause 1
put get my plier
match ComplexPaddingGetPliers ...wait
match ComplexPaddingPliers You get
matchwait

ComplexPaddingPliers:
put pull my %P with my plier
match ComplexPaddingPliers ...wait
match PoundPliersStow does not seem suitable
match ComplexPaddingPliers Roundtime
match ComplexPaddingPliersStow to continue crafting
matchwait

ComplexPaddingPliersStow:
put put my plier in my %C %D
match ComplexPaddingPliersStow ...wait
match ComplexPadding%N You put
match ComplexPadding%N You attach
matchwait

ComplexPaddingFirst:
setvariable N Second
setvariable L small
goto ComplexPadding

ComplexPaddingSecond:
setvariable N Third
goto ComplexPadding

PoundPaddingGetPadding:
setvariable N PaddingNormal
put get my %L Padding
match PoundPaddingGetPadding ...wait
match PoundPadding2 You get
match PoundPaddingProblem What were you referring to
matchwait

PoundPaddingProblem:
echo
echo **********************
echo
echo *** Missing required padding
echo *** NOD when acquired
echo	
echo **********************
echo
waitfor You nod
goto PoundPadding2

PoundPadding2:
put assemble my %P with my Padding
match PoundPadding2 ...wait
match PoundGetPliers You place your Padding
matchwait

PoundBacking:
pause 1
put %G my hamm %H my %A %B
put %G my tong %H my %A %B
match PoundBacking ...wait
match PoundBackingGetItem You put
match PoundBackingGetItem You attach
matchwait

PoundBackingGetItem:
put get %P on anvil
match ComplexBackings lamellar hauberk
match ComplexBackings laminar hauberk
match ComplexBackings heavy full plate
match ComplexBackings fluted plate
match ComplexBackings full plate
match ComplexBackings heavy field plate
match ComplexBackings field plate
match ComplexBackings half plate
match PoundBackingGetItem ...wait
match PoundBackingGetBacking You get
matchwait

ComplexBackings:
setvariable N First
goto ComplexBacking
	
ComplexBacking:
put get my %L backing
match ComplexBacking ...wait
match ComplexBackingPart2 You get
match ComplexBackingProblem What were you referring to
matchwait

ComplexBackingProblem:
echo
echo **********************
echo
echo *** Missing required backing
echo *** NOD when acquired
echo	
echo **********************
echo
waitfor You nod
goto ComplexBackingPart2

ComplexBackingPart2:
put assemble my %P with my backing
match ComplexBackingPart2 ...wait
match ComplexBackingGetPliers You place your Backing
matchwait

ComplexBackingGetPliers:
pause 1
put get my plier
match ComplexBackingGetPliers ...wait
match ComplexBackingPliers You get
matchwait

ComplexBackingPliers:
put pull my %P with my plier
match ComplexBackingPliers ...wait
match PoundPliersStow does not seem suitable
match ComplexBackingPliers Roundtime
match ComplexBackingPliersStow to continue crafting
matchwait

ComplexBackingPliersStow:
put put my plier in my %C %D
match ComplexBackingPliersStow ...wait
match ComplexBacking%N You put
match ComplexBacking%N You attach
matchwait

ComplexBackingFirst:
setvariable N Second
setvariable L small
goto ComplexBacking

ComplexBackingSecond:
setvariable N Third
goto ComplexBacking

PoundBackingGetBacking:
put get my %L backing
match PoundBackingGetBacking ...wait
match PoundBacking2 You get
match PoundBackingProblem What were you referring to
matchwait

PoundBackingProblem:
echo
echo *******************
echo
echo *** Missing backing
echo *** NOD when acquired
echo *** and in hand
echo
echo *******************
echo
waitfor You nod
goto PoundBacking2

PoundBacking2:
put assemble my %P with my backing
match PoundBacking2 ...wait
match PoundGetPliers You place your backing
matchwait

PoundGetPliers:
pause 1
put get my plier
match PoundGetPliers ...wait
match PoundPliers You get
matchwait

PoundPliers:
put pull my %P with my plier
match PoundPliers ...wait
match PoundPliers Roundtime
match PoundPliersStow need of some oil
matchwait

PoundHandle:
pause 1
put %G my hamm %H my %A %B
put %G my tong %H my %A %B
match PoundHandle ...wait
match PoundHandleGetItem You put
match PoundHandleGetItem You attach
matchwait

PoundHandleGetItem:
put get %P on anvil
match PoundHandleGetItem ...wait
match PoundHandleGetHandle You get
matchwait

PoundHandleGetHandle:
put get my handle
match PoundHandleGetHandle ...wait
match PoundHandle2 You get
match PoundHandleProblem What were you referring to
matchwait
	
PoundHandleProblem:
echo
echo *******************
echo
echo *** Missing shield handle
echo *** NOD when acquired
echo *** and in hand
echo
echo *******************
echo
waitfor You nod
goto PoundHandle2

PoundHandle2:
put assemble my %P with my cord
match PoundHandle2 ...wait
match PoundPostHandle You place your
matchwait

PoundPostHandle:
put put my %P on anvil
match PoundPostHandle ...wait
Match PoundPostHandleGetTools You put
matchwait

PoundPostHandleGetTools:
put %I my hamm %H my %A %B
put %I my tong %H my %A %B
match PoundPostHandleGetTools ...wait
match PoundPostHandlePound You get
match PoundPostHandlePound You remove
matchwait

PoundPostHandlePound:
put pound %P on anvil with my hammer
waitfor Roundtime
goto PoundCord

PoundCord:
pause 1
put %G my hamm %H my %A %B
put %G my tong %H my %A %B
match PoundCord ...wait
match PoundCordGetItem You put
match PoundCordGetItem You attach
matchwait

PoundCordGetItem:
put get %P on anvil
put get my cord
match PoundCordGetItem ...wait
match PoundCord2 You get
match PoundCordProblem What were you referring to
matchwait
	
PoundCordProblem:
echo
echo *******************
echo
echo *** Missing required cord
echo *** NOD when acquired
echo *** and in hand
echo
echo *******************
echo
waitfor You nod
goto PoundCord2

PoundCord2:
put assemble my %P with my cord
match PoundCord2 ...wait
match PoundOilCont You place your
matchwait

PoundPliersStow:
put put my plier in my %C %D
match PoundPliersStow ...wait
match PoundOilCont You put
match PoundOilCont You attach
matchwait

PoundOilStow:
pause 1
put %G my hamm %H my %A %B
put %G my tong %H my %A %B
goto PoundOil

PoundOil:
pause 1
put get %P on anvil
match PoundOil ...wait
match PoundOilStow You need a free hand
match PoundOilCont What were you referring to
match PoundOilCont You are already
match PoundOilCont from atop
matchwait

PoundOilCont:
put get my oil in my %C %D
match PoundOilCont ...wait
match PoundOil2 You get
match PoundOilProblem What were you referring to
matchwait

PoundOilProblem:
echo
echo *******************
echo
echo *** Missing Flask of Oil
echo *** NOD when acquired
echo *** and in hand
echo
echo *******************
echo
waitfor You nod
goto PoundOil2

PoundOil2:
put pour my oil on my %P
match PoundOilGrindBlunt does not seem suitable
match PoundOil2Stow Roundtime
matchwait

PoundOilGrindBlunt:
put put my oil in my %C %D
match PoundOilGrindBlunt ...wait
match PoundGrindPush You put
matchwait

PoundOil2Stow:
put put my oil in my %C %D
match PoundOil2Stow ...wait
match PoundDone You put
matchwait

PoundTurn:
put turn %P on anvil with my tong
match PoundTurn ...wait
match PoundQuench complete and ready
match PoundItem Roundtime
matchwait

PoundBellows:
put %G my tong %H my %A %B
put %I my bellows %H my %A %B
match PoundBellows ...wait
match PoundBellowsPush You get
match PoundBellowsPush You remove
matchwait

PoundBellowsPush:
put push my bellows
match PoundBellowsPush ...wait
match PoundBellowsStow Roundtime
matchwait

PoundBellowsStow:
put %G my bellows %H my %A %B
put %I my tong %H my %A %B
match PoundBellowsStow ...wait
match PoundItem You get
match PoundItem You remove
matchwait

PoundFuel:
put %G my tong %H my %A %B
put %I my shov %H my %A %B
match PoundFuel ...wait
match PoundFuelPush You get
match PoundFuelPush You remove
matchwait

PoundFuelPush:
put push fuel with my shov
match PoundFuelPush ...wait
match PoundFuelStow Roundtime
matchwait

PoundFuelStow:
put %G my shov %H my %A %B
put %I my tong %H my %A %B
match PoundFuelStow ...wait
match PoundItem You get
match PoundItem You remove
matchwait

PoundDone:
goto Bundle%U

BundleDo:
put get my log
match BundleDo ...wait
match BundleDoBundle You get
matchwait

BundleDoBundle:
put bund my %P with my log
match BundleDoBundle ...wait
match CheckLogbook2 You notate
matchwait

CheckLogbook2:
put read my logbook
match BundleDoNot not currently tracking
match GetIngot bundle and deliver
match WODone appears to be complete
matchwait

WODone:
put glance
match SwapLog logbook in your left hand
match BundleDoNot logbook in your right hand
matchwait

SwapLog:
put swap
goto BundleDoNot

BundleDoNot:
pause 1
echo
echo *********************
echo
echo *** Crafting complete! ***
echo
echo
echo *********************
echo
Exit:
Exit

PoundOops:
pause 1
echo
echo *************************************************
echo
echo *** You do not have the appropriate tools on hand to do that ***
echo
echo *************************************************
echo
Exit

PoundNotEnough:
pause 1
echo
echo **********************************************
echo
echo *** You need a larger ingot to begin the crafting process ***
echo
echo **********************************************
echo
Exit

PoundIngotProblem:
pause 1
echo
echo *********************************
echo
echo *** There is already an ingot on the anvil ***
echo *** To use the ingot already there NOD
echo
echo *********************************
echo
match PoundStowIngot You nod
matchwait

PoundStowIngot:
put stow my ingot
goto StudyBook

NoOrder:
setvariable U DoNot
pause 1
echo
echo **********************************
echo
echo *** You do not currently have a work order ***
echo *** Cancel script now to stop forging ***
echo 
echo *** Beginning pounding in 2 seconds ***
echo	
echo ***********************************
echo
pause 3
goto MatchItem%Q

IngotSpecialSet:
pause 1
put glance
match IngotBrass brass ingot
match IngotBronze bronze ingot
match IngotBronze bronze-alloy
match IngotCopper copper ingot
match IngotCopper copper-alloy
match IngotCovellite covellite ingot
match IngotIron iron ingot
match IngotIron iron-alloy
match IngotLead lead ingot
match IngotNickel nickel ingot
match IngotNickel nickel-alloy
match IngotPewter pewter ingot
match IngotPewter pewter-alloy
match IngotSilver silver ingot
match IngotTin tin ingot
match IngotZinc zinc ingot
match IngotDarkstone darkstone ingot
match IngotAnimite animite ingot
match IngotDamite damite ingot
match IngotElectrum electrum ingot
match IngotGlaes glaes ingot
match IngotHaralun haralun ingot
match IngotIcesteel icesteel ingot
match IngotKadepa kadepa ingot
match IngotKertig kertig ingot
match IngotLumium lumium ingot
match IngotPlatinum platinum ingot
match IngotSilversteel silversteel ingot
match IngotTyrium tyrium ingot
match IngotVardite vardite ingot
match IngotGold gold ingot
match IngotSteel steel ingot
match IngotSteel steel-alloy ingot
matchwait
goto MatchItemCheck

IngotBrass:
setvariable V brass
goto MatchItemCheck

IngotBronze:
setvariable V bronze
goto MatchItemCheck

IngotCopper:
setvariable V copper
goto MatchItemCheck
 
IngotCovellite:
setvariable V covellite
goto MatchItemCheck

IngotIron:
setvariable V iron
goto MatchItemCheck

IngotLead:
setvariable V lead
goto MatchItemCheck

IngotNickel:
setvariable V nickel
goto MatchItemCheck

IngotPewter:
setvariable V pewter
goto MatchItemCheck

IngotSilver:
setvariable V silver
goto MatchItemCheck

IngotSteel:
setvariable V steel
goto MatchItemCheck

IngotTin:
setvariable V tin
goto MatchItemCheck

IngotZinc:
setvariable V zinc
goto MatchItemCheck

IngotDarkstone:
setvariable V darkstone
goto MatchItemCheck

IngotAnimite:
setvariable V animite
goto MatchItemCheck

IngotDamite:
setvariable V damite
goto MatchItemCheck

IngotElectrum:
setvariable V electrum
goto MatchItemCheck

IngotGlaes:
setvariable V glaes
goto MatchItemCheck

IngotHaralun:
setvariable V haralun
goto MatchItemCheck

IngotKadepa:
setvariable V kadepa
goto MatchItemCheck

IngotKertig:
setvariable V kertig
goto MatchItemCheck

IngotLumium:
setvariable V lumium
goto MatchItemCheck

IngotPlatinum:
setvariable V platinum
goto MatchItemCheck

IngotSilversteel:
setvariable V silversteel
goto MatchItemCheck

IngotTyrium:
setvariable V tyrium
goto MatchItemCheck

IngotVardite:
setvariable V vardite
goto MatchItemCheck

IngotGold:
setvariable V gold
goto MatchItemCheck

IngotIceSteel:
setvariable V icesteel
goto MatchItemCheck