Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setvariable echo-nonrares off
- setvariable auto-repair on
- setvariable use-khri-sight off
- setvariable per-heal off
- setvariable roam on
- setvariable swap.tools off
- setvariable auto-deed on
- setvariable deed-packet off
- setvariable keep-covellite off
- setvariable move-1 n
- setvariable move-2 ne
- setvariable move-3 ne
- setvariable move-4 ne
- setvariable move-5 n
- setvariable move-6 return
- setvariable move-7 return
- setvariable train-magics off
- setvariable cambrinth-item armband
- setvariable mana-to-charge 11
- setvariable how-many-times-to-charge 4
- setvariable spell-to-cast sop
- setvariable fold-origami off
- setvariable envelope-storage haversack
- setvariable origami-instructions flower instruction in primer
- setvariable origami-name flower
- setvariable juggle-jugglies off
- setvariable jugglies raccoons
- #% INDIVIDUAL FINE TUNING
- #% coal settings
- setvariable keep-massive-coal off
- setvariable keep-huge-coal off
- setvariable keep-large-coal off
- setvariable keep-medium-coal off
- setvariable keep-small-coal off
- setvariable keep-tiny-coal off
- #% copper settings
- setvariable keep-massive-copper off
- setvariable keep-huge-copper off
- setvariable keep-large-copper off
- setvariable keep-medium-copper off
- setvariable keep-small-copper off
- setvariable keep-tiny-copper off
- #% iron settings
- setvariable keep-massive-iron on
- setvariable keep-huge-iron off
- setvariable keep-large-iron off
- setvariable keep-medium-iron off
- setvariable keep-small-iron off
- setvariable keep-tiny-iron off
- #% covellite settings
- setvariable keep-massive-covellite on
- setvariable keep-huge-covellite off
- setvariable keep-large-covellite off
- setvariable keep-medium-covellite off
- setvariable keep-small-covellite off
- setvariable keep-tiny-covellite off
- #% lead settings
- setvariable keep-massive-lead off
- setvariable keep-huge-lead off
- setvariable keep-large-lead off
- setvariable keep-medium-lead off
- setvariable keep-small-lead off
- setvariable keep-tiny-lead off
- #% nickel settings
- setvariable keep-massive-nickel off
- setvariable keep-huge-nickel off
- setvariable keep-large-nickel off
- setvariable keep-medium-nickel off
- setvariable keep-small-nickel off
- setvariable keep-tiny-nickel off
- #% oravir settings
- setvariable keep-massive-oravir on
- setvariable keep-huge-oravir off
- setvariable keep-large-oravir off
- setvariable keep-medium-oravir off
- setvariable keep-small-oravir off
- setvariable keep-tiny-oravir off
- #% silver settings
- setvariable keep-massive-silver off
- setvariable keep-huge-silver off
- setvariable keep-large-silver off
- setvariable keep-medium-silver off
- setvariable keep-small-silver off
- setvariable keep-tiny-silver off
- #% tin settings
- setvariable keep-massive-tin off
- setvariable keep-huge-tin off
- setvariable keep-large-tin off
- setvariable keep-medium-tin off
- setvariable keep-small-tin off
- setvariable keep-tiny-tin off
- #% zinc settings
- setvariable keep-massive-zinc off
- setvariable keep-huge-zinc off
- setvariable keep-large-zinc off
- setvariable keep-medium-zinc off
- setvariable keep-small-zinc off
- setvariable keep-tiny-zinc off
- #% alabaster settings
- setvariable keep-alabaster-boulder off
- setvariable keep-large-alabaster-rock off
- setvariable keep-small-alabaster-rock off
- setvariable keep-alabaster-rock off
- setvariable keep-alabaster-stone off
- setvariable keep-alabaster-pebble off
- #% andesite settings
- setvariable keep-andesite-boulder off
- setvariable keep-large-andesite-rock off
- setvariable keep-small-andesite-rock off
- setvariable keep-andesite-rock off
- setvariable keep-andesite-stone off
- setvariable keep-andesite-pebble off
- #% basalt settings
- setvariable keep-basalt-boulder off
- setvariable keep-large-basalt-rock off
- setvariable keep-small-basalt-rock off
- setvariable keep-basalt-rock off
- setvariable keep-basalt-stone off
- setvariable keep-basalt-pebble off
- #% dolomite settings
- setvariable keep-dolomite-boulder off
- setvariable keep-large-dolomite-rock off
- setvariable keep-small-dolomite-rock off
- setvariable keep-dolomite-rock off
- setvariable keep-dolomite-stone off
- setvariable keep-dolomite-pebble off
- #% gabbro settings
- setvariable keep-gabbro-boulder off
- setvariable keep-large-gabbro-rock off
- setvariable keep-small-gabbro-rock off
- setvariable keep-gabbro-rock off
- setvariable keep-gabbro-stone off
- setvariable keep-gabbro-pebble off
- #% granite settings
- setvariable keep-granite-boulder off
- setvariable keep-large-granite-rock off
- setvariable keep-small-granite-rock off
- setvariable keep-granite-rock off
- setvariable keep-granite-stone off
- setvariable keep-granite-pebble off
- #% jade settings
- setvariable keep-jade-boulder off
- setvariable keep-large-jade-rock off
- setvariable keep-small-jade-rock off
- setvariable keep-jade-rock off
- setvariable keep-jade-stone off
- setvariable keep-jade-pebble off
- #% limestone settings
- setvariable keep-limestone-boulder off
- setvariable keep-large-limestone-rock off
- setvariable keep-small-limestone-rock off
- setvariable keep-limestone-rock off
- setvariable keep-limestone-stone off
- setvariable keep-limestone-pebble off
- #% marble settings
- setvariable keep-marble-boulder off
- setvariable keep-large-marble-rock off
- setvariable keep-small-marble-rock off
- setvariable keep-marble-rock off
- setvariable keep-marble-stone off
- setvariable keep-marble-pebble off
- #% obsidian settings
- setvariable keep-obsidian-boulder off
- setvariable keep-large-obsidian-rock off
- setvariable keep-small-obsidian-rock off
- setvariable keep-obsidian-rock off
- setvariable keep-obsidian-stone off
- setvariable keep-obsidian-pebble off
- #% onyx settings
- setvariable keep-onyx-boulder off
- setvariable keep-large-onyx-rock off
- setvariable keep-small-onyx-rock off
- setvariable keep-onyx-rock off
- setvariable keep-onyx-stone off
- setvariable keep-onyx-pebble off
- #% pumice settings
- setvariable keep-pumice-boulder off
- setvariable keep-large-pumice-rock off
- setvariable keep-small-pumice-rock off
- setvariable keep-pumice-rock off
- setvariable keep-pumice-stone off
- setvariable keep-pumice-pebble off
- #% quartzite settings
- setvariable keep-quartzite-boulder off
- setvariable keep-large-quartzite-rock off
- setvariable keep-small-quartzite-rock off
- setvariable keep-quartzite-rock off
- setvariable keep-quartzite-stone off
- setvariable keep-quartzite-pebble off
- #% sandstone settings
- setvariable keep-sandstone-boulder off
- setvariable keep-large-sandstone-rock off
- setvariable keep-small-sandstone-rock off
- setvariable keep-sandstone-rock off
- setvariable keep-sandstone-stone off
- setvariable keep-sandstone-pebble off
- #% schist settings
- setvariable keep-schist-boulder off
- setvariable keep-large-schist-rock off
- setvariable keep-small-schist-rock off
- setvariable keep-schist-rock off
- setvariable keep-schist-stone off
- setvariable keep-schist-pebble off
- #% serpentine settings
- setvariable keep-serpentine-boulder off
- setvariable keep-large-serpentine-rock off
- setvariable keep-small-serpentine-rock off
- setvariable keep-serpentine-rock off
- setvariable keep-serpentine-stone off
- setvariable keep-serpentine-pebble off
- #% soapstone settings
- setvariable keep-soapstone-boulder off
- setvariable keep-large-soapstone-rock off
- setvariable keep-small-soapstone-rock off
- setvariable keep-soapstone-rock off
- setvariable keep-soapstone-stone off
- setvariable keep-soapstone-pebble off
- #% travertine settings
- setvariable keep-travertine-boulder off
- setvariable keep-large-travertine-rock off
- setvariable keep-small-travertine-rock off
- setvariable keep-travertine-rock off
- setvariable keep-travertine-stone off
- setvariable keep-travertine-pebble off
- #% breccia settings
- setvariable keep-breccia-boulder off
- setvariable keep-large-breccia-rock off
- setvariable keep-small-breccia-rock off
- setvariable keep-breccia-rock off
- setvariable keep-breccia-stone off
- setvariable keep-breccia-pebble off
- #%-------------------------------------------------------------------------
- #% !!!!!!!!! PLEASE READ !!!!!!!!!!!!! !!!!!!!!! PLEASE READ !!!!!!!!!!!!!
- #% !!!!!!!!! PLEASE READ !!!!!!!!!!!!! !!!!!!!!! PLEASE READ !!!!!!!!!!!!!
- #% !!!!!!!!! PLEASE READ !!!!!!!!!!!!! !!!!!!!!! PLEASE READ !!!!!!!!!!!!!
- #% !!!!!!!!! PLEASE READ !!!!!!!!!!!!! !!!!!!!!! PLEASE READ !!!!!!!!!!!!!
- #% !!!!!!!!! PLEASE READ !!!!!!!!!!!!! !!!!!!!!! PLEASE READ !!!!!!!!!!!!!
- #%-------------------------------------------------------------------------
- #%
- #% if you want to train skills while mining, you can turn train-magics on if you are a magic user, and/or fold-origami or juggle-jugglies on if you desire.
- #% if you have train-magics turned on, mana-to-charge is how much mana to put into your cambrinth-item each charge, how-many-times-to-charge is how many times you want to charge it with that mana. for example, if you have it set to charge with 11 mana 4 times, thats 11 mana each charge, 4 times, for a total of 44 mana (plus minimum prep, so if you're casting courage which has a minimum prep of 6 mana thats 44 + 6 so you are charging 44 into cambrinth prepping at 6 so you will be casting at 50 mana total)
- #%
- #% If you have the skill and/or the techniques, you can turn auto repairing on. auto repair will repair your tools with a wire brush and oil as needed.
- #%
- #% if you want to roam, set move-1 to the first move from room you start in, room-2 to second, then room-3 and room-4 are the way back to room-1
- #%
- #% powerminer will auto save rare materials. if you want to save non-rare materials just start powerminer as .powerminer ORE1 ORE2 ORE3 etc
- #% for example if you want to save iron and tin, you would type .powerminer iron tin
- #%
- #% if swap.tools is on, powerminer will automatically use a pickaxe unless it hits a vein of rare metals in which case it will swap to a shovel
- #% if you dont want to swap tools, start powerminer with the desired tool to use in left hand with swap.tools set to off
- #%
- #% if you are in an area which does not deed for you, you must have a deed packet with you which can be purchased in the blacksmithing or forging building.
- #% if you are in an area which does not deed for you, set deed-packet to on.
- #%
- #% if you are a thief and want to keep khri sight on at all times (so you can see in the dark) then set use-khri-sight to on
- #%
- #% if you are an empath and want to train some empathy and power per, you can turn per-heal on and power miner will periodically perceive health near you.
- #%
- #% powerminer will auto roam when the room has been mined out if roam is on. powerminer will auto prospect danger to keep you safe. powerminer will auto prospect careful to reveal additional resources.
- #%
- #% Covellite is an 'uncommon' metal, it is considered rare but it is quite abundant. If you don't want to pick up covellite, set keep-covellite to off.
- #%
- #%-------------------------------------------------------------------------
- #% DONT TOUCH STUFF BELOW HERE DONT TOUCH STUFF BELOW HERE
- #%
- #% DONT TOUCH STUFF BELOW HERE DONT TOUCH STUFF BELOW HERE
- #%
- #% DONT TOUCH STUFF BELOW HERE DONT TOUCH STUFF BELOW HERE
- #%
- #% DONT TOUCH STUFF BELOW HERE DONT TOUCH STUFF BELOW HERE
- #%
- #% DONT TOUCH STUFF BELOW HERE DONT TOUCH STUFF BELOW HERE
- #%
- #% DONT TOUCH STUFF BELOW HERE DONT TOUCH STUFF BELOW HERE
- #%
- #% DONT TOUCH STUFF BELOW HERE DONT TOUCH STUFF BELOW HERE
- #%
- #% DONT TOUCH STUFF BELOW HERE DONT TOUCH STUFF BELOW HERE
- #%-------------------------------------------------------------------------
- echo
- echo . [ Power Miner ]
- echo . [-------------------------------------------]
- echo . [ ~ Volume Chart ~ ]
- echo . [ Metals ... ]
- echo . [ Tiny = 1 Small = 2 Medium = 3 ]
- echo . [ Large = 4 Huge = 5 Massive = 10 ]
- echo . [ ]
- echo . [ Stone ... ]
- echo . [ Pebble = 1 Stone = 2 Small Rock = 3 ]
- echo . [ Large Rock = 4 Boulder = 5 ]
- echo . [-------------------------------------------]
- echo
- setvariable keep-tiny-kertig on
- setvariable keep-small-kertig on
- setvariable keep-medium-kertig on
- setvariable keep-large-kertig on
- setvariable keep-huge-kertig on
- setvariable keep-massive-kertig on
- setvariable keep-tiny-kertig on
- setvariable keep-small-kertig on
- setvariable keep-medium-kertig on
- setvariable keep-large-kertig on
- setvariable keep-huge-kertig on
- setvariable keep-massive-kertig on
- setvariable keep-tiny-glaes on
- setvariable keep-small-glaes on
- setvariable keep-medium-glaes on
- setvariable keep-large-glaes on
- setvariable keep-huge-glaes on
- setvariable keep-massive-glaes on
- setvariable keep-tiny-glaes on
- setvariable keep-small-glaes on
- setvariable keep-medium-glaes on
- setvariable keep-large-glaes on
- setvariable keep-huge-glaes on
- setvariable keep-massive-glaes on
- setvariable keep-tiny-platinum on
- setvariable keep-small-platinum on
- setvariable keep-medium-platinum on
- setvariable keep-large-platinum on
- setvariable keep-huge-platinum on
- setvariable keep-massive-platinum on
- setvariable keep-tiny-gold on
- setvariable keep-small-gold on
- setvariable keep-medium-gold on
- setvariable keep-large-gold on
- setvariable keep-huge-gold on
- setvariable keep-massive-gold on
- setvariable keep-tiny-niniam on
- setvariable keep-small-niniam on
- setvariable keep-medium-niniam on
- setvariable keep-large-niniam on
- setvariable keep-huge-niniam on
- setvariable keep-massive-niniam on
- setvariable keep-tiny-lumium on
- setvariable keep-small-lumium on
- setvariable keep-medium-lumium on
- setvariable keep-large-lumium on
- setvariable keep-huge-lumium on
- setvariable keep-massive-lumium on
- setvariable keep-tiny-electrum on
- setvariable keep-small-electrum on
- setvariable keep-medium-electrum on
- setvariable keep-large-electrum on
- setvariable keep-huge-electrum on
- setvariable keep-massive-electrum on
- setvariable keep-tiny-animite on
- setvariable keep-small-animite on
- setvariable keep-medium-animite on
- setvariable keep-large-animite on
- setvariable keep-huge-animite on
- setvariable keep-massive-animite on
- setvariable keep-tiny-damite on
- setvariable keep-small-damite on
- setvariable keep-medium-damite on
- setvariable keep-large-damite on
- setvariable keep-huge-damite on
- setvariable keep-massive-damite on
- setvariable train-astrology off
- setvariable use-astro-scrolls off
- setvariable astro-scroll-storage scroll case
- action instant setvariable ppl-there 1 when Also here:
- action instant setvariable prospect-danger 1 when bitter smell seeps into the air
- action instant setvariable prospect-danger2 1 when ground rumbles ominously
- action instant setvariable prospect-danger3 1 when floor shudders briefly, causing pebbles and bits of stone to cascade to the ground
- if "%train-magics" = "on" then action instant setvariable full-prep 1 when feel fully prepared to cast your spell
- setvariable full-prep 0
- action instant setvariable prospect-danger4 1 when continued mining will be .* dangerous
- action instant setvariable ore-mining $1 when are certain that (gold|orichalcum|audrualm|kertig|damite|animite|glaes|haralun|lumium|niniam|tyrium|darkstone|covellite|platinum|electrum) can be mined
- action instant setvariable mine-track 100 when area may not be suitable to mine for some time
- action instant setvariable khri-sight 0 when Light and shadow are once again thrown into stark contrast as your heightened vision fades
- action instant setvariable khri-sight 1 when (Darkness is no bar to a trained Thief|You're already using the Sight)
- action instant setvariable careful-check 1 when certain a scattering of resources remains to be found
- setvariable khri-sight 0
- if "%use-khri-sight" = "off" then setvariable khri-sight 1
- setvariable save-1 nil
- if_1 setvariable save-1 %1
- setvariable save-2 nil
- if_2 setvariable save-2 %2
- setvariable save-3 nil
- if_3 setvariable save-3 %3
- setvariable save-4 nil
- if_4 setvariable save-4 %4
- setvariable save-5 nil
- if_5 setvariable save-5 %5
- setvariable save-6 nil
- if_6 setvariable save-6 %6
- setvariable save-7 nil
- if_7 setvariable save-7 %7
- setvariable save-8 nil
- if_8 setvariable save-8 %8
- setvariable save-9 nil
- if_9 setvariable save-9 %9
- setvariable total.found 0
- setvariable prospect-danger 0
- setvariable prospect-danger2 0
- setvariable prospect-danger3 0
- setvariable danger-track 0
- setvariable copper.found 0
- setvariable alabaster.found 0
- setvariable silver.found 0
- setvariable soapstone.found 0
- setvariable dolomite.found 0
- setvariable coal.found 0
- setvariable tin.found 0
- setvariable nickel.found 0
- setvariable zinc.found 0
- setvariable iron.found 0
- setvariable oravir.found 0
- setvariable breccia.found 0
- setvariable sandstone.found 0
- setvariable limestone.found 0
- setvariable serpentine.found 0
- setvariable schist.found 0
- setvariable basalt.found 0
- setvariable obsidian.found 0
- setvariable onyx.found 0
- setvariable pumice.found 0
- setvariable orichalcum.found 0
- setvariable audrualm.found 0
- setvariable andesite.found 0
- setvariable lead.found 0
- setvariable gabbro.found 0
- setvariable granite.found 0
- setvariable jade.found 0
- setvariable travertine.found 0
- setvariable marble.found 0
- setvariable quartzite.found 0
- setvariable covellite.found 0
- setvariable kertig.found 0
- setvariable damite.found 0
- setvariable glaes.found 0
- setvariable haralun.found 0
- setvariable lumium.found 0
- setvariable niniam.found 0
- setvariable tyrium.found 0
- setvariable darkstone.found 0
- setvariable electrum.found 0
- setvariable animite.found 0
- setvariable gold.found 0
- setvariable platinum.found 0
- setvariable copper-volume 0
- setvariable alabaster-volume 0
- setvariable silver-volume 0
- setvariable gold-volume 0
- setvariable platinum-volume 0
- setvariable soapstone-volume 0
- setvariable dolomite-volume 0
- setvariable coal-volume 0
- setvariable tin-volume 0
- setvariable nickel-volume 0
- setvariable zinc-volume 0
- setvariable iron-volume 0
- setvariable oravir-volume 0
- setvariable breccia-volume 0
- setvariable sandstone-volume 0
- setvariable limestone-volume 0
- setvariable serpentine-volume 0
- setvariable electrum-volume 0
- setvariable schist-volume 0
- setvariable basalt-volume 0
- setvariable obsidian-volume 0
- setvariable onyx-volume 0
- setvariable pumice-volume 0
- setvariable orichalcum-volume 0
- setvariable audrualm-volume 0
- setvariable andesite-volume 0
- setvariable lead-volume 0
- setvariable gabbro-volume 0
- setvariable granite-volume 0
- setvariable jade-volume 0
- setvariable travertine-volume 0
- setvariable marble-volume 0
- setvariable quartzite-volume 0
- setvariable kertig-volume 0
- setvariable damite-volume 0
- setvariable glaes-volume 0
- setvariable haralun-volume 0
- setvariable lumium-volume 0
- setvariable niniam-volume 0
- setvariable tyrium-volume 0
- setvariable darkstone-volume 0
- setvariable covellite-volume 0
- setvariable animite-volume 0
- #% action instant math good.found add 1 when both .* (electrum|quartzite|marble|kertig|damite|animite|glaes|haralun|lumium|niniam|tyrium|darkstone)
- #% action instant math good.found add 1 when (electrum|quartzite|marble|kertig|damite|animite|glaes|haralun|lumium|niniam|tyrium|darkstone) .* (falls to the ground|topples free)
- setvariable prospect-normal 5
- setvariable prospect-careful 5
- setvariable mine-track 0
- setvariable good.found 0
- setvariable mine-swings 0
- setvariable move-track 0
- if "%swap.tools" = "off" then goto start.up
- gosub verb stow left
- gosub verb stow right
- gosub verb get my pickaxe
- setvariable current.tool pickaxe
- gosub verb swap
- start.up:
- gosub prospectn
- mine.p:
- pause 0.5
- mine:
- if %mine-track > %prospect-careful then gosub prospectn
- if %prospect-danger = 1 then gosub prospect-danger
- if %prospect-danger2 = 1 then gosub prospect-danger
- if %prospect-danger3 = 1 then gosub prospect-danger
- if %prospect-danger4 = 1 then gosub prospect-danger
- if %khri-sight = 0 then gosub verb khri start sight
- setvariable item-keeping-1 nil
- setvariable item-keeping-2 nil
- setvariable item-keeping-3 nil
- math mine-swings add 1
- put mine
- match mine.p type ahead
- match mine.p ...wait
- matchre mine.found-2 both.*(a|an|huge|large|massive|enormous|medium|small|tiny|dislodged) (quartzite|marble|travertine|jade|schist|basalt|alabaster|obsidian|onyx|pumice|orichalcum|audrualm|andesite|lead|gabbro|granite|electrum|kertig|damite|animite|glaes|haralun|lumium|niniam|tyrium|darkstone|covellite|zinc|serpentine|sandstone|limestone|iron|oravir|dolomite|breccia|tin|coal|nickel|soapstone|platinum|gold|silver|copper) (nugget|shard|bar|stone|rock|slab|boulder|fragment|lump|tear|fist|pebble) .* (a|an|huge|large|massive|medium|small|enormous|tiny|dislodged) (serpentine|limestone|iron|oravir|dolomite|breccia|tin|coal|nickel|soapstone|platinum|gold|silver|copper|kertig|damite|animite|glaes|haralun|lumium|niniam|tyrium|darkstone|covellite|zinc|electrum|jade|schist|basalt|alabaster|obsidian|onyx|pumice|orichalcum|audrualm|andesite|lead|gabbro|granite|travertine|marble|quartzite) (nugget|shard|bar|stone|rock|slab|boulder|fragment|lump|tear|fist|pebble)
- matchre mine.found-1 (a|an|huge|large|massive|medium|small|enormous|tiny|dislodged) (travertine|jade|schist|basalt|alabaster|obsidian|onyx|pumice|orichalcum|audrualm|andesite|lead|gabbro|granite|electrum|quartzite|marble|kertig|damite|animite|glaes|haralun|lumium|niniam|tyrium|darkstone|covellite|serpentine|zinc|limestone|iron|sandstone|oravir|dolomite|breccia|tin|coal|nickel|soapstone|platinum|gold|silver|copper) (nugget|shard|bar|stone|rock|slab|boulder|fragment|lump|tear|fist|pebble) (falls to the ground|topples free)
- match mine.track Roundtime
- matchwait
- mine.track:
- math mine-track add 1
- goto mine
- mine.found-yay:
- setvariable item $1 $2
- if "%auto-deed" = "off" then gosub verb stow %item
- if "%auto-deed" = "off" then goto mine-found-yay-2
- if "%deed-packet" = "off" then gosub verb push %item
- if "%deed-packet" = "on" then gosub verb get my packet
- if "%deed-packet" = "on" then gosub ret
- if "%deed-packet" = "on" then gosub packet.deed
- if "%deed-packet" = "on" then gosub verb push %item with packet
- gosub verb stow my deed
- if "%deed-packet" = "on" then gosub verb get my %temp.item
- if "%deed-packet" = "on" then gosub verb stow my packet
- mine-found-yay-2:
- math good.found add 1
- math mine-track add 1
- goto found.stuff
- mine.found-2:
- setvariable temp-keep-1 $1 $2 $3
- setvariable temp-keep-2 $4 $5 $6
- if "$1" = "dislodged" then setvariable temp-keep-1 $2 $3
- if "$4" = "dislodged" then setvariable temp-keep-2 $5 $6
- if "$1" = "a" then setvariable temp-keep-1 $2 $3
- if "$1" = "an" then setvariable temp-keep-1 $2 $3
- if "$4" = "a" then setvariable temp-keep-2 $5 $6
- if "$4" = "an" then setvariable temp-keep-2 $5 $6
- echo Found %temp-keep-1 and %temp-keep-2
- math $2.found add 1
- math $5.found add 1
- setvariable temp-1 $5
- setvariable temp-2 $5 $6
- if "$2" = "%save-1" then gosub deed $2 $3
- if "$2" = "%save-2" then gosub deed $2 $3
- if "$2" = "%save-3" then gosub deed $2 $3
- if "$2" = "%save-4" then gosub deed $2 $3
- if "$2" = "%save-5" then gosub deed $2 $3
- if "$2" = "%save-6" then gosub deed $2 $3
- if "$2" = "%save-7" then gosub deed $2 $3
- if "$2" = "%save-8" then gosub deed $2 $3
- if "$2" = "%save-9" then gosub deed $2 $3
- if "$2" = "orichalcum" then gosub deed $2 $3
- if "$2" = "audrualm" then gosub deed $2 $3
- if "$2" = "haralun" then gosub deed $2 $3
- if "$2" = "tyrium" then gosub deed $2 $3
- if "$2" = "darkstone" then gosub deed $2 $3
- if "%temp-1" = "%save-1" then gosub deed %temp-2
- if "%temp-1" = "%save-2" then gosub deed %temp-2
- if "%temp-1" = "%save-3" then gosub deed %temp-2
- if "%temp-1" = "%save-4" then gosub deed %temp-2
- if "%temp-1" = "%save-5" then gosub deed %temp-2
- if "%temp-1" = "%save-6" then gosub deed %temp-2
- if "%temp-1" = "%save-7" then gosub deed %temp-2
- if "%temp-1" = "%save-8" then gosub deed %temp-2
- if "%temp-1" = "%save-9" then gosub deed %temp-2
- if "%temp-1" = "orichalcum" then gosub deed %temp-2
- if "%temp-1" = "audrualm" then gosub deed %temp-2
- if "%temp-1" = "haralun" then gosub deed %temp-2
- if "%temp-1" = "tyrium" then gosub deed %temp-2
- if "%temp-1" = "darkstone" then gosub deed %temp-2
- math mine-track add 1
- math total.found add 2
- gosub keep-check %temp-keep-1
- gosub keep-check %temp-keep-2
- goto found.stuff
- mine.found-1:
- setvariable temp-keep-1 $1 $2 $3
- if "$1" = "dislodged" then setvariable temp-keep-1 $2 $3
- if "$1" = "a" then setvariable temp-keep-1 $2 $3
- if "$1" = "an" then setvariable temp-keep-1 $2 $3
- echo Found %temp-keep-1
- math $2.found add 1
- if "$2" = "orichalcum" then gosub deed $2 $3
- if "$2" = "audrualm" then gosub deed $2 $3
- if "$2" = "haralun" then gosub deed $2 $3
- if "$2" = "tyrium" then gosub deed $2 $3
- if "$2" = "darkstone" then gosub deed $2 $3
- math mine-track add 1
- math total.found add 1
- gosub keep-check %temp-keep-1
- goto found.stuff
- keep-check:
- if "%keep-$1-$2-$3" = "on" then math good.found subtract 1
- if "%keep-$1-$2" = "on" then math good.found subtract 1
- setvariable keeper-temp $0
- setvariable to-keep nil
- if "%keep-$1-$2" = "on" then if "$1" = "tiny" then setvariable keeper-temp $2 $3
- if "%keep-$1-$2" = "on" then if "$1" = "small" then setvariable keeper-temp $2 $3
- if "%keep-$1-$2" = "on" then if "$1" = "medium" then setvariable keeper-temp $2 $3
- if "%keep-$1-$2" = "on" then if "$1" = "large" then setvariable keeper-temp $2 $3
- if "%keep-$1-$2" = "on" then if "$1" = "huge" then setvariable keeper-temp $2 $3
- if "%keep-$1-$2" = "on" then if "$1" = "massive" then setvariable keeper-temp $2 $3
- if "%keep-$1-$2" = "on" then if "$1" = "enormous" then setvariable keep-temp $2 $3
- if "%keep-$1-$2" = "on" then setvariable to-keep %keeper-temp
- if "%keep-$1-$2-$3" = "on" then setvariable to-keep %keeper-temp
- if "%keep-$1-$2" = "on" then gosub volume-math $0
- if "%keep-$1-$2-$3" = "on" then gosub volume-math $0
- if "%to-keep" != "nil" then gosub deed %to-keep
- return
- volume-math:
- if "$1" = "tiny" then math $2-volume add 1
- if "$1" = "small" then if "$3" = "nugget" then math $2-volume add 2
- if "$1" = "small" then if "$3" = "fragment" then math $2-volume add 2
- if "$1" = "small" then if "$3" = "shard" then math $2-volume add 2
- if "$1" = "small" then if "$3" = "tear" then math $2-volume add 2
- if "$1" = "small" then if "$3" = "fist" then math $2-volume add 2
- if "$1" = "small" then if "$3" = "lump" then math $2-volume add 2
- if "$1" = "small" then if "$3" = "rock" then math $2-volume add 3
- if "$1" = "medium" then math $2-volume add 3
- if "$1" = "large" then math $2-volume add 4
- if "$1" = "huge" then math $2-volume add 5
- if "$2" = "boulder" then math $1-volume add 5
- if "$2" = "pebble" then math $1-volume add 1
- if "$2" = "rock" then math $1-volume add 3
- if "$2" = "stone" then math $1-volume add 2
- if "$2" = "lump" then math $1-volume add 1
- if "$1" = "massive" then math $2-volume add 10
- if "$1" = "enormous" then math $2-volume add 20
- return
- khri:
- gosub verb khri start $0
- return
- ret.p:
- pause 0.5
- ret:
- put ret
- matchre ret.p (type ahead|...wait)
- matchre ret You retreat back
- matchre ret.d (You retreat from combat|You are already as far away)
- match ret.p Roundtime
- matchwait
- ret.d:
- return
- deed:
- setvariable item $1 $2
- if "$1" = "platinum" then math good.found add 1
- if "$1" = "gold" then math good.found add 1
- if "$1" = "animite" then math good.found add 1
- if "$1" = "electrum" then math good.found add 1
- if "$1" = "glaes" then math good.found add 1
- if "$1" = "damite" then math good.found add 1
- if "$1" = "kertig" then math good.found add 1
- if "$1" = "niniam" then math good.found add 1
- if "$1" = "lumium" then math good.found add 1
- if "$1" = "tyrium" then math good.found add 1
- if "$1" = "haralun" then math good.found add 1
- if "$1" = "darkstone" then math good.found add 1
- if "$1" = "audrualm" then math good.found add 1
- if "$1" = "orichalcum" then math good.found add 1
- if "$1" = "covellite" then math good.found add 1
- if "%auto-deed" = "off" then gosub verb stow %item
- if "%auto-deed" = "off" then goto deed.done
- if "%deed-packet" = "off" then gosub verb push %item
- if "%deed-packet" = "on" then gosub verb get my packet
- if "%deed-packet" = "on" then gosub ret
- if "%deed-packet" = "on" then gosub packet.deed
- if "%deed-packet" = "on" then gosub verb push %item with packet
- gosub verb stow my deed
- if "%deed-packet" = "on" then gosub verb get my %temp.item
- if "%deed-packet" = "on" then gosub verb stow my packet
- deed.done:
- math good.found add 1
- math mine-track add 1
- pause 0.1
- return
- packet.deed.p:
- pause 0.5
- packet.deed:
- put stow left
- matchre packet.deed.p (type ahead|...wait)
- matchre packet.deed.d (shovel|pickaxe)
- matchwait
- packet.deed.d:
- setvariable temp.item $1
- return
- found.stuff:
- echo .
- echo . Stuff Found ...
- echo .__________________________________________________
- echo . Material - Total Found - Volume Kept
- if %orichalcum.found > 0 then echo . Orichalcum - %orichalcum.found %orichalcum-volume
- if %tyrium.found > 0 then echo . Tyrium - %tyrium.found %tyrium-volume
- if %kertig.found > 0 then echo . Kertig - %kertig.found %kertig-volume
- if %haralun.found > 0 then echo . Haralun - %haralun.found %haralun-volume
- if %damite.found > 0 then echo . Damite - %damite.found %damite-volume
- if %glaes.found > 0 then echo . Glaes - %glaes.found %glaes-volume
- if %darkstone.found > 0 then echo . Darkstone - %darkstone.found %darkstone-volume
- if %lumium.found > 0 then echo . Lumium - %lumium.found %lumium-volume
- if %niniam.found > 0 then echo . Niniam - %niniam.found %niniam-volume
- if %animite.found > 0 then echo . Animite - %animite.found %animite-volume
- if %electrum.found > 0 then echo . Electrum - %electrum.found %electrum-volume
- if %platinum.found > 0 then echo . Platinum - %platinum.found %platinum-volume
- if %gold.found > 0 then echo . Gold %gold.found %gold-volume
- if %silver.found > 0 then echo . Silver - %silver.found %silver-volume
- if %covellite.found > 0 then echo . Covellite - %covellite.found %covellite-volume
- if "%echo-nonrares" = "off" then goto dontechononrares
- echo .
- if %lead.found > 0 then echo . Lead %lead.found %lead-volume
- if %copper.found > 0 then echo . Copper - %copper.found %copper-volume
- if %coal.found > 0 then echo . Coal %coal.found %coal-volume
- if %tin.found > 0 then echo . Tin %tin.found %tin-volume
- if %nickel.found > 0 then echo . Nickel - %nickel.found %nickel-volume
- if %zinc.found > 0 then echo . Zinc %zinc.found %zinc-volume
- if %iron.found > 0 then echo . Iron %iron.found %iron-volume
- if %oravir.found > 0 then echo . Oravir - %oravir.found %oravir-volume
- if %breccia.found > 0 then echo . Breccia - %breccia.found %breccia-volume
- if %sandstone.found > 0 then echo . Sandstone - %sandstone.found %sandstone-volume
- if %limestone.found > 0 then echo . Limestone - %limestone.found %limestone-volume
- if %serpentine.found > 0 then echo . Serpentine - %serpentine.found %serpentine-volume
- if %schist.found > 0 then echo . Schist - %schist.found %schist-volume
- if %basalt.found > 0 then echo . Basalt - %basalt.found %basalt-volume
- if %obsidian.found > 0 then echo . Obsidian - %obsidian.found %obsidian-volume
- if %onyx.found > 0 then echo . Onyx %onyx.found %onyx-volume
- if %pumice.found > 0 then echo . Pumice - %pumice.found %pumice-volume
- if %audrualm.found > 0 then echo . Audrualm - %audrualm.found %audrualm-volume
- if %andesite.found > 0 then echo . Andesite - %andesite.found %andesite-volume
- if %gabbro.found > 0 then echo . Gabbro - %gabbro.found %gabbro-volume
- if %granite.found > 0 then echo . Granite - %granite.found %granite-volume
- if %jade.found > 0 then echo . Jade %jade.found %jade-volume
- if %travertine.found > 0 then echo . Travertine - %travertine.found %travertine-volume
- if %marble.found > 0 then echo . Marble - %marble.found %marble-volume
- if %quartzite.found > 0 then echo . Quartzite - %quartzite.found %quartzite-volume
- if %alabaster.found > 0 then echo . Alabaster - %alabaster.found %alabaster-volume
- if %soapstone.found > 0 then echo . Soapstone - %soapstone.found %soapstone-volume
- if %dolomite.found > 0 then echo . Dolomite - %dolomite.found %dolomite-volume
- dontechononrares:
- echo .__________________________________________________
- echo . Total Good Stuff Found : %good.found
- echo . Total Stuff Found : %total.found
- echo . Total Mine Attempts : %mine-swings
- setvariable temp-10 %total.found
- math temp-10 divide %good.found
- setvariable overall-odds %temp-10
- setvariable temp-10 %good.found
- math temp-10 divide %total.found
- math temp-10 multiply 100
- setvariable percent-chance %temp-10
- if %good.found > 0 then echo . %percent-chance Percent Chance of Finding Something Good When Something Is Found ( 1 in %overall-odds odds )
- setvariable temp-10 %mine-swings
- math temp-10 divide %total.found
- setvariable odds %temp-10
- setvariable temp-10 %total.found
- math temp-10 divide %mine-swings
- math temp-10 multiply 100
- setvariable percent %temp-10
- echo . %percent Percent Chance of Finding Anything On A Mine Attempt ( 1 in %odds odds )
- setvariable temp-10 %mine-swings
- math temp-10 divide %good.found
- setvariable odds-2 %temp-10
- setvariable temp-10 %good.found
- math temp-10 divide %mine-swings
- math temp-10 multiply 100
- setvariable percent-2 %temp-10
- if %good.found > 0 then echo . %percent-2 Percent Chance of Finding Something Good On A Mine Attempt ( 1 in %odds-2 odds )
- echo .__________________________________________________
- echo .
- goto mine
- prospect-danger.p:
- pause
- prospect-danger:
- pause 0.5
- if %danger-track > 3 then goto prospect-danger.d
- math danger-track add 1
- put prospect danger
- match prospect-danger.p Unfortunately, you are unable to find any way around the instability in the geology
- matchre prospect-danger.p (type ahead|...wait)
- match prospect-danger.d Roundtime
- matchwait
- prospect-danger.d:
- setvariable danger-track 0
- setvariable prospect-danger 0
- setvariable prospect-danger2 0
- setvariable prospect-danger3 0
- setvariable prospect-danger4 0
- return
- prospectc.p:
- pause 0.5
- prospectc:
- put prospect careful
- match prospectc.p type ahead
- match prospectc.p ...wait
- matchre prospectc.d (analysis has revealed no additional resources to be unearthed|Roundtime)
- matchwait
- prospectc.d:
- if %careful-out = 1 then goto prospect.c
- return
- prospectn.p:
- pause 0.5
- prospectn:
- setvariable ore-mining nil
- setvariable careful-check 0
- put prospect
- match prospectn.p type ahead
- match prospectn.p ...wait
- match prospectn.d Studying the geology
- match prospect-move Roundtime
- matchwait
- prospectn.danger:
- setvariable prospect-danger 1
- return
- prospectn.d:
- if %careful-check = 1 then gosub prospectc
- setvariable mine-track 0
- if "%ore-mining" != "nil" then if "%current.tool" = "pickaxe" then goto swap.shovel
- if "%ore-mining" = "nil" then if "%current.tool" = "shovel" then goto swap.pickaxe
- if "%ore-mining" != "nil" then gosub prospectc
- if "%per-heal" = "on" then gosub verb per heal
- return
- prospect-reset:
- swap.shovel:
- if "%swap.tools" = "off" then goto prospectn.d
- gosub verb stow my pickaxe
- gosub verb get my shovel
- gosub verb swap
- setvariable current.tool shovel
- goto prospectn.d
- swap.pickaxe:
- if "%swap.tools" = "off" then goto prospectn.d
- gosub verb stow my shovel
- gosub verb get my pickaxe
- gosub verb swap
- setvariable current.tool pickaxe
- goto prospectn.d
- prospect-move:
- gosub gear-check
- if "%train-magics" = "on" then goto train-magics
- if "%juggle-jugglies" = "on" then goto juggle-jugglies
- if "%fold-origami" = "on" then goto fold-origami
- if "%roam" = "off" then goto prospectn.d
- prospect-move2:
- gosub ret
- math move-track add 1
- setvariable ppl-there 0
- gosub move %move-track
- if %ppl-there = 1 then goto prospect-move2
- if "%move" = "done" then setvariable move-track 0
- if "%move" = "return" then setvariable move-track 0
- goto prospectn
- move:
- setvariable move %move-$1
- if "%move" = "done" then return
- if "%move" = "return" then return
- move.p:
- pause 0.5
- move.a:
- gosub ret
- move.x:
- put %move
- matchre move.a (type ahead|engaged)
- match move.a ...wait
- matchre move.xd (Obvious path|Obvious exit|dark|see a thing|pitch black)
- matchwait
- move.xd:
- pause 0.5
- return
- gear-check:
- if "%auto-repair" != "on" then goto repair-done
- put inv hand
- waitforre (shovel|pickaxe)
- setvariable tool-check $1
- goto analyze-tool
- analyze-tool.p:
- pause 0.5
- analyze-tool:
- put analyze my %tool-check
- matchre analyze-tool.p (type ahead|...wait)
- match repair-done it is in pristine condition
- match repair-brush Roundtime
- matchwait
- repair-brush:
- gosub verb get my wire brush
- pause 0.1
- put rub my %tool-check with my wire brush
- matchre repair-fail (does not need repair|has suffered too much damage|not damaged enough to warrant repair)
- match repair-oil Roundtime
- matchwait
- repair-fail:
- gosub verb stow my wire brush
- goto repair-done
- repair-oil:
- gosub verb stow my wire brush
- gosub verb get my oil
- pause 0.1
- put pour my oil on my %tool-check
- waitforre (cannot figure out how to do that|Roundtime|not damaged enough to warrant repair)
- gosub verb stow my oil
- repair-done:
- return
- juggle-jugglies:
- random 1 2
- if %r = 1 then if "%fold-origami" = "on" then goto fold-origami
- gosub packet.deed
- gosub verb get my %jugglies
- random 7 11
- setvariable juggle-limit %r
- setvariable juggle-track 0
- juggling:
- gosub verb juggle my %jugglies
- math juggle-track add 1
- if %juggle-track = %juggle-limit then goto juggling.d
- if %juggle-track > %juggle-limit then goto juggling.d
- goto juggling
- juggling.d:
- gosub verb stow my %jugglies
- goto skill-done
- train-magics:
- random 1 2
- if %r = 1 then if "%juggle-jugglies" = "on" then goto juggle-jugglies
- random 1 2
- if %r = 1 then if "%fold-origami" = "on" then goto fold-origami
- setvariable mana $mana
- if %mana < 100 then waitfor fully attuned
- if $mana < 100 then waitfor fully attuned
- gosub packet.deed
- gosub verb get my %cambrinth-item
- setvariable charge-track 0
- charge-magics:
- math charge-track add 1
- gosub verb charge my %cambrinth-item %mana-to-charge
- if %charge-track = %how-many-times-to-charge then goto charge-magics.d
- if %charge-track > %how-many-times-to-charge then goto charge-magics.d
- goto charge-magics
- charge-magics.d:
- gosub verb focus my %cambrinth-item
- pause
- put prep %spell-to-cast
- waitfor fully prepared
- put cast
- pause
- gosub verb per
- gosub verb stow my %cambrinth-item
- goto skill-done
- fold-origami:
- gosub packet.deed
- gosub verb get envelope in my %envelope-storage
- pull-envelope:
- put pull my envelope
- match study-origami You get
- match new-envelope is empty
- matchwait
- new-envelope:
- put poke my envelope
- pause
- goto fold-origami
- study-origami:
- gosub verb put my envelope in my %envelope-storage
- gosub verb study my %origami-instructions
- fold.p:
- pause 0.5
- fold:
- match fold.p type ahead
- match fold.p ...wait
- match exhale gaze proudly
- match exhale You make the final fold
- match fold Roundtime
- put fold my paper
- matchwait
- exhale:
- pause
- put exhale my %origami-name
- wait
- put drop my %origami-name
- wait
- goto skill-done
- skill-done:
- gosub verb get my %temp.item
- gosub verb swap
- goto prospectn
- verb:
- setvariable verb $0
- goto verb.a
- verb.p:
- pause 0.5
- verb.a:
- put %verb
- match verb.p type ahead
- match verb.p ...wait
- matchre verb.d (You get|You put|STOW HELP|You push|think pushing that would have any effect|You move|You're already using the Sight|You have not recovered from your previous use|careful focus, you adjust your eyes to see in shadow as they|You close your eyes, drawing all your thoughts inward|You're not ready to do that again|was just recently mined by someone else|Roundtime)
- matchwait
- verb.d:
- return
Add Comment
Please, Sign In to add comment