Convert archetype data file to YAML
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 10 May 2014 16:16:56 +0000 (16:16 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 10 May 2014 16:16:56 +0000 (16:16 +0000)
etc/mudpy.conf
share/archetype.yaml [moved from share/archetype.mpy with 59% similarity]

index 927b74b..4a1a922 100644 (file)
@@ -5,7 +5,7 @@
 [__control__]
 default_files = { "account": "account.mpy", "actor": "actor.mpy", "area": "area.mpy", "command": "command.mpy", "internal": "internal.mpy", "menu": "menu.mpy", "other": "other.mpy", "prop": "prop.mpy" }
 include_dirs = "sample"
-include_files = "archetype.mpy"
+include_files = "archetype.yaml"
 private_files = "account.mpy"
 read_only = yes
 
similarity index 59%
rename from share/archetype.mpy
rename to share/archetype.yaml
index aefa4f8..d956a74 100644 (file)
@@ -2,13 +2,12 @@
 # to use, copy, modify, and distribute this software is granted under
 # terms provided in the LICENSE file distributed with this software.
 
-[__control__]
-read_only = yes
+__control__:
+    read_only: yes
 
-[archetype:actor]
-is_actor = yes
-
-[archetype:avatar]
-default_location = area:0,0,0
-inherit = archetype:actor
+archetype:actor:
+    is_actor: yes
 
+archetype:avatar:
+    default_location: area:0,0,0
+    inherit: archetype:actor