Ejemplo n.º 1
0
        private async Task UseGoldArmband()
        {
            bool facingDoor = IsFacingDoor;

            if (facingDoor)
            {
                await GameControl.WaitAsync(1000);

                foreach (var entry in Map.EntryPoints)
                {
                    if (entry.Location == Player.Location)
                    {
                        Story.MuseumEntryPoint = Map.EntryPoints.IndexOf(entry);
                    }
                }

                await Museum.LeaveMap();
            }
            else
            {
                await TextArea.PrintLine("The gold armband hums softly.");
            }
        }