diff --git a/01_text_adventure/data/actions.txt b/01_text_adventure/data/actions.txt index 11fe19f..9aa097b 100644 --- a/01_text_adventure/data/actions.txt +++ b/01_text_adventure/data/actions.txt @@ -10,6 +10,6 @@ EAST | IN(FIRST_ROOM) & ENABLED(LEVER_PULLED) | 20 | You crouch under the portcu EAST | IN(FIRST_ROOM) | 10 | There is a portcullis in the way. | WEST | IN(LAST_ROOM) | 10 | You crouch under the portcullis and return to the room. | GOTO(FIRST_ROOM) PULL | * | 1 | You don't see anything to pull | -PULL | IN(FIRST_ROOM) | 10 | What do you want to pull? | -PULL LEVER | IN(FIRST_ROOM) | 100 | You pull the lever and the portcullis raises up most of the way. | ENABLE(LEVER_PULLED) -PULL LEVER | IN(FIRST_ROOM) & ENABLED(LEVER_PULLED) | 1000 | You already pulled it. | +PULL | IN(SECOND_ROOM) | 10 | What do you want to pull? | +PULL LEVER | IN(SECOND_ROOM) | 100 | You pull the lever and the sound of grinding machinery comes from the first room. | ENABLE(LEVER_PULLED) +PULL LEVER | IN(SECOND_ROOM) & ENABLED(LEVER_PULLED) | 1000 | You already pulled it. | diff --git a/01_text_adventure/data/room_ins.txt b/01_text_adventure/data/room_ins.txt index b14c75e..79a2926 100644 --- a/01_text_adventure/data/room_ins.txt +++ b/01_text_adventure/data/room_ins.txt @@ -1,4 +1,4 @@ -FIRST_ROOM | * | 1 | This is a plain room. A doorway is on the north wall, and a portcullis obstructing a doorway to the east. +FIRST_ROOM | * | 1 | This is a plain room. A doorway is on the north wall, and a portcullis obstructs a doorway to the east. FIRST_ROOM | ENABLED(LEVER_PULLED) | 10 | This is a plain room. A doorway is on the north wall, and the doorway once obstructed by the portcullis is to the east. -SECOND_ROOM | * | 1 | This is a small room. It's painted blue. There's a doorway on the south wall. +SECOND_ROOM | * | 1 | This is a small room. It's painted blue. There's a doorway on the south wall, and a conspicuous lever in the middle of the floor. LAST_ROOM | * | 1 | This room is in disrepair. A doorway is open to the west.