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