Gatekeeper

Gatekeeper
Category:
Explorers
Experience Reward:
100
Shop Point Rewards:
100

Program a door to open, only when you have a key or keycard

Completion Requirements:
1. Place a door or gate in the world. This can be a pre-programmed door or gate HOWEVER, it should be set to not open until the key or keycard is retrieved.

2. Place a key or keycard in the world.

3. As the player walks over the key or keycard, it should be added to the player's inventory, and disappear from the world.

4. Once the player has the key or keycard, if they proceed to the door, the door should now open.

Hint: In Project Spark, this challenge works best using a global variable to store whether or not the key or keycard has been picked up.