User:Riokan/Sandbox

From Elanthipedia
Revision as of 21:02, 17 July 2012 by Maintenance script (talk | contribs) (Created page with "{{Script |cat=Crafting |fe=StormFront |auth=Riokan }} Begin this script standing at an anvil with empty hands. In a worn container have ingots cut to the correct size, en...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Riokan/Sandbox
Category Crafting
Front-end StormFront
Author Riokan

Begin this script standing at an anvil with empty hands. In a worn container have ingots cut to the correct size, enough hilts or hafts for the entire workorder, your tools, your logbook, and your weaponsmithing book open to the correct page.

Syntax

Usage for this script is .Pound itemtype metaltype container - i.e. .Pound broadsword bronze backpack

Script

Instructions: echo ################################################ echo # echo # This script will craft and bundle an entire workorder. echo # echo # Start this script standing at an anvil with empty hands. echo # echo # Begin with: all ingots cut to size in a worn container echo # enough hilts or hafts in bag for the workorder echo # all your tools in a container echo # craft book and logbook in bag echo # craft book turned to correct page echo # echo # variable 1 = item being crafted (can be: sword, axe, etc.) echo # variable 2 = metal being used echo # variable 3 = container with all materials and tools echo # echo # example: .pound nimsha bronze backpack echo # echo ################################################ pause goto start

start: put GET MY %2 INGOT FROM MY %3 wait put put MY INGOT ON ANVIL wait put GET MY WEAPONSMITHING BOOK FROM MY %3 wait put STUDY MY BOOK wait pause put GET MY TONGS wait put STOW MY BOOK IN MY %3 wait put GET MY HAMMER wait goto Pound_Ingot

Pound_Ingot: pause put POUND INGOT ON ANVIL WITH MY HAMMER match Pound_Ingot ...wait match bellows stifled coals. match shovel need some more fuel. match tongs horn of the anvil. match tongs soft reworking. match Pound_Item Roundtime: matchwait

Pound_Item: pause put POUND %1 ON ANVIL WITH MY HAMMER match Pound_Item ...wait match bellows stifled coals. match shovel need some more fuel. match tongs horn of the anvil. match tongs soft reworking. match tub complete and ready match Pound_Item Roundtime: matchwait

bellows: pause put STOW wait put GET MY BELLOWS wait put PUSH MY BELLOWS match bellows stifled coals. match shovel need some more fuel. match tongs horn of the anvil. match tongs soft reworking. match tub complete and ready match stow_bellows Roundtime: matchwait

shovel: pause put STOW wait put GET MY SHOVEL wait put PUSH FUEL WITH MY SHOVEL match bellows stifled coals. match shovel need some more fuel. match tongs horn of the anvil. match tongs soft reworking. match tub complete and ready match stow_shovel Roundtime: matchwait

tongs: pause put TURN %1 ON ANVIL WITH MY TONGS match tongs ...wait match bellows stifled coals. match shovel need some more fuel. match tongs horn of the anvil. match tongs soft reworking. match tub complete and ready match Pound_Item Roundtime: matchwait

stow_bellows: pause put STOW MY BELLOWS wait put GET MY HAMMER wait goto Pound_Item

stow_shovel: pause put STOW MY SHOVEL wait put GET MY HAMMER wait goto Pound_Item

tub: pause put STOW RIGHT wait put STOW LEFT wait put PUSH TUB match hilt hilt match haft haft matchwait

hilt: pause put GET %1 ON ANVIL wait put GET HILT wait put ASSEMBLE MY %1 WITH MY HILT goto turn_grinder

haft: pause put GET %1 ON ANVIl wait put GET HAFT wait put ASSEMBLE MY %1 WITH MY HAFT goto turn_grinder

turn_grinder: pause put TURN GRINDSTONE match turn_grinder ...wait match push_grinder keeping it spinning fast. match turn_grinder Roundtime: matchwait

push_grinder: pause put PUSH GRINDSTONE WITH MY %1 match push_grinder ...wait match oil Roundtime: matchwait

oil: pause put GET MY OIL wait put POUR MY OIL ON MY %1 wait pause put STOW MY OIL wait goto assess

assess: pause put GET MY LOGBOOK FROM MY %3 wait put BUNDLE MY %1 WITH MY LOGBOOK wait put READ MY LOGBOOK match restart bundle and deliver match done complete matchwait

restart: put STOW RIGHT wait put STOW LEFT wait goto start

done: echo *** WORKORDER IS COMPLETE***