Shapebolts (script)

From Elanthipedia
(Redirected from Shapebolts)
Jump to navigation Jump to search
Shapebolts (script)
Category crafting,Engineering
Front-end StormFront,Wizard,Genie
Author Pfanston


Description

This script assumes you have some bolt shafts, boltheads, tools and bolt flights are in the container1, and shaping book and maybe a stamp are in the container2 and yes they can both be the same container if you wish. The Tinkering book must be turned to the right page. The script is currently set up to not stamp your boltss if you have a stamp. If you want to stamp your bolts go find goto boltend1 and change that to goto boltend2 and you will then stamp your bolts as you complete them. Each bolthead and bolt shaft will make 5 bolts. This script goes through one cycle to make 5 bolts. Run it again to make 5 more etc.

Note this script is set up for stormfront, wizard and genie. I have run it in all 3 front ends. One last side note. I have not made every bolt with the script. The last 3 I have not created yet. It should work for them as well but you just never know sometimes.

Items Needed

First you need boltheads which you make from critter parts and use shapeah.cmd. Second you need shafts and use shapeshaft.cmd. Note there is no difference between a pine shaft and a goldwood shaft if both are made masterfully. All you need are masterful shafts. Then you need the normal tools, shaper, carving knife, glue, and bolt flights from the engineering society. Critter drops and store bought flights do not work at this point.

Other Shaping and Tinkering Scripts

This script shapebolts.cmd is a subset of shaping and tinkering scripts. The others are as follows:

shapeah.cmd
shapeshaft.cmd
shapearrows.cmd
shapeitem.cmd
shapebowenhance.cmd
shapelumber.cmd

Instructions

Make sure tinkering book is turned to the correct page for what you plan to do.

parameters are .shapebolts <container1> <container2> <part>

example .shapebolts bag pack boar-tusk
or .shapebolts bag bag cougar-claw
or .shapebolts pack pack sabertooth
or .shapebolts bag rucksack angiswaerd

where <part> = what is being made, cougar-claw, boar-tusk, sabretooth, angiswaerd, hele'la, basilisk, elsralael, soot-stained, ice-adder, jagged-horn, drake-fang.
<container1> = bag, backpack, rucksack, etc.
<container2> = bag, backpack, rucksack, etc.

Script

#shapebolts
#
# Make sure tinkering book is turned to the correct page for what you plan
# to do.
#
# parameters are .shapebolts <container1> <container2> <part>
#
# example .shapebolts bag pack boar-tusk
#     or  .shapebolts bag bag cougar-claw
#     or  .shapebolts pack pack sabertooth
#     or  .shapebolts bag rucksack angiswaerd
#
#
# where <part> = what is being made, cougar-claw, boar-tusk, sabretooth,
#                angiswaerd, hele'la, basilisk, elsralael, soot-stained,
#                ice-adder, jagged-horn, drake-fang.
#       <container1> = bag, backpack, rucksack, etc.
#       <container2> = bag, backpack, rucksack, etc.
#
# This script assumes you have some bolt shafts, boltheads, tools and flights are 
# in the container1, and tinkering book and maybe a stamp are in the container2 
# and yes they can both be the same container if you wish.  The Shaping book must
# be turned to the right page.  The script is currently set up to not stamp your
# bolts if you have a stamp.  If you want to stamp your bolts go find goto boltend1
# and change that to goto boltend2 and you will then stamp your bolts as you
# complete them.  Each bolthead and bolt shaft will make 5 arrows.  This script goes
# through one cycle to make 5 arrows.  Run it again to make 5 more etc.
#
# This script has nothing special in it, so it should work in the wizard front end,
# stormfront, and genie.  In the script I tend to put items in containers.  But you 
# can easily use stow left and stow right if your store help variables are set up.
#

startbolt:
  put glance
  match tinkerbook You glance down at your empty hands
  match boltend You glance down to see
matchwait

tinkerbook:
  pause 1
  put get tinkering book from my %2
waitfor You get
  pause 1
  put study my book
waitfor Roundtime
  pause 1
  put put my tinkering book in my %2
waitfor You put
  pause 1
  put get shaper from my %1
waitfor You get
  pause 1
  put get bolt shafts from my %1
waitfor You get
  pause 1
  put shape shafts with my shaper
waitfor Roundtime
  pause 1
  put put my shaper in my %1
waitfor You put
  pause 1
  put get %3 boltheads from my %1
waitfor You get
  put assemble my bolts with my boltheads
  pause 2
  put put boltheads in my %1
  pause 2
  put get glue from my %1
waitfor You get
  pause 1
  put apply my glue to my bolts
  match carvebolts A handful of rough edges require carving with a knife
  match shapebolts Roundtime
matchwait

shapebolts:
  pause 1
  put put my glue in my %1
waitfor You put
  pause 1
  put get my shaper from my %1
waitfor You get
goto shapebolts1

shapeboltsk:  
  pause 1
  put put my knife in my %1
waitfor You put
  pause 1
  put get my shaper from my %1
waitfor You get
goto shapebolts1

shapebolts1:
  pause 1
  put shape my bolts with my shaper
  match carveboltsk A handful of rough edges require carving with a knife
  match boltflights The bolts are ready for an application of glue to attach the flights
  match shapebolts1 Roundtime
matchwait

carvebolts:
  pause 1
  put put my glue in my %1
waitfor You put
  pause 1
  put get my knife from my %1
waitfor You get
goto carvebolts1

carveboltsk:  
  pause 1
  put put my shaper in my %1
waitfor You put
  pause 1
  put get my knife from my %1
waitfor You get
goto carvebolts1

carvebolts1:
  pause 1
  put carve my bolts with my knife
  match carvebolts1 A handful of rough edges require carving with a knife
  match boltflightk The bolts are ready for an application of glue to attach the flights
  match shapeboltsk Roundtime
matchwait

boltflights:
  pause 1
  put put my shaper in my %1
waitfor You put
goto boltflightf

boltflightk:
  pause 1
  put put my knife in my %1
waitfor You put
goto boltflightf

boltflightf:
  pause 1
  put get bolt flights from my %1
waitfor You get
  put assemble my bolts with my flights
  pause 1
  put get glue from my %1
waitfor You get
  pause 1
  put apply my glue to my bolts
waitfor Roundtime
  pause 1
  put put my glue in my %1
waitfor You put
  pause 1
  put get my knife from my %1
waitfor You get
  pause 1
  put carve my bolts with my knife
waitfor Roundtime
goto boltend1

boltend:
  pause 1
  echo *** you have something in hand. ***
  echo *** Clear hands before starting this script. ***
exit

boltend1:
  pause 1
  put put my knife in my %1
  pause 1
  put get bolt shafts
  pause 1
  put put bolt shafts in my %1
  pause 1
  echo *** One Set of 5 bolts is completed.
exit

boltend2:
  pause 1
  put put my knife in my %1
waitfor You put
  pause 1
  put get my stamp from my %2
waitfor You get
  pause 1
  put mark my bolts with my stamp
waitfor Roundtime
  pause 1
  put put my stamp in my %2
  pause 1
  put get bolt shafts
  pause 1
  put put bolt shafts in my %1
  pause 1
  echo *** One Set of 5 bolts is completed and stamped.
exit