Imported from archive.
[mudpy.git] / menu
1 [control]
2 read_only = yes
3
4 [menu:activate_avatar]
5 action = user.avatar = universe.contents[user.account.getlist("avatars")[int(choice)-1]]
6 action_a = pass
7 branch = active
8 branch_a = main_utility
9 choice_a = abort selection
10 create = dict([(str(x+1),y) for x,y in enumerate(user.list_avatar_names())])
11 description = This is the list of avatars available for you to awaken.
12 prompt = Whom would you like to awaken?
13
14 [menu:active]
15 prompt = >
16
17 [menu:checking_new_account_name]
18 action_d = user.account.delete()
19 action_g = user.account.delete()
20 branch_d = disconnecting
21 branch_g = entering_account_name
22 branch_n = entering_new_password
23 choice_d = disconnect now
24 choice_g = go back
25 choice_n = new account
26 default = d
27 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?
28 prompt = Enter your choice:
29
30 [menu:checking_password]
31 echo = off
32 error_incorrect = Incorrect password, please try again...
33 prompt = Password:
34
35 [menu:choose_gender]
36 action = user.avatar.set("gender", user.menu_choices[choice])
37 branch = choose_name
38 choice_f = female
39 choice_m = male
40 description = First, your new avatar needs a gender. In the world of Example, all avatars are either male or female.
41 prompt = Pick a gender for your new avatar:
42
43 [menu:choose_name]
44 action = user.avatar.set("name", user.menu_choices[choice])
45 branch = main_utility
46 branch_m = choose_name
47 choice_m = generate more names
48 create_1 = random_name()
49 create_3 = random_name()
50 create_2 = random_name()
51 create_5 = random_name()
52 create_4 = random_name()
53 create_7 = random_name()
54 create_6 = random_name()
55 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.
56 prompt = Choose a name for $(tpop):
57
58 [menu:delete_avatar]
59 action = user.delete_avatar(user.account.getlist("avatars")[int(choice)-1], universe)
60 action_a = pass
61 branch = main_utility
62 branch_a = main_utility
63 choice_a = abort selection
64 create = dict([(str(x+1),y) for x,y in enumerate(user.list_avatar_names())])
65 description = This is the list of avatars available for you to awaken.
66 prompt = Whom would you like to awaken?
67
68 [menu:disconnecting]
69 description = $(red)Disconnecting...$(nrm)
70
71 [menu:disconnecting_duplicates]
72 prompt = $(red)Closing your previous connection...$(nrm)$(eol)
73
74 [menu:entering_account_name]
75 description = Welcome to the mudpy example...
76 error_bad_name = Your account name needs to contain only digits (0-9) and letters (a-z).
77 prompt = Identify yourself:
78
79 [menu:entering_new_password]
80 echo = off
81 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.
82 prompt = Enter a new password for "$(account)":
83 error_differs = The two passwords did not match. Try again...
84
85 [menu:main_utility]
86 action_c = user.new_avatar()
87 branch_a = activate_avatar
88 branch_c = choose_gender
89 branch_d = delete_avatar
90 branch_l = disconnecting
91 branch_p = delete_account
92 choice_a = awaken an existing avatar
93 choice_c = create a new avatar
94 choice_d = delete an unwanted avatar
95 choice_l = leave example for now
96 choice_p = permanently remove your account
97 demand_a = user.account.get("avatars")
98 demand_c = len(user.account.getlist("avatars")) < universe.categories["internal"]["limits"].getint("max_avatars")
99 demand_d = user.account.get("avatars")
100 description = 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.
101 prompt = What would you like to do?
102
103 [menu:verifying_new_password]
104 echo = off
105 prompt = Enter the same new password again:
106