Imported from archive.
[mudpy.git] / menu
diff --git a/menu b/menu
index c3388b3..b1ad12b 100644 (file)
--- a/menu
+++ b/menu
@@ -1,6 +1,16 @@
 [control]
 read_only = yes
 
+[menu:activate_avatar]
+action = user.avatar = universe.contents[user.account.getlist("avatars")[int(choice)-1]]
+action_a = pass
+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())])
+description = This is the list of avatars available for you to awaken.
+prompt = Whom would you like to awaken?
+
 [menu:active]
 prompt = >
 
@@ -45,6 +55,16 @@ create_6 = random_name()
 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_avatar]
+action = user.delete_avatar(user.account.getlist("avatars")[int(choice)-1], universe)
+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())])
+description = This is the list of avatars available for you to awaken.
+prompt = Whom would you like to awaken?
+
 [menu:disconnecting]
 description = $(red)Disconnecting...$(nrm)
 
@@ -64,12 +84,12 @@ error_differs = The two passwords did not match. Try again...
 
 [menu:main_utility]
 action_c = user.new_avatar()
-branch_a = active
+branch_a = activate_avatar
 branch_c = choose_gender
 branch_d = delete_avatar
 branch_l = disconnecting
 branch_p = delete_account
-choice_a = activate an existing avatar
+choice_a = awaken an existing avatar
 choice_c = create a new avatar
 choice_d = delete an unwanted avatar
 choice_l = leave example for now
@@ -77,8 +97,7 @@ choice_p = permanently remove your account
 demand_a = user.account.get("avatars")
 demand_c = len(user.account.getlist("avatars")) < universe.categories["internal"]["limits"].getint("max_avatars")
 demand_d = user.account.get("avatars")
-description = From here you can activate, create and delete avatars. An avatar is your persona in the world of Example.
-error_no_avatars = You don't have any avatars yet. An avatar is your persona in the world of Example. It is recommended that you create one now.
+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?
 
 [menu:verifying_new_password]