Set game.newloc when reincarnated. Fixes a bug.
This commit is contained in:
parent
fcfc7c3b5c
commit
7d690e0b95
3 changed files with 13 additions and 106 deletions
3
main.c
3
main.c
|
@ -501,8 +501,7 @@ static void croak(void)
|
||||||
drop(i, (i == LAMP) ? LOC_START : game.oldlc2);
|
drop(i, (i == LAMP) ? LOC_START : game.oldlc2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
game.loc = LOC_BUILDING;
|
game.oldloc = game.loc = game.newloc = LOC_BUILDING;
|
||||||
game.oldloc = game.loc;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1739,81 +1739,13 @@ Oh dear, you seem to have gotten yourself killed. I might be able to
|
||||||
help you out, but I've never really done this before. Do you want me
|
help you out, but I've never really done this before. Do you want me
|
||||||
to try to reincarnate you?
|
to try to reincarnate you?
|
||||||
|
|
||||||
> y
|
> yes
|
||||||
|
|
||||||
All right. But don't blame me if something goes wr......
|
All right. But don't blame me if something goes wr......
|
||||||
--- POOF!! ---
|
--- POOF!! ---
|
||||||
You are engulfed in a cloud of orange smoke. Coughing and gasping,
|
You are engulfed in a cloud of orange smoke. Coughing and gasping,
|
||||||
you emerge from the smoke and find....
|
you emerge from the smoke and find....
|
||||||
|
|
||||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
|
||||||
|
|
||||||
> inven
|
|
||||||
|
|
||||||
You're not carrying anything.
|
|
||||||
|
|
||||||
> xyzzy
|
|
||||||
|
|
||||||
Nothing happens.
|
|
||||||
|
|
||||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
|
||||||
|
|
||||||
> light lamp
|
|
||||||
|
|
||||||
I see no lamp here.
|
|
||||||
|
|
||||||
> back
|
|
||||||
|
|
||||||
Sorry, but I no longer seem to remember how it was you got here.
|
|
||||||
|
|
||||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
|
||||||
|
|
||||||
> west
|
|
||||||
|
|
||||||
There is no way to go that direction.
|
|
||||||
|
|
||||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
|
||||||
|
|
||||||
> up
|
|
||||||
|
|
||||||
There is no way to go that direction.
|
|
||||||
|
|
||||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
|
||||||
|
|
||||||
> north
|
|
||||||
|
|
||||||
There is no way to go that direction.
|
|
||||||
|
|
||||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
|
||||||
|
|
||||||
> east
|
|
||||||
|
|
||||||
There is no way to go that direction.
|
|
||||||
|
|
||||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
|
||||||
|
|
||||||
> outside
|
|
||||||
|
|
||||||
I don't know in from out here. Use compass points or name something
|
|
||||||
in the general direction you want to go.
|
|
||||||
|
|
||||||
It is now pitch dark. If you proceed you will likely fall into a pit.
|
|
||||||
|
|
||||||
> out
|
|
||||||
|
|
||||||
I don't know in from out here. Use compass points or name something
|
|
||||||
in the general direction you want to go.
|
|
||||||
|
|
||||||
You fell into a pit and broke every bone in your body!
|
|
||||||
|
|
||||||
You clumsy oaf, you've done it again! I don''t know how long I can
|
|
||||||
keep this up. Do you want me to try reincarnating you again?
|
|
||||||
|
|
||||||
> yes
|
|
||||||
|
|
||||||
Okay, now where did I put my orange smoke?.... >POOF!<
|
|
||||||
Everything disappears in a dense cloud of orange smoke.
|
|
||||||
|
|
||||||
You're inside building.
|
You're inside building.
|
||||||
|
|
||||||
There is a richly-carved ebony statuette here!
|
There is a richly-carved ebony statuette here!
|
||||||
|
@ -1914,50 +1846,37 @@ You're in Bedquilt.
|
||||||
|
|
||||||
> n
|
> n
|
||||||
|
|
||||||
You have crawled around in some little holes and wound up back in the
|
You're in large low room.
|
||||||
main passage.
|
|
||||||
|
|
||||||
You are in Bedquilt, a long east/west passage with holes everywhere.
|
|
||||||
To explore at random select north, south, up, or down.
|
|
||||||
|
|
||||||
> n
|
> n
|
||||||
|
|
||||||
You're in large low room.
|
Dead end crawl.
|
||||||
|
|
||||||
> sw
|
> sw
|
||||||
|
|
||||||
You're in sloping corridor.
|
There is no way to go that direction.
|
||||||
|
|
||||||
|
Dead end crawl.
|
||||||
|
|
||||||
> up
|
> up
|
||||||
|
|
||||||
You're on sw side of chasm.
|
There is no way to go that direction.
|
||||||
|
|
||||||
There is an empty bottle here.
|
Dead end crawl.
|
||||||
|
|
||||||
Off to one side lies a glistening pearl!
|
|
||||||
|
|
||||||
There are rare spices here!
|
|
||||||
|
|
||||||
There is a golden chain lying in a heap on the floor!
|
|
||||||
|
|
||||||
The wreckage of a bridge (and a dead bear) can be seen at the bottom
|
|
||||||
of the chasm.
|
|
||||||
|
|
||||||
The troll is nowhere to be seen.
|
|
||||||
|
|
||||||
>
|
>
|
||||||
|
|
||||||
> feed bear
|
> feed bear
|
||||||
|
|
||||||
Don't be ridiculous!
|
I see no bear here.
|
||||||
|
|
||||||
> attack bear
|
> attack bear
|
||||||
|
|
||||||
For crying out loud, the poor thing is already dead!
|
I see no bear here.
|
||||||
|
|
||||||
|
|
||||||
You scored 233 out of a possible 430, using 314 turns.
|
You scored 243 out of a possible 430, using 304 turns.
|
||||||
|
|
||||||
You may now consider yourself a "Seasoned Adventurer".
|
You may now consider yourself a "Seasoned Adventurer".
|
||||||
|
|
||||||
To achieve the next higher rating, you need 18 more points.
|
To achieve the next higher rating, you need 8 more points.
|
||||||
|
|
|
@ -292,17 +292,6 @@ sw
|
||||||
free bear
|
free bear
|
||||||
take bear
|
take bear
|
||||||
sw
|
sw
|
||||||
y
|
|
||||||
inven
|
|
||||||
xyzzy
|
|
||||||
light lamp
|
|
||||||
back
|
|
||||||
west
|
|
||||||
up
|
|
||||||
north
|
|
||||||
east
|
|
||||||
outside
|
|
||||||
out
|
|
||||||
yes
|
yes
|
||||||
inven
|
inven
|
||||||
out
|
out
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue