Ingot making (script)

From Elanthipedia
Jump to navigation Jump to search
Ingot making (script)
Category crafting
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 assumes that you will have ingots, nuggets, fragments, and or bars in the crucible and the hands empty before starting and any extra ingredients needed in your tool container. All Forging is about the ingots used so you need to make an ingot that is big enough to do the job at hand. The ingot will then go on the anvil and you can begin the script.

The script will then get the book and study it, then get the Stirring rod out and begin the process.

Front End Changes

The script is currently set up and will run in stormfront and the wizard as is. It will also run in Genie and Warlock but you need to make some changes for that to happen. To make this script run in the Genie or Warlock front end you must make 2 changes. The script has 2 save items in it that must have the " " around the items being saved removed. These are as follows:

 save "bellows"
 save "shovel"


These two save "item" lines must be changed as follows to run in the genie front end:

 save bellows
 save shovel


Changing this area of the script allows it to run properly in Genie.

Other Forging Scripts

This script ingot_making.cmd is a subset of forging scripts. The others are as follows:

blacksmith.cmd
weaponsmith.cmd
armorsmith.cmd
repair1.cmd
temper.cmd

Instructions

Make sure your tool container has all the tools and ingredients needed for you project.

To use type .ingot_making smelt <toolcontainer> <Ingotcontainer>
or use type .ingot_making refine <toolcontainer> <Ingotcontainer>

Example : .ingot_making smelt bag pack
.ingot_making refine bag pack

Script

#ingot_making Smelt or refine

if_1 goto %1

ECHO ******************************
ECHO **
ECHO ** Before you start this script you should have all metals in the crucible, 
ECHO ** and your hands empty
ECHO **
ECHO ** To use type .ingot_making smelt <toolcontainer> <Ingotcontainer>
ECHO **        or   .ingot_making refine <toolcontainer> <Ingotcontainer>
ECHO **
ECHO ******************************
exit

Smelt:
  put glance
  match Smelt1 You glance down at your empty hands
  match ingotend You glance down to see
matchwait

Smelt1:
  pause
  put get rod from my %2

Stir:
  pause 1
  put stir cruc with my rod
  match Stir ...wait
  match Turn accumulating along the crucible's sides.
  match Bellows unable to consume its fuel.
  match Bellows As you finish working the fire dims and produces less heat from the stifled coals
  match Done1 You can only mix a crucible if it has something inside of it.
  match Done1 You should probably remove the non-metal items
  match Done At last the metal appears to be thoroughly mixed and you pour it into an ingot mold
  match Shovel fire dies down and needs more fuel.
  match Stir Roundtime
matchwait 

Turn:
  pause 1
  put turn crucible
  match Turn ...wait
  match Stir Roundtime
matchwait

Bellows:
  pause
  save "bellows"
  pause 2
  put get bellows from my %2
  pause
  put push bellows
  match Stow Roundtime
matchwait

Shovel:
  pause
  save "shovel"
  pause 2
  put get shovel from my %2
  pause
  put push fuel with my shovel
  match Stow Roundtime
matchwait

Stow:
  pause 1
  put put my %s in my %2
goto Stir

Done:
  pause
  put put my rod in my %2
  pause
  put put my ingot in my %3
  pause
  echo **
  echo ** You have completed the ingot
  echo **
exit

Done1:
  pause
  put put my rod in my %2
  pause
  echo **
  echo ** Either you have non-metal items or nothing in the crucible
  echo **
exit

refine:
  put glance
  match Refine1 You glance down at your empty hands
  match ingotend You glance down to see
matchwait

refine1:
  pause
  put get rod from my %2
  pause
  put get flux from my %2
  waitfor You get
  put pour my flux in cruci
  match Stir2 Roundtime
  match Turn2 accumulating along the crucible's sides.
  match Bellows2 unable to consume its fuel.
  match Shovel2 fire dies down and needs more fuel.
matchwait 

Stir2:
  pause 1
  put put my flux in my %2
goto Stir

Turn2:
  pause 1
  put put my flux in my %2
goto Turn

Bellows2:
  pause 1
  put put my flux in my %2
goto Bellows

Shovel2:
  pause 1
  put put my flux in my %2
goto Shovel

INGOTEND:
  pause 2
  echo ********************************************************************
  echo * YOU HAVE SOMETHING IN HAND!  PUT IT AWAY AND RESTART THE SCRIPT! *
  echo ********************************************************************
exit