2 _copy: Copyright (c) 2004-2018 mudpy authors. Permission to use, copy,
3 modify, and distribute this software is granted under terms
4 provided in the LICENSE file distributed with this software.
6 _desc: This is the standard library of menu definitions.
10 menu.activate_avatar.action: user.activate_avatar_by_index(int(choice)-1)
11 menu.activate_avatar.action_a: pass
12 menu.activate_avatar.branch_a: main_utility
13 menu.activate_avatar.choice_a: abort selection
14 menu.activate_avatar.create: dict([(str(x+1),y) for x,y in
15 enumerate(user.list_avatar_names())])
16 menu.activate_avatar.default: "1"
17 menu.activate_avatar.description: This is the list of avatars available for you
19 menu.activate_avatar.prompt: Whom would you like to awaken?
23 menu.checking_new_account_name.action_d: user.account.destroy()
24 menu.checking_new_account_name.action_g: user.account.destroy()
25 menu.checking_new_account_name.branch_d: disconnecting
26 menu.checking_new_account_name.branch_g: entering_account_name
27 menu.checking_new_account_name.branch_n: entering_new_password
28 menu.checking_new_account_name.choice_d: disconnect now
29 menu.checking_new_account_name.choice_g: go back
30 menu.checking_new_account_name.choice_n: new account
31 menu.checking_new_account_name.default: d
32 menu.checking_new_account_name.description: There is no existing account for
33 "$(account)" (note that an account name is not the same as a character
34 name). Would you like to create a new account by this name, go back and
35 enter a different name or disconnect now?
36 menu.checking_new_account_name.prompt: "Enter your choice:"
38 menu.checking_password.echo: false
39 menu.checking_password.error_incorrect: Incorrect password, please try again...
40 menu.checking_password.prompt: "Password:"
42 menu.choose_gender.action: user.avatar.set("gender", user.menu_choices[choice])
43 menu.choose_gender.branch: choose_name
44 menu.choose_gender.choice_f: female
45 menu.choose_gender.choice_m: male
46 menu.choose_gender.description: First, your new avatar needs a birth gender.
47 Avatars are one of male or female at birth.
48 menu.choose_gender.prompt: "Pick a birth gender for your new avatar:"
50 menu.choose_name.action: user.avatar.set("name", user.menu_choices[choice])
51 menu.choose_name.branch: main_utility
52 menu.choose_name.branch_g: choose_name
53 menu.choose_name.choice_g: generate more names
54 menu.choose_name.create_1: random_name()
55 menu.choose_name.create_2: random_name()
56 menu.choose_name.create_3: random_name()
57 menu.choose_name.create_4: random_name()
58 menu.choose_name.create_5: random_name()
59 menu.choose_name.create_6: random_name()
60 menu.choose_name.create_7: random_name()
61 menu.choose_name.default: g
62 menu.choose_name.description: Your new avatar needs a name. This will be the
63 name with which $(tpsp) grew up, and will initially be the name by which
64 $(tpsp) is known to others. There are ways for your new avatar to make a
65 name for $(tpop)self over time, so $(tpsp) won't be stuck going by such an
66 unremarkable name forever.
67 menu.choose_name.prompt: "Choose a name for $(tpop):"
69 menu.delete_account.action_y: user.destroy()
70 menu.delete_account.branch_n: main_utility
71 menu.delete_account.branch_y: disconnecting
72 menu.delete_account.choice_n: no, don't delete my account
73 menu.delete_account.choice_y: yes, permanently delete my account
74 menu.delete_account.default: n
75 menu.delete_account.description: By deleting your account, all your avatars
76 will also be permanently deleted.
77 menu.delete_account.prompt: Are you certain you wish to permanently delete your
80 menu.delete_avatar.action: user.delete_avatar(
81 user.account.get("avatars")[int(choice)-1])
82 menu.delete_avatar.action_a: pass
83 menu.delete_avatar.branch: main_utility
84 menu.delete_avatar.branch_a: main_utility
85 menu.delete_avatar.choice_a: abort selection
86 menu.delete_avatar.create: dict([(str(x+1),y) for x,y in
87 enumerate(user.list_avatar_names())])
88 menu.delete_avatar.default: a
89 menu.delete_avatar.description: This is the list of avatars available for you
91 menu.delete_avatar.prompt: Whom would you like to delete?
93 menu.disconnecting.prompt: $(red)Disconnecting...$(nrm)$(eol)
95 menu.disconnecting_duplicates.prompt: $(red)Closing your previous
96 connection...$(nrm)$(eol)
98 menu.entering_account_name.description: $(inc:login.txt)
99 menu.entering_account_name.error_bad_name: Your account name needs to contain
100 only digits (0-9) and letters (a-z).
101 menu.entering_account_name.prompt: "Identify yourself:"
103 menu.entering_new_password.echo: false
104 menu.entering_new_password.error_weak: That is a weak password... Try something
105 at least 7 characters long with a combination of mixed-case letters,
106 numbers and punctuation/spaces.
107 menu.entering_new_password.prompt: 'Enter a new password for "$(account)":'
108 menu.entering_new_password.error_differs: The two passwords did not match. Try
111 menu.telopt_negotiation.prompt:
113 menu.main_utility.action_c: user.new_avatar()
114 menu.main_utility.branch_a: activate_avatar
115 menu.main_utility.branch_c: choose_gender
116 menu.main_utility.branch_d: delete_avatar
117 menu.main_utility.branch_l: disconnecting
118 menu.main_utility.branch_p: delete_account
119 menu.main_utility.choice_a: awaken an existing avatar
120 menu.main_utility.choice_c: create a new avatar
121 menu.main_utility.choice_d: delete an unwanted avatar
122 menu.main_utility.choice_l: leave for now
123 menu.main_utility.choice_p: permanently remove your account
124 menu.main_utility.demand_a: user.account.get("avatars")
125 menu.main_utility.demand_c: len(user.account.get("avatars")) <
126 universe.contents["mudpy.limit"].get("avatars")
127 menu.main_utility.demand_d: user.account.get("avatars")
128 menu.main_utility.description: $(red)$(inc:banner.txt)$(nrm)$(eol)$(eol)From
129 here you can awaken, create and delete avatars. An avatar is your persona
130 in the World. You can also leave or permanently delete your account.
131 menu.main_utility.prompt: What would you like to do?
133 menu.verifying_new_password.echo: false
134 menu.verifying_new_password.prompt: "Enter the same new password again:"