Skip to content

Commit

Permalink
Merge pull request #261 from UMDLARS/258-security-key-at-the-beginnin…
Browse files Browse the repository at this point in the history
…g-doesnt-recognize-key-as-synonym

Fixes 258: security key at the beginning doesnt recognize key as synonym
  • Loading branch information
spacehobo authored Sep 20, 2024
2 parents 5f76c39 + 6950562 commit 38ea810
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
2 changes: 1 addition & 1 deletion untitledHeistGame.inf
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ has static door ~open locked concealed;

Object securityCard "Security Key Fob"
with
name 'security' 'fob' 'id' 'identification' 'pass',
name 'security' 'fob' 'id' 'identification' 'pass' 'key',
description [;
print "This is a small plastic key fob with a fake name you gave them during the hiring process. ";
if(player in Tutorial){
Expand Down
27 changes: 24 additions & 3 deletions untitledHeistGame.test
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,28 @@ The Lobby
> n
> n
> get key
You can't see any such thing.
You already have it.
> open drawer
You open the Receptionist's Desk, revealing a loose brass key.
> look
You can see a Receptionist's Desk (which contains a loose brass key) here.
> get key
Taken.
> drop key
Do you mean the loose brass key or the Security Key Fob?
> brass key
Dropped.
> get key
Taken.
> drop key
Do you mean the loose brass key or the Security Key Fob?
> loose brass key
Dropped.
> get key
Taken.
> drop brass key
Dropped.


* _get into o7

Expand All @@ -91,6 +104,8 @@ You can't, since the Brass Knobbed Door is closed.
> open door
/It.* locked.
> unlock door with key
Do you mean the loose brass key or the Security Key Fob?
> brass key
You unlock the Brass Knobbed door and open it!
> w
This is a researcher's office
Expand All @@ -103,6 +118,8 @@ Hallway
> close door
You close the Brass Knobbed Door.
> lock door with key
Do you mean the loose brass key or the Security Key Fob?
> brass key
You carefully close and lock the office door with the brass key.

* test terminal input
Expand Down Expand Up @@ -180,7 +197,7 @@ score has just gone up by
> e
> w
> s
> unlock door with key and open door
> unlock door with brass key and open door
> w
> e
> s
Expand Down Expand Up @@ -521,7 +538,7 @@ Taken.
> take chair
Taken.
> n
> unlock door with key
> unlock door with brass key
You unlock
> w
Research Office
Expand Down Expand Up @@ -687,3 +704,7 @@ presents you with a command prompt.
* Easter Eggs
> damn this stupid chunk of germanium
DAMN.SV NOT FOUND

* Issue #258 test key fob name
> examine security key fob
This is a small plastic key fob with a fake name

0 comments on commit 38ea810

Please sign in to comment.