Carveb (script)

From Elanthipedia
Revision as of 02:57, 5 April 2019 by LAWREYJRJ7 (talk | contribs)
Jump to navigation Jump to search
Carveb (script)
Category crafting,Engineering
Front-end StormFront,Wizard,Genie
Author Pfanston


Description

You can find the Carving guide here [[1]]. Make sure you read it to understand what is going on.

This script assumes you have a bone stack in hand already cut to the right size, tools and ingredients in the ToolCcontainer, and book in the bookcontainer and yes you can make both containers the same container. The carving book must already be turned to the right page. Two bone items you make in chapter 6 are actually ingredients for items made in chapter 7. You have two ways to terminate the script one is the label Donebc the other is Stampbc which you manually have to change in each area where Donebc is used.

This script assumes 1 big item up front. That if you have to make 5 items you have 5 stacks cut to the right size to work with before you start and you have the correct page set on your carving book. All the tools and ingredients needed to complete one of the 5 items at a time. Note if you have a bone saw and a wood saw both in the container, make sure the bone saw is on top.

The script will then get the book and study it, then get the bone saw out and begin the process.

Front End Changes

The script is currently set up and will run in stormfront as is. It will also run in Genie as is. To make this script run in the Wizard front end you must make 12 changes. The script has a number of pairs of commands where one is used and the other is commented out. Two such are shown below:

  setvariable toolbc saw
#  save saw


  setvariable toolbc rasp
#  save rasp


These two lines must be changed as follows to run in the wizard front end (notice the one used is above the # currently):

#  setvariable toolbc saw
  save saw


#  setvariable toolbc rasp
  save rasp


Each pair of lines that show up appear in the script 12 times. So there is some editing required to run it in the wizard front end.

Other Carving Scripts

This script carveb.cmd is a subset of carving scripts. The others are as follows:

carves.cmd

Updates

Chapter 5 of the carving book changed to handle to the codex for making beads and such for getting favors from both stone and bone items. I have updated the script to handle using the codex. In addition my original match tables were using this ( match Raspb is uneven ), which was not working correctly, it had to be changed to the following: ( match Raspb is uneven. ). Because of the need for the codex, I also had to add a new input to the script, which is accounted for below in the instructions.

Instructions

Make sure your carving book is turned to the right chapter and page and in the right container. Also make sure you have a stack of the right size in the left hand before you start.

Parameters are .carveb <bonemade> <toolcontainer> <bookcontainer>

where <bonemade> = What is being made, table, pole, club, knife, band, gloves.
<toolcontainer> where tools and item starts.
<bookcontainer> where the carving book is located, and yes these can both be the same container.
<Chapter5> = 1 for yes and 0 for no.

example .carveb table (for all table types) bag pack 0
example .carveb knife (for a carving knife) bag pack 0
example .carveb tailband (for bone tailband) bag pack 0
example .carveb helm (for a bone helm) bag pack 0
example .carveb bead (bone bead using codex) bag pack 1
example .carveb knife bag pack 0
example .carveb axe backpack backpack 0

Script

#carveb - carve bone
#  usage .carveb <bonemade> <toolcontainer> <bookcontainer> <Chapter5>
#    where <bonemade> = What is being made, table, pole, club, knife, band, gloves.
#          <toolcontainer> where tools and item starts.
#          <bookcontainer> where the carving book is located.
#          <Chapter5> = 1 for yes and 0 for no.
# example .carveb table (for all table types) bag pack 0
# example .carveb knife (for a carving knife) bag pack 0
# example .carveb tailband (for bone tailband) bag pack 0
# example .carveb helm (for a bone helm) bag pack 0
# example .carveb bead (bone bead using codex) bag pack 1
#
# Note this script is set up for stormfront.  To make it run for the wizard, 
# change setvariable toolb tooltypes to save tooltypes.  Then change the lines
# goto setvariable toolbc saw to save saw, and everwhere you see put put my %toolbc in my %2
# change it to put put my %s in my %2
#
# This script assumes you have a bone stack in hand already cut to the right size, 
# tools and ingredients in the ToolCcontainer, and book in the bookcontainer and 
# yes you can make both containers the same container.  The carving book must 
# already be turned to the right page.  Two bone items you make in chapter 6 are 
# actually ingredients for items made in chapter 7.  You have two ways to terminate
# the script one is the label Donebc the other is Stampbc which you manually have
# to change in each area where Donebc is used.
#

startbc:
goto bchapterfive%4

bchapterfive0:
  put get carving book from my %3
waitfor You get
  pause 1
  put study my book
waitfor Roundtime
  pause 1
  put put my carving book in my %3
waitfor You put
goto startbitem1

bchapterfive1:
  put get carving book from my %3
waitfor You get
  pause 1
  put study my book
waitfor Roundtime
  pause 1
  put put my carving book in my %3
waitfor You put
  pause 1
  put get my codex from my %3
waitfor You get
  pause 1
  put study my codex
waitfor Roundtime
  pause 1
  put put my codex in my %3
waitfor You put

startbitem1:
  pause 1
  put get my saw from my %2
waitfor You get
  setvariable toolbc saw
#  save saw
  pause 1
  put carve my stack with my saw
  match Raspb developed an uneven texture along its surface.
  match Raspb is uneven.
  match Rifflerb Upon completion you notice several rough, jagged
  match Polishb Upon finishing you see some discolored areas
  match Carveb1 Roundtime
matchwait

Carveb1:
  pause 2
  put carve my %1 with my saw
  match Raspb developed an uneven texture along its surface.
  match Raspb is uneven.
  match Rifflerb Upon completion you notice several rough, jagged
  match Polishb Upon finishing you see some discolored areas
  match Donebc You cannot figure out how to do that.
  match ShortBPolebc You need another refined short bone pole
  match LongBPolebc You need another refined long bone pole
  match ShortCordbc You need another finished short leather cord
  match Carveb1 Roundtime
matchwait

Raspb:
  pause 2
  put put my saw in my %2
waitfor You put
  setvariable toolbc rasp
#  save rasp
  pause 1
  put get my rasp from my %2
waitfor You get
  pause 1
  put scrape my %1 with my rasp
  match Stowb Roundtime
  match ShortBPolebc You need another refined short bone pole
  match LongBPolebc You need another refined long bone pole
  match ShortCordbc You need another finished short leather cord
matchwait

Rifflerb:
  pause 2
  put put my saw in my %2
waitfor You put
  setvariable toolbc riffler
#  save riffler
  pause 1
  put get my riffler from my %2
waitfor You get
  pause 1
  put rub my %1 with my riffler
  match Stowb Roundtime
  match ShortBPolebc You need another refined short bone pole
  match LongBPolebc You need another refined long bone pole
  match ShortCordbc You need another finished short leather cord
matchwait

Polishb:
  pause 2
  put put my saw in my %2
waitfor You put
  setvariable toolbc polish
#  save polish
  pause 1
  put get polish from my %2
waitfor You get
  pause 1
  put apply my polish to %1
  match Stowb Roundtime
  match ShortBPolebc You need another refined short bone pole
  match LongBPolebc You need another refined long bone pole
  match ShortCordbc You need another finished short leather cord
matchwait

Stowb:
  pause 2
  put put my %toolbc in my %2
#  put put my %s in my %2
waitfor You put
  pause 1
  setvariable toolbc saw
#   save saw
  put get my saw from my %2
goto Carveb1

ShortBPolebc:
  pause 2
  put put my %toolbc in my %2
#  put put my %s in my %2
waitfor You put
  setvariable toolbc saw
#  save saw
  pause 1
  put get pole from my %2
waitfor You get
  pause 1
  put assemble my pole with my %1
waitfor You place your
  pause 1
  put get pole from my %2
waitfor You get
  pause 1
  put assemble my pole with my %1
waitfor You place your
  pause 1
  put get pole from my %2
waitfor You get
  pause 1
  put assemble my pole with my %1
waitfor You place your
  pause 1
  put get pole from my %2
waitfor You get
  pause 1
  put assemble my pole with my %1
waitfor You place your
  pause 1
  put get my saw from my %2
goto Carveb1

LongBPolebc:
  pause 2
  put put my %toolbc in my %2
#  put put my %s in my %2
waitfor You put
  setvariable toolbc saw
#  save saw
  pause 1
  put get pole from my %2
waitfor You get
  pause 1
  put assemble my pole with my %1
waitfor You place your
  pause 1
  put get pole from my %2
waitfor You get
  pause 1
  put assemble my pole with my %1
waitfor You place your
  pause 1
  put get pole from my %2
waitfor You get
  pause 1
  put assemble my pole with my %1
waitfor You place your
  pause 1
  put get pole from my %2
waitfor You get
  pause 1
  put assemble my pole with my %1
waitfor You place your
  pause 1
  put get my saw from my %2
goto Carveb1

ShortCordbc:
  pause 2
  put put my %toolbc in my %2
#  put put my %s in my %2
waitfor You put
  setvariable toolbc saw
#  save saw
  pause 1
  put get short cord from my %2
waitfor You get
  pause 1
  put assemble my short cord with my %1
waitfor You place your
  pause 1
  put get my saw from my %2
goto Carveb1

stampbc:
  pause 2
  put put my saw in my %2
waitfor You put
  pause 1
  put get my stamp from my %3
waitfor You get
  pause 1
  put mark %1 with my stamp
waitfor Roundtime
  pause 1
  put put my stamp in my %3
waitfor You put
  pause 1
echo -------------------------------
echo =  One %1 has been carved.
echo -------------------------------
exit

Donebc:
  pause 2
  put put my saw in my %2
waitfor You put
  pause 1
echo -------------------------------
echo =  One %1 has been carved.
echo -------------------------------
exit