Crush1 (script)

From Elanthipedia
Revision as of 16:39, 16 May 2016 by KASHNA (talk | contribs) (added category of 'Alchemy')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Crush1 (script)
Category crafting,Alchemy
Front-end StormFront,Wizard,Genie
Author Pfanston


Description

You can find the Remedies player guide here Remedies player guide. Make sure you read it to understand what is going on.

I made this script to ease the time it took to crush a bunch of herbs to use in remedies. The pyramids are another story but this one was needed as anyone who had worked remedies can attest to. This script assumes you have a mortar and pestle and herbs in one container. It then will get the herb out, crush it and leave you with the mortar and pestle back in the container and the crushed herb placed into another container. I initially set it up to just put the herb back in the same container but when realizing blue flowers became crushed blue flowers and only responded to flowers I changed that to add another container when you are doing blue flowers. The rest of the herbs appear to not have that problem.

Front End Changes

The script is currently set up and will run in stormfront, genie, and the wizard as is. No modifications need to be done to run it in all three.

Other Forging Scripts

This script crush1.cmd is a subset of remedy scripts. The others are as follows:

remedies.cmd

Instructions

Make sure your tools are in the right container, the herbs uncrushed in a container and if you are doing blue flowers make sure you have a container to put the crushed blue flowers in.

The basic manual steps are as follows:

Step 1 - get mortar, get herb and put it in the mortar.
Step 2 - If herb present, get pestle. Then crush item with pestle.
Step 3 - crush item with pestle till done.
Step 4 - put pestle up, get crushed herb from mortar, put crushed herb in container, Get next herb.
Step 5 - If herb present put it in mortar, get pestle, crush item with pestle.
Step 6 - If no herb present in 4, put mortar up you are DONE.

Then type .crush <HerbType> <HerbEnd> <HerbContainer> <ToolContainer> <CrushContainer>

where <HerbType> can be flowers, leaves, root, stems, moss, weed, or sap.
<HerbEnd> can be hulij, ojhenik, nuloe, hisan, belradi, Eghmok, yelith, ithor, muljin, riolur, junliar, Aevaes, flowers, or Lujeakave.
<HerbContainer> can be bag, backpack, sack, etc.
<ToolContainer> can be the same as the HerbContainer or different. This just gives you the chance to have them different.
<CrushContainer> can be same as either of the other two or a third one.

example .crush1 flowers flowers bag kit bag (for blue flowers)
.crush1 root ithor bag bag kit
.crush1 moss eghmok bag bag bag
.crush1 leaves riolur kit kit kit

Script

#crush1 - crush herbs
# This script assumes you have a mortar and pestle and herbs in one container.  It
# then will get the herb out, crush it and leave you with the mortar and pestle back 
# in the container and the crushed herb in hand to do with as needed.
#
# Step 1 - get mortar, get herb and put it in the mortar, 
# Step 2 - If herb present, get pestle.
#          Then crush item with pestle
# Step 3 - crush item with pestle till done.
# Step 4 - put pestle up, get crushed herb from mortar, 
#          put crushed herb in container, 
#          Get next herb.
# Step 5 - If herb present put it in mortar, get pestle,
#          crush item with pestle.
# Step 6 - If no herb present in 4, put mortar up you are
#          DONE.
#
# Then type .crush <HerbType> <HerbEnd> <HerbContainer> <ToolContainer>
#                  <CrushContainer>
# where <HerbType> can be flowers, leaves, root, stems, moss, weed, or sap. 
#       <HerbEnd> can be hulij, ojhenik, nuloe, hisan, belradi, Eghmok,
#                 yelith, ithor, muljin, riolur, junliar, Aevaes, 
#                 flowers, or Lujeakave.
#       <HerbContainer> can be bag, backpack, sack, etc.
#       <ToolContainer> can be the same as the HerbContainer or different
#                       This just gives you the chance to have them different.
#       <CrushContainer> can be same as either of the other two or a third one.
#
# example .crush1 flowers flowers bag kit bag (for blue flowers)
#         .crush1 root ithor bag bag kit
#         .crush1 moss eghmok bag bag bag
#         .crush1 leaves riolur kit kit kit
#

  put glance
  match crush1 You glance down at your empty hands
  match crushend You glance down to see
matchwait

crush1:
  put get my mortar from my %4 
waitfor You get
  pause 1
  put get %1 from my %3
waitfor You get
  pause 1
  put put my %1 in my mortar
waitfor You put
  pause 1
  put get my pestle from my %4
waitfor You get

crush2:
  pause 2
  put crush my %1 with my pestle
  match Crush3 You complete crushing the contents of the mortar
  match Crush2 Roundtime
matchwait

crush3:
  pause 1
  put put my pestle in my %4
waitfor You put
  pause 1
  put get %2 from my mortar
waitfor You get
  pause 1
  put put my %2 in my %5
waitfor You put
  pause 1
  put get %1 from my %3
  match crush4 You get
  match crush5 What were you referring to
matchwait

crush4:
  pause 1
  put put my %1 in my mortar
waitfor You put
  pause 1
  put get my pestle from my %4
waitfor You get
  goto crush2

crush5:
  pause 1
  put put my mortar in my %4
waitfor You put
  pause 1
  echo **********************************
  echo * You have completed crushing.
  echo **********************************
  exit

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