openDoor: Open door to another room

Description Usage Arguments Note Examples

View source: R/dummyFunctions.R

Description

This function will transfer the player to another room if she answers a question correctly.

Usage

1

Arguments

n

Door number, as it appears next to the door description, when the player enters the room, or with the wtf function

Note

You may ask to openDoor, see the question, then decide you wish to do something else, e.g. open a different door or taking an object.

Examples

1

gsimchoni/CastleOfR documentation built on May 22, 2019, 12:23 p.m.