PDA

View Full Version : My lockpicking script



xao92k
09-30-2008, 10:58 AM
Just a bog standard lockpicking script, works perfectly as I have been using it for about a year now.

Usage is: .[script name] [lockpick] or .[script name] [lockpick] [customer name]

eg, .lock black - Uses my black lockpick (for own boxes)
.lock black johnny - Uses my black lockpick and will give to johnny when finished.

YOU MUST TYPE OUT THE CUSTOMER'S FULL NAME OR IT WON'T WORK!

First accept the box before you start the script, after that any extra boxes they pass you, you will auto-accept and keep picking until they offer you money or gems, where you will say thanks and the script will end. You may have to edit it a little bit as I use a keyring to keep my lockpicks on, and a stiletto in my boots for scale traps etc. Works with every type of trap, will offer disarmed scarabs to customers and will say thanks if they decline, pocket it and carry on with the box. I can't get plated boxes yet so that part of the script is yet to come. Enjoy!


start:
pause
put GlancE
startand2x:
match coffer coffer in your
match strongbox strongbox in your
match box box in your
match trunk trunk in your
match chest chest in your
match donex empty hands
matchwait

Coffer:
save coffer
goto disarm

Strongbox:
save strongbox
goto disarm

Box:
save box
goto disarm

trunk:
save trunk
goto disarm

chest:
save chest
goto disarm

Donex:
IF_2 goto donex2
put put my lockpick on my keyring
echo ***Done!
exit

Donex2:
put put my lockpick on my keyring
pause 1
put give my %s to %2
match more %2 offers you
match thanks %2 just gave you
match thanks %2 hands you
matchwait
Donex3:
pause 1
echo ***Done!
exit
Disarm:
pause 1
put disarm my %s
match pick The vial is surrounded by crimson glow.
match plated Gonna chew through it?
match plated tumblers have been fused into a lump of useless metal.
match unlocked Um, but it's open.
match start2 You will need to have both hands
match plated There appears to be a plate over the lock,
match DisarmSphere sphere held in a metal bracket towards
#match DisarmScale Closer examination reveals the "scales"
match DisarmScale Despite heavy scrutiny, you can see no way to pry off any of the scales,
match DisarMScarab scarab wedged into the lock mechanism
match Disarm1 Peering closely into the lock, you spy a tiny vial placed
match DisarM1 It looks like
match DisarM1 The darn thing is built too tightly
match DisarM1 not able to DisarM the
match scarab You carefully nudge the scarab
match PicK You discover no traps
match Pick but parts of the mechanism have been ground
match Pick tiny hammer device which has been bent from striking range of the vial.
match Pick The lock appears to be free of all obstructions.
match pick been completely plugged.
match PicK but some of the markings have been altered
#match PicK With great care you
match PicK With great care you nudge the
match PicK With a little ingenuity
match PicK With a little force applied
match PicK You carefully use
match PicK You carefully push
match PicK You manage to
match PicK Using the end of a twig you
match Pick Using the metal grips
match Pick Using a bit of putty from
match PicK Knowing how delicate magical glyphs can be
match Pick Taking a lump of putty
match Pick A small section of the casing has been scraped clean of the strange substance.
match Pick you notice a pair of small metal rods that have been bent
matchwait

Plated:
put give my %s to %2
put say Sorry, it's plated, I can't get it
goto donex

Pick:
pause
put get my %1 lockpick
put pick my %s with my lockpick
match donex difficulty ranking). Then...CLICK! It opens!
match PicK but end up bending the tip!
match PicK weakened by the stress.
match PicK You are not able to PicK the
match PicK been weakened by the stress
match Pickx You make a fumbling attempt
match Pick2 before you realize you are using a broken lockpick.
match PicK2 * SNAP * Crud!
match unlocked is actually already unlocked.
match unlocked It does not appear to be locked.
match unlocked Um, but it's open.
match whoops could not find
match needPicK But you are not holding
matchwait

Disarm1:
pause 1
put DisarM my %s
match plated There appears to be a plate over the lock,
match DisarM1 You are not able to DisarM
match DisarM1 The darn thing is built too tightly
match Pick The lock appears to be free of all obstructions.
match PicK With great care you
match scarab You carefully nudge the scarab
match pick been completely plugged.
match PicK You carefully use
match PicK You carefully push
match PicK Using the end of a twig you
match Pick Using the metal grips
match Pick Using a bit of putty from
match PicK You manage to
match PicK With great care you nudge the
match PicK With a little ingenuity
match PicK With a little force applied
match PicK With utmost care,
match PicK Knowing how delicate magical glyphs can be
match Pick Taking a lump of putty
matchwait

Scarab:
IF_2 goto scarab2
put say Scarab down, watch out it bites
pause 5
put tap my bracelet
put disarm scarab
pause 1
put get scarab
put put scarab in my robe
goto pick

Scarab2:
put say Scarab down, don't touch
pause 5
put tap my bracelet
put disarm scarab
pause 1
put get scarab
put give scarab to %2
match pick accepted your offer
match tip yours
match tip keep it
match tip declined
matchwait

DisarmScarab:
pause 5
goto disarm

DisarmScale:
pause 1
echo Scales trap detected! Disarming after picking is done!
put get my %1 lockpick
put pick my %s with my lockpick
DisarmScalePick1:
pause 1
match DisarmScalePick1 ...wait
match DisarmScalepick1 You make a fumbling attempt
match DisarmScalePicked It does not appear to be locked.
match DisarmScalePicked difficulty ranking). Then...CLICK! It opens!
match DisarmScalePick2 but end up bending the tip!
match DisarmScalePick2 weakened by the stress.
match DisarmScalePick2 You are not able to PicK the
match DisarmScalePick2 been weakened by the stress
match DisarmScalePick2 * SNAP * Crud!
match DisarmScalePick1 ...wait
match unlocked Um, but it's open.
match unlocked is actually already unlocked.
match whoops could not find
match whoops But you are not holding
matchwait

Disarmscalepick2:
pause 1
echo Damaged or broken lockpick! GLANCE when you are ready.
waitfor you glance
goto disarmscale


Disarmscalepicked:
pause 1
put put lockpick in my satchel
put get dagger
put disarm my %s
match DoneScale You gently slide your dagger into
match DisarmScalePicked It looks like
match DisarmScalePicked The darn thing is built too tightly
match DisarmScalePicked not able to DisarM the
match DisarmScalePicked ..wait
matchwait

Donescale:
IF_2 goto donescale2
pause 1
goto donex

Donescale2:
pause 1
goto donex2



DisarmSphere:
pause 1
put get my %1 lockpick
pause 1
put disarm my %s
match pick with utmost care,
match disarmsphere Roundtime
match disarmsphere Roundtime
matchwait

start2:
echo You need your other hand free! GLANCE when ready.
match start you glance down
matchwait

Unlocked:
IF_2 goto Unlocked2
echo It's already unlocked!
goto donex

Unlocked2:
put give my %s to %2
put say It's already unlocked
goto donex2

Tip:
put smile
pause 1
put say Thanks!
put put scarab in my robe
goto pick

Pickx:
echo You hurt your lockpick, maybe you need a better one? GLANCE to continue when you're ready.
pause 1
match Pick you glance down
matchwait

Needpick:
echo You need a lockpick first! GLANCE when you have one ready.
match pick you glance down
matchwait

Pick2:
echo Your lockpick is broken! GLANCE when you have a decent one in your hand.
pause 1
put hiss fang
match Pick you glance down
matchwait

Whoops:
echo Something went wrong, do this one manually and restart the script!
goto donex

More:
pause 4
put accept
goto start

Thanks:
pause 2
put say Thanks!
goto donex3

NocturnalRob
09-30-2008, 11:05 AM
good job.

http://forum.gsplayers.com/showthread.php?t=31449