PDA

View Full Version : grinding script:



havok
09-01-2007, 09:52 AM
minor grinding script for the alchemy section in the cleric guild:

starts in the grinding room with the clerk. no need to buy supplies, but grab a mortar and ask the clerk for ingredients first.

command is something like ".guild.grind 1 2 3 4 5_5"
if 5 had two words rather than just the root noun.

ex: .guild.grind root death sapphire tusk green_star blue_star

if you can, clean this up. i'm a new script writer. (=

- havo

script starts below: ---------------

main:
put get %1
put grind %1 with pestle
match omgwait ...wait
match omgwait Roundtime
match give it is ground as as much as possible
match shift The clerk takes your stone mortar
matchwait

give:
put give mort to clerk
if_1 goto shift
matchwait

shift:
put ask clerk for ingredients
put l on shelf
put get mortar
shift
if_1 goto main
put put mort
matchwait

omgwait:
pause 1
if_1 goto main
matchwait