Ratha alt (script)

From Elanthipedia
Jump to navigation Jump to search
Ratha alt (script)
Category travel
Front-end StormFront
Author Daemetheus


#Travel Ratha alt 12-SEP-16

# -- This script was originally created by Kraelyst the Hand
# -- This is an alternative script which reduces the original from 10k lines to 3.9k lines
# using regex matching and a minimal shop-to-tier node move list  (which Kraelyst
# ended up doing anyways above tier1) and makes adding new location a bit easier.
# -- It's updated to include mostly all the main shops and societies from and to.
DEBUG OFF
IF_1 GOTO INSTRUCTIONS
GOTO nodestination

INSTRUCTIONS:
ECHO
ECHO ========================================================
ECHO *** VALID DESTINATIONS:
ECHO * * * * ESSENTIAL SERVICES: Bank, Gems, Vault, Pawn, Furrier, Healer, Stables, Stat Training...
ECHO * * * * SHOPS: Locksmith, Alchemy, Herbs, Origami, Bait Leather/Metal Repair, Instruments...
ECHO * * * * CRITTERS: Sprites, Swain, Leucros, Moruryns, Undead, Malchata, etc...
ECHO * * * * CITY EXITS: All ship docks and Taisgath
ECHO
ECHO *** Only the first 3 letters of the destination need to be inputed
ECHO *** To see a full list of destinations begin the script without specifying a destination
ECHO ========================================================
ECHO
PUT SET roomnames
PUT SET description
PAUSE

GET_DESTINATION:
	SETVARIABLE cmd echo dest:%1
	SETVARIABLE id dest
	SETVARIABLE fail NODESTINATION
	SETVARIABLE next GET_STARTING_LOCATION
	GOTO MATCH_LOCATION

GET_STARTING_LOCATION:
	SETVARIABLE cmd look
	SETVARIABLE id curr
	SETVARIABLE fail NOSTART
	SETVARIABLE next SIMPLE_TRAVEL
	GOTO MATCH_LOCATION

NOSTART:
	ECHO
	ECHO ======================================
	ECHO *** You are not at a valid starting location
	ECHO *** Please use "help" to see a list of valid locations
	ECHO ======================================
	ECHO
	EXIT

MATCH_LOCATION:
MATCHRE match.1st /(dest:(1st|tier1|fir))|A wall of refuse/
MATCHRE match.2nd /(dest:(2nd|tier2|sec))|\[Ratha Bazaar, Grand Pavilion\]/
MATCHRE match.3rd /(dest:(3rd|tier3|thi))|smoke-stained shack/
MATCHRE match.4th /(dest:(4th|tier4|fou))|walkways here become expansive plazas/

MATCHRE match.3bank /dest:3ba|Provincial Bank, Bursarium\]/
MATCHRE match.3jail /(dest:3(ja|pr))|Office of the Malk'smo\]/
MATCHRE match.agility /dest:agi|\[Antellius' Weapons/
MATCHRE match.asociety /dest:alc|Society, Foyer\]/
MATCHRE match.baitshop /(dest:(fis|tac|bai))|\[Ratha Bait and Tackle\]/
MATCHRE match.bank /dest:ban|\[Lower Bank of Ratha, Atrium\]/
MATCHRE match.bazaar /dest:baz|Muffled sounds erupt into/
MATCHRE match.carpet /dest:car|Paganell's Carpets\]/
MATCHRE match.chandler /dest:chan|\[Captain Namazzi's Ship Goods\]/
MATCHRE match.charisma /dest:char|Temple, Priest's Quarters\]/
MATCHRE match.clinic /(dest:(cli|emp|pat|hea|med|hos))|Treatment Room One\]/
MATCHRE match.debtor /dest:deb|Palace, Debtor's Hall\]/
MATCHRE match.discipline /dest:dis|Temple, Meditation Chamber\]/
MATCHRE match.esociety /dest:eng|Society, Main Hall\]/
MATCHRE match.exotic /(dest:(exo|chab))|Exotics, Showroom\]/
MATCHRE match.fsociety /dest:for|Society, Bookstore\]/
MATCHRE match.furrier /(dest:(fur|tan))|\[Furrier's Shop\]/
MATCHRE match.gem /dest:gem|Gems and Metals\]/
MATCHRE match.green /dest:gre|\[Truffenyi's Green\]/
MATCHRE match.guardhouse /(dest:((jai|pri)\w*1|gua))|\[Ratha, High Guardhouse\]/
MATCHRE match.hair /dest:hai|\[Dennats Baya\]/
MATCHRE match.hatchling /dest:(kra|hat|sew)/
MATCHRE match.herb /dest:herb|and Alchemical Supplies\]/
MATCHRE match.hermit /dest:herm|\[Hermit's Shack\]/
MATCHRE match.instrument /dest:ins|\[Elepaio's Luthierre\]/
MATCHRE match.intelligence /dest:int|Rest, Darkened Corner\]/
MATCHRE match.jeweler /dest:jew|\[Svra'an's Fine/
MATCHRE match.leather /(dest:(lea|mas|emb))|Leatherworks, Workroom\]/
MATCHRE match.leucro /(dest:(leu|sil))|Shady elms grow on either side/
MATCHRE match.lock /dest:(rai|loc|key)/
MATCHRE match.majik /dest:maj|House of Majik\]/
MATCHRE match.mamas /(dest:(mam|wei))|\[MAMAS Company, Ratha Branch\]/
MATCHRE match.merrows /(dest:(mer|selk))|An algae-stained precipice/
MATCHRE match.metal /dest:met|\[Krrikt'k's Forge\]/
MATCHRE match.nehdocks /(dest:(roc|neh|kre|ski|cro|riv|hav))|Wide and well-built,/
MATCHRE match.moruryn /(dest:(dob|mor|urr))|Temple, Dark Alcove\]/
MATCHRE match.origami /dest:ori|Ratha, Ssivo's Migi Shagamat\]/
MATCHRE match.osociety /dest:out|Society, Reception\]/
MATCHRE match.pawn /dest:paw|\[Paedraig's Pawn\]/
MATCHRE match.phelim /(dest:(phe|tais))|\[Phelim's Temple, Planetarium\]/
MATCHRE match.poke /(dest:(pok|kor|dol|wark|mau|mal))|\[Pokekehekepi beachhead\]/
MATCHRE match.portal /(dest:(wed|pre|por|sea))|A sharp breeze whips a stinging fan/
MATCHRE match.rialto /(dest:(div|ria))|\[Divine Rialto, Odds/
MATCHRE match.seerah /(dest:(see|spr|san|cra|lah|la'))|The walk comes to an abrupt end/
MATCHRE match.stables /(dest:(stab|hor))|Stretching off into dimness, rows/
MATCHRE match.stamina /(dest:(stam|war))|Mage Guild, Testing Chamber\]/
MATCHRE match.strength /dest:str|Ironworks, Foundry\]/
MATCHRE match.tailor /dest:tai|\[Amorand the Tailor\]/
MATCHRE match.tattoo /dest:tat|Tattoo Place\]/
MATCHRE match.tavern /(dest:(baw|swa|ref))|\[Old Rat's Tavern, Back Room\]/
MATCHRE match.temple /(dest:(alt|dep|dea|ber|hod))|Hodierna, Berengaria's Bridge\]/
MATCHRE match.uarodocks /(dest:(uar|hal|sel|aes|sur))|\[Uaro Dock, Port of Ratha\]/
MATCHRE match.uasindocks /(dest:(uas|har|tas))|Workers, dressed in dark/
MATCHRE match.undead /(dest:(bea|und|spe|pir|ske|sai|dea|dar))|path winds through the rubbish/
MATCHRE match.vault /(dest:(vau|car|squ))|\[Ratha, The Carousel\]/
MATCH HELP_DESTINATION dest:hel
MATCHRE %fail /dest:|Obvious (exit|path)/
PUT %cmd
MATCHWAIT

match.1st:
	SETVARIABLE %id%Location 1st
	GOTO %next
match.2nd:
	SETVARIABLE %id%Location 2nd
	GOTO %next
match.3rd:
	SETVARIABLE %id%Location 3rd
	GOTO %next
match.4th:
	SETVARIABLE %id%Location 4th
	GOTO %next
match.3bank:
	SETVARIABLE %id%Location 3bank
	GOTO %next
match.3jail:
	SETVARIABLE %id%Location 3jail
	GOTO %next
match.agility:
	SETVARIABLE %id%Location agility
	GOTO %next
match.asociety:
	SETVARIABLE %id%Location asociety
	GOTO %next
match.baitshop:
	SETVARIABLE %id%Location baitshop
	GOTO %next
match.bank:
	SETVARIABLE %id%Location bank
	GOTO %next
match.bazaar:
	SETVARIABLE %id%Location bazaar
	GOTO %next
match.carpet:
	SETVARIABLE %id%Location carpet
	GOTO %next
match.chandler:
	SETVARIABLE %id%Location chandler
	GOTO %next
match.charisma:
	SETVARIABLE %id%Location charisma
	GOTO %next
match.clinic:
	SETVARIABLE %id%Location clinic
	GOTO %next
match.debtor:
	SETVARIABLE %id%Location debtor
	GOTO %next
match.discipline:
	SETVARIABLE %id%Location discipline
	GOTO %next
match.esociety:
	SETVARIABLE %id%Location esociety
	GOTO %next
match.exotic:
	SETVARIABLE %id%Location exotic
	GOTO %next
match.fsociety:
	SETVARIABLE %id%Location fsociety
	GOTO %next
match.furrier:
	SETVARIABLE %id%Location furrier
	GOTO %next
match.gem:
	SETVARIABLE %id%Location gem
	GOTO %next
match.green:
	SETVARIABLE %id%Location green
	GOTO %next
match.guardhouse:
	SETVARIABLE %id%Location guardhouse
	GOTO %next
match.hair:
	SETVARIABLE %id%Location hair
	GOTO %next
match.hatchling:
	SETVARIABLE %id%Location hatchling
	GOTO %next
match.herb:
	SETVARIABLE %id%Location herb
	GOTO %next
match.hermit:
	SETVARIABLE %id%Location hermit
	GOTO %next
match.instrument:
	SETVARIABLE %id%Location instrument
	GOTO %next
match.intelligence:
	SETVARIABLE %id%Location intelligence
	GOTO %next
match.jeweler:
	SETVARIABLE %id%Location jeweler
	GOTO %next
match.leather:
	SETVARIABLE %id%Location leather
	GOTO %next
match.leucro:
	SETVARIABLE %id%Location leucro
	GOTO %next
match.lock:
	SETVARIABLE %id%Location lock
	GOTO %next
match.majik:
	SETVARIABLE %id%Location majik
	GOTO %next
match.mamas:
	SETVARIABLE %id%Location mamas
	GOTO %next
match.merrows:
	SETVARIABLE %id%Location merrows
	GOTO %next
match.metal:
	SETVARIABLE %id%Location metal
	GOTO %next
match.nehdocks:
	SETVARIABLE %id%Location nehdocks
	GOTO %next
match.moruryn:
	SETVARIABLE %id%Location moruryn
	GOTO %next
match.origami:
	SETVARIABLE %id%Location origami
	GOTO %next
match.osociety:
	SETVARIABLE %id%Location osociety
	GOTO %next
match.pawn:
	SETVARIABLE %id%Location pawn
	GOTO %next
match.phelim:
	SETVARIABLE %id%Location phelim
	GOTO %next
match.poke:
	SETVARIABLE %id%Location poke
	GOTO %next
match.portal:
	SETVARIABLE %id%Location portal
	GOTO %next
match.rialto:
	SETVARIABLE %id%Location rialto
	GOTO %next
match.seerah:
	SETVARIABLE %id%Location seerah
	GOTO %next
match.stables:
	SETVARIABLE %id%Location stables
	GOTO %next
match.stamina:
	SETVARIABLE %id%Location stamina
	GOTO %next
match.strength:
	SETVARIABLE %id%Location strength
	GOTO %next
match.tailor:
	SETVARIABLE %id%Location tailor
	GOTO %next
match.tavern:
	SETVARIABLE %id%Location tavern
	GOTO %next
match.tattoo:
	SETVARIABLE %id%Location tattoo
	GOTO %next
match.temple:
	SETVARIABLE %id%Location temple
	GOTO %next
match.uarodocks:
	SETVARIABLE %id%Location uarodocks
	GOTO %next
match.uasindocks:
	SETVARIABLE %id%Location uasindocks
	GOTO %next
match.undead:
	SETVARIABLE %id%Location undead
	GOTO %next
match.vault:
	SETVARIABLE %id%Location vault
	GOTO %next


SIMPLE_TRAVEL:
	MATCH finish st:%destLocation%-%destLocation%
	MATCHRE %currLocation%-1st /st:(chan|her|ban|str|gua|por|baz|bai|gem|paw|vau|neh|uar|uas|see|swa|int|cli|car|tat|[aef]soc)/
	MATCHRE %currLocation%-2nd /st:(fur|lea|agi|met|ins|osoc|hair|tail)/
	MATCHRE %currLocation%-3rd /st:(gre|phe|deb|3ja|3ba|dis|char|stam|mor|ori|jew|ria|maj|tem|exo)/
	MATCHRE %currLocation%-4th /st:(stab)/
#Nodal Travel from a location back to a primary tier node (extra walking, but easier to manage)
	MATCHRE 1st-2nd /st:1st-(2nd|fur|lea|agi|ins|osoc|hair|tail|met)/
	MATCHRE 1st-3rd /st:1st-(3rd|4th|gre|phe|deb|3ja|3ba|dis|char|sta|mor|und|leu|mer|pok|ori|jew|ria|maj|tem|exo)/
	MATCHRE 2nd-3rd /st:2nd-(3rd|4th|gre|phe|deb|3ja|3ba|dis|char|sta|mor|und|leu|mer|pok|ori|jew|ria|maj|tem|exo)/
	MATCHRE 2nd-1st /st:2nd-(1st|her|ban|str|gua|por|baz|bai|gem|paw|vau|neh|uar|uas|see|swa|int|cli|car|tat|[aef]soc)/
	MATCHRE 3rd-2nd /st:3rd-(2nd|fur|lea|agi|ins|osoc|hair|tail|met)/
	MATCHRE 3rd-1st /st:3rd-(1st|her|ban|str|gua|por|baz|bai|gem|paw|vau|neh|uar|uas|see|swa|int|cli|car|tat|[aef]soc)/
	MATCHRE 3rd-4th /st:3rd-(stab|und|leu|mer|poke)/
# 4th tier specific destinations
	MATCHRE 4th-RST /st:4th-(mer|leu)/
	MATCHRE RST-%destLocation% /st:RST-(mer|leu)/
	MATCHRE %currLocation%-RST /st:(mer|leu)/
	MATCHRE RST-4th /st:RST/
	MATCHRE 4th-%destLocation% /st:4th-(poke|und)/
	MATCHRE %currLocation%-4th /st:(pok|und)/
	MATCHRE 4th-3rd /st:4th-(?!stab).*/
#travel from node to destination
	MATCHRE %currLocation%-%destLocation% /st:.*/

	PUT ECHO st:%currLocation%-%destLocation%
	MATCHWAIT

labelError:
	PUT ECHO /on
	WAITFOR EchoColumn
	ECHO ====================================================
	ECHO * * * ERROR: LABELERROR
	ECHO *** Something is horribly wrong!
	ECHO *** Possible Values for malformed goto-statement:
	ECHO *** _____________args: %0
	ECHO *** ____szDestination: %destLocation
	ECHO *** szCurrentLocation: %currLocation
	ECHO *** _____________save: %s
	ECHO ====================================================
	PUT ECHO /off
	EXIT

===========
TIER TO TIER
===========

1st-2nd:
PAUSE
MOVE go broken grating

GROUPCHECK1:
PAUSE
MATCH NOGROUP1 No one!
MATCH GROUPWAIT1 Wealth
MATCH GROUPCHECK1 Sorry, you may only
MATCH GROUPCHECK1 ...wait
PUT assess group
PUT wealth
MATCHWAIT

GROUPWAIT1:
ECHO
ECHO
ECHO *** Whispering to your group to follow you into the passage
ECHO
PUT whisper group GO PASSAGE and then rejoin me! Hurry!
PAUSE
MOVE go passage
GOTO GROUPWAITING1

GROUPWAITING1:
SAVE GROUPWAITING1
ECHO
ECHO =================================
ECHO *** When your group is back together, type GLANCE
ECHO *** Kra'hei hatchlings in this area - PAY ATTENTION ! !
ECHO =================================
ECHO
MATCH 001 You glance
MATCH RETREAT advance on you
MATCH RETREAT range on you
MATCHWAIT

NOGROUP1:
MOVE go passage
GOTO 001

001:
SAVE 001
MATCH 002 the slip of a loose brick
MATCH retreat engaged
MATCH UNGUARD Although tempted to move,
PUT nw
MATCHWAIT

002:
SAVE 002
MATCH 003 touch of a drop of water
MATCH retreat engaged
PUT sw
MATCHWAIT

003:
SAVE 003
MATCH 004 touch of a feathery
MATCH retreat engaged
PUT w
MATCHWAIT

004:
SAVE 004
MATCH 005 the feel of soft, yielding mud
MATCH retreat engaged
PUT up
MATCHWAIT

005:
SAVE 005
MATCH 006 [The Sewers, Beneath the Drain]
MATCH retreat engaged
PUT go obscure opening
MATCHWAIT

006:
PAUSE
MOVE go gilded drain
SETVARIABLE currLocation 2nd
GOTO SIMPLE_TRAVEL

# ========
2nd-1st:
PAUSE
MOVE go gilded drain
MOVE go obscure opening

007:
SAVE 007
MATCH 008 the touch of a feathery,
MATCH retreat engaged
MATCH UNGUARD Although tempted to move,
PUT down
MATCHWAIT

008:
SAVE 008
MATCH 009 pungent, spicy aroma
MATCH retreat engaged
PUT ne
MATCHWAIT

009:
SAVE 009
MATCH 010 the feel of soft, yielding mud
MATCH retreat engaged
PUT se
MATCHWAIT

010:
SAVE 010
MATCH 011 an odd whiff of incense
MATCH retreat engaged
MATCH UNGUARD Although tempted to move,
PUT e
MATCHWAIT

011:
SAVE 011
MATCH 012 The Sewers, Beneath the Drain]
MATCH retreat engaged
MATCH UNGUARD Although tempted to move,
PUT go passage
MATCHWAIT

012:
GROUPCHECK4:
PAUSE
MATCH NOGROUP4 No one!
MATCH GROUPWAIT4 Wealth
MATCH GROUPCHECK4 Sorry, you may only
MATCH GROUPCHECK4 ...wait
PUT assess group
PUT wealth
MATCHWAIT

GROUPWAIT4:
ECHO
ECHO
ECHO *** Whispering to your group to follow you through the grating
ECHO
PUT whisper group GO GRATING and then rejoin me!
PAUSE
MOVE go broken grating
GOTO GROUPWAITING4

GROUPWAITING4:
SAVE GROUPWAITING4
ECHO
ECHO =================================
ECHO *** When your group is back together, type GLANCE
ECHO =================================
ECHO
WAITFOR You glance
GOTO GROUPDONE4

NOGROUP4:
MOVE go broken grating
GOTO GROUPDONE4

GROUPDONE4:
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

# ========
1st-3rd:
PAUSE
MOVE go broken grating

GROUPCHECK2:
PAUSE
MATCH NOGROUP2 No one!
MATCH GROUPWAIT2 Wealth
MATCH GROUPCHECK2 Sorry, you may only
MATCH GROUPCHECK2 ...wait
PUT assess group
PUT wealth
MATCHWAIT

GROUPWAIT2:
ECHO
ECHO
ECHO *** Whispering to your group to follow you into the passage
ECHO
PUT whisper group GO PASSAGE and then rejoin me! Hurry!
PAUSE
MOVE go passage
GOTO GROUPWAITING2

GROUPWAITING2:
SAVE GROUPWAITING2
ECHO
ECHO =================================
ECHO *** When your group is back together, type GLANCE
ECHO *** Kra'hei hatchlings in this area - PAY ATTENTION ! !
ECHO =================================
ECHO
MATCH 013 You glance
MATCH RETREAT advance on you
MATCH RETREAT range on you
MATCHWAIT

NOGROUP2:
MOVE go passage
GOTO 013

013:
SAVE 013
MATCH 014 the slip of a loose brick
MATCH retreat engaged
MATCH UNGUARD Although tempted to move,
PUT nw
MATCHWAIT

014:
SAVE 014
MATCH 015 the touch of a drop of water
MATCH retreat engaged
PUT sw
MATCHWAIT

015:
SAVE 015
MATCH 016 the touch of a feathery,
MATCH retreat engaged
PUT w
MATCHWAIT

016:
SAVE 016
MATCH 017 odd whiff of incense
MATCH retreat engaged
PUT up
MATCHWAIT

017:
SAVE 017
MATCH 018 the chill of a clammy breeze
MATCH retreat engaged
PUT n
MATCHWAIT

018:
SAVE 018
MATCH 019 something silent brushing past
MATCH retreat engaged
PUT up
MATCHWAIT

019:
SAVE 019
MATCH 020 tang of the salt sea
MATCH retreat engaged
PUT nw
MATCHWAIT

020:
SAVE 020
MATCH 021 the smell of fish, fresh
MATCH retreat engaged
PUT w
MATCHWAIT

021:
SAVE 021
MATCH 022 [The Sewers, Beneath the Grating]
MATCH retreat engaged
PUT go narrow crevice
MATCHWAIT

022:
PAUSE
MOVE go sewer grating
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

# ========
3rd-1st:
PAUSE
MOVE go sewer grating
MOVE go narrow crevice

023:
SAVE 023
MATCH 024 tang of the salt sea
MATCH retreat engaged
MATCH UNGUARD Although tempted to move,
PUT e
MATCHWAIT

024:
SAVE 024
MATCH 025 something silent brushing past
MATCH retreat engaged
PUT se
MATCHWAIT

025:
SAVE 025
MATCH 026 the reek of mold
MATCH retreat engaged
PUT down
MATCHWAIT

026:
SAVE 026
MATCH 027 odd whiff of incense
MATCH retreat engaged
PUT s
MATCHWAIT

027:
SAVE 027
MATCH 028 the touch of a feathery,
MATCH retreat engaged
PUT down
MATCHWAIT

028:
SAVE 028
MATCH 029 pungent, spicy aroma
MATCH retreat engaged
PUT ne
MATCHWAIT

029:
SAVE 029
MATCH 030 the feel of soft, yielding mud
MATCH retreat engaged
PUT se
MATCHWAIT

030:
SAVE 030
MATCH 031 an odd whiff of incense
MATCH retreat engaged
MATCH UNGUARD Although tempted to move,
PUT e
MATCHWAIT

031:
SAVE 031
MATCH 032 [The Sewers, Beneath the Drain]
MATCH retreat engaged
MATCH UNGUARD Although tempted to move,
PUT go passage
MATCHWAIT

032:
GROUPCHECK3:
PAUSE
MATCH NOGROUP3 No one!
MATCH GROUPWAIT3 Wealth
MATCH GROUPCHECK3 Sorry, you may only
MATCH GROUPCHECK3 ...wait
PUT assess group
PUT wealth
MATCHWAIT

GROUPWAIT3:
ECHO
ECHO
ECHO *** Whispering to your group to follow you through the grating
ECHO
PUT whisper group GO GRATING and then rejoin me!
PAUSE
MOVE go broken grating
GOTO GROUPWAITING3

GROUPWAITING3:
SAVE GROUPWAITING3
ECHO
ECHO =================================
ECHO *** When your group is back together, type GLANCE
ECHO =================================
ECHO
WAITFOR You glance
GOTO GROUPDONE3

NOGROUP3:
MOVE go broken grating
GOTO GROUPDONE3

GROUPDONE3:
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

# ========
2nd-3rd:
PAUSE
MOVE go gilded drain
MOVE go obscure opening

033:
SAVE 033
MATCH 034 the reek of mold
MATCH retreat engaged
MATCH UNGUARD Although tempted to move,
PUT n
MATCHWAIT

034:
SAVE 034
MATCH 035 something silent brushing past
MATCH retreat engaged
PUT up
MATCHWAIT

035:
SAVE 035
MATCH 036 the tang of the salt sea
MATCH retreat engaged
PUT nw
MATCHWAIT

036:
SAVE 036
MATCH 037 the smell of fish, fresh
MATCH retreat engaged
PUT w
MATCHWAIT

037:
SAVE 037
MATCH 038 [The Sewers, Beneath the Grating]
MATCH retreat engaged
PUT go narrow crevice
MATCHWAIT

038:
PAUSE
MOVE go sewer grating
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

# ========
3rd-2nd:
PAUSE
MOVE go sewer grating
MOVE go crevice

039:
SAVE 039
MATCH 040 tang of the salt sea
MATCH retreat engaged
MATCH UNGUARD Although tempted to move,
PUT e
MATCHWAIT

040:
SAVE 040
MATCH 041 something silent brushing past
MATCH retreat engaged
PUT se
MATCHWAIT

041:
SAVE 041
MATCH 042 the reek of mold
MATCH retreat engaged
PUT down
MATCHWAIT

042:
SAVE 042
MATCH 043 odd whiff of incense
MATCH retreat engaged
PUT s
MATCHWAIT

043:
SAVE 043
MATCH 044 [The Sewers, Beneath the Drain]
MATCH retreat engaged
PUT go obscure opening
MATCHWAIT

044:
PAUSE
MOVE go gilded drain
SETVARIABLE currLocation 2nd
GOTO SIMPLE_TRAVEL



RETREAT_PAUSE:
PAUSE
RETREAT:
MATCHRE retreat /You retreat back to pole|still stunned/
MATCH %s You retreat from combat.
MATCHRE REATREAT_PAUSE /...wait|type ahead/
PUT retreat
MATCHWAIT

UNGUARD:
PAUSE
PUT guard stop
GOTO %s

# ========
3rd-4th:
PAUSE
MOVE go sewer grating
MOVE go narrow crevice

601:
SAVE 601
MATCH 602 tang of the salt sea
MATCH retreat engaged
PUT e
MATCHWAIT

602:
SAVE 602
MATCH 603 something silent brushing past
MATCH retreat engaged
PUT se
MATCHWAIT

603:
SAVE 603
MATCH 604 the reek of mold
MATCH retreat engaged
PUT down
MATCHWAIT

604:
SAVE 604
MATCH 605 the slip of a loose brick
MATCH retreat engaged
PUT w
MATCHWAIT

605:
SAVE 605
MATCH 606 the feel of soft, yielding mud
MATCH retreat engaged
PUT nw
MATCHWAIT

606:
SAVE 606
MATCH 607 the touch of a drop of water
MATCH retreat engaged
PUT s
MATCHWAIT

607:
SAVE 607
MATCH 608 A large circular opening
MATCH retreat engaged
PUT sw
MATCHWAIT

608:
SAVE 608
MATCH 609 pungent, spicy aroma
MATCH retreat engaged
PUT up
MATCHWAIT

609:
SAVE 609
MATCH 610 odd whiff of incense
MATCH retreat engaged
PUT w
MATCHWAIT

610:
SAVE 610
MATCH 611 A light flickers to the southwest
MATCH retreat engaged
PUT nw
MATCHWAIT

611:
SAVE 612
MATCH 612 The tunnel walls have been built
MATCH retreat engaged
PUT n
MATCHWAIT

612:
SAVE 612
MATCH 613 stream of water falls to the floor.
MATCH retreat engaged
PUT n
MATCHWAIT

613:
SAVE 613
MATCH 614 Water flows in from the north
MATCH 614 Water flows into a hole
MATCH retreat engaged
MATCH FAIL-LADDER You must be standing
MATCH FAIL-LADDER steepness is intimidating
MATCH FAIL-LADDER can't seem to find purchase
MATCH FAIL-LADDER find it hard going.
MATCH FAIL-LADDER your footing is questionable
MATCH FAIL-LADDER slip after a few feet
MATCH FAIL-LADDER A wave of dizziness hits you
MATCH FAIL-LADDER Struck by vertigo
PUT climb ladder
MATCHWAIT

614:
SAVE 614
MATCH 615 The walls are narrowly within
MATCH 615 The walls curve into the ceiling
MATCH retreat engaged
PUT n
MATCHWAIT

615:
SAVE 615
MATCH 616 A thin sheet of water flows
MATCH retreat engaged
PUT n
MATCHWAIT

616:
SAVE 616
MATCH 617 Nadamian Avenue]
MATCH retreat engaged
PUT go polished grate
MATCHWAIT

617:
SETVARIABLE currLocation 4th
GOTO SIMPLE_TRAVEL

FAIL-LADDER:
FAIL503:
SAVE FAIL503
MATCH FAIL504 The tunnel walls have been built
MATCH retreat engaged
MATCH stand You can't do that while
PUT s
MATCHWAIT

FAIL504:
SAVE FAIL504
MATCH FAIL505 A light flickers to the southwest
MATCH retreat engaged
PUT s
MATCHWAIT

FAIL505:
SAVE FAIL505
MATCH FAIL506 the slip of a loose brick
MATCH retreat engaged
PUT se
MATCHWAIT

FAIL506:
SAVE FAIL506
MATCH FAIL507 pungent, spicy aroma
MATCH retreat engaged
PUT e
MATCHWAIT

FAIL507:
SAVE FAIL507
MATCH FAIL508 A large circular opening
MATCH retreat engaged
PUT down
MATCHWAIT

FAIL508:
SAVE FAIL508
MATCH FAIL510 tang of the salt sea
MATCH retreat engaged
PUT ne
MATCHWAIT

FAIL510:
SAVE FAIL510
MATCH FAIL511 The dim beams from the southwest
MATCH retreat engaged
PUT se
MATCHWAIT

FAIL511:
SAVE FAIL511
MATCH FAIL512 something noiselessly brushing past
MATCH retreat engaged
PUT ne
MATCHWAIT

FAIL512:
SAVE FAIL512
MATCH FAIL513 the feel of soft, yielding mud
MATCH retreat engaged
PUT se
MATCHWAIT

FAIL513:
SAVE FAIL513
MATCH FAIL514 reek of mold
MATCH retreat engaged
PUT n
MATCHWAIT

FAIL514:
SAVE FAIL514
MATCH FAIL515 the stench of refuse
MATCH retreat engaged
PUT up
MATCHWAIT

FAIL515:
SAVE FAIL515
MATCH FAIL516 tang of the salt sea
MATCH retreat engaged
PUT nw
MATCHWAIT

FAIL516:
SAVE FAIL516
MATCH FAIL517 the smell of fish, fresh
MATCH retreat engaged
PUT w
MATCHWAIT

FAIL517:
SAVE FAIL517
MATCH FAIL518 [The Sewers, Beneath the Grating]
MATCH retreat engaged
PUT go crevice
MATCHWAIT

FAIL518:
PAUSE
MOVE go grat
ECHO
ECHO *** You failed to climb through the sewers!
ECHO *** Make sure you are fully healed or get help going up to the 4th tier
ECHO *** You are now outside the sewers on the 3rd tier
ECHO
EXIT

# ========
4th-3rd:
PAUSE
MOVE go grate

500:
SAVE 500
MATCH 501 The walls are narrowly within
MATCH 501 The walls curve into the ceiling
MATCH retreat engaged
PUT go pipe
MATCHWAIT

501:
SAVE 501
MATCH 502 Water flows in from the north
MATCH 502 Water flows into a hole
MATCH retreat engaged
PUT s
MATCHWAIT

502:
SAVE 502
MATCH 503 stream of water falls to the floor.
MATCH retreat engaged
MATCH FAIL-502 steepness is intimidating
MATCH FAIL-502 can't seem to find purchase
MATCH FAIL-502 find it hard going.
MATCH FAIL-502 your footing is questionable
MATCH FAIL-502 slip after a few feet
MATCH FAIL-502 A wave of dizziness hits you
MATCH FAIL-502 Struck by vertigo
PUT climb rung
MATCHWAIT

FAIL-502:
PUT n
MOVE n
MOVE go grate
ECHO
ECHO *** You failed to climb through the sewers!
ECHO *** Make sure you are fully healed or get help getting down from the 4th tier
ECHO *** You are outside the sewer on the 4th tier
ECHO
EXIT

503:
SAVE 503
MATCH 504 The tunnel walls have been built
MATCH retreat engaged
PUT s
MATCHWAIT

504:
SAVE 504
MATCH 505 A light flickers to the southwest
MATCH retreat engaged
PUT s
MATCHWAIT

505:
SAVE 505
MATCH 506 the slip of a loose brick
MATCH retreat engaged
PUT se
MATCHWAIT

506:
SAVE 506
MATCH 507 pungent, spicy aroma
MATCH retreat engaged
PUT e
MATCHWAIT

507:
SAVE 507
MATCH 508 A large circular opening
MATCH retreat engaged
PUT down
MATCHWAIT

508:
SAVE 508
MATCH 510 tang of the salt sea
MATCH retreat engaged
PUT ne
MATCHWAIT

510:
SAVE 510
MATCH 511 The dim beams from the southwest
MATCH retreat engaged
PUT se
MATCHWAIT

511:
SAVE 511
MATCH 512 something noiselessly brushing past
MATCH retreat engaged
PUT ne
MATCHWAIT

512:
SAVE 512
MATCH 513 the feel of soft, yielding mud
MATCH retreat engaged
PUT se
MATCHWAIT

513:
SAVE 513
MATCH 514 reek of mold
MATCH retreat engaged
PUT n
MATCHWAIT

514:
SAVE 514
MATCH 515 the stench of refuse
MATCH retreat engaged
PUT up
MATCHWAIT

515:
SAVE 515
MATCH 516 tang of the salt sea
MATCH retreat engaged
PUT nw
MATCHWAIT

516:
SAVE 516
MATCH 517 the smell of fish, fresh
MATCH retreat engaged
PUT w
MATCHWAIT

517:
SAVE 517
MATCH 518 [The Sewers, Beneath the Grating]
MATCH retreat engaged
PUT go crevice
MATCHWAIT

518:
PAUSE
MOVE go sewer grating
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

# LOCATIONS TO 1ST TIER
# ====================
strength-1st:
PAUSE
MOVE climb step
MOVE go door
MOVE e
MOVE e
MOVE se
MOVE e
MOVE e
MOVE e
MOVE e
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

herb-1st:
PAUSE
MOVE out
MOVE sw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

guardhouse-1st:
PAUSE
MOVE out
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

portal-1st:
PAUSE
MOVE w
MOVE n
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

bazaar-1st:
PAUSE
MOVE s
MOVE e
MOVE se
MOVE s
MOVE s
MOVE se
MOVE e
MOVE s
MOVE s
MOVE s
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

clinic-1st:
PAUSE
MOVE go dispensary
MOVE w
MOVE out
MOVE w
MOVE sw
MOVE sw
MOVE s
MOVE sw
MOVE s
MOVE e
MOVE se
MOVE ne
GOTO esocietyout-1st

bank-1st:
PAUSE
MOVE go door
MOVE climb stai
MOVE sw
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

gem-1st:
PAUSE
MOVE out
MOVE w
MOVE nw
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE ne
GOTO esocietyout-1st

pawn-1st:
PAUSE
MOVE out
MOVE ne
MOVE ne
GOTO esocietyout-1st

vault-1st:
PAUSE
MOVE out
MOVE out
MOVE se
MOVE e
MOVE n
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

baitshop-1st:
PAUSE
MOVE out
MOVE e
MOVE se
MOVE e
MOVE n
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

mamas-1st:
PAUSE
MOVE out
MOVE nw
MOVE n
MOVE w
MOVE nw
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE ne
GOTO esocietyout-1st

nehdocks-1st:
PAUSE
MOVE n
MOVE e
MOVE ne
MOVE e
MOVE se
MOVE e
MOVE n
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE sw
MOVE w
PAUSE
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

uarodocks-1st:
PAUSE
MOVE go ramp
MOVE w
MOVE sw
MOVE sw
GOTO seerah-1st

uasindocks-1st:
PAUSE
MOVE n
MOVE e
MOVE sw
MOVE nw
MOVE nw
MOVE n
MOVE w
MOVE w
MOVE w
MOVE w
MOVE w
MOVE n
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

seerah-1st:
PAUSE
MOVE ne
MOVE n
MOVE n
MOVE n
MOVE ne
MOVE n
MOVE n
MOVE ne
MOVE n
MOVE nw
MOVE n
MOVE n
MOVE ne
MOVE ne
MOVE e
MOVE ne
MOVE ne
GOTO esocietyout-1st

tavern-1st:
PAUSE
MOVE e
MOVE go door
MOVE out
MOVE w
MOVE w
MOVE w
MOVE w
MOVE n
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

tattoo-1st:
PAUSE
MOVE go door
MOVE e
MOVE n
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

intelligence-1st:
PAUSE
MOVE out
MOVE out
MOVE out
MOVE down
MOVE nw
MOVE nw
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE sw
MOVE sw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

carpet-1st:
PAUSE
MOVE out
MOVE nw
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE sw
MOVE sw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

chandler-1st:
PAUSE
MOVE out
leave2hermit:
MOVE s
MOVE w
MOVE w
MOVE w
MOVE w
MOVE w
MOVE n
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

hermit-1st:
PAUSE
MOVE go door
MOVE go trail
MOVE go crevice
MOVE s
MOVE sw
MOVE w
MOVE sw
MOVE w
MOVE w
MOVE nw
MOVE sw
MOVE nw
MOVE nw
MOVE n
MOVE n
GOTO leave2hermit

fsociety-1st:
PAUSE
MOVE go arch
MOVE sw
MOVE s
MOVE s
MOVE s
MOVE sw
GOTO seerah-1st

esociety-1st:
PAUSE
MOVE go door
esocietyout-1st:
MOVE e
MOVE e
MOVE e
MOVE se
MOVE e
MOVE e
MOVE e
MOVE e
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL

asociety-1st:
PAUSE
MOVE go door
MOVE w
MOVE sw
MOVE w
MOVE sw
MOVE sw
MOVE sw
MOVE w
SETVARIABLE currLocation 1st
GOTO SIMPLE_TRAVEL


# 1ST TIER TO LOCATIONS
# ====================
1st-clinic:
PAUSE
MOVE e
MOVE ne
MOVE w
MOVE w
MOVE w
MOVE w
MOVE nw
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE nw
MOVE w
MOVE n
MOVE ne
MOVE n
MOVE ne
MOVE ne
MOVE e
MOVE go clinic
MOVE e
MOVE go room one
PAUSE
ECHO
ECHO *** You are at the Clinic
ECHO    (lie down to be healed)
ECHO
GOTO finish

1st-bank:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE ne
MOVE climb stair
MOVE go door
GOTO finish

1st-gem:
PAUSE
MOVE e
MOVE ne
MOVE w
MOVE w
MOVE w
MOVE w
MOVE nw
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE se
MOVE se
MOVE s
MOVE s
MOVE se
MOVE e
MOVE go market
GOTO finish

1st-pawn:
PAUSE
MOVE e
MOVE ne
MOVE w
MOVE w
MOVE w
MOVE w
MOVE nw
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE sw
MOVE go building
GOTO finish

1st-vault:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE w
MOVE nw
MOVE go carousel
MOVE go door
GOTO finish

1st-baitshop:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE w
MOVE nw
MOVE w
MOVE go bait shop
GOTO finish

1st-mamas:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE w
MOVE nw
MOVE w
MOVE sw
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE n
MOVE n
MOVE go building
GOTO finish

1st-nehdocks:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE w
MOVE nw
MOVE w
MOVE sw
MOVE w
MOVE go dock
PAUSE
ECHO
ECHO *** Neh Dock
ECHO *** The Kree'la sails for Riverhaven
ECHO *** The Skirr'lolasu sails for Crossing
ECHO
GOTO finish

1st-uarodocks:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE w
MOVE nw
MOVE w
MOVE sw
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE sw
MOVE w
MOVE w
MOVE sw
MOVE sw
MOVE go ramp
PAUSE
ECHO
ECHO *** The Uaro Dock
ECHO *** The Halasa Selhin sails for Aesry
ECHO
GOTO finish

1st-uasindocks:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE e
MOVE e
MOVE e
MOVE e
MOVE e
MOVE s
MOVE se
MOVE se
MOVE ne
MOVE w
MOVE go dock
PAUSE
ECHO
ECHO *** The Uasin Dock
ECHO *** Up the ramp the Tasia'zaul sails for Hara'Jaal
ECHO *** You must have completed a quest to get past Kretsky
ECHO *** And Kretsky ALWAYS charges a gold to go up the ramp
ECHO
GOTO finish

1st-seerah:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE w
MOVE nw
MOVE w
MOVE sw
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE sw
MOVE w
MOVE w
MOVE sw
MOVE sw
MOVE w
MOVE sw
MOVE sw
PAUSE
ECHO
ECHO *** Go Gap to the Seerah wreck
ECHO *** sand sprites, crabs, la'heke
ECHO
GOTO finish

1st-tavern:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE e
MOVE e
MOVE e
MOVE e
MOVE go tavern
MOVE go door
MOVE west
PAUSE
ECHO
ECHO *** Bawdy Swains
ECHO *** You can train Reflex here
ECHO
PUT hide
GOTO finish

1st-tattoo:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE w
MOVE go struct
GOTO finish

1st-chandler:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE e
MOVE e
MOVE e
MOVE e
MOVE e
MOVE n
MOVE go chandler
GOTO finish

1st-hermit:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE e
MOVE e
MOVE e
MOVE e
MOVE e
MOVE s
MOVE se
MOVE se
MOVE ne
MOVE se
MOVE e
MOVE e
MOVE ne
MOVE e
MOVE ne
MOVE n
MOVE go narrow crevice
MOVE go trail
MOVE go canvas door
PAUSE
GOTO finish

1st-carpet:
PAUSE
MOVE e
MOVE ne
MOVE ne
MOVE ne
MOVE e
MOVE ne
MOVE e
MOVE e
MOVE se
MOVE go shop
GOTO finish

1st-intelligence:
PAUSE
MOVE e
MOVE ne
MOVE ne
MOVE ne
MOVE e
MOVE ne
MOVE e
MOVE e
MOVE se
MOVE se
MOVE go Tarr Rest
MOVE go swinging door
MOVE go common room
MOVE go darkened corner
PAUSE
GOTO finish

1st-strength:
PAUSE
MOVE e
MOVE ne
MOVE w
MOVE w
MOVE w
MOVE w
MOVE nw
MOVE w
MOVE w
MOVE go ironworks
MOVE climb stone steps
PAUSE
GOTO finish

1st-guardhouse:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE go guardhouse
PAUSE
ECHO
ECHO *** Welcome to jail, you filthy scoundrel!
ECHO *** If you meant to go to the 3rd tier jail you should enter "3JAIL" as your destination
ECHO
GOTO finish

1st-portal:
PAUSE
MOVE e
MOVE ne
MOVE se
MOVE s
MOVE se
MOVE se
MOVE s
MOVE s
MOVE s
MOVE e
PAUSE
ECHO
ECHO *** You are at the premium and event portals
ECHO *** Warning! Bawdy swain roam the street here!
ECHO
GOTO finish

1st-herb:
PAUSE
MOVE e
MOVE ne
MOVE ne
MOVE go tiny shop
PAUSE
GOTO finish

1st-bazaar:
PAUSE
MOVE e
MOVE ne
MOVE n
MOVE n
MOVE n
MOVE w
MOVE nw
MOVE n
MOVE n
MOVE nw
MOVE w
MOVE n
ECHO
ECHO *** You are outside the Ratha Bazzar, go north to enter.
ECHO * * * The paths through the bazaar are always changing
ECHO * * * More shops are open at daytime than at night
ECHO * * * The bazaar links the 1st tier with the 2nd tier
ECHO
GOTO finish

1st-lock:
GOTO gofindraif1

1st-fsociety:
PAUSE
MOVE e
MOVE ne
MOVE w
MOVE w
MOVE w
MOVE w
MOVE nw
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE sw
MOVE w
MOVE sw
MOVE sw
MOVE s
MOVE s
MOVE se
MOVE s
MOVE sw
MOVE s
MOVE s
MOVE go build
GOTO finish

1st-asociety:
PAUSE
MOVE e
MOVE ne
MOVE ne
MOVE ne
MOVE e
MOVE ne
MOVE e
MOVE go society
GOTO finish

1st-esociety:
PAUSE
MOVE e
MOVE ne
MOVE w
MOVE w
MOVE w
MOVE w
MOVE nw
MOVE w
MOVE w
MOVE w
MOVE go society
GOTO finish

LOCATIONS TO 2ND TIER
# ====================
furrier-2nd:
PAUSE
MOVE out
MOVE e
GOTO hairout-2nd:

leather-2nd:
PAUSE
MOVE go sales room
masksb:
embosserb:
MOVE out
leatherout-2nd:
MOVE e
MOVE ne
MOVE e
MOVE e
MOVE e
MOVE e
MOVE sw
SETVARIABLE currLocation 2nd
GOTO SIMPLE_TRAVEL

agility-2nd:
PAUSE
MOVE out
MOVE se
MOVE e
MOVE ne
MOVE e
MOVE e
MOVE e
MOVE se
MOVE e
MOVE se
MOVE e
MOVE n
MOVE n
MOVE ne
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE w
MOVE sw
SETVARIABLE currLocation 2nd
GOTO SIMPLE_TRAVEL

metal-2nd:
PAUSE
MOVE go arch
MOVE out
MOVE nw
MOVE nw
MOVE nw
MOVE n
MOVE nw
MOVE nw
MOVE w
MOVE sw
SETVARIABLE currLocation 2nd
GOTO SIMPLE_TRAVEL

bazaar-2nd:
PAUSE
MOVE sw
SETVARIABLE currLocation 2nd
GOTO SIMPLE_TRAVEL

hair-2nd:
PAUSE
MOVE out
hairout-2nd:
MOVE e
MOVE s
MOVE se
MOVE e
GOTO leatherout-2nd

instrument-2nd:
PAUSE
MOVE out
MOVE n
MOVE ne
MOVE se
MOVE se
MOVE sw
MOVE e
GOTO hairout-2nd

tailor-2nd:
PAUSE
MOVE out
tailorout-2nd:
MOVE w
MOVE w
MOVE sw
SETVARIABLE currLocation 2nd
GOTO SIMPLE_TRAVEL

osociety-2nd:
PAUSE
MOVE go door
GOTO tailorout-2nd


2ND TIER TO LOCATIONS
# =====================

2nd-furrier:
PAUSE
MOVE ne
MOVE w
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE w
MOVE nw
MOVE n
MOVE w
MOVE w
MOVE go building
GOTO finish

2nd-tailor:
PAUSE
MOVE ne
MOVE e
MOVE e
MOVE go painted shop
GOTO finish

2nd-hair:
PAUSE
MOVE ne
MOVE w
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE w
MOVE nw
MOVE n
MOVE w
MOVE go small shop
GOTO finish

2nd-instrument:
PAUSE
MOVE ne
MOVE w
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE w
MOVE nw
MOVE n
MOVE w
MOVE w
MOVE ne
MOVE nw
MOVE nw
MOVE sw
MOVE s
MOVE go tiny shop
GOTO finish

2nd-leather:
PAUSE
MOVE ne
MOVE w
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE go oak shop
MOVE go work room
PAUSE
ECHO
ECHO *** You are at the Leather Repair
ECHO *** To purchase leather masks, GO ROOM
ECHO *** To see the leather embosser, GO ROOM then GO ALCOVE
ECHO
GOTO finish

2nd-agility:
PAUSE
MOVE ne
MOVE e
MOVE se
MOVE se
MOVE s
MOVE s
MOVE sw
MOVE s
MOVE s
MOVE w
MOVE nw
MOVE w
MOVE nw
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE nw
MOVE go building
GOTO finish

2nd-metal:
PAUSE
MOVE ne
MOVE e
MOVE se
MOVE se
MOVE s
MOVE se
MOVE se
MOVE se
MOVE go Krrikt'k's Forge
MOVE go arch
GOTO finish

2nd-bazaar:
PAUSE
MOVE ne
ECHO
ECHO *** You are outside the Ratha Bazzar, go north to enter.
ECHO * * * The paths through the bazaar are always changing
ECHO * * * More shops are open at daytime than at night
ECHO * * * The bazaar links the 1st tier with the 2nd tier
ECHO
GOTO finish

2nd-osociety:
PAUSE
MOVE ne
MOVE e
MOVE e
MOVE go society
GOTO finish

# LOCATIONS TO 3RD TIER
# =====================
green-3rd:
PAUSE
MOVE s
MOVE w
MOVE w
MOVE nw
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

phelim-3rd:
PAUSE
MOVE go doorway
MOVE climb step
MOVE nw
MOVE nw
MOVE w
MOVE w
MOVE s
MOVE sw
MOVE sw
MOVE sw
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

debtor-3rd:
PAUSE
MOVE out
MOVE out
MOVE go door
MOVE climb stai
MOVE s
MOVE s
MOVE go gate
MOVE e
MOVE n
MOVE ne
MOVE n
MOVE nw
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

3bank-3rd:
PAUSE
MOVE w
MOVE w
MOVE go door
MOVE climb stai
MOVE s
MOVE s
MOVE go gate
MOVE e
MOVE n
MOVE ne
MOVE n
MOVE nw
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

3jail-3rd:
PAUSE
MOVE out
MOVE s
MOVE s
MOVE e
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

discipline-3rd:
PAUSE
MOVE up
MOVE out
MOVE n
MOVE n
MOVE go door
MOVE n
MOVE up
MOVE ne
MOVE up
MOVE e
MOVE ne
MOVE ne
MOVE e
MOVE e
MOVE s
MOVE se
MOVE se
MOVE se
MOVE e
MOVE e
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

charisma-3rd:
PAUSE
MOVE out
MOVE out
MOVE go gap
MOVE e
MOVE s
MOVE se
MOVE se
MOVE se
MOVE e
MOVE e
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

wisdom-3rd:
PAUSE
MOVE out
MOVE s
MOVE s
MOVE s
MOVE s
MOVE e
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

stamina-3rd:
PAUSE
MOVE out
MOVE go gate
MOVE sw
MOVE w
MOVE s
MOVE se
MOVE se
MOVE se
MOVE e
MOVE e
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

moruryn-3rd:
PAUSE
MOVE out
MOVE out
MOVE sw
MOVE s
MOVE s
MOVE w
MOVE w
MOVE nw
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

origami-3rd:
PAUSE
MOVE out
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

rialto-3rd:
MOVE out
MOVE sw
MOVE sw
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

jeweler-3rd:
PAUSE
MOVE out
MOVE sw
MOVE se
MOVE e
MOVE s
MOVE sw
MOVE sw
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

majik-3rd:
PAUSE
MOVE out
MOVE s
MOVE se
MOVE se
MOVE se
MOVE e
MOVE e
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

temple-3rd:
PAUSE
MOVE w
MOVE out
MOVE s
MOVE nw
MOVE w
MOVE w
MOVE w
MOVE nw
MOVE ne
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL

exotic-3rd:
PAUSE
MOVE out
MOVE w
MOVE w
MOVE s
MOVE sw
MOVE sw
SETVARIABLE currLocation 3rd
GOTO SIMPLE_TRAVEL


=====================
3RD TIER TO LOCATONS
=====================
3rd-rialto:
PAUSE
MOVE ne
MOVE ne
MOVE go ornate shop
GOTO finish

3rd-jeweler:
PAUSE
MOVE ne
MOVE ne
MOVE n
MOVE w
MOVE nw
MOVE ne
MOVE go jewelry shop
GOTO finish

3rd-green:
PAUSE
MOVE sw
MOVE se
MOVE e
MOVE e
MOVE n
PAUSE
ECHO
ECHO *** You are at the Green
ECHO  (official hangout of the 3rd tier)
ECHO
GOTO finish

3rd-phelim:
PAUSE
MOVE sw
MOVE se
MOVE e
MOVE e
MOVE e
MOVE se
MOVE n
MOVE n
MOVE climb step
MOVE go building
PAUSE
ECHO
ECHO *** You are in Phelim's Temple
ECHO *** Through that moongate is the isle of Taisgath
ECHO
GOTO finish
EXIT

3rd-debtor:
PAUSE
MOVE sw
MOVE se
MOVE s
MOVE sw
MOVE s
MOVE w
MOVE go gate
MOVE n
MOVE n
MOVE climb stair
MOVE go door
MOVE go hall
MOVE go collection office
GOTO finish

3rd-3bank:
PAUSE
MOVE sw
MOVE se
MOVE s
MOVE sw
MOVE s
MOVE w
MOVE go gate
MOVE n
MOVE n
MOVE climb stair
MOVE go door
MOVE e
MOVE e
GOTO finish

3rd-3jail:
PAUSE
MOVE sw
MOVE w
MOVE n
MOVE n
MOVE go office
PAUSE
ECHO
ECHO *** Welcome to jail, you dirty crook!
ECHO *** If you meant to go to the 1st tier jail then choose "JAIL" as your destination
ECHO
GOTO finish

3rd-discipline:
PAUSE
MOVE sw
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE n
MOVE n
MOVE w
MOVE down
MOVE sw
MOVE down
MOVE s
MOVE go entrance
MOVE s
MOVE s
MOVE go door
MOVE down
GOTO finish

3rd-charisma:
PAUSE
MOVE sw
MOVE w
MOVE w
MOVE nw
MOVE nw
MOVE nw
MOVE n
MOVE w
MOVE s
MOVE go round building
MOVE w
GOTO finish

3rd-wisdom:
PAUSE
MOVE sw
MOVE w
MOVE n
MOVE n
MOVE n
MOVE n
MOVE go house
GOTO finish

3rd-stamina:
PAUSE
MOVE sw
MOVE w
MOVE w
MOVE nw
MOVE nw
MOVE nw
MOVE n
MOVE e
MOVE ne
MOVE go gate
MOVE go arch
GOTO finish

3rd-majik:
PAUSE
MOVE sw
MOVE w
MOVE w
MOVE nw
MOVE nw
MOVE nw
MOVE n
MOVE go tile shop
GOTO finish

3rd-temple:
PAUSE
MOVE sw
MOVE se
MOVE e
MOVE e
MOVE e
MOVE se
MOVE n
MOVE go ornate arch
MOVE e
PAUSE
ECHO
ECHO *** You are at the depart spot in the Temple of Hodierna
ECHO
GOTO finish

3rd-exotic:
PAUSE
MOVE ne
MOVE ne
MOVE n
MOVE e
MOVE e
MOVE go shop
GOTO finish

3rd-moruryn:
PAUSE
MOVE sw
MOVE se
MOVE e
MOVE e
MOVE n
MOVE n
MOVE ne
MOVE go door
MOVE go arch
PAUSE
ECHO
ECHO *** You are in Urrem'tier's Temple
ECHO *** Moruryns
ECHO  (Show affection to the statue to get inside)
ECHO
GOTO finish

3rd-origami:
PAUSE
MOVE sw
MOVE go ornate structure
GOTO finish

=====================
4TH TIER TO LOCATONS
=====================
4th-stables:
PAUSE
MOVE n
MOVE n
MOVE n
MOVE n
MOVE n
MOVE w
MOVE w
MOVE go gate
MOVE go large stable
MOVE w
ECHO
ECHO *** You are at the stables out the gates of the 4th tier
ECHO
GOTO finish

4th-undead:
PAUSE
MOVE n
MOVE n
MOVE n
MOVE n
MOVE n
MOVE w
MOVE w
MOVE go gate
MOVE nw
MOVE nw
MOVE n
MOVE n
MOVE ne
MOVE n
PAUSE
ECHO
ECHO *** Climb the path and follow the trail for the undead
ECHO *** Death spirits, dark spirits, spectral pirates, and skeletal sailors
ECHO
GOTO finish
EXIT

4th-RST:
PAUSE
MOVE n
MOVE n
MOVE n
MOVE n
MOVE n
MOVE w
MOVE w
MOVE go gate
MOVE nw
MOVE nw
MOVE n
MOVE n
MOVE ne
MOVE n
MOVE n
MOVE nw
MOVE nw
MOVE ne
MOVE nw
MOVE nw
MOVE ne
MOVE ne

MATCH waitfor217cont You can't go there
MATCH 217cont Just to the southwest
PUT ne
MATCHWAIT

waitfor217cont:
ECHO
ECHO *** There is a stupid farmer or farm animals blocking the trade road.
ECHO *** You must wait for them to pass.
ECHO
MATCHRE start217cont /traffic starts|The herd of pigs finally passes|reins on his team one more time/
MATCHWAIT

start217cont:
MOVE ne
217cont:
MOVE ne
MOVE nw
MOVE ne
MOVE ne
MOVE ne
ECHO
ECHO *** Entering a muddy section of the Reshalia Trade Road
ECHO
PAUSE

MATCH toRST1 No one!
MATCH grouptoRST1 Wealth
PUT assess group
PUT wealth
MATCHWAIT

grouptoRST1:
SAVE grouptoRST1
MATCH grouptoRST2a A pedal mill stands
MATCH grouptoRST2a Two large Gor'Togs,
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT nw
MATCHWAIT

grouptoRST2a:
SAVE grouptoRST2b
PAUSE
MATCH fallen who is lying down
MATCH fallen (prone)
MATCHRE grouptoRST2b /Obvious (exit|path)/
MATCH grouptoRST2a ...wait
PUT peer southeast
MATCHWAIT

grouptoRST2b:
SAVE grouptoRST2b
MATCH grouptoRST3a The occasional crunch underfoot
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT peer southeast
PUT nw
MATCHWAIT

grouptoRST3a:
SAVE grouptoRST3b
PAUSE
MATCH fallen who is lying down
MATCH fallen (prone)
MATCHRE grouptoRST3b /Obvious (exit|path)/
MATCH grouptoRST3a ...wait
PUT peer southeast
MATCHWAIT

grouptoRST3b:
SAVE grouptoRST3b
MATCH grouptoRST4a farmers have built a wooden
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT nw
MATCHWAIT

grouptoRST4a:
SAVE grouptoRST4b
PAUSE
MATCH fallen who is lying down
MATCH fallen (prone)
MATCHRE grouptoRST4b /Obvious (exit|path)/
MATCH grouptoRST4a ...wait
PUT peer southeast
MATCHWAIT

grouptoRST4b:
SAVE grouptoRST4b
MATCH grouptoRST5a pile of decomposing weeds
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT n
MATCHWAIT

grouptoRST5a:
SAVE toRST5
PAUSE
MATCH fallen who is lying down
MATCH fallen (prone)
MATCHRE toRST5 /Obvious (exit|path)/
MATCH grouptoRST5a ...wait
PUT peer south
MATCHWAIT

toRST1:
SAVE toRST1
MATCH toRST2 A pedal mill stands
MATCH toRST2 Two large Gor'Togs,
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT nw
MATCHWAIT

toRST2:
SAVE toRST2
MATCH toRST3 The occasional crunch underfoot
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT nw
MATCHWAIT

toRST3:
SAVE toRST3
MATCH toRST4 farmers have built a wooden
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT nw
MATCHWAIT

toRST4:
SAVE toRST4
MATCH toRST5 pile of decomposing weeds
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT n
MATCHWAIT

toRST5:
MOVE nw
PAUSE
MOVE nw
MOVE nw
MOVE n
MOVE n
SETVARIABLE currLocation RST
GOTO SIMPLE_TRAVEL

RST-leucro:
MOVE n
MOVE ne
MOVE ne
MOVE e
MOVE n
MOVE ne
MOVE ne
MOVE ne
MOVE ne
MOVE e
MOVE e
MOVE ne
MOVE ne
MOVE ne
MOVE e
MOVE ne
MOVE ne
PAUSE
ECHO
ECHO *** Go east to enter the silver leucro area
ECHO
GOTO finish

RST-merrow:
MOVE nw
MOVE w
MOVE w
MOVE w
MOVE w
MOVE w
MOVE nw
MOVE w
MOVE nw
MOVE nw
MOVE w
MOVE nw
MOVE nw
MOVE w
MOVE w
MOVE nw
MOVE nw
MOVE w
MOVE go thin trail
MOVE climb down path
MOVE climb down path
MOVE climb down path
MOVE climb down path
MOVE climb down path
MOVE climb down path
MOVE climb down path
MOVE climb down path
PAUSE
ECHO
ECHO *** Merrows
ECHO *** Go through the fissure and follow the trail southward to merrows
ECHO *** But you must have decent swimming to get back out!
ECHO       (Don't hurt the selkies!)
ECHO
GOTO finish
EXIT

4th-poke:
PAUSE
MOVE n
MOVE n
MOVE n
MOVE n
MOVE n
MOVE e
MOVE e
MOVE go gate
MOVE n
MOVE ne
MOVE ne
MOVE ne
MOVE e
MOVE e
MOVE e
MOVE ne
MOVE ne
MOVE n
MOVE ne
MOVE ne
MOVE nw
MOVE w
MOVE nw
MOVE n
MOVE ne
MOVE e
MOVE e
MOVE e
MOVE e
MOVE ne
MOVE n
MOVE n
MOVE ne
MOVE n
MOVE ne
MOVE e
MOVE ne
MOVE ne
MOVE n
MOVE ne
MOVE n
MOVE n
MOVE n
MOVE n
MOVE ne
MOVE n
MOVE n
MOVE ne
MOVE ne
MOVE ne
MOVE ne
MOVE e
MOVE e
MOVE ne
MOVE ne
MOVE ne
MOVE e
MOVE ne
MOVE e
MOVE e
MOVE go bridge
MOVE climb trail
MOVE n
MOVE ne
MOVE ne
MOVE ne
MOVE n
MOVE n
MOVE e
MOVE se
MOVE ne
MOVE ne
MOVE ne
MOVE e
MOVE e
MOVE go bridge
MOVE e
MOVE ne
MOVE ne
MOVE ne
MOVE e
MOVE e
MOVE e
MOVE e
MOVE se
MOVE ne
MOVE se
MOVE ne
MOVE n
MOVE ne
MOVE e
MOVE e
MOVE se
MOVE se
MOVE e
MOVE se
PAUSE
ECHO
ECHO *** Pokekehekepi Beachhead
ECHO *** dolomars, warklin, maulers, malchata
ECHO *** dock for the Halasa Selhin to Aesry
ECHO
GOTO finish
EXIT

# =====================
# LOCATIONS TO 4TH TIER
# =====================
leucro-RST:
PAUSE
MOVE sw
MOVE sw
MOVE w
MOVE sw
MOVE sw
MOVE sw
MOVE w
MOVE w
MOVE sw
MOVE sw
MOVE sw
MOVE sw
MOVE s
MOVE w
MOVE sw
MOVE sw
MOVE s

RST-4th:
MOVE s
MOVE s
MOVE se
MOVE se
MOVE se
MOVE s
ECHO
ECHO *** Entering a muddy section of the Reshalia Trade Road
ECHO
PAUSE

MATCH fromRST1 No one!
MATCH groupfromRST1 Wealth
PUT assess group
PUT wealth
MATCHWAIT

groupfromRST1:
SAVE groupfromRST1
MATCH groupfromRST2a The occasional crunch underfoot
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT se
MATCHWAIT

groupfromRST2a:
SAVE groupfromRST2b
PAUSE
MATCH fallen who is lying down
MATCH fallen (prone)

MATCHRE groupfromRST2b /Obvious (exit|path)/
MATCH groupfromRST2a ...wait
PUT peer northwest
MATCHWAIT

groupfromRST2b:
SAVE groupfromRST2b
MATCH groupfromRST3a A pedal mill stands astride
MATCH groupfromRST3a Two large Gor'Togs,
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT se
MATCHWAIT

groupfromRST3a:
SAVE groupfromRST3b
PAUSE
MATCH fallen who is lying down
MATCH fallen (prone)
MATCHRE groupfromRST3b /Obvious (exit|path)/
MATCH groupfromRST3a ...wait
PUT peer northwest
MATCHWAIT

groupfromRST3b:
SAVE groupfromRST3b
MATCH groupfromRST4a The road takes a sharp turn
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT se
MATCHWAIT

groupfromRST4a:
SAVE groupfromRST4b
PAUSE
MATCH fallen who is lying down
MATCH fallen (prone)
MATCHRE groupfromRST4b /Obvious (exit|path)/
MATCH groupfromRST4a ...wait
PUT peer northwest
MATCHWAIT

groupfromRST4b:
SAVE groupfromRST4b
MATCH groupfromRST5a It looks like someone discarded
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT sw
MATCHWAIT

groupfromRST5a:
SAVE fromRST5
PAUSE
MATCH fallen who is lying down
MATCH fallen (prone)
MATCHRE fromRST5 /Obvious (exit|path)/
MATCH groupfromRST5a ...wait
PUT peer northeast
MATCHWAIT

fromRST1:
SAVE fromRST1
MATCH fromRST2 The occasional crunch underfoot
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT se
MATCHWAIT

fromRST2:
SAVE fromRST2
MATCH fromRST3 A pedal mill stands astride
MATCH fromRST3 Two large Gor'Togs,
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT se
MATCHWAIT

fromRST3:
SAVE fromRST3
MATCH fromRST4 The road takes a sharp turn
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT se
MATCHWAIT

fromRST4:
SAVE fromRST4
MATCH fromRST5 It looks like someone discarded
MATCHRE stand /You slip in the mud|You can't do that while|...wait|type ahead/
PUT sw
MATCHWAIT

fromRST5:
MOVE sw
PAUSE
MOVE sw
MOVE se
MOVE sw

MATCH waitforfromRST5cont You can't go there
MATCH fromRST5cont Just to the northeast
PUT sw
PUT look
MATCHWAIT

waitforfromRST5cont:
ECHO
ECHO *** There is a stupid farmer or farm animals blocking the trade road.
ECHO *** You must wait for them to pass.
ECHO
MATCH startfromRST5cont traffic starts
MATCH startfromRST5cont The herd of pigs finally passes
MATCH startfromRST5cont The stolid farmer slaps the reins on his team one more time
MATCHWAIT

startfromRST5cont:
MOVE sw
fromRST5cont:
MOVE sw
MOVE sw
MOVE se
MOVE se
MOVE sw
MOVE se
MOVE se
MOVE s
undead-4th:
MOVE s
MOVE sw
MOVE s
MOVE s
MOVE se
MOVE se
MOVE go gate
MOVE e
MOVE e
GOTO gate-4th

merrow-RST:
PAUSE
MOVE climb up path
MOVE climb up path
MOVE climb up path
MOVE climb up path
MOVE climb up path
MOVE climb up path
MOVE climb up path
MOVE climb up path
MOVE go thin trail
MOVE e
MOVE se
MOVE se
MOVE e
MOVE e
MOVE se
MOVE se
MOVE e
MOVE se
MOVE se
MOVE e
MOVE se
MOVE e
MOVE e
MOVE e
MOVE e
MOVE e
MOVE se
SETVARIABLE currLocation RST
GOTO SIMPLE_TRAVEL

poke-4th:
PAUSE
MOVE nw
MOVE w
MOVE nw
MOVE nw
MOVE w
MOVE w
MOVE sw
MOVE s
MOVE sw
MOVE nw
MOVE sw
MOVE nw
MOVE w
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE sw
MOVE sw
MOVE w
MOVE go bridge
MOVE w
MOVE w
MOVE sw
MOVE sw
MOVE sw
MOVE nw
MOVE w
MOVE s
MOVE s
MOVE sw
MOVE sw
MOVE sw
MOVE s
MOVE climb gorge
MOVE go bridge
MOVE w
MOVE w
MOVE sw
MOVE w
MOVE sw
MOVE sw
MOVE sw
MOVE w
MOVE w
MOVE sw
MOVE sw
MOVE sw
MOVE sw
MOVE s
MOVE s
MOVE sw
MOVE s
MOVE s
MOVE s
MOVE s
MOVE sw
MOVE s
MOVE sw
MOVE sw
MOVE w
MOVE sw
MOVE s
MOVE sw
MOVE s
MOVE s
MOVE sw
MOVE w
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE s
MOVE se
MOVE e
MOVE se
MOVE sw
MOVE sw
MOVE s
MOVE sw
MOVE sw
MOVE w
MOVE w
MOVE w
MOVE sw
MOVE sw
MOVE sw
MOVE s
MOVE go gate
MOVE w
MOVE w
GOTO gate-4th

stables-4th:
PAUSE
MOVE e
MOVE out
MOVE go gate
MOVE e
MOVE e
GOTO gate-4th

gate-4th:
MOVE s
MOVE s
MOVE s
MOVE s
MOVE s
SETVARIABLE currLocation 4th
GOTO SIMPLE_TRAVEL

ALREADYTHERE:
PAUSE
ECHO
ECHO *** You are already at that location!
ECHO *** For your destination you entered: "%1"
ECHO
EXIT


====================
1st-hatchling:
PAUSE
ECHO
ECHO *** To fight kra'hei GO GRATING then GO VALVE
ECHO *** To fight hatchlings GO GRATING then GO PASSAGE
ECHO
GOTO finish

2nd-hatchling:
PAUSE
ECHO
ECHO *** To fight kra'hei GO DRAIN then GO VALVE
ECHO *** To fight hatchlings GO DRAIN then GO OPENING
ECHO
GOTO finish

3rd-hatchling:
PAUSE
ECHO
ECHO *** To fight kra'hei GO GRATING then GO VALVE
ECHO *** To fight hatchlings GO GRATING then GO CREVICE
ECHO
GOTO finish

# ========
gofindraif1:
GOTO raif_checksetup_%raif_issetup

raif_checksetup_%raif_issetup:
PAUSE
SETVARIABLE raif_issetup true
SETVARIABLE r0 look
SETVARIABLE r1 e
SETVARIABLE r2 ne
SETVARIABLE r3 ne
SETVARIABLE r4 ne
SETVARIABLE r5 e
SETVARIABLE r6 ne
SETVARIABLE r7 e
SETVARIABLE r8 e
SETVARIABLE r9 se
SETVARIABLE r10 se
SETVARIABLE r11 s
SETVARIABLE r12 se
SETVARIABLE r13 s
SETVARIABLE r14 se
SETVARIABLE r15 s
SETVARIABLE r16 s
SETVARIABLE r17 s
SETVARIABLE r18 s
SETVARIABLE r19 s
SETVARIABLE r20 se
SETVARIABLE r21 se
SETVARIABLE r22 ne
SETVARIABLE r23 w
SETVARIABLE r24 e
SETVARIABLE r25 se
SETVARIABLE r26 e
SETVARIABLE r27 e
SETVARIABLE r28 ne
SETVARIABLE r29 e
SETVARIABLE r30 ne
SETVARIABLE r31 n
SETVARIABLE r32 s
SETVARIABLE r33 sw
SETVARIABLE r34 w
SETVARIABLE r35 sw
SETVARIABLE r36 w
SETVARIABLE r37 w
SETVARIABLE r38 nw
SETVARIABLE r39 sw
SETVARIABLE r40 nw
SETVARIABLE r41 nw
SETVARIABLE r42 n
SETVARIABLE r43 w
SETVARIABLE r44 w
SETVARIABLE r45 w
SETVARIABLE r46 w
SETVARIABLE r47 w
SETVARIABLE r48 w
SETVARIABLE r49 nw
SETVARIABLE r50 w
SETVARIABLE r51 sw
SETVARIABLE r52 w
SETVARIABLE r53 w
SETVARIABLE r54 w
SETVARIABLE r55 sw
SETVARIABLE r56 w
SETVARIABLE r57 sw
SETVARIABLE r58 w
SETVARIABLE r59 w
SETVARIABLE r60 sw
SETVARIABLE r61 sw
SETVARIABLE r62 w
SETVARIABLE r63 sw
SETVARIABLE r64 sw
SETVARIABLE r65 ne
SETVARIABLE r66 n
SETVARIABLE r67 n
SETVARIABLE r68 n
SETVARIABLE r69 ne
SETVARIABLE r70 n
SETVARIABLE r71 n
SETVARIABLE r72 ne
SETVARIABLE r73 n
SETVARIABLE r74 nw
SETVARIABLE r75 n
SETVARIABLE r76 n
SETVARIABLE r77 ne
SETVARIABLE r78 ne
SETVARIABLE r79 e
SETVARIABLE r80 ne
SETVARIABLE r81 nw
SETVARIABLE r82 w
SETVARIABLE r83 n
SETVARIABLE r84 ne
SETVARIABLE r85 n
SETVARIABLE r86 ne
SETVARIABLE r87 ne
SETVARIABLE r88 e
SETVARIABLE r89 ne
SETVARIABLE r90 e
SETVARIABLE r91 e
SETVARIABLE r92 ne
SETVARIABLE r93 e
SETVARIABLE r94 s
SETVARIABLE r95 s
SETVARIABLE r96 e
SETVARIABLE r97 ne
SETVARIABLE r98 ne
SETVARIABLE r99 sw
SETVARIABLE r100 sw
SETVARIABLE r101 se
SETVARIABLE r102 s
SETVARIABLE r103 s
SETVARIABLE r104 se
SETVARIABLE r105 e
SETVARIABLE r106 s
SETVARIABLE r107 s
SETVARIABLE r108 s
SETVARIABLE r109 se
SETVARIABLE r110 s
SETVARIABLE r111 se
SETVARIABLE r112 se
SETVARIABLE r113 ne
SETVARIABLE r114 sw
SETVARIABLE r115 s
SETVARIABLE r116 s
SETVARIABLE r117 s
SETVARIABLE r118 w
SETVARIABLE r119 nw
SETVARIABLE r120 w
SETVARIABLE r121 sw
SETVARIABLE r122 w
SETVARIABLE r123 w
SETVARIABLE r124 w
SETVARIABLE r125 sw
SETVARIABLE r126 n
SETVARIABLE r127 n
SETVARIABLE r128 nw
SETVARIABLE r129 n
SETVARIABLE r130 w
SETVARIABLE r131 nw
SETVARIABLE r132 n
SETVARIABLE r133 n
SETVARIABLE r134 nw
SETVARIABLE r135 nw
SETVARIABLE r136 ne
SETVARIABLE r137 e
SETVARIABLE r138 e
SETVARIABLE r139 e
SETVARIABLE r140 se
SETVARIABLE r141 e
SETVARIABLE r142 e
SETVARIABLE r143 e
SETVARIABLE r144 e
SETVARIABLE r145 sw
SETVARIABLE r146 w
SETVARIABLE r147 none

raif_checksetup_true:
ECHO
ECHO *** Now seeking out Raif!
ECHO
COUNTER SET -1

findraif_update:
COUNTER ADD 1
SETVARIABLE movenext %%r%c
MATCH foundraif Raif
MATCH gofindraif2 Please rephrase
MATCHRE findraif_update /Obvious (exit|path)/i
PUT  %movenext
MATCHWAIT

gofindraif2:
PAUSE
ECHO
ECHO *** Searching for Raif again!
ECHO *** He must be hiding, that sneaky ne'r-do-well!
GOTO raif_checksetup_true

foundraif:
PAUSE
ECHO
ECHO *** You have found Raif!
ECHO *** Better do what you need before he disappears!
ECHO
GOTO finish

====================
stand:
PUT stand
PAUSE
GOTO %s

fallen:
ECHO
ECHO ===========================
ECHO *** Someone has fallen in the road.  Waiting for them to catch up.
ECHO *** Type GLANCE when you are ready to continue
ECHO ===========================
PUT Yell Stand up and follow me!
PAUSE
WAITFOR You glance
GOTO %s

HELP_DESTINATION:
PAUSE
PUT ECHO /on
WAITFOR EchoColumn
ECHO ===================================================
ECHO *** List of possible destination and starting locations:
ECHO *** Use first 4 letters (where applicable) for accurate target destinations
ECHO
ECHO *** ESSENTIAL SERVICES
ECHO  * 1st, 2nd, 3rd, 4th => tiers, outside sewers
ECHO  * green              => hang out spot
ECHO  * bank               => Bank on 1st tier
ECHO  * 3bank              => Bank on 3rd tier
ECHO  * jail || guard      => Guardhouse on 1st tier
ECHO  * 3jail              => Jail on 3rd tier
ECHO  * Clinic             => Hospital
ECHO  * Gems               => Gem shop
ECHO  * Pawn               => Pawn shop
ECHO  * Vault              => Carousal vaults
ECHO  * MAMAS              => Item weighing
ECHO  * Furrier            => Pelt-selling shop
ECHO  * Debt               => Debt collection office
ECHO  * Stables            => Horse stables
ECHO  * Depart             => Depart location
ECHO  * Portals            => wedding, premium, events
ECHO  * Any stat training  => Int, Wis, Dis, Str, Sta, Agi, Ref, Cha
ECHO
ECHO *** SOCIETIES
ECHO  * Engineering
ECHO  * Alchemy
ECHO  * Outfitting
ECHO  * Forging
ECHO ...
PAUSE 2
ECHO *** SHOPS
ECHO  * Herbs
ECHO  * Origami
ECHO  * Bait Shop
ECHO  * Locksmith (Raif)
ECHO  * Chandlery
ECHO  * Hermit Shack
ECHO  * Leather repair (also masks and embossing)
ECHO  * Metal repair
ECHO  * Hair Care
ECHO  * Instruments
ECHO  * Tailor
ECHO  * Exotics
ECHO  * Rialto (divine shop)
ECHO  * Majik Shop
ECHO  * Tattoo
ECHO  ...
PAUSE 2
ECHO *** CITY EXITS
ECHO  * Taisgath
ECHO  * Neh Dock      => Kree'la to Haven, Skirr'lolasu to Crossing
ECHO  * Uaro Dock     => Halasa Selhin to Aesry
ECHO  * Uasin Dock    => Tasia'zaul to Hara'jaal
ECHO
ECHO *** HUNTING
ECHO  * Seerah        => sprites, crabs, la'heke
ECHO  * Swain         => tavern back room
ECHO  * Kra'hei       => hatchlings
ECHO  * Moruryn
ECHO  * Undead        => sailors, pirates, spirits
ECHO  * Merrows
ECHO  * Leucros
ECHO  * Pokekehekepi  => dolomar, warklins, maulers, malchata
ECHO ===================================================
PUT ECHO /off
EXIT

NODESTINATION:
ECHO =============================================
ECHO *** To use this script type .{scriptname} {destination}
ECHO *** For example, to go to the gem shop type:  .ratha gem
ECHO *** For destination list, type .ratha help
ECHO =============================================
ECHO
EXIT

====================
FINISH:
PAUSE
ECHO
ECHO *** YOU HAVE ARRIVED ***
ECHO
EXIT