X-Git-Url: https://mudpy.org/gitweb?a=blobdiff_plain;f=menu;h=460c1b89323654121fb9565ebd8c1a55ecd7a801;hb=8918c2f7ac137e0c25a5aeb1a3f0bb91636411e5;hp=eb1d270718f96b1b69e31cfeb469bf6948c2283f;hpb=ab7fb385d9b58cd6ca9b0156e8f1780f5ce3e750;p=mudpy.git diff --git a/menu b/menu index eb1d270..460c1b8 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()