Shapeah (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
<br>
<br>
: Step 1 - Get tool to pound with, get part to shape it with, if no tool/parts end.
: Step 1 - Get tool to pound with, get part to shape it with, if no tool/parts end.
:::::: shape the part.
::: shape the part.
: Step 2 - put tool away, put arrowhead in container. Go back to step 1.
: Step 2 - put tool away, put arrowhead in container. Go back to step 1.
: Step 3 - All arrowheads are done. Terminate.<br>
: Step 3 - All arrowheads are done. Terminate.<br>
<br>
<br>
: where <part> = what is being made, claw, tusk, sabretooth, etc.
: where <part> = what is being made, claw, tusk, sabretooth, etc.
:::::: <tool> = hammer, knife, shaper, etc.
::: <tool> = hammer, knife, shaper, etc.
:::::: <container1> = bag, backpack, rucksack, etc.
::: <container1> = bag, backpack, rucksack, etc.


==Script==
==Script==

Revision as of 04:59, 2 September 2015

Shapeah (script)
Category crafting
Front-end StormFront,Wizard,Genie
Author Pfanston


Description

Any metal tool can be used to make shafts for arrows. Your <container1> must be where you keep the tool and the lumber. Remember one thing in making arrowheads. The basic arrowheads take about 150 skill to make without techs and those will not be masterful. Around 200 skill they will be unless you have techs, or career or hobby. Second each arrowhead will handle 5 arrows. So if you have 20 parts you can make 100 arrows.

Note this script is set up for stormfront, wizard and genie. I have run it in all 3 front ends.

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 I have the stow lefts and rights in here in some cases, but they are commented out for the lines I tend to use. This script will also use all the parts you have in your container1 so if you don't want it all turned into arrowheads don't put it all in the container1.

Instructions

parameters are .shapeah <container1> <part> <tool>

example .shapeah bag claw hammer

   or  .shapeah bag tusk knife
   or  .shapeah bag tooth shaper
   or  .shapeah bag horn knife


This script assumes you have some critter parts to turn into an arrowhead in the container1. Only put as many parts as you want to do at one time in the container1. Right now it does not appear you need the shaping book to make arrowheads. I will not set up anything to stamp arrowheads if they can be stamped.

Step 1 - Get tool to pound with, get part to shape it with, if no tool/parts end.
shape the part.
Step 2 - put tool away, put arrowhead in container. Go back to step 1.
Step 3 - All arrowheads are done. Terminate.


where <part> = what is being made, claw, tusk, sabretooth, etc.
<tool> = hammer, knife, shaper, etc.
<container1> = bag, backpack, rucksack, etc.

Script

#shapeah
# parameters are .shapeah <container1> <part> <tool>
#
# example .shapeah bag claw hammer
#     or  .shapeah bag tusk knife
#     or  .shapeah bag tooth shaper
#     or  .shapeah bag horn knife
#
# This script assumes you have some critter parts to turn into an arrowhead
# in the container1.  Only put as many parts as you want to do at one time
# in the container.  Right now it does not appear you need the shaping book
# to make arrowheads. I will not set up anything to stamp arrowheads if they
# can be stamped.
#
# Step 1 - Get tool to pound with, get part to shape it with, if no tool/parts end.
#          shape the part.
# Step 2 - put tool away, put arrowhead in container. Go back to step 1.
# Step 3 - All arrowheads are done.  Terminate.
#
# where <part> = what is being made, claw, tusk, sabretooth, etc.
#       <tool> = hammer, knife, shaper, etc.
#       <container1> = bag, backpack, rucksack, etc.
#
# Any metal tool can be used to make shafts for arrows.  Your <container1> 
# must be where you keep the tool and the lumber.  Remember one thing in making 
# arrowheads.  The basic arrowheads take about 150 skill to make without techs
# and those will not be masterful.  Around 200 skill they will be unless you have
# techs, or career or hobby.  Second each arrowhead will handle 5 arrows.  So if 
# you have 20 parts you can make 100 arrows.
#
# 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
# I have the stow lefts and rights in here in some cases, but they are commented out
# for the lines I tend to use.  This script will also use all the parts you have in
# your container1 so if you dont want it all turned into arrowheads dont put it all in the
# container1.
#

Startah:
  put glance
  match toolah You glance down at your empty hands
  match stowbothah You glance down to see
matchwait

toolah:
  pause 1
  put get my %3 from my %1
  match ahend1 What were you referring to?
  match shapeah You get
  match toolah ...wait
matchwait

shapeah:
  pause 1
  put get my %2 from my %1
  match ahend2 What were you referring to?
  match shapeah2 You get
  match shapeah ...wait
matchwait

shapeah2:
  pause 1
  put shape the part
  match ahend2 You fumble around but can't
  match stowleftah Roundtime
  match shapeah2 ...wait
matchwait

stowleftah:
  pause 1
#  put stow left
  put put my arrowhead in my %1
  match ahend2 What were you referring to?
  match shapeah You put
  match stowleftah ...wait
matchwait

stowbothah:
  pause .5
  put stow left
  pause .5
  put stow right
  pause .5
goto startah

ahend1:
  pause 1
  echo *** NO %3 TOOL IN %1 ***
exit

ahend2:
  pause 1
# put stow right
  put put my %3 in my %1
waitfor You put
  pause .5
  echo *** OUT OF PARTS FOR ARROWHEADS ***
exit