X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=menu;h=495fce9f25eda0f12afc067f2e53845a4e36a6f4;hp=a9f6f0e5a4c7748f082715f6c1a135ae3b1939bc;hb=727a0b93665896586d2ff48aedce818c781912de;hpb=98c1ce3a29f1cb35df7da79c95ac9fcb8a4a8e1f diff --git a/menu b/menu index a9f6f0e..495fce9 100644 --- a/menu +++ b/menu @@ -1,10 +1,9 @@ -[control] +[__control__] read_only = yes [menu:activate_avatar] -action = user.avatar = universe.contents[user.account.getlist("avatars")[int(choice)-1]] +action = user.activate_avatar_by_index(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())]) @@ -13,7 +12,6 @@ description = This is the list of avatars available for you to awaken. prompt = Whom would you like to awaken? [menu:active] -prompt = > [menu:checking_new_account_name] action_d = user.account.destroy()