Pick Boxes (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(New page: ;*** Name: pick.xml ;*** Description: Pick anything. Even discards trash found in the boxes. ;*** (That part is always growing. Email me if you find anymore junk ...)
 
m (added category of "survival")
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Script
;*** Name: pick.xml
|cat=utility, Survival
|fe=StormFront,Wizard
|auth=[[User:Breusshe|Uversy]]
}}


==General Information==
;*** Description: Pick anything. Even discards trash found in the boxes.
<blockquote>
<pre>
This script is a fully automated means of picking boxes. It will do the following:
1. Remove your armor and put it into a defined container.
2. Pick all boxes in a defined container (specified as a command-line variable)
3. Watch exp and pause for 10 minutes when mind locked.
4. Throw away trash found in the boxes.
5. Dismantle the boxes when finished.
6. Stops the script when injured while disarming a box (still inputting the text
for the various ways boxes hurt you).
7. Puts gems found in the boxes in a gem pouch within a defined container.
8. Stores herbs found within a defined container (still inputting all the herbs).
9. Stores lockpicks found in a defined container.
10. Appraises the box before trying to disarm it.
</pre>
</blockquote>


Front end: Stormfront (should work on Wizard)
;*** (That part is always growing. Email me if you find anymore junk


Recommended name: pick
;*** this script isn't catching.)


<blockquote>
;***
<pre>
Usage: .pick [container with boxes]
Where:
container = any container either worn on the person or on the ground.
No need to quote container names.


;*** Version: 1.1
Example:
.pick duffel bag
.pick backpack
</pre>
</blockquote>
For complete information on how this script works see [[Pick Boxes Instructions]]


==Change Log==
For the full log see [[Pick Boxes Change Log History]].<br />


<blockquote>
<pre>
EDITED by Uversy (5-29-2008) -- Version 1.5.1
1. Included the ability to define the variable "easteregg" for use with the DISMANTLE
verb. Null by default which means dismantle will show the default message.
</pre>
</blockquote>

Please email [mailto:uversy_dr@hotmail.com uversy_dr@hotmail.com] if you find any more trash items this script doesn't pick up.

==TODO==
1. Keep adding trash items found in boxes as they are found.

==The Script==
<pre>
;*** Name: pick.xml
;*** Description: Pick anything. Even discards trash found in the boxes.
;*** (That part is always growing. Email me at uversry_dr@hotmail.com
;*** if you find anymore junk this script isn't catching.)
;***
;*** Version: 1.5.1


IF_1 GOTO start
IF_1 GOTO start

ECHO ***************************************************
ECHO ***************************************************

ECHO *** You need to define a container on your person
ECHO *** You need to define a container on your person

ECHO *** in which boxes that need picking are stored.
ECHO *** in which boxes that need picking are stored.

ECHO ***
ECHO ***

ECHO *** USAGE:
ECHO *** USAGE:

ECHO *** .pick <container>
ECHO *** .pick <container>

ECHO ***
ECHO ***

ECHO *** Where <container> is any bag containing boxes.
ECHO *** Where <container> is any bag containing boxes.

ECHO *** You do not have to quote a container name.
ECHO *** You do not have to quote a container name.

ECHO ***
ECHO ***

ECHO *** EXAMPLE:
ECHO *** EXAMPLE:

ECHO ***
ECHO ***

ECHO *** .pick duffel bag
ECHO *** .pick duffel bag

ECHO *** .pick backpack
ECHO *** .pick backpack

ECHO ***************************************************
ECHO ***************************************************




GOTO exit
GOTO exit




start:
start:

ECHO *****************************************************
ECHO *****************************************************

ECHO *** Loop this script?
ECHO *** Loop this script?

ECHO ***
ECHO ***

ECHO *** 1.) YES
ECHO *** 1.) YES

ECHO *** 2.) NOPE
ECHO *** 2.) NOPE

ECHO ***
ECHO ***

ECHO *** Type a number from the list above and press ENTER
ECHO *** Type a number from the list above and press ENTER

ECHO *****************************************************
ECHO *****************************************************

MATCH loop 1
MATCH loop 1

MATCH no_loop 2
MATCH no_loop 2

MATCHWAIT
MATCHWAIT




loop:
loop:

SETVARIABLE my_choice show_exp
SETVARIABLE my_choice show_exp

GOTO set_holding
GOTO set_holding




no_loop:
no_loop:

SETVARIABLE my_choice sleep
SETVARIABLE my_choice sleep

GOTO set_holding
GOTO set_holding




set_holding:
set_holding:

ECHO *****************************************************
ECHO *****************************************************

ECHO *** Are you wearing the %0 ?
ECHO *** Are you wearing the %0 ?

ECHO ***
ECHO ***

ECHO *** 1.) YES
ECHO *** 1.) YES

ECHO *** 2.) NOPE
ECHO *** 2.) NOPE

ECHO ***
ECHO ***

ECHO *** Type a number from the list above and press ENTER
ECHO *** Type a number from the list above and press ENTER

ECHO *****************************************************
ECHO *****************************************************

MATCH holding 1
MATCH holding 1

MATCH not_holding 2
MATCH not_holding 2

MATCHWAIT
MATCHWAIT




holding:
holding:

SETVARIABLE my_bag my %0
SETVARIABLE my_bag my %0

GOTO set_picktype
GOTO set_picktype




not_holding:
not_holding:

SETVARIABLE my_bag %0
SETVARIABLE my_bag %0

GOTO set_picktype
GOTO set_picktype




set_picktype:
set_picktype:

ECHO ********************************************************
ECHO ********************************************************

ECHO *** Do you want to identify and mark traps (full disarm)
ECHO *** Do you want to identify and mark traps (full disarm)

ECHO *** or just disarm the traps (quick disarm)?
ECHO *** or just disarm the traps (quick disarm)?

ECHO ***
ECHO ***

ECHO *** 1.) full disarm
ECHO *** 1.) full disarm

ECHO *** 2.) quick disarm
ECHO *** 2.) quick disarm

ECHO ***
ECHO ***

ECHO *** Type a number from the list above and press ENTER
ECHO *** Type a number from the list above and press ENTER

ECHO ********************************************************
ECHO ********************************************************

MATCH full_disarm 1
MATCH full_disarm 1

MATCH quick_disarm 2
MATCH quick_disarm 2

MATCHWAIT
MATCHWAIT




full_disarm:
full_disarm:

SETVARIABLE my_disarm disarm_ident
SETVARIABLE my_disarm disarm_ident

GOTO set_trashbin
GOTO set_trashbin




quick_disarm:
quick_disarm:

SETVARIABLE my_disarm disarm_me
SETVARIABLE my_disarm disarm_me

GOTO set_trashbin
GOTO set_trashbin







set_trashbin:
set_trashbin:

ECHO *****************************************************
ECHO *****************************************************

ECHO *** Is there a trash container here?
ECHO *** Is there a trash container here?

ECHO *** 1.) bin
ECHO *** 1.) bin

ECHO *** 2.) basket
ECHO *** 2.) basket

ECHO *** 3.) bucket
ECHO *** 3.) bucket

ECHO *** 4.) receptacle
ECHO *** 4.) receptacle

ECHO *** 5.) log
ECHO *** 5.) log

ECHO *** 6.) trash-bin or trashbin
ECHO *** 6.) trash-bin or trashbin

ECHO *** 7.) hole
ECHO *** 7.) hole

ECHO ***
ECHO ***

ECHO *** 8.) nope
ECHO *** 8.) nope

ECHO ***
ECHO ***

ECHO ***
ECHO ***

ECHO *** Type a number from the list above and press ENTER
ECHO *** Type a number from the list above and press ENTER

ECHO *****************************************************
ECHO *****************************************************

MATCH bin 1
MATCH bin 1

MATCH basket 2
MATCH basket 2

MATCH bucket 3
MATCH bucket 3

MATCH receptacle 4
MATCH receptacle 4

MATCH receptacle 5
MATCH receptacle 5

MATCH trash 6
MATCH trash 6

MATCH hole 7
MATCH hole 7

MATCH no_trashcan 8
MATCH no_trashcan 8

MATCHWAIT
MATCHWAIT




bin:
bin:

SETVARIABLE lose_trash lose_trash_2
SETVARIABLE lose_trash lose_trash_2

SETVARIABLE my_bin bin
SETVARIABLE my_bin bin

GOTO set_variables
GOTO set_variables




basket:
basket:

SETVARIABLE lose_trash lose_trash_2
SETVARIABLE lose_trash lose_trash_2

SETVARIABLE my_bin basket
SETVARIABLE my_bin basket

GOTO set_variables
GOTO set_variables




bucket:
bucket:

SETVARIABLE lose_trash lose_trash_2
SETVARIABLE lose_trash lose_trash_2

SETVARIABLE my_bin bucket
SETVARIABLE my_bin bucket

GOTO set_variables
GOTO set_variables




receptacle:
receptacle:

SETVARIABLE lose_trash lose_trash_2
SETVARIABLE lose_trash lose_trash_2

SETVARIABLE my_bin receptacle
SETVARIABLE my_bin receptacle

GOTO set_variables
GOTO set_variables




log:
log:

SETVARIABLE lose_trash lose_trash_2
SETVARIABLE lose_trash lose_trash_2

SETVARIABLE my_bin log
SETVARIABLE my_bin log

GOTO set_variables
GOTO set_variables




trash:
trash:

SETVARIABLE lose_trash lose_trash_2
SETVARIABLE lose_trash lose_trash_2

SETVARIABLE my_bin trash
SETVARIABLE my_bin trash

GOTO set_variables
GOTO set_variables




hole:
hole:

SETVARIABLE lose_trash lose_trash_2
SETVARIABLE lose_trash lose_trash_2

SETVARIABLE my_bin hole
SETVARIABLE my_bin hole

GOTO set_variables
GOTO set_variables




no_trashcan:
no_trashcan:

SETVARIABLE lose_trash lose_trash_1
SETVARIABLE lose_trash lose_trash_1

GOTO set_variables
GOTO set_variables




set_variables:
set_variables:

SETVARIABLE pouch_container bolt box
SETVARIABLE pouch_container bolt box

SETVARIABLE empty_pouch_container odaj
SETVARIABLE empty_pouch_container odaj
SETVARIABLE armor_storage rucksack

SETVARIABLE armor_storage backpack

SETVARIABLE lockpick_container boots
SETVARIABLE lockpick_container boots

SETVARIABLE special_gem_container duffel bag
SETVARIABLE special_gem_container duffel bag

SETVARIABLE head_armor_descript black leather mask
SETVARIABLE head_armor_descript black leather mask

SETVARIABLE hand_armor_descript some black leather gloves
SETVARIABLE hand_armor_descript some black leather gloves

SETVARIABLE body_armor_descript some soft black leathers
SETVARIABLE body_armor_descript some soft black leathers

SETVARIABLE shield_armor_descript gargoyle-hide shield
SETVARIABLE shield_armor_descript gargoyle-hide shield

SETVARIABLE head_armor mask
SETVARIABLE head_armor mask

SETVARIABLE hand_armor gloves
SETVARIABLE hand_armor gloves

SETVARIABLE body_armor leathers
SETVARIABLE body_armor leathers

SETVARIABLE feet_armor boots
SETVARIABLE feet_armor boots

SETVARIABLE shield_armor shield
SETVARIABLE shield_armor shield

SETVARIABLE next_func check_armor
SETVARIABLE next_func check_armor

SETVARIABLE this_bag my %armor_storage
SETVARIABLE this_bag my %armor_storage


;*** The below variable "easteregg" is used with the DISMANTLE verb to add some flare

;*** If you know one of the easter egg options for this verb, define it here.

;*** Next variable is for using the easter egg option on the dismantle verb. ***
;*** If nothing is defined, then the default dismantle message will be seen.
SETVARIABLE easteregg

;*** If nothing is listed, then a default dismantle will happen to the box. ***

SETVARIABLE easteregg




put sort auto head
put sort auto head

PAUSE 1
PAUSE 1

put open my %pouch_container
put open my %pouch_container




open_armor_storage:
open_armor_storage:

MATCH combo_open complicated fastenings keep it sealed.
MATCH combo_open complicated fastenings keep it sealed.

MATCH check_armor That is already open.
MATCH check_armor That is already open.

MATCH check_armor You open your
MATCH check_armor You open your

put open my %armor_storage
put open my %armor_storage

MATCHWAIT
MATCHWAIT




wear_armor:
wear_armor:

put wear my %armor
put wear my %armor

GOTO open_armor_storage
GOTO open_armor_storage




check_armor:
check_armor:

ECHO *** check_armor ***
ECHO *** check_armor ***

put inv armor
put inv armor

MATCH my_head_armor %head_armor_descript
MATCH my_head_armor %head_armor_descript

MATCH my_hand_armor %hand_armor_descript
MATCH my_hand_armor %hand_armor_descript

MATCH my_shield_armor %shield_armor_descript
MATCH my_shield_armor %shield_armor_descript

MATCH my_body_armor %body_armor_descript
MATCH my_body_armor %body_armor_descript

MATCH close_armor You are wearing nothing of that sort.
MATCH close_armor You are wearing nothing of that sort.

MATCH close_armor You have nothing of that sort.
MATCH close_armor You have nothing of that sort.

MATCHWAIT
MATCHWAIT




close_armor:
close_armor:

put close my %armor_storage
put close my %armor_storage

GOTO check_pick
GOTO check_pick




my_body_armor:
my_body_armor:

ECHO *** my_body_armor ***
ECHO *** my_body_armor ***

SETVARIABLE armor %body_armor
SETVARIABLE armor %body_armor

GOTO remove_armor
GOTO remove_armor




my_shield_armor:
my_shield_armor:

ECHO *** my_shield_armor ***
ECHO *** my_shield_armor ***

SETVARIABLE armor %shield_armor
SETVARIABLE armor %shield_armor

GOTO remove_armor
GOTO remove_armor




my_hand_armor:
my_hand_armor:

ECHO *** my_hand_armor ***
ECHO *** my_hand_armor ***

SETVARIABLE armor %hand_armor
SETVARIABLE armor %hand_armor

GOTO remove_armor
GOTO remove_armor




my_head_armor:
my_head_armor:

ECHO *** my_head_armor ***
ECHO *** my_head_armor ***

SETVARIABLE armor %head_armor
SETVARIABLE armor %head_armor

GOTO remove_armor
GOTO remove_armor




remove_armor:
remove_armor:

put remove my %armor
put remove my %armor




MATCH wear_armor But that's closed
MATCH wear_armor But that's closed

MATCH check_armor You put
MATCH check_armor You put

put put my %armor in my %armor_storage
put put my %armor in my %armor_storage

MATCHWAIT
MATCHWAIT




check_pick:
check_pick:
SETVARIABLE other_skill exp skill disarm

put exp skill lockpicking
SETVARIABLE other_skill exp disarm

put exp lockpicking

MATCH %my_choice mind lock
MATCH %my_choice mind lock

MATCH check_disarm Time
MATCH check_disarm Time

MATCHWAIT
MATCHWAIT




check_disarm:
check_disarm:

SETVARIABLE other_skill exp lockpicking
SETVARIABLE other_skill exp lockpicking
put exp skill disarm

put exp disarm

MATCH %my_choice mind lock
MATCH %my_choice mind lock

MATCH check_bag Time
MATCH check_bag Time

MATCHWAIT
MATCHWAIT




sleep:
sleep:

put %other_skill
put %other_skill

ECHO
ECHO

ECHO *******************************************************
ECHO *******************************************************

ECHO *** Mind Locked. Letting head rest for 10 minutes. ***
ECHO *** Mind Locked. Letting head rest for 10 minutes. ***

ECHO *******************************************************
ECHO *******************************************************

ECHO
ECHO

PAUSE 300
PAUSE 300

ECHO ***************************************
ECHO ***************************************

ECHO *** 5 minutes until picking resumes ***
ECHO *** 5 minutes until picking resumes ***

ECHO ***************************************
ECHO ***************************************

PAUSE 240
PAUSE 240

ECHO **************************************
ECHO **************************************

ECHO *** 1 minute until picking resumes ***
ECHO *** 1 minute until picking resumes ***

ECHO **************************************
ECHO **************************************

PAUSE 60
PAUSE 60

GOTO check_pick
GOTO check_pick




show_exp:
show_exp:

ECHO **************************************
ECHO **************************************

ECHO *** Not stopping if mind locked!!! ***
ECHO *** Not stopping if mind locked!!! ***

ECHO **************************************
ECHO **************************************

put %other_skill
put %other_skill

GOTO check_bag
GOTO check_bag




check_bag:
check_bag:

PAUSE 2
PAUSE 2

SETVARIABLE next_func find_box
SETVARIABLE next_func find_box

SETVARIABLE this_bag %my_bag
SETVARIABLE this_bag %my_bag




MATCH combo_open complicated fastenings keep it sealed.
MATCH combo_open complicated fastenings keep it sealed.

MATCH find_box That is already open.
MATCH find_box That is already open.

MATCH find_box You open your
MATCH find_box You open your

MATCH find_box You slowly open your
MATCH find_box You slowly open your

MATCH find_box You open a
MATCH find_box You open a

put open %this_bag
put open %this_bag

MATCHWAIT
MATCHWAIT




combo_open:
combo_open:

put poke %this_bag
put poke %this_bag

put yank %this_bag
put yank %this_bag

GOTO %next_func
GOTO %next_func




find_box:
find_box:

COUNTER SET 1
COUNTER SET 1



put look in %this_bag


MATCH crate crate,
MATCH crate crate,

MATCH crate crate.
MATCH crate crate.

MATCH crate crate and
MATCH crate crate and

MATCH strongbox strongbox,
MATCH strongbox strongbox,

MATCH strongbox strongbox.
MATCH strongbox strongbox.

MATCH strongbox strongbox and
MATCH strongbox strongbox and

MATCH tinderbox tinderbox,
MATCH tinderbox tinderbox,

MATCH tinderbox tinderbox.
MATCH tinderbox tinderbox.

MATCH tinderbox tinderbox and
MATCH tinderbox tinderbox and

MATCH box box,
MATCH box box,

MATCH box box.
MATCH box box.

MATCH box box and
MATCH box box and

MATCH skippet skippet,
MATCH skippet skippet,

MATCH skippet skippet.
MATCH skippet skippet.

MATCH skippet skippet and
MATCH skippet skippet and

MATCH casket casket,
MATCH casket casket,

MATCH casket casket.
MATCH casket casket.

MATCH casket casket and
MATCH casket casket and

MATCH trunk trunk,
MATCH trunk trunk,

MATCH trunk trunk.
MATCH trunk trunk.

MATCH trunk trunk and
MATCH trunk trunk and

MATCH caddy caddy,
MATCH caddy caddy,

MATCH caddy caddy.
MATCH caddy caddy.

MATCH caddy caddy and
MATCH caddy caddy and

MATCH chest chest,
MATCH chest chest,

MATCH chest chest.
MATCH chest chest.

MATCH chest chest and
MATCH chest chest and

MATCH coffer coffer,
MATCH coffer coffer,

MATCH coffer coffer.
MATCH coffer coffer.

MATCH coffer coffer and
MATCH coffer coffer and

MATCH exit In the
MATCH exit In the

MATCH exit There is nothing in there.
MATCH exit There is nothing in there.
put look in %this_bag

MATCHWAIT
MATCHWAIT




coffer:
coffer:

SAVE coffer
SAVE coffer

GOTO get_box
GOTO get_box




crate:
crate:

SAVE crate
SAVE crate

GOTO get_box
GOTO get_box




chest:
chest:

SAVE chest
SAVE chest

GOTO get_box
GOTO get_box




strongbox:
strongbox:

SAVE strongbox
SAVE strongbox

GOTO get_box
GOTO get_box




tinderbox:
tinderbox:
put get tinderbox from in %my_bag

put get tinderbox
put put my tinderbox in %my_bin

put drop tinderbox

GOTO find_box
GOTO find_box




box:
box:

SAVE box
SAVE box

GOTO get_box
GOTO get_box




skippet:
skippet:

SAVE skippet
SAVE skippet

GOTO get_box
GOTO get_box




casket:
casket:

SAVE casket
SAVE casket

GOTO get_box
GOTO get_box




trunk:
trunk:

SAVE trunk
SAVE trunk

GOTO get_box
GOTO get_box




caddy:
caddy:

SAVE caddy
SAVE caddy

GOTO get_box
GOTO get_box




get_box:
get_box:

put get %s from in %my_bag
put get %s from in %my_bag

put close %my_bag
put close %my_bag




MATCH disarm_me Some thoughtful soul
MATCH disarm_me Some thoughtful soul

MATCH swap doesn't appear to be trapped
MATCH swap doesn't appear to be trapped

MATCH %my_disarm appears to be trapped
MATCH %my_disarm appears to be trapped

MATCH %my_disarm You're uncertain if
MATCH %my_disarm You're uncertain if

MATCH open can be opened and closed
MATCH open can be opened and closed

put look my %s
put look my %s

put appr my %s quick
put appr my %s quick

MATCHWAIT
MATCHWAIT




disarm_again:
disarm_again:

put put my lockpick in my %lockpick_container
put put my lockpick in my %lockpick_container

GOTO %my_disarm
GOTO %my_disarm




disarm_ident:
disarm_ident:

SETVARIABLE return disarm_ident
SETVARIABLE return disarm_ident




ECHO *** disarm_ident ***
ECHO *** disarm_ident ***

put disarm my %s ident
put disarm my %s ident

MATCH disarm_ident You hear a snap as a bronze seal
MATCH disarm_ident You hear a snap as a bronze seal

MATCH disarm_ident "liquid shadows" begin to pour from it!
MATCH disarm_ident "liquid shadows" begin to pour from it!

MATCH disarm_ident fails to reveal to you what type of trap protects it.
MATCH disarm_ident fails to reveal to you what type of trap protects it.

MATCH disarm_ident aren't able to discern whether it is trapped or not
MATCH disarm_ident aren't able to discern whether it is trapped or not

MATCH disarm_me Surely any fool can see that some helpful soul
MATCH disarm_me Surely any fool can see that some helpful soul

MATCH disarm_mark Even your memory can not be that short
MATCH disarm_mark Even your memory can not be that short

MATCH disarm_mark Roundtime
MATCH disarm_mark Roundtime

MATCH disarm_mark You nod.
MATCH disarm_mark You nod.

MATCH wait ...wait
MATCH wait ...wait
MATCH boxExit a blinding flash explodes around you

MATCH exit a blinding flash explodes around you
MATCH boxExit An acrid stream of sulfurous air
MATCH boxExit less than successful

MATCH boxExit Nothing happened. Maybe it was a dud.
MATCH exit An acrid stream of sulfurous air
MATCH boxExit sharp snap

MATCH boxExit There is a sudden flash of greenish light
MATCH exit less than successful
MATCH boxExit A tiny dart lodges

MATCH boxExit Almost immediately, you grow dizzy
MATCH exit Nothing happened. Maybe it was a dud.
MATCH boxExit A black cloud of ash and soot explodes out

MATCH boxExit emits a sound like tormented souls being freed
MATCH exit sharp snap

MATCH exit There is a sudden flash of greenish light

MATCH exit A tiny dart lodges

MATCH exit Almost immediately, you grow dizzy

MATCH exit A black cloud of ash and soot explodes out

MATCH exit emits a sound like tormented souls being freed

MATCH eat_jadice With a sinister swishing noise
MATCH eat_jadice With a sinister swishing noise

MATCHWAIT
MATCHWAIT




disarm_mark:
disarm_mark:

SETVARIABLE return disarm_mark
SETVARIABLE return disarm_mark




ECHO *** disarm_mark ***
ECHO *** disarm_mark ***

put disarm my %s mark
put disarm my %s mark

MATCH swap is not trapped.
MATCH swap is not trapped.

MATCH disarm_ident You hear a snap as a bronze seal
MATCH disarm_ident You hear a snap as a bronze seal

MATCH disarm_ident "liquid shadows" begin to pour from it!
MATCH disarm_ident "liquid shadows" begin to pour from it!

MATCH disarm_ident Are you going to mark your best guess?
MATCH disarm_ident Are you going to mark your best guess?

MATCH disarm_mark Unfortunately, your weak attempt fails to scratch the mark as desired.
MATCH disarm_mark Unfortunately, your weak attempt fails to scratch the mark as desired.

MATCH disarm_mark You get the distinct feeling your careless actions
MATCH disarm_mark You get the distinct feeling your careless actions

MATCH disarm_me With a confident grin you grab
MATCH disarm_me With a confident grin you grab

MATCH disarm_ident You nod
MATCH disarm_ident You nod

MATCH disarm_mark your carelessness did not disarm the trap.
MATCH disarm_mark your carelessness did not disarm the trap.

MATCH disarm_mark You shake your head
MATCH disarm_mark You shake your head

MATCH wait ...wait
MATCH wait ...wait
MATCH boxExit a blinding flash explodes around you

MATCH exit a blinding flash explodes around you
MATCH boxExit An acrid stream of sulfurous air
MATCH boxExit less than successful

MATCH boxExit Nothing happened. Maybe it was a dud.
MATCH exit An acrid stream of sulfurous air
MATCH boxExit sharp snap

MATCH boxExit There is a sudden flash of greenish light
MATCH exit less than successful
MATCH boxExit A tiny dart lodges

MATCH boxExit Almost immediately, you grow dizzy
MATCH exit sharp snap
MATCH boxExit A black cloud of ash and soot explodes out

MATCH boxExit emits a sound like tormented souls being freed
MATCH exit Nothing happened. Maybe it was a dud.

MATCH exit There is a sudden flash of greenish light

MATCH exit A tiny dart lodges

MATCH exit Almost immediately, you grow dizzy

MATCH exit A black cloud of ash and soot explodes out

MATCH eat_jadice With a sinister swishing noise
MATCH eat_jadice With a sinister swishing noise

MATCHWAIT
MATCHWAIT




disarm_me:
disarm_me:

SETVARIABLE return disarm_me
SETVARIABLE return disarm_me




ECHO *** disarm_me ***
ECHO *** disarm_me ***

;MATCH wait ...wait
;MATCH wait ...wait

;MATCH next_disarm Roundtime
;MATCH next_disarm Roundtime

put disarm my %s
put disarm my %s

;MATCHWAIT
;MATCHWAIT

ECHO *** GOTO next_disarm ***
ECHO *** GOTO next_disarm ***

GOTO next_disarm
GOTO next_disarm




disarm_careful:
disarm_careful:

SETVARIABLE return disarm_careful
SETVARIABLE return disarm_careful




ECHO *** disarm_careful ***
ECHO *** disarm_careful ***

;MATCH wait ...wait
;MATCH wait ...wait

;MATCH next_disarm Roundtime
;MATCH next_disarm Roundtime

put disarm my %s careful
put disarm my %s careful

;MATCHWAIT
;MATCHWAIT

GOTO next_disarm
GOTO next_disarm




next_disarm:
next_disarm:

ECHO *** next_disarm ***
ECHO *** next_disarm ***

MATCH disarm_again You hear a snap as a bronze seal
MATCH disarm_again You hear a snap as a bronze seal

MATCH disarm_again "liquid shadows" begin to pour from it!
MATCH disarm_again "liquid shadows" begin to pour from it!

MATCH disarm_again You may wish to take another look.
MATCH disarm_again You may wish to take another look.

MATCH disarm_again You nod
MATCH disarm_again You nod

MATCH disarm_me You shake your head.
MATCH disarm_me You shake your head.

MATCH disarm_careful You get the distinct feeling your careless actions
MATCH disarm_careful You get the distinct feeling your careless actions

MATCH disarm_careful If you had to guess, you would say your carelessness
MATCH disarm_careful If you had to guess, you would say your carelessness

MATCH disarm_careful Your fumbling fails to disarm
MATCH disarm_careful Your fumbling fails to disarm

MATCH disarm_careful Your careful fumbling fails
MATCH disarm_careful Your careful fumbling fails

MATCH wait ...wait
MATCH wait ...wait
MATCH boxExit a blinding flash explodes around you

MATCH exit a blinding flash explodes around you
MATCH boxExit An acrid stream of sulfurous air
MATCH boxExit less than successful

MATCH boxExit Nothing happened. Maybe it was a dud.
MATCH exit An acrid stream of sulfurous air
MATCH boxExit sharp snap

MATCH boxExit There is a sudden flash of greenish light
MATCH exit less than successful
MATCH boxExit A tiny dart lodges

MATCH boxExit Almost immediately, you grow dizzy
MATCH exit sharp snap
MATCH boxExit A black cloud of ash and soot explodes out

MATCH boxExit emits a sound like tormented souls being freed
MATCH exit Nothing happened. Maybe it was a dud.

MATCH exit There is a sudden flash of greenish light

MATCH exit A tiny dart lodges

MATCH exit Almost immediately, you grow dizzy

MATCH exit A black cloud of ash and soot explodes out

MATCH eat_jadice With a sinister swishing noise
MATCH eat_jadice With a sinister swishing noise

MATCH swap Roundtime
MATCH swap Roundtime

MATCHWAIT
MATCHWAIT




eat_jadice:
eat_jadice:

put eat jadice flower
put eat jadice flower

GOTO exit
GOTO exit




swap:
swap:

SETVARIABLE return swap
SETVARIABLE return swap




ECHO *** swap ***
ECHO *** swap ***

MATCH lockpick %s in your left hand
MATCH lockpick %s in your left hand

MATCH do_swap %s in your right hand
MATCH do_swap %s in your right hand

MATCH wait ...wait
MATCH wait ...wait

put glance
put glance

MATCHWAIT
MATCHWAIT




do_swap:
do_swap:

ECHO *** do_swap ***
ECHO *** do_swap ***

MATCH lockpick You move
MATCH lockpick You move

MATCH wait ...wait
MATCH wait ...wait

put swap
put swap

MATCHWAIT
MATCHWAIT




lockpick:
lockpick:

MATCH pick lockpick from inside your
MATCH pick lockpick from inside your

MATCH no_pick What were you referring to?
MATCH no_pick What were you referring to?

put get my lockpick from my %lockpick_container
put get my lockpick from my %lockpick_container

MATCHWAIT
MATCHWAIT




pick:
pick:

ECHO *** pick ***
ECHO *** pick ***

SETVARIABLE return pick
SETVARIABLE return pick




put pick my %s
put pick my %s

MATCH exit You are in no shape to be doing that
MATCH exit You are in no shape to be doing that

MATCH swap Find a more appropriate tool and try again!
MATCH swap Find a more appropriate tool and try again!

MATCH open Click!
MATCH open Click!

MATCH open It's not locked.
MATCH open It's not locked.

MATCH open But it's wide open!
MATCH open But it's wide open!

MATCH %my_disarm Anticipating the worst
MATCH %my_disarm Anticipating the worst

MATCH pick No such luck.
MATCH pick No such luck.

MATCH wait ...wait
MATCH wait ...wait

MATCH lockpick *SNAP*! Your pick just broke!
MATCH lockpick *SNAP*! Your pick just broke!

MATCH lockpick Argh! Your pick just broke off in the lock!
MATCH lockpick Argh! Your pick just broke off in the lock!

MATCHWAIT
MATCHWAIT




wait:
wait:

PAUSE 1
PAUSE 1

GOTO %return
GOTO %return




no_pick:
no_pick:

ECHO *** You DO NOT have any lockpicks! Go get some! ***
ECHO *** You DO NOT have any lockpicks! Go get some! ***

SETVARIABLE next_func save_box
SETVARIABLE next_func save_box

SETVARIABLE this_bag %my_bag
SETVARIABLE this_bag %my_bag




put open %this_bag
put open %this_bag

MATCH combo_open complicated fastenings keep it sealed.
MATCH combo_open complicated fastenings keep it sealed.

MATCH save_box That is already open.
MATCH save_box That is already open.

MATCH save_box You open your
MATCH save_box You open your

MATCH save_box You slowly open your
MATCH save_box You slowly open your

MATCHWAIT
MATCHWAIT




open:
open:

PAUSE 1
PAUSE 1

put put my lockpick in my %lockpick_container
put put my lockpick in my %lockpick_container

put open my %s
put open my %s

GOTO gem
GOTO gem




coin:
coin:

put get coin from my %s
put get coin from my %s

GOTO gem
GOTO gem




gem:
gem:

PAUSE 1
PAUSE 1

MATCH done There is nothing in there
MATCH done There is nothing in there

MATCH coin coin
MATCH coin coin

MATCH get_diopside diopside
MATCH get_diopside diopside

MATCH get_crystal crystal
MATCH get_crystal crystal

MATCH get_topaz topaz
MATCH get_topaz topaz

MATCH get_amethyst amethyst
MATCH get_amethyst amethyst

MATCH get_nugget nugget
MATCH get_nugget nugget

MATCH get_quartz quartz
MATCH get_quartz quartz

MATCH get_jasper jasper
MATCH get_jasper jasper

MATCH get_sjatmalstones sjatmal stones
MATCH get_sjatmalstones sjatmal stones

MATCH get_lasmodistones lasmodi stones
MATCH get_lasmodistones lasmodi stones

MATCH get_waermodistones waermodi stones
MATCH get_waermodistones waermodi stones

MATCH get_lantholitestones lantholite stones
MATCH get_lantholitestones lantholite stones

MATCH get_runestone runestone
MATCH get_runestone runestone

MATCH get_bloodstone bloodstone
MATCH get_bloodstone bloodstone

MATCH get_stone stone
MATCH get_stone stone

MATCH get_ruby ruby
MATCH get_ruby ruby

MATCH get_zircon zircon
MATCH get_zircon zircon

MATCH get_bar silver bar
MATCH get_bar silver bar

MATCH get_a_gem gem
MATCH get_a_gem gem

MATCH get_sapphire sapphire
MATCH get_sapphire sapphire

MATCH get_malachite malachite
MATCH get_malachite malachite
MATCH get_diamondBand diamond band

MATCH get_diamond diamond
MATCH get_diamond diamond

MATCH get_moonstone circle of milky moonstone
MATCH get_moonstone circle of milky moonstone

MATCH get_goldstone goldstone
MATCH get_goldstone goldstone

MATCH get_sunstone sunstone
MATCH get_sunstone sunstone

MATCH get_onyx chunk of onyx
MATCH get_onyx chunk of onyx

MATCH get_opal opal
MATCH get_opal opal

MATCH get_bloodgem bloodgem
MATCH get_bloodgem bloodgem

MATCH get_bar gold bar
MATCH get_bar gold bar

MATCH get_pearl pearl
MATCH get_pearl pearl

MATCH get_card card
MATCH get_card card

MATCH get_crust crust
MATCH get_crust crust

MATCH get_bread bread
MATCH get_bread bread

MATCH get_brush brush
MATCH get_brush brush

MATCH get_arrowhead arrowhead
MATCH get_arrowhead arrowhead

MATCH get_cookie cookie
MATCH get_cookie cookie

MATCH get_herring herring
MATCH get_herring herring

MATCH get_pestle pestle
MATCH get_pestle pestle

MATCH get_tinderbox tinderbox
MATCH get_tinderbox tinderbox

MATCH get_grub grub
MATCH get_grub grub

MATCH get_pepper pepper
MATCH get_pepper pepper

MATCH get_jerky jerky
MATCH get_jerky jerky

MATCH get_fritter fritter
MATCH get_fritter fritter

MATCH get_dress dress
MATCH get_dress dress

MATCH get_lockpick lockpick
MATCH get_lockpick lockpick

MATCH get_slug slug
MATCH get_slug slug

MATCH get_pipe pipe
MATCH get_pipe pipe

MATCH get_trotters trotters
MATCH get_trotters trotters

MATCH get_yelith yelith root
MATCH get_yelith yelith root

MATCH get_sufil sufil sap
MATCH get_sufil sufil sap

MATCH get_jadice jadice flower
MATCH get_jadice jadice flower

MATCH get_ale ale
MATCH get_ale ale

MATCH get_mouse mouse
MATCH get_mouse mouse

MATCH get_vest vest
MATCH get_vest vest

MATCH get_leaf leaf
MATCH get_leaf leaf

MATCH get_toes toes
MATCH get_toes toes

MATCH get_tobacco tobacco
MATCH get_tobacco tobacco

MATCH get_kortpotion Kort potion
MATCH get_kortpotion Kort potion

MATCH get_tart tart
MATCH get_tart tart

MATCH get_bodkin bodkin
MATCH get_bodkin bodkin

MATCH get_skirt skirt
MATCH get_skirt skirt

MATCH get_cigar cigar
MATCH get_cigar cigar

MATCH get_sandwich sandwich
MATCH get_sandwich sandwich

MATCH get_jam jam
MATCH get_jam jam

MATCH get_newsletter newsletter
MATCH get_newsletter newsletter

MATCH get_potpie potpie
MATCH get_potpie potpie

MATCH get_figurine figurine
MATCH get_figurine figurine

MATCH get_jelly jelly
MATCH get_jelly jelly

MATCH get_cake cake
MATCH get_cake cake

MATCH get_rose rose
MATCH get_rose rose

MATCH get_powder powder
MATCH get_powder powder

MATCH get_frog frog
MATCH get_frog frog

MATCH get_bottle bottle
MATCH get_bottle bottle

MATCH get_head head
MATCH get_head head

MATCH get_hat hat
MATCH get_hat hat

MATCH get_mushroom mushroom
MATCH get_mushroom mushroom

MATCH get_coat coat
MATCH get_coat coat

MATCH get_skull skull
MATCH get_skull skull

MATCH get_nectarine nectarine
MATCH get_nectarine nectarine

MATCH get_leggings leggings
MATCH get_leggings leggings

MATCH get_shoes shoes
MATCH get_shoes shoes

MATCH get_wine wine
MATCH get_wine wine

MATCH get_foot foot
MATCH get_foot foot

MATCH get_bracelet bracelet
MATCH get_bracelet bracelet

MATCH get_salmon salmon
MATCH get_salmon salmon

MATCH get_taffelberries taffelberries
MATCH get_taffelberries taffelberries

MATCH get_ham ham
MATCH get_ham ham

MATCH get_shirt shirt
MATCH get_shirt shirt

MATCH get_cheese cheese
MATCH get_cheese cheese

MATCH get_comb comb
MATCH get_comb comb

MATCH get_carrot carrot
MATCH get_carrot carrot

MATCH get_brandy brandy
MATCH get_brandy brandy

MATCH get_glue glue
MATCH get_glue glue

MATCH get_flint flint
MATCH get_flint flint

MATCH get_socks socks
MATCH get_socks socks

MATCH get_haunch haunch
MATCH get_haunch haunch

MATCH get_scraper scraper
MATCH get_scraper scraper

MATCH get_needle needle
MATCH get_needle needle

MATCH get_tomato tomato
MATCH get_tomato tomato

MATCH get_mortar mortar
MATCH get_mortar mortar

MATCH get_apple apple
MATCH get_apple apple

MATCH get_muffin muffin
MATCH get_muffin muffin

MATCH get_disc disc
MATCH get_disc disc

MATCH get_ithorpotion ithor potion
MATCH get_ithorpotion ithor potion

MATCH get_handkerchief handkerchief
MATCH get_handkerchief handkerchief

MATCH get_knife knife
MATCH get_knife knife
MATCH get_dust dust

MATCH gem What were you referring to?
MATCH gem What were you referring to?

MATCH gem You nod.
MATCH gem You nod.

MATCH gem You drop
MATCH gem You drop

MATCH gem You put
MATCH gem You put

MATCH gem Your newsletter disintegrates
MATCH gem Your newsletter disintegrates

put look in my %s
put look in my %s

MATCHWAIT
MATCHWAIT




get_diopside:
get_diopside:

SETVARIABLE gems diopside
SETVARIABLE gems diopside

GOTO get_gem
GOTO get_gem




get_crystal:
get_crystal:

SETVARIABLE gems crystal
SETVARIABLE gems crystal

GOTO get_gem
GOTO get_gem




get_topaz:
get_topaz:

SETVARIABLE gems topaz
SETVARIABLE gems topaz

GOTO get_gem
GOTO get_gem




get_amethyst:
get_amethyst:

SETVARIABLE gems amethyst
SETVARIABLE gems amethyst

GOTO get_gem
GOTO get_gem




get_nugget:
get_nugget:

SETVARIABLE gems nugget
SETVARIABLE gems nugget

GOTO get_gem
GOTO get_gem




get_bloodstone:
get_bloodstone:

SETVARIABLE gems bloodstone
SETVARIABLE gems bloodstone

GOTO get_gem
GOTO get_gem




get_quartz:
get_quartz:

SETVARIABLE gems quartz
SETVARIABLE gems quartz

GOTO get_gem
GOTO get_gem




get_jasper:
get_jasper:

SETVARIABLE gems jasper
SETVARIABLE gems jasper

GOTO get_gem
GOTO get_gem




get_sjatmalstones:
get_sjatmalstones:

SETVARIABLE trash sjatmal stones
SETVARIABLE trash sjatmal stones

GOTO %lose_trash
GOTO %lose_trash




get_lasmodistones:
get_lasmodistones:

SETVARIABLE trash lasmodi stones
SETVARIABLE trash lasmodi stones

GOTO %lose_trash
GOTO %lose_trash




get_waermodistones:
get_waermodistones:

SETVARIABLE trash waermodi stones
SETVARIABLE trash waermodi stones

GOTO %lose_trash
GOTO %lose_trash




get_lantholitestones:
get_lantholitestones:

SETVARIABLE trash lantholite stones
SETVARIABLE trash lantholite stones

GOTO %lose_trash
GOTO %lose_trash




get_runestone:
get_runestone:

SETVARIABLE trash runestone
SETVARIABLE trash runestone

GOTO %lose_trash
GOTO %lose_trash




get_stone:
get_stone:

SETVARIABLE gems stone
SETVARIABLE gems stone

GOTO get_gem
GOTO get_gem




get_ruby:
get_ruby:

SETVARIABLE gems ruby
SETVARIABLE gems ruby

GOTO get_gem
GOTO get_gem




get_zircon:
get_zircon:

SETVARIABLE gems zircon
SETVARIABLE gems zircon

GOTO get_gem
GOTO get_gem




get_bar:
get_bar:

SETVARIABLE gems bar
SETVARIABLE gems bar

GOTO get_gem
GOTO get_gem




get_a_gem:
get_a_gem:

SETVARIABLE gems gem
SETVARIABLE gems gem

GOTO get_gem
GOTO get_gem




get_sapphire:
get_sapphire:

SETVARIABLE gems sapphire
SETVARIABLE gems sapphire

GOTO get_gem
GOTO get_gem




get_malachite:
get_malachite:

SETVARIABLE gems malachite
SETVARIABLE gems malachite

GOTO get_gem
GOTO get_gem


get_diamondBand:

put open my %0
put get diamond band from my %s
put put my diamond band in my %0
put close my %0
GOTO gem


get_diamond:
get_diamond:

SETVARIABLE gems diamond
SETVARIABLE gems diamond

GOTO get_gem
GOTO get_gem




get_moonstone:
get_moonstone:

SETVARIABLE gems moonstone
SETVARIABLE gems moonstone

GOTO get_gem
GOTO get_gem




get_goldstone:
get_goldstone:

SETVARIABLE gems goldstone
SETVARIABLE gems goldstone

GOTO get_gem
GOTO get_gem




get_sunstone:
get_sunstone:

SETVARIABLE gems sunstone
SETVARIABLE gems sunstone

GOTO get_gem
GOTO get_gem




get_onyx:
get_onyx:

SETVARIABLE gems onyx
SETVARIABLE gems onyx

GOTO get_gem
GOTO get_gem




get_opal:
get_opal:

SETVARIABLE gems opal
SETVARIABLE gems opal

GOTO get_gem
GOTO get_gem




get_bloodgem:
get_bloodgem:

SETVARIABLE gems bloodgem
SETVARIABLE gems bloodgem

GOTO get_gem
GOTO get_gem




get_pearl:
get_pearl:

SETVARIABLE gems pearl
SETVARIABLE gems pearl

GOTO get_gem
GOTO get_gem




get_card:
get_card:

SETVARIABLE other card
SETVARIABLE other card

SETVARIABLE this_container %pouch_container
SETVARIABLE this_container %pouch_container

GOTO get_other
GOTO get_other




get_bread:
get_bread:

SETVARIABLE trash bread
SETVARIABLE trash bread

GOTO %lose_trash
GOTO %lose_trash




get_brush:
get_brush:

SETVARIABLE trash brush
SETVARIABLE trash brush

GOTO %lose_trash
GOTO %lose_trash




get_arrowhead:
get_arrowhead:

SETVARIABLE trash arrowhead
SETVARIABLE trash arrowhead

GOTO %lose_trash
GOTO %lose_trash




get_cookie:
get_cookie:

SETVARIABLE trash cookie
SETVARIABLE trash cookie

GOTO %lose_trash
GOTO %lose_trash




get_herring:
get_herring:

SETVARIABLE trash herring
SETVARIABLE trash herring

GOTO %lose_trash
GOTO %lose_trash




get_pestle:
get_pestle:

SETVARIABLE trash pestle
SETVARIABLE trash pestle

GOTO %lose_trash
GOTO %lose_trash




get_tinderbox:
get_tinderbox:

SETVARIABLE trash tinderbox
SETVARIABLE trash tinderbox

GOTO %lose_trash
GOTO %lose_trash




get_grub:
get_grub:

SETVARIABLE trash grub
SETVARIABLE trash grub

GOTO %lose_trash
GOTO %lose_trash




get_pepper:
get_pepper:

SETVARIABLE trash pepper
SETVARIABLE trash pepper

GOTO %lose_trash
GOTO %lose_trash




get_jerky:
get_jerky:

SETVARIABLE trash jerky
SETVARIABLE trash jerky

GOTO %lose_trash
GOTO %lose_trash




get_fritter:
get_fritter:

SETVARIABLE trash fritter
SETVARIABLE trash fritter

GOTO %lose_trash
GOTO %lose_trash




get_dress:
get_dress:

SETVARIABLE trash dress
SETVARIABLE trash dress

GOTO %lose_trash
GOTO %lose_trash




get_trotters:
get_trotters:

SETVARIABLE trash trotters
SETVARIABLE trash trotters

GOTO %lose_trash
GOTO %lose_trash




get_vest:
get_vest:

SETVARIABLE trash vest
SETVARIABLE trash vest

GOTO %lose_trash
GOTO %lose_trash




get_lockpick:
get_lockpick:

SETVARIABLE other lockpick
SETVARIABLE other lockpick

SETVARIABLE this_container %lockpick_container
SETVARIABLE this_container %lockpick_container

GOTO get_other
GOTO get_other




get_slug:
get_slug:

SETVARIABLE trash slug
SETVARIABLE trash slug

GOTO %lose_trash
GOTO %lose_trash




get_pipe:
get_pipe:

SETVARIABLE trash pipe
SETVARIABLE trash pipe

GOTO %lose_trash
GOTO %lose_trash




get_yelith:
get_yelith:

SETVARIABLE other yelith root
SETVARIABLE other yelith root

SETVARIABLE this_container cloak
SETVARIABLE this_container cloak

GOTO get_other
GOTO get_other




get_sufil:
get_sufil:

SETVARIABLE other sufil sap
SETVARIABLE other sufil sap

SETVARIABLE this_container cloak
SETVARIABLE this_container cloak

GOTO get_other
GOTO get_other




get_jadice:
get_jadice:

SETVARIABLE other jadice flower
SETVARIABLE other jadice flower

SETVARIABLE this_container cloak
SETVARIABLE this_container cloak

GOTO get_other
GOTO get_other




get_ale:
get_ale:

SETVARIABLE trash ale
SETVARIABLE trash ale

GOTO %lose_trash
GOTO %lose_trash




get_mouse:
get_mouse:

SETVARIABLE trash mouse
SETVARIABLE trash mouse

GOTO %lose_trash
GOTO %lose_trash




get_leaf:
get_leaf:

SETVARIABLE trash leaf
SETVARIABLE trash leaf

GOTO %lose_trash
GOTO %lose_trash




get_toes:
get_toes:

SETVARIABLE trash toes
SETVARIABLE trash toes

GOTO %lose_trash
GOTO %lose_trash




get_tobacco:
get_tobacco:

SETVARIABLE trash tobacco
SETVARIABLE trash tobacco

GOTO %lose_trash
GOTO %lose_trash




get_kortpotion:
get_kortpotion:

SETVARIABLE trash Kort potion
SETVARIABLE trash Kort potion

GOTO %lose_trash
GOTO %lose_trash




get_tart:
get_tart:

SETVARIABLE trash tart
SETVARIABLE trash tart

GOTO %lose_trash
GOTO %lose_trash




get_bodkin:
get_bodkin:

SETVARIABLE trash bodkin
SETVARIABLE trash bodkin

GOTO %lose_trash
GOTO %lose_trash




get_skirt:
get_skirt:

SETVARIABLE trash skirt
SETVARIABLE trash skirt

GOTO %lose_trash
GOTO %lose_trash




get_cigar:
get_cigar:

SETVARIABLE trash cigar
SETVARIABLE trash cigar

GOTO %lose_trash
GOTO %lose_trash




get_sandwich:
get_sandwich:

SETVARIABLE trash sandwich
SETVARIABLE trash sandwich

GOTO %lose_trash
GOTO %lose_trash




get_jam:
get_jam:

SETVARIABLE trash jam
SETVARIABLE trash jam

GOTO %lose_trash
GOTO %lose_trash




get_newsletter:
get_newsletter:

SETVARIABLE trash newsletter
SETVARIABLE trash newsletter

GOTO %lose_trash
GOTO %lose_trash




get_potpie:
get_potpie:

SETVARIABLE trash potpie
SETVARIABLE trash potpie

GOTO %lose_trash
GOTO %lose_trash




get_figurine:
get_figurine:

SETVARIABLE trash figurine
SETVARIABLE trash figurine

GOTO %lose_trash
GOTO %lose_trash




get_jelly:
get_jelly:

SETVARIABLE trash jelly
SETVARIABLE trash jelly

GOTO %lose_trash
GOTO %lose_trash




get_cake:
get_cake:

SETVARIABLE trash cake
SETVARIABLE trash cake

GOTO %lose_trash
GOTO %lose_trash




get_rose:
get_rose:

SETVARIABLE trash rose
SETVARIABLE trash rose

GOTO %lose_trash
GOTO %lose_trash




get_powder:
get_powder:

SETVARIABLE trash powder
SETVARIABLE trash powder

GOTO %lose_trash
GOTO %lose_trash




get_frog:
get_frog:

SETVARIABLE trash frog
SETVARIABLE trash frog

GOTO %lose_trash
GOTO %lose_trash




get_bottle:
get_bottle:

SETVARIABLE trash bottle
SETVARIABLE trash bottle

GOTO %lose_trash
GOTO %lose_trash




get_crust:
get_crust:

SETVARIABLE trash crust
SETVARIABLE trash crust

GOTO %lose_trash
GOTO %lose_trash




get_head:
get_head:

SETVARIABLE trash head
SETVARIABLE trash head

GOTO %lose_trash
GOTO %lose_trash




get_hat:
get_hat:

SETVARIABLE trash hat
SETVARIABLE trash hat

GOTO %lose_trash
GOTO %lose_trash




get_mushroom:
get_mushroom:

SETVARIABLE trash mushroom
SETVARIABLE trash mushroom

GOTO %lose_trash
GOTO %lose_trash




get_coat:
get_coat:

SETVARIABLE trash coat
SETVARIABLE trash coat

GOTO %lose_trash
GOTO %lose_trash




get_skull:
get_skull:

SETVARIABLE trash skull
SETVARIABLE trash skull

GOTO %lose_trash
GOTO %lose_trash




get_nectarine:
get_nectarine:

SETVARIABLE trash nectarine
SETVARIABLE trash nectarine

GOTO %lose_trash
GOTO %lose_trash




get_leggings:
get_leggings:

SETVARIABLE trash leggings
SETVARIABLE trash leggings

GOTO %lose_trash
GOTO %lose_trash




get_shoes:
get_shoes:

SETVARIABLE trash shoes
SETVARIABLE trash shoes

GOTO %lose_trash
GOTO %lose_trash




get_wine:
get_wine:

SETVARIABLE trash wine
SETVARIABLE trash wine

GOTO %lose_trash
GOTO %lose_trash




get_foot:
get_foot:

SETVARIABLE trash foot
SETVARIABLE trash foot

GOTO %lose_trash
GOTO %lose_trash




get_bracelet:
get_bracelet:

SETVARIABLE trash bracelet
SETVARIABLE trash bracelet

GOTO %lose_trash
GOTO %lose_trash




get_salmon:
get_salmon:

SETVARIABLE trash salmon
SETVARIABLE trash salmon

GOTO %lose_trash
GOTO %lose_trash




get_taffelberries:
get_taffelberries:

SETVARIABLE trash taffelberries
SETVARIABLE trash taffelberries

GOTO %lose_trash
GOTO %lose_trash




get_ham:
get_ham:

SETVARIABLE trash ham
SETVARIABLE trash ham

GOTO %lose_trash
GOTO %lose_trash




get_shirt:
get_shirt:

SETVARIABLE trash shirt
SETVARIABLE trash shirt

GOTO %lose_trash
GOTO %lose_trash




get_cheese:
get_cheese:

SETVARIABLE trash cheese
SETVARIABLE trash cheese

GOTO %lose_trash
GOTO %lose_trash




get_comb:
get_comb:

SETVARIABLE trash comb
SETVARIABLE trash comb

GOTO %lose_trash
GOTO %lose_trash




get_carrot:
get_carrot:

SETVARIABLE trash carrot
SETVARIABLE trash carrot

GOTO %lose_trash
GOTO %lose_trash




get_brandy:
get_brandy:

SETVARIABLE trash brandy
SETVARIABLE trash brandy

GOTO %lose_trash
GOTO %lose_trash




get_glue:
get_glue:

SETVARIABLE trash glue
SETVARIABLE trash glue

GOTO %lose_trash
GOTO %lose_trash




get_flint:
get_flint:

SETVARIABLE trash flint
SETVARIABLE trash flint

GOTO %lose_trash
GOTO %lose_trash




get_socks:
get_socks:

SETVARIABLE trash socks
SETVARIABLE trash socks

GOTO %lose_trash
GOTO %lose_trash




get_haunch:
get_haunch:

SETVARIABLE trash haunch
SETVARIABLE trash haunch

GOTO %lose_trash
GOTO %lose_trash




get_scraper:
get_scraper:

SETVARIABLE trash scraper
SETVARIABLE trash scraper

GOTO %lose_trash
GOTO %lose_trash




get_needle:
get_needle:

SETVARIABLE trash needle
SETVARIABLE trash needle

GOTO %lose_trash
GOTO %lose_trash




get_tomato:
get_tomato:

SETVARIABLE trash tomato
SETVARIABLE trash tomato

GOTO %lose_trash
GOTO %lose_trash




get_mortar:
get_mortar:

SETVARIABLE trash mortar
SETVARIABLE trash mortar

GOTO %lose_trash
GOTO %lose_trash




get_apple:
get_apple:

SETVARIABLE trash apple
SETVARIABLE trash apple

GOTO %lose_trash
GOTO %lose_trash




get_muffin:
get_muffin:

SETVARIABLE trash muffin
SETVARIABLE trash muffin

GOTO %lose_trash
GOTO %lose_trash




get_disc:
get_disc:

SETVARIABLE trash disc
SETVARIABLE trash disc

GOTO %lose_trash
GOTO %lose_trash




get_ithorpotion:
get_ithorpotion:

SETVARIABLE other ithor potion
SETVARIABLE other ithor potion

SETVARIABLE this_container cloak
SETVARIABLE this_container cloak

GOTO get_other
GOTO get_other




get_handkerchief:
get_handkerchief:

SETVARIABLE trash handkerchief
SETVARIABLE trash handkerchief

GOTO %lose_trash
GOTO %lose_trash




get_knife:
get_knife:

SETVARIABLE trash knife
SETVARIABLE trash knife
GOTO %lose_trash


get_dust:
SETVARIABLE trash dust
GOTO %lose_trash
GOTO %lose_trash




lose_trash_1:
lose_trash_1:

SETVARIABLE next_func gem
SETVARIABLE next_func gem

ECHO *** lose_trash_1 ***
ECHO *** lose_trash_1 ***

put get %trash from my %s
put get %trash from my %s

put drop my %trash
put drop my %trash

GOTO gem
GOTO gem




lose_trash_2:
lose_trash_2:

SETVARIABLE next_func gem
SETVARIABLE next_func gem

ECHO *** lose_trash_2 ***
ECHO *** lose_trash_2 ***

put get %trash from my %s
put get %trash from my %s

put put my %trash in %my_bin
put put my %trash in %my_bin

GOTO gem
GOTO gem




get_other:
get_other:

SETVARIABLE next_func gem
SETVARIABLE next_func gem

ECHO *** get_other ***
ECHO *** get_other ***

put get %other from my %s
put get %other from my %s

put put my %other in my %this_container
put put my %other in my %this_container

GOTO gem
GOTO gem




get_gem:
get_gem:

SETVARIABLE next_func get_gem
SETVARIABLE next_func get_gem

ECHO *** get_gem ***
ECHO *** get_gem ***

put get %gems from my %s
put get %gems from my %s

put put my %gems in my pouch in my %pouch_container
put put my %gems in my pouch in my %pouch_container

MATCH free_hand has been tied off
MATCH free_hand has been tied off

MATCH free_hand You can't fit anything else
MATCH free_hand You can't fit anything else

MATCH special_gem too long to fit
MATCH special_gem too long to fit

MATCH special_gem There isn't any more room
MATCH special_gem There isn't any more room

MATCH gem You put your
MATCH gem You put your

MATCH done You nod.
MATCH done You nod.

MATCH gem You shake your head.
MATCH gem You shake your head.

MATCHWAIT
MATCHWAIT




special_gem:
special_gem:

SETVARIABLE next_func gem
SETVARIABLE next_func gem

put open my %special_gem_container
put open my %special_gem_container

put put my %gems in my %special_gem_container
put put my %gems in my %special_gem_container

put close my %special_gem_container
put close my %special_gem_container

GOTO %next_func
GOTO %next_func




done:
done:

SETVARIABLE next_func test_pouch
SETVARIABLE next_func test_pouch

ECHO *** DONE ***
ECHO *** DONE ***

put look in my %s
put look in my %s

MATCH free_hand You can't fit anything else
MATCH free_hand You can't fit anything else

MATCH do_again There is nothing in there.
MATCH do_again There is nothing in there.

MATCH done You put your
MATCH done You put your

MATCH done You drop
MATCH done You drop

MATCH gem You nod.
MATCH gem You nod.

MATCHWAIT
MATCHWAIT




free_hand:
free_hand:

ECHO *** free_hand ***
ECHO *** free_hand ***

COUNTER SET 1
COUNTER SET 1

SETVARIABLE next_func test_pouch
SETVARIABLE next_func test_pouch

SETVARIABLE this_bag %my_bag
SETVARIABLE this_bag %my_bag




put put my %gems in my %s
put put my %gems in my %s

put open %my_bag
put open %my_bag

MATCH combo_open complicated fastenings keep it sealed.
MATCH combo_open complicated fastenings keep it sealed.

MATCH test_pouch That is already open.
MATCH test_pouch That is already open.

MATCH test_pouch You slowly open your
MATCH test_pouch You slowly open your

MATCH test_pouch You open
MATCH test_pouch You open

MATCHWAIT
MATCHWAIT




test_pouch:
test_pouch:

COUNTER ADD 1
COUNTER ADD 1

put put %s in %my_bag
put put %s in %my_bag

put get pouch from my %pouch_container
put get pouch from my %pouch_container

put close my pouch
put close my pouch

put put my pouch in my %pouch_container
put put my pouch in my %pouch_container

put get %gems from my %s in %my_bag
put get %gems from my %s in %my_bag

GOTO test_%c
GOTO test_%c




test_2:
test_2:

PAUSE 1
PAUSE 1

put put my %gems in my second pouch in my %pouch_container
put put my %gems in my second pouch in my %pouch_container

MATCH swap_pouch_2 You put
MATCH swap_pouch_2 You put

MATCH get_pouch What were you referring to?
MATCH get_pouch What were you referring to?

MATCH test_3 has been tied off
MATCH test_3 has been tied off

MATCH test_3 You can't fit anything else
MATCH test_3 You can't fit anything else

MATCHWAIT
MATCHWAIT




test_3:
test_3:

PAUSE 1
PAUSE 1

put put my %gems in my third pouch in my %pouch_container
put put my %gems in my third pouch in my %pouch_container

MATCH swap_pouch_3 You put
MATCH swap_pouch_3 You put

MATCH get_pouch What were you referring to?
MATCH get_pouch What were you referring to?

MATCH test_4 has been tied off
MATCH test_4 has been tied off

MATCH test_4 You can't fit anything else
MATCH test_4 You can't fit anything else

MATCHWAIT
MATCHWAIT




test_4:
test_4:

PAUSE 1
PAUSE 1

put put my %gems in my fourth pouch in my %pouch_container
put put my %gems in my fourth pouch in my %pouch_container

MATCH swap_pouch_%c You put
MATCH swap_pouch_%c You put

MATCH no_pouch What were you referring to?
MATCH no_pouch What were you referring to?

MATCHWAIT
MATCHWAIT




no_pouch:
no_pouch:

ECHO *** No more pouches! ***
ECHO *** No more pouches! ***

GOTO exit
GOTO exit




swap_pouch_2:
swap_pouch_2:

put get second pouch from my %pouch_container
put get second pouch from my %pouch_container

put put my pouch in my %pouch_container
put put my pouch in my %pouch_container

GOTO finish_box
GOTO finish_box




swap_pouch_3:
swap_pouch_3:

put get third pouch from my %pouch_container
put get third pouch from my %pouch_container

put put my pouch in my %pouch_container
put put my pouch in my %pouch_container

GOTO finish_box
GOTO finish_box




swap_pouch_4:
swap_pouch_4:

put get fourth pouch from my %pouch_container
put get fourth pouch from my %pouch_container

put put my pouch in my %pouch_container
put put my pouch in my %pouch_container

GOTO finish_box
GOTO finish_box




finish_box:
finish_box:

put get %s from in %my_bag
put get %s from in %my_bag

put close %my_bag
put close %my_bag

GOTO gem
GOTO gem




get_pouch:
get_pouch:

put get pouch from my %empty_pouch_container
put get pouch from my %empty_pouch_container

put put my pouch in my %pouch_container
put put my pouch in my %pouch_container

put put my %gems in my pouch in my %pouch_container
put put my %gems in my pouch in my %pouch_container

GOTO finish_box
GOTO finish_box




do_again:
do_again:

ECHO *** Dismantle %s and start over script. ***
ECHO *** Dismantle %s and start over script. ***

SETVARIABLE return do_again
SETVARIABLE return do_again




put dismantle my %s %easteregg
put dismantle my %s %easteregg

MATCH hold_dismantle Your hands are too full for that!
MATCH hold_dismantle Your hands are too full for that!

MATCH check_pick After a brief moment, you scoff quietly
MATCH check_pick After a brief moment, you scoff quietly

MATCH check_pick confident in your knowledge of its creation
MATCH check_pick confident in your knowledge of its creation

MATCH check_pick You examine
MATCH check_pick You examine

MATCH disarm_again You must first disarm
MATCH disarm_again You must first disarm

MATCH wait ...wait
MATCH wait ...wait

MATCHWAIT
MATCHWAIT




hold_dismantle:
hold_dismantle:

PAUSE 10
PAUSE 10

GOTO done
GOTO done




save_box:
save_box:

put put my %s in %this_bag
put put my %s in %this_bag
GOTO exit


boxExit:
ECHO ***********************************
ECHO *** ==WARNING==
ECHO *** You set off a box trap!
ECHO *** Find out how you hurt yourself!
ECHO ***********************************
PAUSE 5
GOTO exit
GOTO exit




exit:
exit:

put close %my_bag
put close %my_bag

put get %my_bag
put get %my_bag

put close my %pouch_container
put close my %pouch_container




DELETEVARIABLE next_func
DELETEVARIABLE next_func

DELETEVARIABLE gems
DELETEVARIABLE gems

DELETEVARIABLE pouch_container
DELETEVARIABLE pouch_container

DELETEVARIABLE empty_pouch_container
DELETEVARIABLE empty_pouch_container

DELETEVARIABLE armor_storage
DELETEVARIABLE armor_storage

DELETEVARIABLE lockpick_container
DELETEVARIABLE lockpick_container

DELETEVARIABLE special_gem_container
DELETEVARIABLE special_gem_container

DELETEVARIABLE head_armor_descript
DELETEVARIABLE head_armor_descript

DELETEVARIABLE hand_armor_descript
DELETEVARIABLE hand_armor_descript

DELETEVARIABLE body_armor_descript
DELETEVARIABLE body_armor_descript

DELETEVARIABLE shield_armor_descript
DELETEVARIABLE shield_armor_descript

DELETEVARIABLE head_armor
DELETEVARIABLE head_armor

DELETEVARIABLE hand_armor
DELETEVARIABLE hand_armor

DELETEVARIABLE body_armor
DELETEVARIABLE body_armor

DELETEVARIABLE feet_armor
DELETEVARIABLE feet_armor

DELETEVARIABLE shield_armor
DELETEVARIABLE shield_armor

DELETEVARIABLE armor
DELETEVARIABLE armor

DELETEVARIABLE this_bag
DELETEVARIABLE this_bag

DELETEVARIABLE my_choice
DELETEVARIABLE my_choice

DELETEVARIABLE trash
DELETEVARIABLE trash

DELETEVARIABLE other
DELETEVARIABLE other

DELETEVARIABLE other_skill
DELETEVARIABLE other_skill

DELETEVARIABLE lose_trash
DELETEVARIABLE lose_trash

DELETEVARIABLE my_bin
DELETEVARIABLE my_bin

DELETEVARIABLE this_container
DELETEVARIABLE this_container

DELETEVARIABLE my_bag
DELETEVARIABLE my_bag

DELETEVARIABLE my_disarm
DELETEVARIABLE my_disarm

DELETEVARIABLE return
DELETEVARIABLE return

DELETEVARIABLE easteregg

EXIT
EXIT
</pre>

Latest revision as of 12:13, 23 May 2016

Pick Boxes (script)
Category utility,Survival
Front-end StormFront,Wizard
Author Uversy


General Information

This script is a fully automated means of picking boxes.  It will do the following:
 1.  Remove your armor and put it into a defined container.
 2.  Pick all boxes in a defined container (specified as a command-line variable)
 3.  Watch exp and pause for 10 minutes when mind locked.
 4.  Throw away trash found in the boxes.
 5.  Dismantle the boxes when finished.
 6.  Stops the script when injured while disarming a box (still inputting the text
      for the various ways boxes hurt you).
 7.  Puts gems found in the boxes in a gem pouch within a defined container.
 8.  Stores herbs found within a defined container (still inputting all the herbs).
 9.  Stores lockpicks found in a defined container.
10.  Appraises the box before trying to disarm it.

Front end: Stormfront (should work on Wizard)

Recommended name: pick

Usage:  .pick [container with boxes]
        Where:
          container = any container either worn on the person or on the ground.
                       No need to quote container names.

        Example:
          .pick duffel bag
          .pick backpack

For complete information on how this script works see Pick Boxes Instructions

Change Log

For the full log see Pick Boxes Change Log History.

EDITED by Uversy (5-29-2008) -- Version 1.5.1
     1.  Included the ability to define the variable "easteregg" for use with the DISMANTLE
         verb.  Null by default which means dismantle will show the default message.

Please email uversy_dr@hotmail.com if you find any more trash items this script doesn't pick up.

TODO

1. Keep adding trash items found in boxes as they are found.

The Script

;*** Name:         pick.xml
;*** Description:  Pick anything. Even discards trash found in the boxes.
;***               (That part is always growing. Email me at uversry_dr@hotmail.com
;***               if you find anymore junk this script isn't catching.) 
;***
;*** Version:      1.5.1

IF_1 GOTO start
ECHO ***************************************************
ECHO *** You need to define a container on your person
ECHO *** in which boxes that need picking are stored.
ECHO *** 
ECHO *** USAGE:
ECHO ***         .pick <container>
ECHO *** 
ECHO ***  Where <container> is any bag containing boxes.
ECHO ***  You do not have to quote a container name.
ECHO *** 
ECHO ***  EXAMPLE:
ECHO *** 
ECHO ***         .pick duffel bag
ECHO ***         .pick backpack
ECHO ***************************************************

GOTO exit

start:
ECHO *****************************************************
ECHO *** Loop this script?
ECHO ***
ECHO ***    1.) YES
ECHO ***    2.) NOPE
ECHO ***
ECHO *** Type a number from the list above and press ENTER
ECHO *****************************************************
MATCH loop  1
MATCH no_loop 2
MATCHWAIT

loop:
SETVARIABLE my_choice show_exp
GOTO set_holding

no_loop:
SETVARIABLE my_choice sleep
GOTO set_holding

set_holding:
ECHO *****************************************************
ECHO *** Are you wearing the %0 ?
ECHO ***
ECHO ***    1.) YES
ECHO ***    2.) NOPE
ECHO ***
ECHO *** Type a number from the list above and press ENTER
ECHO *****************************************************
MATCH holding 1
MATCH not_holding 2
MATCHWAIT

holding:
SETVARIABLE my_bag my %0
GOTO set_picktype

not_holding:
SETVARIABLE my_bag %0
GOTO set_picktype

set_picktype:
ECHO ********************************************************
ECHO *** Do you want to identify and mark traps (full disarm)
ECHO ***  or just disarm the traps (quick disarm)?
ECHO ***
ECHO ***    1.) full disarm
ECHO ***    2.) quick disarm
ECHO ***
ECHO *** Type a number from the list above and press ENTER
ECHO ********************************************************
MATCH full_disarm 1
MATCH quick_disarm 2
MATCHWAIT

full_disarm:
SETVARIABLE my_disarm disarm_ident
GOTO set_trashbin

quick_disarm:
SETVARIABLE my_disarm disarm_me
GOTO set_trashbin


set_trashbin:
ECHO *****************************************************
ECHO *** Is there a trash container here?
ECHO ***    1.) bin
ECHO ***    2.) basket
ECHO ***    3.) bucket
ECHO ***    4.) receptacle
ECHO ***    5.) log
ECHO ***    6.) trash-bin or trashbin
ECHO ***    7.) hole
ECHO ***
ECHO ***    8.) nope
ECHO ***
ECHO ***
ECHO *** Type a number from the list above and press ENTER
ECHO *****************************************************
MATCH bin 1
MATCH basket 2
MATCH bucket 3
MATCH receptacle 4
MATCH receptacle 5
MATCH trash 6
MATCH hole 7
MATCH no_trashcan 8
MATCHWAIT

bin:
SETVARIABLE lose_trash lose_trash_2
SETVARIABLE my_bin bin
GOTO set_variables

basket:
SETVARIABLE lose_trash lose_trash_2
SETVARIABLE my_bin basket
GOTO set_variables

bucket:
SETVARIABLE lose_trash lose_trash_2
SETVARIABLE my_bin bucket
GOTO set_variables

receptacle:
SETVARIABLE lose_trash lose_trash_2
SETVARIABLE my_bin receptacle
GOTO set_variables

log:
SETVARIABLE lose_trash lose_trash_2
SETVARIABLE my_bin log
GOTO set_variables

trash:
SETVARIABLE lose_trash lose_trash_2
SETVARIABLE my_bin trash
GOTO set_variables

hole:
SETVARIABLE lose_trash lose_trash_2
SETVARIABLE my_bin hole
GOTO set_variables

no_trashcan:
SETVARIABLE lose_trash lose_trash_1
GOTO set_variables

set_variables:
SETVARIABLE pouch_container bolt box
SETVARIABLE empty_pouch_container odaj
SETVARIABLE armor_storage rucksack
SETVARIABLE lockpick_container boots
SETVARIABLE special_gem_container duffel bag
SETVARIABLE head_armor_descript black leather mask
SETVARIABLE hand_armor_descript some black leather gloves
SETVARIABLE body_armor_descript some soft black leathers
SETVARIABLE shield_armor_descript gargoyle-hide shield
SETVARIABLE head_armor mask
SETVARIABLE hand_armor gloves
SETVARIABLE body_armor leathers
SETVARIABLE feet_armor boots
SETVARIABLE shield_armor shield
SETVARIABLE next_func check_armor
SETVARIABLE this_bag my %armor_storage

;*** The below variable "easteregg" is used with the DISMANTLE verb to add some flare
;*** If you know one of the easter egg options for this verb, define it here.
;*** If nothing is defined, then the default dismantle message will be seen.
SETVARIABLE easteregg

put sort auto head
PAUSE 1
put open my %pouch_container

open_armor_storage:
MATCH combo_open complicated fastenings keep it sealed.
MATCH check_armor That is already open.
MATCH check_armor You open your
put open my %armor_storage
MATCHWAIT

wear_armor:
put wear my %armor
GOTO open_armor_storage

check_armor:
ECHO *** check_armor ***
put inv armor
MATCH my_head_armor %head_armor_descript
MATCH my_hand_armor %hand_armor_descript
MATCH my_shield_armor %shield_armor_descript
MATCH my_body_armor %body_armor_descript
MATCH close_armor You are wearing nothing of that sort.
MATCH close_armor You have nothing of that sort.
MATCHWAIT

close_armor:
put close my %armor_storage
GOTO check_pick

my_body_armor:
ECHO *** my_body_armor ***
SETVARIABLE armor %body_armor
GOTO remove_armor

my_shield_armor:
ECHO *** my_shield_armor ***
SETVARIABLE armor %shield_armor
GOTO remove_armor

my_hand_armor:
ECHO *** my_hand_armor ***
SETVARIABLE armor %hand_armor
GOTO remove_armor

my_head_armor:
ECHO *** my_head_armor ***
SETVARIABLE armor %head_armor
GOTO remove_armor

remove_armor:
put remove my %armor

MATCH wear_armor But that's closed
MATCH check_armor You put
put put my %armor in my %armor_storage
MATCHWAIT

check_pick:
SETVARIABLE other_skill exp skill disarm
put exp skill lockpicking
MATCH %my_choice mind lock
MATCH check_disarm Time
MATCHWAIT

check_disarm:
SETVARIABLE other_skill exp lockpicking
put exp skill disarm
MATCH %my_choice mind lock
MATCH check_bag Time
MATCHWAIT

sleep:
put %other_skill
ECHO
ECHO *******************************************************
ECHO *** Mind Locked.  Letting head rest for 10 minutes. ***
ECHO *******************************************************
ECHO
PAUSE 300
ECHO ***************************************
ECHO *** 5 minutes until picking resumes ***
ECHO ***************************************
PAUSE 240
ECHO **************************************
ECHO *** 1 minute until picking resumes ***
ECHO **************************************
PAUSE 60
GOTO check_pick

show_exp:
ECHO **************************************
ECHO *** Not stopping if mind locked!!! ***
ECHO **************************************
put %other_skill
GOTO check_bag

check_bag:
PAUSE 2
SETVARIABLE next_func find_box
SETVARIABLE this_bag %my_bag

MATCH combo_open complicated fastenings keep it sealed.
MATCH find_box That is already open.
MATCH find_box You open your
MATCH find_box You slowly open your
MATCH find_box You open a
put open %this_bag
MATCHWAIT

combo_open:
put poke %this_bag
put yank %this_bag
GOTO %next_func

find_box:
COUNTER SET 1

MATCH crate crate,
MATCH crate crate.
MATCH crate crate and
MATCH strongbox strongbox,
MATCH strongbox strongbox.
MATCH strongbox strongbox and
MATCH tinderbox tinderbox,
MATCH tinderbox tinderbox.
MATCH tinderbox tinderbox and
MATCH box box,
MATCH box box.
MATCH box box and
MATCH skippet skippet,
MATCH skippet skippet.
MATCH skippet skippet and
MATCH casket casket,
MATCH casket casket.
MATCH casket casket and
MATCH trunk trunk,
MATCH trunk trunk.
MATCH trunk trunk and
MATCH caddy caddy,
MATCH caddy caddy.
MATCH caddy caddy and
MATCH chest chest,
MATCH chest chest.
MATCH chest chest and
MATCH coffer coffer,
MATCH coffer coffer.
MATCH coffer coffer and
MATCH exit In the
MATCH exit There is nothing in there.
put look in %this_bag
MATCHWAIT

coffer:
SAVE coffer
GOTO get_box

crate:
SAVE crate
GOTO get_box

chest:
SAVE chest
GOTO get_box

strongbox:
SAVE strongbox
GOTO get_box

tinderbox:
put get tinderbox from in %my_bag
put put my tinderbox in %my_bin
GOTO find_box

box:
SAVE box
GOTO get_box

skippet:
SAVE skippet
GOTO get_box

casket:
SAVE casket
GOTO get_box

trunk:
SAVE trunk
GOTO get_box

caddy:
SAVE caddy
GOTO get_box

get_box:
put get %s from in %my_bag
put close %my_bag

MATCH disarm_me Some thoughtful soul
MATCH swap doesn't appear to be trapped
MATCH %my_disarm appears to be trapped
MATCH %my_disarm You're uncertain if
MATCH open can be opened and closed
put look my %s
put appr my %s quick
MATCHWAIT

disarm_again:
put put my lockpick in my %lockpick_container
GOTO %my_disarm

disarm_ident:
SETVARIABLE return disarm_ident

ECHO *** disarm_ident ***
put disarm my %s ident
MATCH disarm_ident You hear a snap as a bronze seal
MATCH disarm_ident "liquid shadows" begin to pour from it!
MATCH disarm_ident fails to reveal to you what type of trap protects it.
MATCH disarm_ident aren't able to discern whether it is trapped or not
MATCH disarm_me Surely any fool can see that some helpful soul
MATCH disarm_mark Even your memory can not be that short
MATCH disarm_mark Roundtime
MATCH disarm_mark You nod.
MATCH wait ...wait
MATCH boxExit a blinding flash explodes around you
MATCH boxExit An acrid stream of sulfurous air
MATCH boxExit less than successful
MATCH boxExit Nothing happened.  Maybe it was a dud.
MATCH boxExit sharp snap
MATCH boxExit There is a sudden flash of greenish light
MATCH boxExit A tiny dart lodges
MATCH boxExit Almost immediately, you grow dizzy
MATCH boxExit A black cloud of ash and soot explodes out
MATCH boxExit emits a sound like tormented souls being freed
MATCH eat_jadice With a sinister swishing noise
MATCHWAIT

disarm_mark:
SETVARIABLE return disarm_mark

ECHO *** disarm_mark ***
put disarm my %s mark
MATCH swap is not trapped.
MATCH disarm_ident You hear a snap as a bronze seal
MATCH disarm_ident "liquid shadows" begin to pour from it!
MATCH disarm_ident Are you going to mark your best guess?
MATCH disarm_mark Unfortunately, your weak attempt fails to scratch the mark as desired.
MATCH disarm_mark You get the distinct feeling your careless actions
MATCH disarm_me With a confident grin you grab
MATCH disarm_ident You nod
MATCH disarm_mark your carelessness did not disarm the trap.
MATCH disarm_mark You shake your head
MATCH wait ...wait
MATCH boxExit a blinding flash explodes around you
MATCH boxExit An acrid stream of sulfurous air
MATCH boxExit less than successful
MATCH boxExit Nothing happened.  Maybe it was a dud.
MATCH boxExit sharp snap
MATCH boxExit There is a sudden flash of greenish light
MATCH boxExit A tiny dart lodges
MATCH boxExit Almost immediately, you grow dizzy
MATCH boxExit A black cloud of ash and soot explodes out
MATCH boxExit emits a sound like tormented souls being freed
MATCH eat_jadice With a sinister swishing noise
MATCHWAIT

disarm_me:
SETVARIABLE return disarm_me

ECHO *** disarm_me ***
;MATCH wait ...wait
;MATCH next_disarm Roundtime
put disarm my %s
;MATCHWAIT
ECHO *** GOTO next_disarm ***
GOTO next_disarm

disarm_careful:
SETVARIABLE return disarm_careful

ECHO *** disarm_careful ***
;MATCH wait ...wait
;MATCH next_disarm Roundtime
put disarm my %s careful
;MATCHWAIT
GOTO next_disarm

next_disarm:
ECHO *** next_disarm ***
MATCH disarm_again You hear a snap as a bronze seal
MATCH disarm_again "liquid shadows" begin to pour from it!
MATCH disarm_again You may wish to take another look.
MATCH disarm_again You nod
MATCH disarm_me You shake your head.
MATCH disarm_careful You get the distinct feeling your careless actions
MATCH disarm_careful If you had to guess, you would say your carelessness
MATCH disarm_careful Your fumbling fails to disarm
MATCH disarm_careful Your careful fumbling fails
MATCH wait ...wait
MATCH boxExit a blinding flash explodes around you
MATCH boxExit An acrid stream of sulfurous air
MATCH boxExit less than successful
MATCH boxExit Nothing happened.  Maybe it was a dud.
MATCH boxExit sharp snap
MATCH boxExit There is a sudden flash of greenish light
MATCH boxExit A tiny dart lodges
MATCH boxExit Almost immediately, you grow dizzy
MATCH boxExit A black cloud of ash and soot explodes out
MATCH boxExit emits a sound like tormented souls being freed
MATCH eat_jadice With a sinister swishing noise
MATCH swap Roundtime
MATCHWAIT

eat_jadice:
put eat jadice flower
GOTO exit

swap:
SETVARIABLE return swap

ECHO *** swap ***
MATCH lockpick %s in your left hand
MATCH do_swap %s in your right hand
MATCH wait ...wait
put glance
MATCHWAIT

do_swap:
ECHO *** do_swap ***
MATCH lockpick You move
MATCH wait ...wait
put swap
MATCHWAIT

lockpick:
MATCH pick lockpick from inside your
MATCH no_pick What were you referring to?
put get my lockpick from my %lockpick_container
MATCHWAIT

pick:
ECHO *** pick ***
SETVARIABLE return pick

put pick my %s
MATCH exit You are in no shape to be doing that
MATCH swap Find a more appropriate tool and try again!
MATCH open Click!
MATCH open It's not locked.
MATCH open But it's wide open!
MATCH %my_disarm Anticipating the worst
MATCH pick No such luck.
MATCH wait ...wait
MATCH lockpick *SNAP*!  Your pick just broke!
MATCH lockpick Argh!  Your pick just broke off in the lock!
MATCHWAIT

wait:
PAUSE 1
GOTO %return

no_pick:
ECHO *** You DO NOT have any lockpicks!  Go get some! ***
SETVARIABLE next_func save_box
SETVARIABLE this_bag %my_bag

put open %this_bag
MATCH combo_open complicated fastenings keep it sealed.
MATCH save_box That is already open.
MATCH save_box You open your
MATCH save_box You slowly open your
MATCHWAIT 

open:
PAUSE 1
put put my lockpick in my %lockpick_container
put open my %s
GOTO gem

coin:
put get coin from my %s
GOTO gem

gem:
PAUSE 1
MATCH done There is nothing in there
MATCH coin coin
MATCH get_diopside diopside
MATCH get_crystal crystal
MATCH get_topaz topaz
MATCH get_amethyst amethyst
MATCH get_nugget nugget
MATCH get_quartz quartz
MATCH get_jasper jasper
MATCH get_sjatmalstones sjatmal stones
MATCH get_lasmodistones lasmodi stones
MATCH get_waermodistones waermodi stones
MATCH get_lantholitestones lantholite stones
MATCH get_runestone runestone
MATCH get_bloodstone bloodstone
MATCH get_stone stone
MATCH get_ruby ruby
MATCH get_zircon zircon
MATCH get_bar silver bar
MATCH get_a_gem gem
MATCH get_sapphire sapphire
MATCH get_malachite malachite
MATCH get_diamondBand diamond band
MATCH get_diamond diamond
MATCH get_moonstone circle of milky moonstone
MATCH get_goldstone goldstone
MATCH get_sunstone sunstone
MATCH get_onyx chunk of onyx
MATCH get_opal opal
MATCH get_bloodgem bloodgem
MATCH get_bar gold bar
MATCH get_pearl pearl
MATCH get_card card
MATCH get_crust crust
MATCH get_bread bread
MATCH get_brush brush
MATCH get_arrowhead arrowhead
MATCH get_cookie cookie
MATCH get_herring herring
MATCH get_pestle pestle
MATCH get_tinderbox tinderbox
MATCH get_grub grub
MATCH get_pepper pepper
MATCH get_jerky jerky
MATCH get_fritter fritter
MATCH get_dress dress
MATCH get_lockpick lockpick
MATCH get_slug slug
MATCH get_pipe pipe
MATCH get_trotters trotters
MATCH get_yelith yelith root
MATCH get_sufil sufil sap
MATCH get_jadice jadice flower
MATCH get_ale ale
MATCH get_mouse mouse
MATCH get_vest vest
MATCH get_leaf leaf
MATCH get_toes toes
MATCH get_tobacco tobacco
MATCH get_kortpotion Kort potion
MATCH get_tart tart
MATCH get_bodkin bodkin
MATCH get_skirt skirt
MATCH get_cigar cigar
MATCH get_sandwich sandwich
MATCH get_jam jam
MATCH get_newsletter newsletter
MATCH get_potpie potpie
MATCH get_figurine figurine
MATCH get_jelly jelly
MATCH get_cake cake
MATCH get_rose rose
MATCH get_powder powder
MATCH get_frog frog
MATCH get_bottle bottle
MATCH get_head head
MATCH get_hat hat
MATCH get_mushroom mushroom
MATCH get_coat coat
MATCH get_skull skull
MATCH get_nectarine nectarine
MATCH get_leggings leggings
MATCH get_shoes shoes
MATCH get_wine wine
MATCH get_foot foot
MATCH get_bracelet bracelet
MATCH get_salmon salmon
MATCH get_taffelberries taffelberries
MATCH get_ham ham
MATCH get_shirt shirt
MATCH get_cheese cheese
MATCH get_comb comb
MATCH get_carrot carrot
MATCH get_brandy brandy
MATCH get_glue glue
MATCH get_flint flint
MATCH get_socks socks
MATCH get_haunch haunch
MATCH get_scraper scraper
MATCH get_needle needle
MATCH get_tomato tomato
MATCH get_mortar mortar
MATCH get_apple apple
MATCH get_muffin muffin
MATCH get_disc disc
MATCH get_ithorpotion ithor potion
MATCH get_handkerchief handkerchief
MATCH get_knife knife
MATCH get_dust dust
MATCH gem What were you referring to?
MATCH gem You nod.
MATCH gem You drop
MATCH gem You put
MATCH gem Your newsletter disintegrates
put look in my %s
MATCHWAIT

get_diopside:
SETVARIABLE gems diopside
GOTO get_gem

get_crystal:
SETVARIABLE gems crystal
GOTO get_gem

get_topaz:
SETVARIABLE gems topaz
GOTO get_gem

get_amethyst:
SETVARIABLE gems amethyst
GOTO get_gem

get_nugget:
SETVARIABLE gems nugget
GOTO get_gem

get_bloodstone:
SETVARIABLE gems bloodstone
GOTO get_gem

get_quartz:
SETVARIABLE gems quartz
GOTO get_gem

get_jasper:
SETVARIABLE gems jasper
GOTO get_gem

get_sjatmalstones:
SETVARIABLE trash sjatmal stones
GOTO %lose_trash

get_lasmodistones:
SETVARIABLE trash lasmodi stones
GOTO %lose_trash

get_waermodistones:
SETVARIABLE trash waermodi stones
GOTO %lose_trash

get_lantholitestones:
SETVARIABLE trash lantholite stones
GOTO %lose_trash

get_runestone:
SETVARIABLE trash runestone
GOTO %lose_trash

get_stone:
SETVARIABLE gems stone
GOTO get_gem

get_ruby:
SETVARIABLE gems ruby
GOTO get_gem

get_zircon:
SETVARIABLE gems zircon
GOTO get_gem

get_bar:
SETVARIABLE gems bar
GOTO get_gem

get_a_gem:
SETVARIABLE gems gem
GOTO get_gem

get_sapphire:
SETVARIABLE gems sapphire
GOTO get_gem

get_malachite:
SETVARIABLE gems malachite
GOTO get_gem

get_diamondBand:
put open my %0
put get diamond band from my %s
put put my diamond band in my %0
put close my %0
GOTO gem

get_diamond:
SETVARIABLE gems diamond
GOTO get_gem

get_moonstone:
SETVARIABLE gems moonstone
GOTO get_gem

get_goldstone:
SETVARIABLE gems goldstone
GOTO get_gem

get_sunstone:
SETVARIABLE gems sunstone
GOTO get_gem

get_onyx:
SETVARIABLE gems onyx
GOTO get_gem

get_opal:
SETVARIABLE gems opal
GOTO get_gem

get_bloodgem:
SETVARIABLE gems bloodgem
GOTO get_gem

get_pearl:
SETVARIABLE gems pearl
GOTO get_gem

get_card:
SETVARIABLE other card
SETVARIABLE this_container %pouch_container
GOTO get_other

get_bread:
SETVARIABLE trash bread
GOTO %lose_trash

get_brush:
SETVARIABLE trash brush
GOTO %lose_trash

get_arrowhead:
SETVARIABLE trash arrowhead
GOTO %lose_trash

get_cookie:
SETVARIABLE trash cookie
GOTO %lose_trash

get_herring:
SETVARIABLE trash herring
GOTO %lose_trash

get_pestle:
SETVARIABLE trash pestle
GOTO %lose_trash

get_tinderbox:
SETVARIABLE trash tinderbox
GOTO %lose_trash

get_grub:
SETVARIABLE trash grub
GOTO %lose_trash

get_pepper:
SETVARIABLE trash pepper
GOTO %lose_trash

get_jerky:
SETVARIABLE trash jerky
GOTO %lose_trash

get_fritter:
SETVARIABLE trash fritter
GOTO %lose_trash

get_dress:
SETVARIABLE trash dress
GOTO %lose_trash

get_trotters:
SETVARIABLE trash trotters
GOTO %lose_trash

get_vest:
SETVARIABLE trash vest
GOTO %lose_trash

get_lockpick:
SETVARIABLE other lockpick
SETVARIABLE this_container %lockpick_container
GOTO get_other

get_slug:
SETVARIABLE trash slug
GOTO %lose_trash

get_pipe:
SETVARIABLE trash pipe
GOTO %lose_trash

get_yelith:
SETVARIABLE other yelith root
SETVARIABLE this_container cloak
GOTO get_other

get_sufil:
SETVARIABLE other sufil sap
SETVARIABLE this_container cloak
GOTO get_other

get_jadice:
SETVARIABLE other jadice flower
SETVARIABLE this_container cloak
GOTO get_other

get_ale:
SETVARIABLE trash ale
GOTO %lose_trash

get_mouse:
SETVARIABLE trash mouse
GOTO %lose_trash

get_leaf:
SETVARIABLE trash leaf
GOTO %lose_trash

get_toes:
SETVARIABLE trash toes
GOTO %lose_trash

get_tobacco:
SETVARIABLE trash tobacco
GOTO %lose_trash

get_kortpotion:
SETVARIABLE trash Kort potion
GOTO %lose_trash

get_tart:
SETVARIABLE trash tart
GOTO %lose_trash

get_bodkin:
SETVARIABLE trash bodkin
GOTO %lose_trash

get_skirt:
SETVARIABLE trash skirt
GOTO %lose_trash

get_cigar:
SETVARIABLE trash cigar
GOTO %lose_trash

get_sandwich:
SETVARIABLE trash sandwich
GOTO %lose_trash

get_jam:
SETVARIABLE trash jam
GOTO %lose_trash

get_newsletter:
SETVARIABLE trash newsletter
GOTO %lose_trash

get_potpie:
SETVARIABLE trash potpie
GOTO %lose_trash

get_figurine:
SETVARIABLE trash figurine
GOTO %lose_trash

get_jelly:
SETVARIABLE trash jelly
GOTO %lose_trash

get_cake:
SETVARIABLE trash cake
GOTO %lose_trash

get_rose:
SETVARIABLE trash rose
GOTO %lose_trash

get_powder:
SETVARIABLE trash powder
GOTO %lose_trash

get_frog:
SETVARIABLE trash frog
GOTO %lose_trash

get_bottle:
SETVARIABLE trash bottle
GOTO %lose_trash

get_crust:
SETVARIABLE trash crust
GOTO %lose_trash

get_head:
SETVARIABLE trash head
GOTO %lose_trash

get_hat:
SETVARIABLE trash hat
GOTO %lose_trash

get_mushroom:
SETVARIABLE trash mushroom
GOTO %lose_trash

get_coat:
SETVARIABLE trash coat
GOTO %lose_trash

get_skull:
SETVARIABLE trash skull
GOTO %lose_trash

get_nectarine:
SETVARIABLE trash nectarine
GOTO %lose_trash

get_leggings:
SETVARIABLE trash leggings
GOTO %lose_trash

get_shoes:
SETVARIABLE trash shoes
GOTO %lose_trash

get_wine:
SETVARIABLE trash wine
GOTO %lose_trash

get_foot:
SETVARIABLE trash foot
GOTO %lose_trash

get_bracelet:
SETVARIABLE trash bracelet
GOTO %lose_trash

get_salmon:
SETVARIABLE trash salmon
GOTO %lose_trash

get_taffelberries:
SETVARIABLE trash taffelberries
GOTO %lose_trash

get_ham:
SETVARIABLE trash ham
GOTO %lose_trash

get_shirt:
SETVARIABLE trash shirt
GOTO %lose_trash

get_cheese:
SETVARIABLE trash cheese
GOTO %lose_trash

get_comb:
SETVARIABLE trash comb
GOTO %lose_trash

get_carrot:
SETVARIABLE trash carrot
GOTO %lose_trash

get_brandy:
SETVARIABLE trash brandy
GOTO %lose_trash

get_glue:
SETVARIABLE trash glue
GOTO %lose_trash

get_flint:
SETVARIABLE trash flint
GOTO %lose_trash

get_socks:
SETVARIABLE trash socks
GOTO %lose_trash

get_haunch:
SETVARIABLE trash haunch
GOTO %lose_trash

get_scraper:
SETVARIABLE trash scraper
GOTO %lose_trash

get_needle:
SETVARIABLE trash needle
GOTO %lose_trash

get_tomato:
SETVARIABLE trash tomato
GOTO %lose_trash

get_mortar:
SETVARIABLE trash mortar
GOTO %lose_trash

get_apple:
SETVARIABLE trash apple
GOTO %lose_trash

get_muffin:
SETVARIABLE trash muffin
GOTO %lose_trash

get_disc:
SETVARIABLE trash disc
GOTO %lose_trash

get_ithorpotion:
SETVARIABLE other ithor potion
SETVARIABLE this_container cloak
GOTO get_other

get_handkerchief:
SETVARIABLE trash handkerchief
GOTO %lose_trash

get_knife:
SETVARIABLE trash knife
GOTO %lose_trash

get_dust:
SETVARIABLE trash dust
GOTO %lose_trash

lose_trash_1:
SETVARIABLE next_func gem
ECHO *** lose_trash_1 ***
put get %trash from my %s
put drop my %trash
GOTO gem

lose_trash_2:
SETVARIABLE next_func gem
ECHO *** lose_trash_2 ***
put get %trash from my %s
put put my %trash in %my_bin
GOTO gem

get_other:
SETVARIABLE next_func gem
ECHO *** get_other ***
put get %other from my %s
put put my %other in my %this_container
GOTO gem

get_gem:
SETVARIABLE next_func get_gem
ECHO *** get_gem ***
put get %gems from my %s
put put my %gems in my pouch in my %pouch_container
MATCH free_hand  has been tied off
MATCH free_hand You can't fit anything else
MATCH special_gem too long to fit
MATCH special_gem There isn't any more room
MATCH gem You put your
MATCH done You nod.
MATCH gem You shake your head.
MATCHWAIT

special_gem:
SETVARIABLE next_func gem
put open my %special_gem_container
put put my %gems in my %special_gem_container
put close my %special_gem_container
GOTO %next_func

done:
SETVARIABLE next_func test_pouch
ECHO *** DONE ***
put look in my %s
MATCH free_hand You can't fit anything else
MATCH do_again There is nothing in there.
MATCH done You put your
MATCH done You drop
MATCH gem You nod.
MATCHWAIT

free_hand:
ECHO *** free_hand ***
COUNTER SET 1
SETVARIABLE next_func test_pouch
SETVARIABLE this_bag %my_bag

put put my %gems in my %s
put open %my_bag
MATCH combo_open complicated fastenings keep it sealed.
MATCH test_pouch That is already open.
MATCH test_pouch You slowly open your
MATCH test_pouch You open
MATCHWAIT 

test_pouch:
COUNTER ADD 1
put put %s in %my_bag
put get pouch from my %pouch_container
put close my pouch
put put my pouch in my %pouch_container
put get %gems from my %s in %my_bag
GOTO test_%c

test_2:
PAUSE 1
put put my %gems in my second pouch in my %pouch_container
MATCH swap_pouch_2 You put
MATCH get_pouch What were you referring to?
MATCH test_3  has been tied off
MATCH test_3 You can't fit anything else
MATCHWAIT

test_3:
PAUSE 1
put put my %gems in my third pouch in my %pouch_container
MATCH swap_pouch_3 You put
MATCH get_pouch What were you referring to?
MATCH test_4  has been tied off
MATCH test_4 You can't fit anything else
MATCHWAIT

test_4:
PAUSE 1
put put my %gems in my fourth pouch in my %pouch_container
MATCH swap_pouch_%c You put
MATCH no_pouch What were you referring to?
MATCHWAIT

no_pouch:
ECHO *** No more pouches! ***
GOTO exit

swap_pouch_2:
put get second pouch from my %pouch_container
put put my pouch in my %pouch_container
GOTO finish_box

swap_pouch_3:
put get third pouch from my %pouch_container
put put my pouch in my %pouch_container
GOTO finish_box

swap_pouch_4:
put get fourth pouch from my %pouch_container
put put my pouch in my %pouch_container
GOTO finish_box

finish_box:
put get %s from in %my_bag
put close %my_bag
GOTO gem

get_pouch:
put get pouch from my %empty_pouch_container
put put my pouch in my %pouch_container
put put my %gems in my pouch in my %pouch_container
GOTO finish_box

do_again:
ECHO *** Dismantle %s and start over script. ***
SETVARIABLE return do_again

put dismantle my %s %easteregg
MATCH hold_dismantle Your hands are too full for that!
MATCH check_pick After a brief moment, you scoff quietly
MATCH check_pick confident in your knowledge of its creation
MATCH check_pick You examine
MATCH disarm_again You must first disarm
MATCH wait ...wait
MATCHWAIT

hold_dismantle:
PAUSE 10
GOTO done

save_box:
put put my %s in %this_bag
GOTO exit

boxExit:
ECHO ***********************************
ECHO ***         ==WARNING==
ECHO ***     You set off a box trap!         
ECHO *** Find out how you hurt yourself!
ECHO ***********************************
PAUSE 5
GOTO exit

exit:
put close %my_bag
put get %my_bag
put close my %pouch_container

DELETEVARIABLE next_func
DELETEVARIABLE gems
DELETEVARIABLE pouch_container
DELETEVARIABLE empty_pouch_container
DELETEVARIABLE armor_storage
DELETEVARIABLE lockpick_container
DELETEVARIABLE special_gem_container
DELETEVARIABLE head_armor_descript
DELETEVARIABLE hand_armor_descript
DELETEVARIABLE body_armor_descript
DELETEVARIABLE shield_armor_descript
DELETEVARIABLE head_armor
DELETEVARIABLE hand_armor
DELETEVARIABLE body_armor
DELETEVARIABLE feet_armor
DELETEVARIABLE shield_armor
DELETEVARIABLE armor
DELETEVARIABLE this_bag
DELETEVARIABLE my_choice
DELETEVARIABLE trash
DELETEVARIABLE other
DELETEVARIABLE other_skill
DELETEVARIABLE lose_trash
DELETEVARIABLE my_bin
DELETEVARIABLE this_container
DELETEVARIABLE my_bag
DELETEVARIABLE my_disarm
DELETEVARIABLE return
EXIT