X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=menu;h=951df5425ae7212eb6f4e3e01c640419c9da524a;hp=b1ad12bd84693d97813c0ecefed57c3228eb1782;hb=7a6aa3bc9d4a51bf19f3a967c736e532952d887f;hpb=91749717dfe1950b4a7118de97f86f61c4d95f9e diff --git a/menu b/menu index b1ad12b..951df54 100644 --- a/menu +++ b/menu @@ -8,6 +8,7 @@ branch = active branch_a = main_utility choice_a = abort selection create = dict([(str(x+1),y) for x,y in enumerate(user.list_avatar_names())]) +default = 1 description = This is the list of avatars available for you to awaken. prompt = Whom would you like to awaken? @@ -43,27 +44,39 @@ prompt = Pick a gender for your new avatar: [menu:choose_name] action = user.avatar.set("name", user.menu_choices[choice]) branch = main_utility -branch_m = choose_name -choice_m = generate more names +branch_g = choose_name +choice_g = generate more names create_1 = random_name() -create_3 = random_name() create_2 = random_name() -create_5 = random_name() +create_3 = random_name() create_4 = random_name() -create_7 = random_name() +create_5 = random_name() create_6 = random_name() +create_7 = random_name() +default = g 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. prompt = Choose a name for $(tpop): +[menu:delete_account] +action_y = user.delete() +branch_n = main_utility +branch_y = disconnecting +choice_n = no, don't delete my account +choice_y = yes, permanently delete my account +default = n +description = By deleting your account, all your avatars will also be permanently deleted. +prompt = Are you certain you wish to permanently delete your account? + [menu:delete_avatar] -action = user.delete_avatar(user.account.getlist("avatars")[int(choice)-1], universe) +action = user.delete_avatar(user.account.getlist("avatars")[int(choice)-1]) action_a = pass branch = main_utility branch_a = main_utility choice_a = abort selection create = dict([(str(x+1),y) for x,y in enumerate(user.list_avatar_names())]) +default = a description = This is the list of avatars available for you to awaken. -prompt = Whom would you like to awaken? +prompt = Whom would you like to delete? [menu:disconnecting] description = $(red)Disconnecting...$(nrm) @@ -94,9 +107,9 @@ choice_c = create a new avatar choice_d = delete an unwanted avatar choice_l = leave example for now choice_p = permanently remove your account -demand_a = user.account.get("avatars") +demand_a = user.account.getlist("avatars") demand_c = len(user.account.getlist("avatars")) < universe.categories["internal"]["limits"].getint("max_avatars") -demand_d = user.account.get("avatars") +demand_d = user.account.getlist("avatars") 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. prompt = What would you like to do?