Knit (script)
Knit (script) | |
---|---|
Category | crafting |
Front-end | StormFront,Wizard,Genie |
Author | Pfanston |
Description
You can find the Tailoring guide here Tailoring player guide.
This script will allow you to knit an item from chapter 5 of the tailoring books. The tailor book must be turned to the correct page and placed in container2. The tools (yarn, knitting needles, etc) should be in container1. They can be the same container if desired or two different containers. The script will study the book, then get the knitting needles and yarn out and begin. Yarn can be made via the spin.cmd script or it can be bought in the outfitting society.
This script will run as is in stormfront, wizard, and genie.
Other Tailor Scripts
The knit.cmd script is part of a tailoring script set as follows:
sew.cmd
spin.cmd
seal.cmd
reinforce.cmd
lighten.cmd
weave.cmd
Instructions
The tailoring book is required to knit an item from chapter 5 of the tailoring book, and it must be turned to the correct page and kept in container2.
Parameters. .knit <Container1> <container2> <item>
where <container1> = bag, pack, etc, where you keep your tools and yarn
<container2> = bag, pack, etc, where your tailor book is located.
Example - .knit bag pack towel
.knit bag pack sweater
Script
#knit # parameters are Knit <container1> <container2> <item> put get tailoring book from my %2 put study my book waitfor Roundtime pause 2 put put my tailoring book in my %2 waitfor You put put get knit needles from my %1 put get yarn from my %1 waitfor You get pause 1 put knit my yarn with my needles waitfor Roundtime pause 2 put put my yarn in my %1 Start: Pause 1 Match Turn Now the needles must be turned Match Turn Some ribbing should be added Match Push Next the needles must be pushed Match Push ready to be pushed Match Cast The garment is nearly complete and now must be cast off Match Good Roundtime put knit my needles matchwait Good: pause 1 goto Start Turn: Pause 1 Match Turn Now the needles must be turned Match Turn Some ribbing should be added Match Push Next the needles must be pushed Match Push ready to be pushed Match Cast The garment is nearly complete and now must be cast off Match Good Roundtime put turn my needles matchwait Push: Pause 1 Match Turn Now the needles must be turned Match Turn Some ribbing should be added Match Push Next the needles must be pushed Match Push ready to be pushed Match Cast The garment is nearly complete and now must be cast off Match Good Roundtime put push my needles matchwait Cast1: pause 1 put cast my needles waitfor Roundtime Pause 1 put put my needles in my %1 put get stamp from my %1 waitfor You get pause 1 put mark my %3 with my stamp waitfor Roundtime pause 1 put put my stamp in my %1 pause 1 ECHO ******************************************************* ECHO * You have completed one knitted %3 ECHO * Rerun the script and make sure you have ECHO * everything you need to make the next item ECHO ******************************************************* exit Cast: put cast my needles waitfor Roundtime pause 1 put put my needles in my %1 pause 1 ECHO ******************************************************* ECHO * You have completed one knitted %3 ECHO * Rerun the script and make sure you have ECHO * everything you need to make the next item ECHO ******************************************************* exit