Repair1 (script)
Repair1 (script) | |
---|---|
Category | crafting,Forging |
Front-end | StormFront,Wizard,Genie |
Author | Pfanston |
Description
You can find the Forging guide here Forging guide. Make sure you read it to understand what is going on.
This script is used to repair the crucible in the forge area you are working, and the tools you are using to create things with. It should be noted at this point that you need tool techs, weapon techs and armor techs to repair all tools, weapons, and armor. So if you don't have the tool techs you do not want to use this script to repair your tools. It wont work and will probably mess the tool up. If you don't have the techs to use this script then I suggest you take your tools to the Engineering Society Building and let Rangu repair them like you are repairing armor and weapons.
The script will then get the tool and analyze it, then get the wire brush out and begin the repair process.
Front End Changes
The script is currently set up and will run in stormfront, the wizard, and genie, as is.
Other Forging Scripts
This script repair1.cmd is a subset of forging scripts. The others are as follows:
blacksmith.cmd
weaponsmith.cmd
ingot_making.cmd
armorsmith.cmd
temper.cmd
Instructions
Make sure your tools are in the right container, and ingredients are in the right container and your hands are empty.
To start it type
.repair1 tool <tooltype> <Container>
.repair1 cruc <Container>
Set container to be where all your tools and ingredients are kept. Note: cruc is crucbile and it expects there to be salts in your container.
Tooltype is the tool you want to repair. If you are trying to repair a weapon its the weapon name or armor its the basic armor name.
example .repair1 tool rod bag
or .repair1 cruc bag
or .repair1 rod bag
or .repair1 bellows bag
Script
#repair1 tools if_1 goto %1 Start: echo ******************************************************** echo ** echo ** echo ** To start it type .repair1 tool <tooltype> <Container> echo ** .repair1 cruc <Container> echo ** example .repair1 tool rod bag echo ** or .repair1 cruc bag echo ** echo ** Set container to be where all your tools and ingredients echo ** are kept. Note: cruc is crucbile and it expects there echo ** to be salts in your container. echo ******************************************************** exit TOOL: put glance match Top You glance down at your empty hands match toolend You glance down to see matchwait TOP: pause put get %2 from my %3 pause match Done in pristine condition. match None Analyse what? match Next Roundtime: put analyze my %2 matchwait NEXT: pause put swap put get wire brush from my %3 pause match Done is not damaged enough to warrant repair. match Done does not need repair. match Next1 Roundtime: put rub my %2 with my brush matchwait NEXT1: pause put put my brush in my %3 pause put get oil from my %3 pause match complete Roundtime: put pour my oil on my %2 matchwait COMPLETE: pause put put my oil in my %3 pause put put my %2 in my %3 echo * echo * Your Tool has been repaired echo * exit DONE: pause put put my %2 in my %3 pause put put my brush in my %3 echo * echo * Your tool does not need repair. echo * exit NONE: pause echo * echo * You dont have that tool or its in another container. echo * exit TOOLEND: pause 2 echo ******************************************************************** echo * YOU HAVE SOMETHING IN HAND! PUT IT AWAY AND RESTART THE SCRIPT! * echo ******************************************************************** exit CRUC: put glance match Top1 You glance down at your empty hands match toolend You glance down to see matchwait TOP1: match Done1 in pristine condition. match None Analyse what? match repcruc Roundtime: put analyze cruc matchwait REPCRUC: pause put get salts from my %2 pause match completecruc Roundtime: put pour my salts in cruc matchwait COMPLETECRUC: pause echo * echo * The crucible has been repaired echo * exit DONE1: pause echo * echo * Your tool does not need repair. echo * exit