public void RenameBook() { if (Atlas.CheckAccess(User) && Atlas.Movable != false || User.AccessLevel >= AccessLevel.GameMaster) { User.Prompt = new InternalPrompt(Atlas); } else { User.SendLocalizedMessage(502413); // That cannot be done while the book is locked down. } }
private void DropRune() { if (Atlas.CheckAccess(User) && Atlas.Movable != false || User.AccessLevel >= AccessLevel.GameMaster) { Atlas.DropRune(User, Atlas.Entries[Selected], Selected); Refresh(); } else { Atlas.Openers.Remove(User); User.SendLocalizedMessage(502413, null, 0x35); // That cannot be done while the book is locked down. } }
private void SetDefault() { if (Atlas.CheckAccess(User) || User.AccessLevel >= AccessLevel.GameMaster) { Atlas.DefaultIndex = Selected; Refresh(); User.SendLocalizedMessage(502417, "", 0x35); // New default location set. } else { Atlas.Openers.Remove(User); User.SendLocalizedMessage(502413, null, 0x35); // That cannot be done while the book is locked down. } }