Finalize INI to YAML conversion
[mudpy.git] / share / menu.yaml
index c022ee4..248592b 100644 (file)
@@ -70,7 +70,7 @@ menu:delete_account:
     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])
+    action: user.delete_avatar(user.account.get("avatars")[int(choice)-1])
     action_a: pass
     branch: main_utility
     branch_a: main_utility
@@ -111,9 +111,9 @@ menu:main_utility:
     choice_d: delete an unwanted avatar
     choice_l: leave example for now
     choice_p: permanently remove your account
-    demand_a: user.account.getlist("avatars")
-    demand_c: len(user.account.getlist("avatars")) < universe.categories["internal"]["limits"].getint("max_avatars")
-    demand_d: user.account.getlist("avatars")
+    demand_a: user.account.get("avatars")
+    demand_c: len(user.account.get("avatars")) < universe.categories["internal"]["limits"].get("max_avatars")
+    demand_d: user.account.get("avatars")
     description: $(red)$(inc:banner.txt)$(nrm)$(eol)$(eol)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?