PDA

View Full Version : Skinning Critters Script



Jonty
01-26-2004, 02:35 PM
You'll need to set your container, weapon, and shield variable if you use one. Also, set the user0 variable as your skinning tool, and set user1 as the container you use to hold your skinning tool.



#skin

if_2 goto start
AddToHighlightStrings string=".skin <critter> <skin>" foreColor=14 highlightEntireLine=True /quiet
echo Usage is: .skin <critter> <skin>
DeleteFromHighlightStrings string=".skin <critter> <skin>"
AddToHighlightStrings string=".skin <critter> <skin> <critter> <skin> etc...." foreColor=14 highlightEntireLine=True /quiet
echo
echo Or for multiple critters: .skin <critter> <skin> <critter> <skin> etc....
DeleteFromHighlightStrings string=".skin <critter> <skin> <critter> <skin> etc...."

def:
save def
match end You are now in a defensive stance.
match wait ...wait
put stance defensive
matchwait

wait:
wait
goto %s

start:
save start
counter set 1
match prep You are now in a defensive stance.
match wait ...wait
put stance defensive
matchwait

prep:
wait
put kneel
waitfor You
put Wear my %shield
match skin you
match skin Wear what?
matchwait

skin:
wait
put take %user0 from my %user1
waitfor You
put skin %1 with my %user0
put put my %user0 in my %user1
match skinned%c You skinned
match search You botch
match search You cannot
match search You can only skin creatures!
match search You might want to wait until after it is dead.
match search has already been skinned.
matchwait

skinned1:
counter set 2
wait
put open my %container
match skinned2 you
match skinned2 Ok, it opened.
match skinned2 That is already open.
matchwait

skinned2:
wait
put take %2
wait
put put %2 in my %container
waitfor You put
goto search

search:
match wand wand
match orb orb
match lockpick lockpick
match scroll scroll
match amulet amulet
match diamond diamond
match emerald emerald
match lapis lapis lazuli
match opal opal
match pearl pearl
match ruby ruby
match sapphire sapphire
match shell shell
match topaz topaz
match coral coral
match amber amber
match amethyst amethyst
match bloodstone bloodstone
match garnet garnet
match gem gem
match crystal crystal
match jasper jasper
match moonstone moonstone
match glimaerstone glimaerstone
match stone stone
match check%c Try looking in, on, behind or under it. Or examining it.
match check%c nothing of interest
match check%c nothing else
match check%c I could not find
match check%c with it!
match check%c You're not in any condition to be searching around!
match check%c Geez! It's still alive! Not a good time for that.
put search %1
matchwait

lockpick:
save lockpick
Goto get%c

amulet:
save amulet
Goto get%c

wand:
save wand
Goto get%c

scroll:
save scroll
Goto get%c

diamond:
save diamond
Goto get%c

emerald:
save emerald
Goto get%c

lapis:
save lapis
Goto get%c

opal:
save opal
Goto get%c

pearl:
save pearl
Goto get%c

ruby:
save ruby
Goto get%c

shell:
save shell
Goto get%c

sapphire:
save sapphire
Goto get%c

topaz:
save topaz
Goto get%c

coral:
save coral
Goto get%c

amber:
save amber
Goto get%c

amethyst:
save amethyst
Goto get%c

bloodstone:
save bloodstone
Goto get%c

garnet:
save garnet
Goto get%c

gem:
save gem
Goto get%c

jasper:
save jasper
Goto get%c

crystal:
save crystal
Goto get%c

quartz:
save quartz
Goto get%c

spinel:
save spinel
Goto get%c

stone:
save stone
Goto get%c

tourmaline:
save tourmaline
Goto get%c

zircon:
save zircon
Goto get%c

orb:
save orb
Goto get%c

glimaerstone:
save glimaerstone
Goto get%c

moonstone:
save moonstone
goto get%c

get1:
counter set 2
wait
match get2 you
match get2 Ok, it opened.
match get2 That is already open.
put open my %container
matchwait

get2:
wait
put get %s
waitfor You pick up
put put my %s in my %container
waitfor You put

check2:
shift
shift
if_1 goto skin
put close my %container

check1:
shift
shift
if_1 goto skin
wait
#put wtr roll left
put stand

end:

Drew2
01-26-2004, 02:36 PM
Nice script, Jonty. I'd most def. use it.

KymberlynX
01-26-2004, 02:40 PM
Originally posted by Tayre
Nice script, Jonty. I'd most def. use it.

Jonty's scripts rock! I'd be lost without them.

Jonty
01-26-2004, 02:44 PM
Hehe, wll thanks guys. :thumbsup:

[Edited on 1-26-2004 by Jonty]