I would add the key as part of the procedure.
If lockedDoor exists, add keyToLockedDoor where keyLocation is never beyond lockedDoor.
I would add the key as part of the procedure.
If lockedDoor exists, add keyToLockedDoor where keyLocation is never beyond lockedDoor.
RE: Working on Dungeons and Dragons in Digital Form