Rename internal:limits element to .mudpy.limit
[mudpy.git] / share / menu.yaml
index 94865c1..9735aec 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2004-2015 Jeremy Stanley <fungi@yuggoth.org>. Permission
+# Copyright (c) 2004-2016 Jeremy Stanley <fungi@yuggoth.org>. Permission
 # to use, copy, modify, and distribute this software is granted under
 # terms provided in the LICENSE file distributed with this software.
 
 # to use, copy, modify, and distribute this software is granted under
 # terms provided in the LICENSE file distributed with this software.
 
@@ -112,7 +112,7 @@ menu:main_utility:
     choice_l: leave for now
     choice_p: permanently remove your account
     demand_a: user.account.get("avatars")
     choice_l: leave for now
     choice_p: permanently remove your account
     demand_a: user.account.get("avatars")
-    demand_c: len(user.account.get("avatars")) < universe.categories["internal"]["limits"].get("max_avatars")
+    demand_c: len(user.account.get("avatars")) < universe.contents["mudpy.limit"].get("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. You can also leave or permanently delete your account.
     prompt: What would you like to do?
     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. You can also leave or permanently delete your account.
     prompt: What would you like to do?