Log Rooms a
Log rooms A, a rooms map drawn in logs, holds only Vault's rooms while Hammet's Shaman's Rod is missing and just after it is found.
Log rooms A (SceneIdLogRoomsA), a rooms map drawn in logs, holds only Vault's
rooms while Hammet's Shaman's Rod is missing and just after it is found: the
insides of the town's houses, shops and inn, the inn's attic and its loft.
Every room is on one map, each an entrance with a camera box of its own.
Vault's doors (vault.c) lead to the entrances named for them:
- the gem owner's house, nearest the town's lower gate, where a big pale blue gem stands on the round table;
- the house of a burly grey-haired man and a small boy, in the middle of town;
- the inn, with the guests' room and its three beds upstairs, where the three strangers stay;
- the item shop, which is also the home of Grandpa and his wife;
- the weapon and armor shop;
- the mayor's house, where Ivan is.
The ladder outside up to the inn's broken roof (LOG_ROOMS_A_VAULT_WEST)
comes into the attic, a small room with a big crate and a dark hole in the
floor. Behind the crate is the way into the loft, where the thieves hid the
stolen goods.
The loft has actor placements and scripts of its own (scGetActorPlacements
and scGetCues). FLAG_VAULT_THIEVES_JAILED chooses the other rooms' tables.
The story flags drive the rooms in order:
- At the mayor's, talking to Ivan plays
scLogRoomsAMeetIvan. He reads Isaac's mind (FLAG_VAULT_MET_IVAN) and asks for help with the rod. On a yes he joins the party (scLogRoomsAIvanJoinsRodSearch,FLAG_VAULT_IVAN_JOINED_ROD_SEARCH). - In the guests' room upstairs at the inn, the two suspects see Ivan with the
party and run from him round the beds (
scLogRoomsAApproachSuspects). Stepping back out of the room, the party plans to surround one of them (scLogRoomsADiscussSuspiciousGuests). Going back in starts the chase (scLogRoomsAStartCorneringSuspects): Garet spreads his arms and Ivan follows, and the suspects dodge between spots round the beds (LogRoomsAStops). Once one of them has been boxed in for half a second, Ivan reads both minds (scLogRoomsAReadCorneredSuspectsMinds,FLAG_VAULT_SUSPECTS_MIND_READ). During the chase the menu only gets Garet's "We don't have time for that" (scLogRoomsAGaretHasNoTimeForMenu). - In the attic, Move pushes the crate aside (
scLogRoomsACheckCrateMoved,FLAG_VAULT_CRATE_MOVED), and the way behind it leads into the loft (scLogRoomsAEnterLoft). Cutting free the young man tied up there brings out the three thieves, who attack (scLogRoomsAFreeVillagerAndFightThieves,FLAG_VAULT_THIEVES_ATTACKED). After a loss the thieves gloat over the fallen party, which comes to in the Vault Sanctum (scLogRoomsALoseToThieves). Coming back up replays the challenge (scLogRoomsAFightThievesAgain). After a win (scLogRoomsADefeatThieves,scLogRoomsAReturnStolenGoods) the mayor comes up and has the thieves taken to jail (FLAG_VAULT_THIEVES_JAILED), the chests give back the stolen goods and the Shaman's Rod, and Ivan leaves the party to rescue Hammet from Lunpa. - Once the thieves are jailed, the mayor gives the promised Water of Life
(
FLAG_VAULT_WATER_OF_LIFE_RECEIVED) and the girl at the inn offers Bones (FLAG_VAULT_BONE_RECEIVED), with more on the barrel beside her (scVaultFindBone) for the dog in town.
The shops and the inn open across their counters when Isaac faces north. Spoken to from anywhere else, their keepers only talk.
A jar, two barrels and a wooden box hold coins, a Sleep Bomb and a Mint, each found once, and two bookcases can be read.
The metatiles the scripts answer are LOG_ROOMS_A_METATILE_BEHAVIOR
(log_rooms_a.h).
The three metatiles of the guests' room doorway, (14, 44) to (16, 44), change
what they do as the story goes on. At first, stepping on them sets off
scLogRoomsAApproachSuspects. After it they are rewritten from copies kept
lower on the map, so that stepping on them on the way out plays
scLogRoomsADiscussSuspiciousGuests, and after that, on the way back in,
scLogRoomsAStartCorneringSuspects. Every later arrival with
FLAG_VAULT_SUSPECTS_APPROACHED set rewrites them again.

























Events
scLogRoomsASearchEmptyChest
Searching one of the three chests in the inn's loft, Isaac finds it empty.

Isaac checked the chest...
but the chest was empty.
scLogRoomsASearchEmptyBarrel
Searching the barrel beside the girl at the inn before the thieves are caught, Isaac doesn't find anything.

Isaac checked the barrel...
but didn't find anything.
Later the Bones are there.
MsgVaultThisRockWasBlownHereAll
A young man.

This rock was blown here all the way from the volcano! It looks odd, doesn't it? It sparkles so much, it looks like a gem.
scLogRoomsATalkAboutRocks
In the gem owner's house, his wife wishes their rocks were gems, or, once the thieves are jailed, is thankful they were caught before they stole the gem.

If only these rocks were gems. We'd be wealthy!
Thank goodness those thieves were captured before they stole our gem.
MsgVaultTheOtherSparklingRocksAllCrumbled
A young man, by Mind Read.

The other sparkling rocks all crumbled to bits... But this one I found on the roof is perfect. I must be lucky!
scLogRoomsAReadGemOwnersWifesMind
Mind Read on the gem owner's wife in their house.

OK, mister... Let me see that rock!
What if that rock is worthless? Maybe that's why they didn't steal it.
She wants a look at that rock, or, once the thieves are jailed, wonders whether it is worthless and that is why they didn't steal it.
MsgVaultMyNeighborCreepsMeOutHe
A burly grey-haired man who distrusts the man next door.

My neighbor creeps me out. He always has that smug smirk on his face.
scLogRoomsABoyAsksAboutTravel
In the house in the middle of Vault, a small boy asks Isaac whether it is fun to see strange new places.

Hey, mister! Is it fun to see strange new places?
A Yes has him dream of being an adventurer and sleeping in a tent; a No, wonder why bother then.
MsgVaultHeyMaybeMyNeighborIsThe
A burly grey-haired man who distrusts the man next door, by Mind Read.

Hey... Maybe my neighbor is the thief... Yeah...
scLogRoomsAReadBoysMind
Mind Read on the small boy in the house in the middle of Vault.

I wonder what the outside world is like...
Father looks so sad, worrying like that.
He wonders what the outside world is like, or, once the thieves are jailed, thinks his father looks sad with worry.
scLogRoomsATalkAboutMissingThings
In Vault's item shop, Grandpa wonders whether he is missing something, or, once the thieves are jailed, says they hid the stolen treasure in the hotel's loft and more in the cemetery.

The thieves hid the stolen treasure in the hotel's loft... and they hid other stolen goods in the cemetery.
MsgVaultEverSinceTheEruptionGrandpaKeeps
An old woman.

Ever since the eruption, Grandpa keeps wondering if anything was stolen. He doesn't realize we don't even have anything worth stealing!
scLogRoomsAReadGrandpasMind
Mind Read on Grandpa in Vault's item shop.

Could they be thieves? This is no good! I don't know who I can trust anymore!
He wonders whether the party could be the thieves and doesn't know who to trust anymore. Once the thieves are jailed, he thinks nothing in their house was valuable enough to steal.
MsgVaultYouNeverBoughtMeAnythingWorth
An old woman, by Mind Read.

You never bought me anything worth stealing!
scLogRoomsAMayorAsksHelpForIvan
In his house, Vault's mayor asks whether someone could please help Ivan.

Oh? You're going to help Ivan?
Please look after Ivan.
Once Ivan has joined the party, he thanks Isaac the first time, and after that asks him to look after Ivan.
MsgVaultMyHusbandTheMayorCantBelieve
A woman in a green dress.

My husband, the mayor, can't believe anyone from Vault could be the thief. But unless we find who stole the rod, Ivan can't return home to Kalay.
MsgVaultICouldHelpIvanIfI
A small boy.

I could help Ivan if I were just a little older.
scLogRoomsAOfferIvansSecret
Before Ivan has joined the party, a little girl at the mayor's house in Vault teases that Ivan has great powers and asks whether Isaac would like to know them.

Ivan has great powers. Wouldn't you like to know what they are?
A Yes gets no way, it's their secret; a No, a warning not to say what he doesn't mean, as Ivan can tell in an instant.
scLogRoomsAMeetIvan
Talking to Ivan at the mayor's house in Vault.

Yes. I... I do possess strange powers.
Would you really? Would you help me find the rod?
The first time, he reads Isaac's mind, admits his strange powers, learns they are called Psynergy, and asks for help getting Master Hammet's rod back. Later he only asks again. A Yes has him join the party.
MsgVaultReallyYoureGoingToHelpIvan
A woman in a green dress.

Really? You're going to help Ivan in his search for the rod? I'm so relieved to hear that.
MsgVaultYoureHelpingIvanYouDontLook
A small boy.

You're helping Ivan? You don't look very reliable, but at least he won't be alone.
MsgVaultSinceYoureHelpingIvanIllTell
A little girl who tells the party Ivan's secret once it helps him.

Since you're helping Ivan, I'll tell you a secret... Ivan has the power to talk with animals! ...Isn't that neat?
scLogRoomsAReadMayorMind
Mind Read on Vault's mayor in his house.

Hey! That tickles... Being tickled by a boy isn't so fun.
The cave in the Goma Range is a dangerous place, but you'll be okay.
He laughs that it tickles, being tickled by a boy, or, once the thieves are jailed, thinks the cave in the Goma Range is dangerous, but the party will be okay.
MsgVaultMaybeTheyllFindOurStolenFamily
A woman in a green dress, by Mind Read.

Maybe they'll find our stolen family heirloom while they're looking. I miss that old urn.
MsgVaultTheseGuysLookReliableIGuess
A small boy, by Mind Read.

These guys look reliable, I guess. Ivan's pretty lucky!
MsgVaultIWonderWhatSortOfThing
A little girl who tells the party Ivan's secret once it helps him, by Mind Read.

I wonder what sort of thing an animal would say. I wish I had that power!
scLogRoomsATalkToWeaponMerchant
Spoken to across the counter of Vault's weapon and armor shop, the weapon merchant opens his shop.

Master Hammet isn't the only one who had things stolen. We lost a lot of expensive goods.
From anywhere else he says Hammet wasn't the only one robbed, or, once the thieves are jailed, that their stolen weapons were found rusted in the cemetery.
MsgVaultAllOurBestWeaponsWereStolen
The weapon merchant, by Mind Read.

All our best weapons were stolen... I'm sorry I've only got these cheap weapons to sell right now.
scLogRoomsATalkToArmorMerchant
Spoken to across the counter of Vault's weapon and armor shop, the armor merchant opens his shop.

The thieves didn't hit our house during the eruption, but I'm still angry. Once we find those thieves, we're going to make them pay.
From anywhere else he is angry at the thieves, or, once they are jailed, warns the party to be prepared for the cave in Goma Range.
MsgVaultIWonderIfTheyLeftUs
The armor merchant, by Mind Read.

I wonder if they left us alone because we don't carry any valuable armor?
scLogRoomsATalkToItemMerchant
Spoken to across the counter of Vault's item shop, the item merchant opens her shop.

Did you just arrive in town today?
With the bridge out, it will be quite a while 'til we can go to Kalay again.
From anywhere else she asks whether the party arrived in town today, and finds them fishy on a No; once the thieves are jailed she says it will be a while before anyone can go to Kalay with the bridge out.
MsgVaultHahhWereSureToSeeA
The item merchant, by Mind Read.

Hahh... We're sure to see a drop in business after this eruption.
MsgVaultTheGuestsUpstairsWerentInTheir
A burly grey-haired man who works at the inn.

The guests upstairs weren't in their room during the eruption. We searched the room afterwards, but we couldn't find anything.
scLogRoomsATalkToInnkeeper
Spoken to across the counter of Vault's inn, the woman behind it offers a room.

Everyone thinks our guests are the thieves, but I think it's unfair to accuse them without any evidence. …
From anywhere else she thinks it unfair to accuse the polite guests upstairs, or, once they are jailed, is shocked they hid the stolen goods in the loft.
scLogRoomsAWarnAboutThreeStrangers
Before the thieves are caught, the girl at Vault's inn says the three strangers have fooled the innkeeper and his wife.

Those three strangers sure have fooled the innkeeper and his wife. They're the type of people who think they can get away with anything.
MsgVaultThatKidIvanHeCreepsMe
The two guests at the inn the town suspects.

That kid Ivan... He creeps me out... He just came and grabbed my arm... …
MsgVaultWeHaventDoneAnythingYoureA
Thieves' leader and one of his men.

We haven't done anything. You're a terrible person if you start accusing people for no good reason.
MsgVaultItWouldBeAwfulIfOur
A burly grey-haired man who works at the inn, by Mind Read.

It would be awful if our guests turned out to be the thieves!
MsgVaultThatVolcanoCostUsALot
A woman in an apron behind the inn's counter, by Mind Read.

That volcano cost us a lot of business, and now this robbery! Those three are paying us a lot of money. …
scLogRoomsAReadInnGirlsMind
Mind Read on the girl at Vault's inn.

The master and his wife are blinded by money. They'll be in trouble if they don't help search for the thieves.
Before the thieves are caught she thinks the master and his wife are blinded by money. After, she is tempted to taste the cooking, or, once Isaac has a Bone, wonders whether he has a calcium deficiency.
scLogRoomsAApproachSuspects
In the guests' room upstairs at Vault's inn, once Ivan is with the party, the two suspects at the west end of the room start, see that weird kid is with them, and run off round the beds.

What do you want?
scLogRoomsADiscussSuspiciousGuests
Stepping back out of the guests' room at Vault's inn after the suspects have run, the party talks it over.

They're acting suspicious. Something's not right...
Isaac, you take the lead.
Mind Read is no use while they keep running, so Garet plans for the three to surround one of them, with Isaac in the lead.
scLogRoomsAStartCorneringSuspects
Walking back into the guests' room at Vault's inn after the plan, the party sets out to corner the two suspects.

Hey, they're back!
scLogRoomsAReadCorneredSuspectsMinds
Once one of the suspects is boxed in for half a second in the guests' room at Vault's inn, he cries out, Garet calls Ivan, and Ivan reads their minds while they wonder what he is doing.

Uh-oh! I'm surrounded!
There's nowhere to run!
The screen flashes green and purple.
scLogRoomsASuspectsRunFromParty
While the suspects are running from the party in the guests' room, Isaac stepping on one of the spots at the heads and feet of the beds (metatiles to) sends a suspect waiting at the matching spot on to the next.
While the suspects are running from the party in the guests' room, Isaac stepping on one of the spots at the heads and feet of the beds (metatiles (4, 39) to (16, 43)) sends a suspect waiting at the matching spot on to the next.
scLogRoomsASuspectedLeaderDodges
Talking to, or reading the mind of, the suspect with long dark hair in the guests' room at Vault's inn makes him cry out to stop it and run round the beds to his next spot, on or back the way he was going by which side he is pushed from.

Ow! Stop it!
scLogRoomsASuspectedThiefDodges
Talking to, or reading the mind of, the suspect in purple in the guests' room at Vault's inn makes him cry out to be left alone and run to his next spot by the beds or in a corner, picked by the way he is pushed.

No! Leave me alone!
scLogRoomsAGaretHasNoTimeForMenu
Opening the menu while the party is cornering the suspects in the guests' room at Vault's inn only has Garet tell Isaac they don't have time for that.

We don't have time for that, Isaac!
scLogRoomsALeaveLoft
Walking west out of the inn's loft (metatile) back into the attic.

Uhnn... Uhnn...
Walking west out of the inn's loft (metatile (46, 25)) back into the attic; before the thieves have attacked, the tied-up young man groans as the party goes.
MsgVaultAhhHelpMe
The tied up villager, by Mind Read.

Ahh! Help me...
scLogRoomsAFreeVillagerAndFightThieves
In the inn's loft, Isaac cuts free the young man tied up on the floor.

Isaac cut him free from the ropes.
What? You mean, even if we return everything we stole and apologize, …
He tells how he was whacked from behind while fixing the roof, and notices the chests; then the three thieves come in, tell of Lunpa and Dodonpa, ask to be let go, and attack.
scLogRoomsALeaveGuestsRoom
Going down the stairs from the inn's upstairs in Vault takes the party to the floor below.

scLogRoomsAEnterLoft
Once the crate is pushed aside, walking east from the inn's attic through the way behind it (metatile) takes the party into the loft.
Once the crate is pushed aside, walking east from the inn's attic through the way behind it (metatile (45, 25)) takes the party into the loft.
MsgVaultTheresABookEntitledHistoryOf
Searching a spot.

There's a book entitled "History of Vault, Vol 1." The book says the name comes from being "cooped up in tiny place."
MsgVaultTheresABookEntitledGemsOf
Searching a bookcase.

There's a book entitled "Gems of Angara." It says nothing about the rock on the table.
scLogRoomsACheckCrateMoved
Move on the big crate in the inn's attic.

Once it has been pushed a metatile west, to map column 42, the way behind it into the loft opens.
MsgVaultICanSleepWellNowThat
A young man.

I can sleep well, now that the thieves have been locked up. I kept worrying that they would take my gem.
MsgVaultEverybodysAfterMyRockTheyWant
A young man, by Mind Read.

Everybody's after my rock! They want it for themselves! I can't let my guard down for a second!
scLogRoomsAAskWhetherThievesCameFromLunpa
Once the thieves are jailed, the burly grey-haired man in the house in the middle of Vault asks whether they came from Lunpa.

Did those thieves come from Lunpa?
A Yes has him say Lunpa's master Dodonpa is an awful man and catching his thieves means trouble; a No, that the Lunpans were noble thieves until Dodonpa.
scLogRoomsABoyWorriesAboutFather
Once the thieves are jailed, the small boy in the house in the middle of Vault says his father is worried about the prisoners from Lunpa, and asks the party to protect them if Dodonpa's men attack.

My father is so worried about those prisoners from Lunpa. You'll protect us if Dodonpa and his men come to attack us, right?
MsgVaultTheReasonLunpaTurnedBadIs
A burly grey-haired man who distrusts the man next door, by Mind Read.

The reason Lunpa turned bad is because Donpa spoiled his son, Dodonpa.
MsgVaultJustAsIThoughtNothingWas
An old woman.

Just as I thought, nothing was stolen from our house.
MsgVaultIWishIHadSomethingWorth
An old woman, by Mind Read.

I wish I had something worth stealing!
scLogRoomsAMayorGivesWaterOfLife
Once the thieves are jailed, Vault's mayor thanks Isaac in his house and gives the promised Water of Life, or asks him to come back with fewer things if his bags are full.

You were such a great help, Isaac.
Are you heading out beyond Goma Range, by any chance?
Then he asks whether the party is heading beyond Goma Range: a Yes gets directions to the cave in its mountains north-east of Vault, past which lies Bilibin; a No, that there is no other way out.
MsgVaultYoureThePersonWhoGotOur
A woman in a green dress.

You're the person who got our urn back, aren't you? Thank you so much.
scLogRoomsAAskAboutDefeatingThieves
Once the thieves are jailed, a small boy at the mayor's house in Vault has heard the party defeated them.

I heard you defeated those thieves!
A Yes has him say you can't judge people by their looks; a No, that his father said it was them.
MsgVaultIvanLearnedALotByTalking
A little girl who tells the party Ivan's secret once it helps him.

Ivan learned a lot by talking with animals...
MsgVaultImSoRelievedNowThatWe
A woman in a green dress, by Mind Read.

I'm so relieved now that we have our family urn back, safe and sound.
MsgVaultWhenIGrowUpIWant
A small boy, by Mind Read.

When I grow up, I want to be just as strong as you!
MsgVaultIWishIHadWingsLike
A little girl who tells the party Ivan's secret once it helps him, by Mind Read.

...I wish I had wings like a bird... I want to be free... to fly to the furthest reaches of the sky.
MsgVaultMyWeaponsWereFoundInThe
The weapon merchant, by Mind Read.

My weapons were found in the cemetery. Hey, what's that supposed to mean? Is someone trying to tell us our weapons are too old?
MsgVaultItMustBeSnowingUpIn
The armor merchant, by Mind Read.

It must be snowing up in Imil, north of the Goma Range.
MsgVaultWhyAreThesePeopleSoAnxious
The item merchant, by Mind Read.

Why are these people so anxious to leave?
MsgVaultImShockedThoseGuestsOfOurs
A burly grey-haired man who works at the inn.

I'm shocked! Those guests of ours turned out to be thieves!?
scLogRoomsAOfferBones
Once the thieves are jailed, the girl at Vault's inn offers Isaac leftover bones from dinner, or asks whether he wants more.

I have a lot of leftover bones from dinner. Here, do you want some?
What? You want more bones?
Accepting gives a Bone, unless his bags are full and she calls him a greedy lad.
MsgVaultWhoCouldHaveKnownTheyWere
A burly grey-haired man who works at the inn, by Mind Read.

Who could have known they were thieves? Well, at least we got some business. That's not too bad, right?
MsgVaultOfCourseIAlwaysSuspectedThey
A woman in an apron behind the inn's counter, by Mind Read.

Of course, I always suspected they were up to no good.
scVaultFindBone
Searching the barrel takes the Bone, unless the party's bags are full.

Wow, you have so many things. Aren't you a greedy lad!
Searching the barrel (METATILE_BEHAVIOR_LOG_ROOMS_A_INN_BARREL) takes the
Bone, unless the party's bags are full.
scLogRoomsAJumpAcrossHoleInAtticFloor
In the inn's attic, walking north or south at the dark hole in the floor (metatiles and, either side of it), Isaac jumps across.
In the inn's attic, walking north or south at the dark hole in the floor (metatiles (41, 25) and (41, 27), either side of it), Isaac jumps across. The jump also decides whether the crate at (43, 25), east of the hole's north side, can be moved. While Move pushes it, the crate goes by the overhead layer's ground (the map's rows from 60 on), where it may go only one metatile west, into (42, 85): every metatile around those two is floor 32 pixels up. As Isaac lands north, (42, 85) takes the high floor of the metatile west of it, and the crate cannot move; as he lands south, it takes the bare floor east of it again.
Its code is in log_rooms_a.c.