72c7fa1c8fa67daed0a03b881666a453dcff61ec
[mudpy.git] / menu
1 [__control__]
2 read_only = yes
3
4 [menu:activate_avatar]
5 action = user.activate_avatar_by_index(int(choice)-1)
6 action_a = pass
7 branch_a = main_utility
8 choice_a = abort selection
9 create = dict([(str(x+1),y) for x,y in enumerate(user.list_avatar_names())])
10 default = 1
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
16 [menu:checking_new_account_name]
17 action_d = user.account.destroy()
18 action_g = user.account.destroy()
19 branch_d = disconnecting
20 branch_g = entering_account_name
21 branch_n = entering_new_password
22 choice_d = disconnect now
23 choice_g = go back
24 choice_n = new account
25 default = d
26 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?
27 prompt = Enter your choice:
28
29 [menu:checking_password]
30 echo = off
31 error_incorrect = Incorrect password, please try again...
32 prompt = Password:
33
34 [menu:choose_gender]
35 action = user.avatar.set("gender", user.menu_choices[choice])
36 branch = choose_name
37 choice_f = female
38 choice_m = male
39 description = First, your new avatar needs a gender. In the world of Katarsis, all avatars are either male or female.
40 prompt = Pick a gender for your new avatar:
41
42 [menu:choose_name]
43 action = user.avatar.set("name", user.menu_choices[choice])
44 branch = main_utility
45 branch_g = choose_name
46 choice_g = generate more names
47 create_1 = random_name()
48 create_2 = random_name()
49 create_3 = random_name()
50 create_4 = random_name()
51 create_5 = random_name()
52 create_6 = random_name()
53 create_7 = random_name()
54 default = g
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 Katarsis. 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_account]
59 action_y = user.destroy()
60 branch_n = main_utility
61 branch_y = disconnecting
62 choice_n = no, don't delete my account
63 choice_y = yes, permanently delete my account
64 default = n
65 description = By deleting your account, all your avatars will also be permanently deleted.
66 prompt = Are you certain you wish to permanently delete your account?
67
68 [menu:delete_avatar]
69 action = user.delete_avatar(user.account.getlist("avatars")[int(choice)-1])
70 action_a = pass
71 branch = main_utility
72 branch_a = main_utility
73 choice_a = abort selection
74 create = dict([(str(x+1),y) for x,y in enumerate(user.list_avatar_names())])
75 default = a
76 description = This is the list of avatars available for you to awaken.
77 prompt = Whom would you like to delete?
78
79 [menu:disconnecting]
80 description = $(red)Disconnecting...$(nrm)
81
82 [menu:disconnecting_duplicates]
83 prompt = $(red)Closing your previous connection...$(nrm)$(eol)
84
85 [menu:entering_account_name]
86 description = $(red)    :;$(bld)%$(nrm)$(red).                   $(bld)%S%$(nrm)$(red);                                      $(bld)%$(eol)$(nrm)$(red)t$(bld)S@@@@@   G@S$(nrm)$(red);             $(bld)G@@$(nrm)$(red)t                                    .$(bld)G@$(nrm)$(red)t$(eol)$(bld)%@@@@@@  $(nrm)$(red);$(bld)@@@@G            @@@$(nrm)$(red).             .t$(bld)SG@%                $(nrm)$(red);$(bld)S$(nrm)$(red)t;.$(eol);$(bld)@@@@@S  G@@@G             @@G $(nrm)$(red):            :$(bld)@@@@$(nrm)$(red):  t$(bld)@               $(nrm)$(red):;$(eol).$(bld)@@@@@% $(nrm)$(red):$(bld)@@@G              @@@@@$(nrm)$(red).           :$(bld)@@@@  S@@$(nrm)$(red):     .    .$(bld)%G@@$(nrm)$(red);     .$(eol) $(bld)@@@@@$(nrm)$(red); $(bld)G@@G       $(nrm)$(red):;;  .;$(bld)S@@S%%$(nrm)$(red):  . .$(bld)%SS   $(nrm)$(red).$(bld)@@@%$(nrm)$(red).$(bld)G@@S$(nrm)$(red):    ;$(bld)@S   $(nrm)$(red)t$(bld)@@@@     $(nrm)$(red);$(bld)@G$(eol) G@@@@$(nrm)$(red)::$(bld)@@S    $(nrm)$(red):$(bld)@$(nrm)$(red)t.$(bld)@@G    $(nrm)$(red).$(bld)@G     $(nrm)$(red);$(bld)@S$(nrm)$(red);$(bld)G@G    @@@S%$(nrm)$(red);       $(bld)S@@@S  $(nrm)$(red);$(bld)@@@S    S@@@$(eol) %@@@@ S@S     G@@S$(nrm)$(red)t$(bld)@G    $(nrm)$(red):$(bld)@$(nrm)$(red)t     $(bld)@@@$(nrm)$(red);:$(bld)@G    @@@       $(nrm)$(red)t$(bld)GGG%$(nrm)$(red);.   :$(bld)@@@$(nrm)$(red): ;$(bld)@GS$(nrm)$(red)t:$(eol) ;$(bld)@@@@$(nrm)$(red).$(bld)@S $(nrm)$(red).   .$(bld)@@$(nrm)$(red)t  $(bld)GG    $(nrm)$(red);$(bld)@$(nrm)$(red).    ;$(bld)@G$(nrm)$(red).  $(bld)SG    @@%       @@@$(nrm)$(red)t      .$(bld)@@@  @@@S$(eol) $(nrm)$(red).$(bld)@@@G%@S@G   SG$(nrm)$(red).   .$(bld)G    $(nrm)$(red)t$(bld)@     GS     @$(nrm)$(red)::  $(bld)@@$(nrm)$(red):       ;$(bld)%S@SSS    @@%  $(nrm)$(red):t$(bld)%GGSG$(eol)  @@@GS$(nrm)$(red):$(bld)@@@$(nrm)$(red). .$(bld)S   $(nrm)$(red):t$(bld)S@@%  tt    $(nrm)$(red):t .;$(bld)%G@@@%  G@           %@@@S   @@$(nrm)$(red).     $(bld)%@@@$(eol)  G@@S  $(nrm)$(red)t$(bld)@@% $(nrm)$(red)::t$(bld)%SSGGG@%  %$(nrm)$(red).    .::;;;tt$(bld)%%$(nrm)$(red);  $(bld)GS         $(nrm)$(red);$(bld)S%$(nrm)$(red);:     $(bld)@G    $(nrm)$(red);$(bld)S$(nrm)$(red)t;.$(eol)  $(bld)%@@$(nrm)$(red):   $(bld)S@@              S                  S$(nrm)$(red):                   $(bld)G$(nrm)$(red);$(eol)  ;$(bld)@@$(nrm)$(red).    $(bld)G@$(nrm)$(red);             t                  $(bld)t                    %$(eol)   GS     $(nrm)$(red).$(bld)S%             $(nrm)$(red).                  .                    :$(eol)   $(bld)%$(nrm)$(red)t      :$(bld)t$(eol)   $(nrm)$(red);:       :.  $(bld)$(grn)Aeons ago, in a time long since forgotten, this land was fair$(eol)   $(nrm)$(red)..        ;  $(bld)$(grn)and peaceful, governed by harmony and untouched by despair...$(eol)$(eol)                            $(red)But then the evil came.$(eol)$(eol)                         $(blk)[ http://katarsis.mudpy.org/ ]$(nrm)
87 error_bad_name = Your account name needs to contain only digits (0-9) and letters (a-z).
88 prompt = Identify yourself:
89
90 [menu:entering_new_password]
91 echo = off
92 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.
93 prompt = Enter a new password for "$(account)":
94 error_differs = The two passwords did not match. Try again...
95
96 [menu:initial]
97
98 [menu:main_utility]
99 action_c = user.new_avatar()
100 branch_a = activate_avatar
101 branch_c = choose_gender
102 branch_d = delete_avatar
103 branch_l = disconnecting
104 branch_p = delete_account
105 choice_a = awaken an existing avatar
106 choice_c = create a new avatar
107 choice_d = delete an unwanted avatar
108 choice_l = leave katarsis for now
109 choice_p = permanently remove your account
110 demand_a = user.account.getlist("avatars")
111 demand_c = len(user.account.getlist("avatars")) < universe.categories["internal"]["limits"].getint("max_avatars")
112 demand_d = user.account.getlist("avatars")
113 description = From here you can awaken, create and delete avatars. An avatar is your persona in the world of Katarsis. You can also leave or permanently delete your account.
114 prompt = What would you like to do?
115
116 [menu:verifying_new_password]
117 echo = off
118 prompt = Enter the same new password again:
119