begin	click caines
c	express_main_caines_clicked	true
h	I am on the train to meet my old professor, and I heard a gunshot! I should ask the other passengers if they're ok.
l	express_main
end

begin	search hammond
r	click caines
c	express_hammond_commenteddead	true
h	I should ask the other passenger about the man who just left.
l	express_main
end

begin	search hammond at hammond
r	click caines
c	express_hammond_commenteddead	true
h	I should ask the other passenger about the man who just left.
l	express_hammond

begin	hammond ho
r	search hammond
c	express_hammondho_completed	true
h	What happened here? I should search around the body for clues.
l	express_hammond
end

begin	find trolley stop
r	hammond ho
c	visited_station_trolleystop	true
h	I should hurry to meet Professor Lunn, he might be in danger! Also, I should keep an eye out for bonus items like the one hidden in this location.
i	hint_station_mainImageMap
l	station_main
end

begin	get address clue
r	find trolley stop
c	station_trolleystop_gotclue	true
h	That man dropped a note as he left the tram stop.  I should take a look at it.
l	station_trolleystop
end

begin	find imperial majestic
r	get address clue
c	visited_station_platform	true
h	I need a blue tram ticket to get to Professor Lunn's. If I look around the station some more, maybe I can find one.
l	station_main
end

begin	find vending machine
r	get address clue
r	find imperial majestic
c	visited_station_vend	true
h	The vending machines near the Imperial Majestic might sell tram tickets.
l	station_platform
end

begin	get coin
r	find vending machine
c	station_vend_gotcoin	true
h	It looks like someone left a coin in the ticket machine near the Imperial Majestic.
l	station_vend
end

begin	get blue ticket
r	get coin
c	station_vend_gotblueticket	true
h	I can use the coin I found to buy a blue tram ticket from the ticket machine.
l	station_vend
end

begin	go to apartment
r	get blue ticket
c	visited_apartment_exterior	true
h	Now that I have a ticket, I can ride the blue tram to go to the Professor's apartment.
l	station_trolleystop
end

begin	enter apartment
r	go to apartment
c	visited_apartment_interior	true
h	I should go into the Professor's apartment and make sure he's alright.
l	apartment_exterior
end

begin	light apartment lamp
r	enter apartment
c	apartment_interior_lamplit	true
h	It's too dark to see much.  I should light that lamp with one of my matches.
l	apartment_interior
end

begin	talk to lunn
r	light apartment lamp
c	apartment_turret_lunndead	true
h	I think I missed something in the left corner of the Professor's apartment.
l	apartment_interior
end

begin	apartment room ho
r	talk to lunn
c	apartment_roomho_completed	true
h	Caines has killed my dear professor! I've got to stop him! I should search his desk for clues.
l	apartment_interior
end

begin	remove painting
r	talk to lunn
c	apartment_interior_paintingremoved	true
h	Lunn said there was a safe hidden in the chimney.  Maybe it's behind the painting?
l	apartment_interior
end

begin	break bricks
r	remove painting
r	apartment room ho
c	apartment_interior_bricksbroken	true
h	The safe must be behind those bricks.  I can probably break them apart with a hammer.
l	apartment_interior
end

begin	solve safe
r	break bricks
c	apartment_safebox_completed	true
h	I should open Professor Lunn's safe before I go.
l	apartment_interior
end

begin	get money from safe
r	solve safe
c	apartment_safebox_gotcoin	true
h	I could really use that money Professor Lunn's kept in his safe.
l	apartment_interior
end

begin	get card from safe
r	solve safe
c	apartment_safebox_gotcard	true
h	I should take the business card from Professor Lunn's safe.
l	apartment_interior
end

begin	get red ticket
r	get money from safe
r	get card from safe
c	station_vend_gotredticket	true
h	I should head back to the train station and buy a ticket for the trolley to the bazaar.
l	station_vend
end

begin	go to bazaar
r	get red ticket
c	visited_bazaar_entrance	true
h	With this red ticket, I can ride the red trolley to Chang's Emporium in the bazaar.
l	station_trolleystop
end

begin	go to changs
r	go to bazaar
c	visited_bazaar_storefront	true
h	This is the bazaar, Chang's store must be somewhere inside.
l	bazaar_entrance
end

begin	table ho
r	go to changs
c	bazaar_tableho_completed	true
h	This stall is so cluttered.  I need to look closely for something important.
l	bazaar_storefront
end

begin	solve table puzzle
r	table ho
c	bazaar_tablecloth_completed	true
h	The design on the tablecloth looks important, I should take a closer look.
l	bazaar_storefront
end

begin	go to changs for real
r	solve table puzzle
c	visited_bazaar_changs	true
h	Chang's store must have been hidden behind this secret door.  I should go through it.
l	bazaar_storefront
end

begin	convince huang
r	go to changs for real
c	bazaar_persuade_completed	true
h	I need to talk to the man in Chang's store.
l	bazaar_changs
end

begin	talk to chang
r	convince huang
c	bazaar_changs_talkedtochang	true
h	I should talk to Chang, who is apparently in the cage hanging from the ceiling.
l	bazaar_changs
end

begin	scroll ho
r	talk to chang
c	bazaar_scrollho_completed	true
h	Chang wants me to find all the parts of this relic before he will trust me.
l	bazaar_changs
end

begin	scroll assembly
r	scroll ho
c	bazaar_scrollpuzz_completed	true
h	I've passed Chang's test.  I should talk to him again.
l	bazaar_changs
end

begin	pod ho
r	scroll assembly
c	bazaar_podho_completed	true
h	The scroll wants me to look here. I should check the contents of that compartment thoroughly.
l	bazaar_changs
end

begin	first jade piece
r	pod ho
c	bazaar_changs_glyphAvailable	true
h	I've discovered the Scroll of Songs! I must find its jade pieces to unlock the secrets of the dragon wheel.
i	hint_scrollImageMap
l	bazaar_changs
end

begin	have to get the glyph
r	first jade piece
c	bazaar_changs_gotGlyph	true
h	I need to take the glyph from Huang. I'll need it to board the Imperial Majestic.
l	bazaar_changs
end

begin	open vending machine
r	have to get the glyph
c	station_vend_opened	true
h	I need to find a way to get on board the Imperial Majestic as quickly as possible!
l	station_vend
end

begin	hack vending machine
r	open vending machine
c	station_vend_completed	true
h	If I do it right, I bet I can make the vending machine give me some firecrackers for free.
l	station_vend
end

begin	get firecrackers
r	hack vending machine
c	station_vend_gotfirecrackers	true
h	I should take those firecrackers.
l	station_vend
end

begin	firecrackers in bin
r	get firecrackers
c	station_vend_firecrackersplaced	true
h	These firecrackers will make a real racket if I set them off in that rubbish bin.
l	station_vend
end

begin	distract guard
r	firecrackers in bin
c	station_platform_guarddistracted	true
h	I should toss a match in with the firecrackers.  They aren't going to go off on their own!
l	station_vend
end

begin	approach caboose
r	distract guard
c	visited_station_caboose	true
h	With the guard distracted, I can get closer to the Imperial Majestic.
l	station_platform
end

begin	apply door glyph
r	approach caboose
c	station_caboose_usedglyph	true
h	I think this glyph I have will fit into that slot on the caboose.
l	station_caboose
end

begin	board the imperial majestic
r	apply door glyph
c	visited_baggage_main	true
h	The door is open!  Now I can sneak aboard the Imperial Majestic.
l	station_caboose
end

begin	light baggage lamp
r	board the imperial majestic
c	baggage_main_lamplit	true
h	It's really dark in here!  Fortunately there's a lamp, and I still have matches.
l	baggage_main
end

begin	baggage ho
r	light baggage lamp
c	baggage_luggageho_completed	true
h	This luggage is in my way.  I'll have to plough through it to get anywhere.
l	baggage_main
end

begin	baggage maze
r	baggage ho
c	visited_baggage_exit	true
h	I've got to go deeper in if I want to find a way into the train.
l	baggage_main
end

begin	open baggage hatch
r	baggage maze
c	baggage_exit_completed	true
h	I should be able to open this hatch with the help of the screwdriver I found.
l	baggage_exit
end

begin	baggage exit
r	baggage maze
c	visited_caboose_main	true
h	Now that this hatch is open, I can get out of the baggage compartment.
l	baggage_exit
end

begin	get nozzle
r	visit caboose balcony
c	caboose_main_gotnozzle	true
h	It looks like there's something I should pick up on the caboose balcony.
l	caboose_balcony
end

begin	get trigger
r	visit observatory
c	caboose_main_gottrigger	true
h	It looks like there's something I should pick up in the front of the observatory car.
l	observatory_lower
end

begin	fix winch chain
r	get trigger
r	get nozzle
c	caboose_winch_completed	true
h	This blowtorch could mend the broken chain on the winch in the caboose.
l	caboose_main
end

begin	open wheel cage
r	fix winch chain
c	caboose_main_wheelEverOpened	true
h	Now that the winch in the caboose is fixed, I can use it to open the door it's attached to.
l	caboose_main
end

begin	visit wheel
r	open wheel cage
c	visited_caboose_wheel	true
h	I should investigate inside the compartment that's opened by the winch in the caboose.
l	caboose_main
end

begin	caboose ho
r	baggage exit
c	caboose_shelfho_completed	true
h	The caboose is full of interesting things.  I should look around it for anything useful.
l	caboose_main
end

begin	use sunface
r	caboose ho
c	caboose_door_usedsunface	true
h	This emblem I found looks like it might fit into the door at the end of the caboose.
l	caboose_main
end

begin	open caboose door
r	use sunface
c	caboose_door_completed	true
h	If I solve the puzzle of the flipping tiles on the door, I can move further up the train.
l	caboose_main
end

begin	visit caboose balcony
r	baggage exit
c	visited_caboose_balcony	true
h	There's a balcony at the very back of the train.  I wonder what's out there?
l	caboose_main
end

begin	get cannon gear
r	visit caboose balcony
c	caboose_cannon_gotcog2	true
h	The cannon on the balcony had some parts that might be useful.
l	caboose_balcony
end

begin	visit observatory
r	open caboose door
c	visited_observatory_main	true
h	Now that I've opened the door, I should explore further up the train.
l	caboose_main
end

begin	observatory stairs
r	visit observatory
c	observatory_main_completed	true
h	If I can figure out the stairs in the observatory car, I can get to the upper level.
l	observatory_main
end

begin	visit observatory top
r	observatory stairs
c	visited_observatory_upper	true
h	With the stairs in the observatory car positioned correctly, I can explore the upper level.
l	observatory_main
end

begin	observatory guard ho
r	visit observatory top
c	observatory_guardho_completed	true
h	I should be able to pick up a few things from around the sleeping guard in the observatory, if I'm careful.
l	observatory_upper
end

begin	cogwheel1
r	get cannon gear
r	observatory guard ho
r	caboose ho
r	visit wheel
c	caboose_wheel_cog1placed	true
h	The Dragon Wheel! I've found some of the pieces I need to start fixing it!
l	caboose_main
end

begin	cogwheel2
r	get cannon gear
r	observatory guard ho
r	caboose ho
r	visit wheel
c	caboose_wheel_cog2placed	true
h	The Dragon Wheel! I've found some of the pieces I need to start fixing it!
l	caboose_main
end

begin	cogwheel3
r	get cannon gear
r	observatory guard ho
r	caboose ho
r	visit wheel
c	caboose_wheel_cog3placed	true
h	The Dragon Wheel! I've found some of the pieces I need to start fixing it!
l	caboose_main
end

begin	take gem
r	cogwheel1
r	cogwheel2
r	cogwheel3
c	caboose_wheel_gotgem	true
h	The gears of the Dragon Wheel have gotten jammed on something.  I should clear it out.
l	caboose_wheel
end

begin	visit bar
r	take gem
c	visited_bar_main	true
h	The key I found lodged in the dragon wheel might unlock that door in the observatory car.
l	observatory_lower
end

begin	persuade bartender
r	visit bar
c	bar_persuade_completed	true
h	I should talk to the bartender.  I could really use someone else on my side on this train.
l	bar_main
end

begin	visit kitchen
r	persuade bartender
c	visited_bar_kitchen	true
h	The bartender said he'd help me out if I make the guards a snack. I should go to the kitchen.
l	bar_main
end

begin	kitchen ho
r	visit kitchen
c	bar_kitchenho_completed	true
h	I should search the kitchen shelves for ingredients.
l	bar_kitchen
end

begin	cook meal
r	kitchen ho
c	bar_stove_completed	true
h	I can use the ingredients I found with the stove in the kitchen to make some food.
l	bar_kitchen
end

begin	get baseright
r	cook meal
c	bar_main_gotbaseright	true
h	I should see what the bartender has for me now that I've done his job for him.
l	bar_main
end

begin	place baseright
r	get baseright
c	caboose_wheel_baserightplaced	true
h	I should put this piece of the Dragon Wheel back in its proper spot.
l	caboose_wheel
end

begin	place pegsright
r	place baseright
c	caboose_wheel_pegcompletedright	true
h	The scroll indicates that these pegs fit into the Dragon Wheel in a certain way.  I should try that.
l	caboose_wheel
end

begin	get drug talk
r	place pegsright
c	bar_main_bartendergavedrugtalk	true
h	I should talk to the bartender again.  Maybe he knows about other pieces of the Dragon Wheel.
l	bar_main
end

begin	take sedatives
r	get drug talk
c	bar_bartender_gotSedatives	true
h	I think the bartender left something on the bar for me...
l	bar_main
end

begin	drug guard
r	take sedatives
c	bar_slot_guarddrugged	true
h	If I put these tranquilizers into the guard's liquor, he'll drop like a rock.
l	bar_kitchen
end

begin	visit dining room
r	drug guard
c	visited_bar_dining	true
h	The guard captain is taking a little nap! I can explore further up the train now and find more parts of the Dragon Wheel.
l	bar_main
end

begin	leftovers ho
r	visit dining room
c	bar_leftoversho_completed	true
h	It looks like the guards left some things behind after they finished their meal.
l	bar_dining
end

begin	visit hall
r	visit dining room
c	visited_hall_main	true
h	I should explore further up the train.
l	bar_dining
end

begin	visit lab
r	visit hall
c	visited_hall_lab	true
h	I should check all the doors leading off of the hallway.  Maybe one is unlocked.
l	hall_main
end

begin	lab shelf ho
r	visit lab
c	hall_shelfho_completed	true
h	The shelves in the lab might contain a few interesting items.
l	hall_lab
end

begin	fix buddha
r	lab shelf ho
c	observatory_buddha_completed	true
h	I think there's a damaged statue in the observatory I can fix now.
l	observatory_lower
end

begin	buddha basebit
r	fix buddha
c	observatory_buddha_gotbasebit	true
h	It looks like part of the Dragon Wheel was stashed in the statue I fixed.
l	observatory_lower
end

begin	cupboard basebit
r	visit lab
c	hall_lab_gotbasebit	true
h	I should look through the cupboards in the laboratory for anything useful.
l	hall_lab
end

begin	open bar compartment
r	lab shelf ho
c	bar_compartment_completed	true
h	I think I can use this fish emblem somewhere in the bar car.
l	bar_main
end

begin	bar basebit
r	open bar compartment
c	bar_compartment_gotbasebit	true
h	The compartment in the bar holds a piece of the Dragon Wheel.  I should retrieve it!
l	bar_main
end 

begin	reassemble baseleft
r	lab shelf ho
r	cupboard basebit
r	buddha basebit
r	bar basebit
c	caboose_jigsaw_completed	true
h	I should go back to the Dragon Wheel and try to reassemble these pieces.
l	caboose_wheel
end

begin	place baseleft
r	reassemble baseleft
c	caboose_wheel_baseleftplaced	true
h	I can put this part of the Dragon Wheel back in its proper place now.
l	caboose_wheel
end

begin	get red peg 1
r	visit dining room
c	bar_dining_gotredpin	true
h	There's a red peg in the dining room.  I'll need it to continue repairing the Dragon Wheel.
l	bar_dining
end

begin	get red peg 2
r	visit bar
c	bar_main_gotredpin	true
h	There's a red-jewelled peg in the bar.  It looks like part of the Dragon Wheel, I should collect it.
l	bar_main
end

begin	get red peg 3
r	visit hall
c	hall_lab_gotredpin3	true
h	There's a red peg lying in the hallway.  I should pick it up.
l	hall_main
end

begin	place pegsleft
r	place baseleft
r	get red peg 1
r	get red peg 2
r	get red peg 3
r	leftovers ho
c	caboose_wheel_pegCompletedLeft	true
h	I should place the rest of the pegs I have into the Dragon Wheel.
l	caboose_wheel
end

begin	get captured
r	place pegsleft
c	caboose_main_captured	true
h	I should continue searching for parts of the Dragon Wheel.
l	hall_main
end

begin	open trapdoor
r	get captured
c	bed_trapdoor_completed	true
h	I need to escape and fix the Dragon Wheel! There's what looks a trap door in the floor of this car.  Maybe I can escape that way.
l	bed_main
end

begin	get rolltop key
r	open trapdoor
c	bed_trapdoor_gotdeskkey	true
h	No escaping through the trap door, but someone lost a key down there.  It might be useful.
l	bed_main
end

begin	unlock rolltop
r	get rolltop key
c	bed_main_drawerOpen	true
h	Too bad this key I found doesn't fit the door lock. It does looks like it might fit the desk's lock, though.
l	bed_main
end

begin	rolltop ho
r	unlock rolltop
c	bed_rolltopho_completed	true
h	I should search through the contents of that desk I just opened.
l	bed_main
end

begin	pick bedroom lock
r	rolltop ho
c	bed_bedroomlock_completed	true
h	Perhaps I could try picking the door lock with the hairpin I found.
l	bed_main
end

begin	observe no brakes
r	pick bedroom lock
c	caboose_brake_digression	true
h	I think I saw an emergency brake lever in the caboose - that would stop the train nicely.
l	caboose_main
end

begin	observe closet locked
r	observe no brakes
c	hall_closetlock_digression	true
h	The brake lever has been stuck in the closet next to the lab and bedroom, I should go there.
l	hall_main
end

begin	observe workbench broken
r	observe closet locked
c	hall_workbench_digression	true
h	I should try to make some acid using the workbench in the lab.
l	hall_lab
end

begin	observe fighting fish
r	observe workbench broken
c	bar_fishtank_digression	true
h	I think I might've seen the part I need at the bottom of the aquarium in the bar.
l	bar_main
end

begin	get fighting fish
r	observe fighting fish
c	bar_dining_gotfishbowl	true
h	I can get another fighting fish in the dining room.
l	bar_dining
end

begin	fight fighting fish
r	get fighting fish
c	bar_main_aquariumcleared	true
h	If I put my fish in with the one in the bar, I can get the part I need.
l	bar_main
end

begin	get lab machine part
r	fight fighting fish
c	bar_main_gotmolecule	true
h	Now that the fighting fish are dealt with I can get the part out of the aquarium.
l	bar_main
end

begin	repair lab machine
r	get lab machine part
c	hall_workbench_moleculeplaced	true
h	I can use the part I recovered from the aquarium to fix the machine in the lab.
l	hall_workbench
end

begin	make acid
r	repair lab machine
c	hall_workbench_completed	true
h	I can use the machine in the lab to make a strong acid.
l	hall_workbench
end

begin	melt closet lock
r	make acid
c	hall_closetlock_completed	true
h	I can use the acid I made to melt through the lock on the closet.
l	hall_main
end

begin	closet ho
r	melt closet lock
c	hall_closetho_completed	true
h	Now that I've unlocked the closet, I need to search it for the brake handle.
l	hall_main
end

begin	apply brake handle
r	closet ho
c	caboose_main_brakepulled	true
h	I can use this brake lever in the caboose to bring the train to a screeching halt.
l	caboose_main
end

begin	explore village
r	apply brake handle
c	visited_village_vladoho	true
h	I need more relics! While everyone on the train is distracted, I should search this town for parts of the Dragon Wheel!
l	village_main
end

begin	vlado ho
r	explore village
c	village_vladoho_completed	true
h	This diner is a mess, but maybe there are some secrets hiding in the rubble.
l	village_main
end

begin	persuade vlado
r	vlado ho
c	village_persuade_completed	true
h	This Vlado character probably knows what's going on here. I need to get him on my side.
l	village_vlados
end

begin	find nonnas
r	apply brake handle
c	visited_village_hutdoor	true
h	I should go to Nonna's house, with the smelling salts from Vlados.
l	village_main
end

begin	open nonnas door
r	find nonnas
r	persuade vlado
c	village_hutdoor_opened	true
h	Vlado told me of a secret knock I could use that would let me in to Nonna's house.
l	village_hutdoor
end

begin	enter nonnas
r	open nonnas door
c	visited_village_hut	true
h	Nonna's opened her door for me.  I should go inside.
l	village_hutdoor
end

begin	talk to nonna
r	enter nonnas
c	village_nonna_awake	true
h	I almost hate to wake her, but Nonna knows something about the Dragon Wheel.
l	village_hut
end

begin	get tea ingredients
r	talk to nonna
c	village_gardenho_completed	true
h	I need to find tea ingredients in Nonna's garden.
l	village_hutdoor
end

begin	make tea
r	get tea ingredients
c	village_kitchen_completed	true
h	I bet can make a fine cup of tea in Nonna's kitchen. She can probably tell me about Ancient Artifacts.
l	village_hut
end

begin	serve tea
r	make tea
c	village_nonna_hastea	true
h	Now that I've brewed some tea, I can serve it to Nonna. She can probably tell me about Ancient Artifacts.
l	village_hut
end

begin	take locket
r	serve tea
c	village_nonna_tooklocket	true
h	Nonna has offered me quite a precious gift - I shouldn't turn it down.
l	village_hut
end

begin	find balcony
r	apply brake handle
c	visited_village_balcony	true
h	I can still get on to the end of the caboose from here.
l	village_main
end

begin	get cannonball
r	find balcony
r	find nonnas
c	village_gotcannonball	true
h	There was a cannonball lying near that house that would likely fit into the cannon on the caboose.
l	village_hutdoor
end

begin	load cannon
r	get cannonball
c	village_balcony_cannonLoaded	true
h	I can load the cannon on the caboose with the cannonball I found lying around.
l	village_balcony
end

begin	oil cannon
r	vlado ho
r	find balcony
c	village_balcony_cannonOiled	true
h	I'll need to oil the cannon on the caboose if I want to aim it at anything.
l	village_balcony
end

begin	fire cannon
r	oil cannon
r	load cannon
c	village_balcony_cannonFired	true
h	The cannon on the caboose is aimed and loaded.  I just need to touch it off with a match.
l	village_balcony
end

begin	visit cavemouth
r	fire cannon
c	visited_village_cavemouth	true
h	Looks like I did some damage! I should investigate the wall I just knocked apart.
l	village_main
end

begin	open cavemouth
r	visit cavemouth
c	village_cavemouth_dooropen	true
h	Nonna said that using her locket would let me into the cave, I should that.
l	village_cavemouth
end

begin	enter cave
r	open cavemouth
c	visited_village_cave	true
h	The mouth of the cave has opened! I should explore inside.
l	village_cavemouth
end

begin	get tiny soldier
r	enter nonnas
c	village_carving_gotminisoldier	true
h	One of the stone carvings in Nonna's house might be useful.
l	village_hut
end

begin	use tiny soldier
r	enter cave
r	get tiny soldier
c	village_miniwheel_completed	true
h	I think the figure I found belongs with the others on the pedestal in the cave.
l	village_cave
end

begin	cave ho
r	use tiny soldier
c	village_caveho_completed	true
h	I should look around the cave now that it's better lit.
l	village_cave
end

begin	find cave chest
r	cave ho
c	village_cave_chestrevealed	true
h	An ancient stone chest has been revealed - what I'm looking for must be inside.
l	village_cave
end

begin	repair cave chest
r	find cave chest
c	village_chest_repaired	true
h	I need to fix the chest using the piece of metal I found in the cave.
l	village_cave
end

begin	open cave chest
r	repair cave chest
c	village_chest_completed	true
h	I need to open the ancient chest in the cave.
l	village_cave
end

begin	return to train
r	open cave chest
c	caboose_reboarded	true
h	The Scroll said that completing the Dragon Wheel might have dire consequences. I have to get back on board the Imperial Majestic!
l	village_main
end

begin	see guards
r	return to train
c	visited_caines_hall	true
h	I've got to make my way to the front of the train and confront the Emperor! The fate of the World could be at stake!
l	greenhouse_main
end

begin	gather smokebomb A
r	see guards
c	greenhouse_plantho_completed	true
h	The greenhouse likely contains fertilizer I could use for my knockout bomb.
l	greenhouse_main
end

begin	gather smokebomb B
r	see guards
c	caboose_shelfho2_completed	true
h	The caboose might have some flashpowder I could use for my knockout bomb.
l	caboose_main
end

begin	gather smokebomb C
r	see guards
c	bar_kitchenho2_completed	true
h	The kitchen might have some hot peppers I could use for my knockout bomb.
l	bar_kitchen
end

begin	assemble smokebomb
r	gather smokebomb A
r	gather smokebomb B
r	gather smokebomb C
c	hall_workbench_completed2	true
h	I can use the ingredients I've found and the machinery in the lab to make a knockout bomb.
l	hall_workbench
end

begin	kill guards
r	assemble smokebomb
c	caines_hall_guardsasleep	true
h	I can use the knockout bomb I've made to deal with the guards in the hallway.
l	caines_hall
end

begin	move to theatre car
r	kill guards
c	visited_theatre_main	true
h	With those guards out of the way, I can make my way to the front of the train.
l	caines_hall
end

begin	move to shrine car
r	move to theatre car
c	visited_shrine_main	true
h	With those guards out of the way, I can make my way to the front of the train.
l	theatre_main
end

begin	find dead emperor
r	move to theatre car
c	shrine_closeup_emperorisdead	true
h	Time to confront the Emperor.  I won't let him hide behind his screen any more!
l	shrine_main
end

begin	theatre ho
r	find dead emperor
c	theatre_stageho_completed	true
h	The theatre car looks lit up now, perhaps I can find some clues there.
l	theatre_main
end

begin	fix clock
r	theatre ho
c	greenhouse_clock_weightplaced	true
h	The weight I found could be used in the clock in the greenhouse.
l	greenhouse_main
end

begin	solve clock
r	fix clock
c	greenhouse_clock_completed	true
h	I should try to figure out the secrets of the clock in the greenhouse.
l	greenhouse_main
end

begin	loot clock
r	solve clock
c	greenhouse_clock_gotreddot	true
c	greenhouse_clock_gotwhitedot	true
h	I should take the contents of the clock in the greenhouse.
l	greenhouse_main
end

begin	visit caines bedroom
r	kill guards
c	visited_caines_bedroom	true
h	I should search the rooms off of the hallway after the greenhouse.
l	caines_hall
end

begin	fix candycane
r	visit caines bedroom
r	loot clock
c	caines_bedroom_completed	true
h	These dots I found look like they fill in the holes in the candycane in the second bedroom.
l	caines_bedroom
end

begin	enter office
r	fix candycane
c	visited_caines_office	true
h	Fixing the candycane revealed a secret entrance! I'd better check it out.
l	caines_bedroom
end

begin	visit tub
r	enter office
c	visited_caines_tub	true
h	What an odd tub.  I should look more closely.
l	caines_office
end

begin	reveal caines safe
r	visit tub
c	caines_safe_revealed	true
h	There's a suspicious panel on the wall behind Caines' bathtub.  Perhaps there is something behind it.
l	caines_tub
end

begin	open caines safe
r	reveal caines safe
c	caines_safe_completed	true
h	Caines has a safe above his tub.  With a little determination I'm sure I can open it.
l	caines_tub

begin	get caines powercell
r	open caines safe
c	caines_tub_gotPowerCell	true
h	Caines has a powercell stowed in his safe. I should take it.
l	caines_tub
end

begin	open bedroom cupboard
r	get captured
c	bed_main_tinydoorOpen	true
h	I should check the cupboards in the main bedroom for anything interesting.
l	bed_main
end

begin	get bedroom powercell
r	open bedroom cupboard
c	bed_main_gotpowerCell	true
h	There was a powercell in the cupboards in the bedroom.  I'm sure it will come in handy.
l	bed_main
end

begin	use powercells
r	get bedroom powercell
r	get caines powercell
c	observatory_panel_powercells_inserted	2
h	These powercells go into the top of the telescope in the observatory car.
l	observatory_upper
end

begin	solve observatory panel
r	use powercells
c	observatory_panel_completed	true
h	I can use the note on Caines' typewrite to solve the puzzle on the telescope.
l	observatory_upper
end

begin	enter telescope
r	solve observatory panel
c	visited_observatory_interior	true
h	The cage around the telescope in the lower observatory has unlocked.  I can go inside it now.
l	observatory_lower
end

begin	do skyho
r	enter telescope
c	observatory_skyho_completed	true
h	I should search the sky using the telescope in the observatory.
l	observatory_interior
end

begin	collect skyho loot
r	do skyho
c	observatory_interior_gotJade	true
c	observatory_interior_gotTrigram1	true
c	observatory_interior_gotTrigram2	true
c	observatory_interior_gotTrigram3	true
c	observatory_interior_gotTrigram4	true
c	observatory_interior_gotTrigram5	true
h	There's some things I should collect inside the telescope in the observatory.
l	observatory_interior
end

begin	slot more trigrams
r	collect skyho loot
c	caboose_wheel_trigramsPlaced	8
h	I've found more pieces of the Dragon Wheel, I should continue repairing it.
l	caboose_wheel
end

begin	arrange trigrams correctly
r	slot more trigrams
c	caboose_wheel_trigramsCompleted	true
h	The Scroll shows a waterwheel similar to the symbols on the Dragon Wheel.  I should match the pattern shown in the Scroll.
l	caboose_wheel
end

begin	discovered by caines
r	arrange trigrams correctly
c	caboose_main_cainesdiscovered	true
h	The Dragon Wheel is almost complete... I should continue my search.
l	caboose_main
end

begin	greenhouse digression
r	discovered by caines
c	greenhouse_digression	true
h	I've got to chase down Caines! He ran up the train.
l	shrine_main
end

begin	get trowel
r	greenhouse digression
c	greenhouse_plantho2_completed	true
h	I have to find something to pry up the tile on the greenhouse floor.
l	greenhouse_main
end

begin	lift greenhouse tile
r	get trowel
c	greenhouse_tile_lifted	true
h	I can use this trowel to lift the loose tile in the greenhouse floor.
l	greenhouse_main
end

begin	open greenhouse door
r	lift greenhouse tile
c	greenhouse_tile_completed	true
h	The switch in the greenhouse floor will unlock the door.
l	greenhouse_main
end

begin	shrine digression
r	open greenhouse door
c	shrine_digression	true
h	I've got to keep after Caines!  He's gone further up the train.
l	shrine_main
end

begin	extinguisher component A
r	shrine digression
c	theatre_stageho2_completed	true
h	I've got to put out that fire! There might be something I can use on the theatre stage.
l	theatre_main
end

begin	extinguisher component B
r	shrine digression
c	hall_closetho2_completed	true
h	I've got to put out that fire, but the extinguisher has no handle! The last time I needed a handle, I found it in the storage closet...
l	hall_main
end

begin	put out shrine fire
r	extinguisher component A
r	extinguisher component B
c	shrine_main_secretdooropen	true
h	I can put out the fire in the shrine car now that I have this fire extinguisher.
l	shrine_main
end

begin	visit secret car
r	put out shrine fire
c	visited_secret_hall	true
h	The fire revealed a secret door in the back of the shrine car.  What's in there?
l	shrine_main
end

begin	visit biolab
r	visit secret car
c	visited_secret_biolab	true
h	I should explore more of this secret area.
l	secret_biolab
end

begin	biolab ho
r	visit biolab
c	secret_bioho_completed	true
h	I should look around this hidden laboratory.
l	secret_biolab
end

begin	repair cryotubes
r	biolab ho
c	secret_cryotubes_fixed	true
h	The wires I found belong to the machinery in the hidden laboratory.
l	secret_biolab
end

begin	solve cryotubes
r	repair cryotubes
c	secret_cryotubes_completed	true
h	There must be something inside the tubes in the hidden laboratory, I should check all of them.
l	secret_biolab
end

begin	take emperorhand
r	solve cryotubes
c	secret_cryotubes_gothand	true
h	The Empress left something behind when she fled, it's probably useful.
l	secret_biolab
end

begin	unlock treasure door
r	take emperorhand
c	secret_hall_treasureDoorUnlocked	true
h	This hand might be used to unlock the other door in the secret chamber.
l	secret_hall
end

begin	go to treasure room
r	unlock treasure door
c	visited_secret_treasureho	true
h	It certainly can't hurt to have a look around the treasure room!
l	secret_hall
end

begin	treasure ho
r	go to treasure room
c	secret_treasureho_completed	true
h	I should search the treasure room for anything of interest.
l	secret_treasure
end

begin	fix urn
r	treasure ho
c	secret_urn_fixed	true
h	I found a piece that was missing from the urn in the treasure room, I need to repair it.
l	secret_treasure
end

begin	solve urn
r	fix urn
c	secret_urn_completed	true
h	The Scroll shows a pattern very similar to the one on the urn in the secret treasure room - there must be a link!
l	secret_treasure
end

begin	get taijitu pieces
r	solve urn
c	secret_urn_gotBlack	true
c	secret_urn_gotWhite	true
h	The urn in the treasure room contains the last pieces of the Dragon Wheel!
l	secret_treasure
end

begin	assemble taijitu pieces
r	get taijitu pieces
c	caboose_wheel_taijitu1placed	true
c	caboose_wheel_taijitu2placed	true
h	It seems I have no choice but to finish the reconstruction of the Dragon Wheel.
l	caboose_wheel
end

begin	watch caines get whacked
r	assemble taijitu pieces
c	caboose_main_cainesdead	true
h	The Dragon Wheel is completed.  Perhaps I can convince Caines to let me go...
l	caboose_main
end

begin	get dragon A
r	watch caines get whacked
c	bar_leftoversho2_completed	true
h	I've got to redirect the train and destroy the Dragon Wheel! One of the Dragon Controls is in the Dining Room.
l	bar_dining
end

begin	get dragon B
r	watch caines get whacked
c	bed_rolltopho2_completed	true
h	I've got to redirect the train and destroy the Dragon Wheel! One of the Dragon Controls is in the Main Bedroom.
l	bed_main
end

begin	get dragon C
r	watch caines get whacked
c	hall_shelfho2_completed	true
h	I've got to redirect the train and destroy the Dragon Wheel! One of the Dragon Controls is in the Chemistry Lab.
l	hall_lab
end

begin	fix train controls
r	get dragon A
r	get dragon B
r	get dragon C
c	secret_controls_dragon1_placed	true
c	secret_controls_dragon2_placed	true
c	secret_controls_dragon3_placed	true
h	I need to place the Dragon Controls in the control panel at the very front of the train. Quickly, before it's too late!
l	secret_main
end

begin	redirect train
r	fix train controls
c	secret_controls_completed	true
h	Quickly, I need to use the control panel at the front of the train!
l	secret_main
end

begin	post cixi hint
r	redirect train
c	secret_main_gotPostCixiHint	true
h	I've redirected the train to destroy the Dragon Wheel. I need to jump off the back of the train to safety, before it's too late!
l	caboose_main
end

begin	get ammo
r	watch caines get whacked
r	redirect train
c	caboose_side_gotbullets	true
h	I've got to escape! Caines dropped some ammunition as he fell out the side of the caboose, I could use that.
l	caboose_side
end

begin	shoot couplings
r	get ammo
r	redirect train
c	caboose_couplings_completed	true
h	I've got to escape! I can slow the caboose down by shooting out the couplings connecting it to the rest of the train.
l	caboose_main
end

begin	jump off of train to victory
r	shoot couplings
c	no_variable	true
h	I've got to get off the caboose!  Jumping out the side door is the only option.
l	caboose_main
end

begin	win game
c	no_variable	true
h	You should not have been able to see this.  Congratulations on your hard work!
end

begin	bonus item tutorial
c	no_variable	true
h	You have found your first bonus item!  These items are carefully hidden throughout the adventure.  Try to find all of them!

begin	bonus combolations
c	no_variable	true
h	Congratulations, you found all the secret candy canes!
i	candycane_bowImagemap
end
