From: Jeremy Stanley Date: Sat, 10 May 2014 16:16:56 +0000 (+0000) Subject: Convert archetype data file to YAML X-Git-Tag: 0.0.1~242 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=4ecc276f44a9eb2582334fe98a59cfe482092cfe;p=mudpy.git Convert archetype data file to YAML --- diff --git a/etc/mudpy.conf b/etc/mudpy.conf index 927b74b..4a1a922 100644 --- a/etc/mudpy.conf +++ b/etc/mudpy.conf @@ -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 diff --git a/share/archetype.mpy b/share/archetype.yaml similarity index 59% rename from share/archetype.mpy rename to share/archetype.yaml index aefa4f8..d956a74 100644 --- a/share/archetype.mpy +++ b/share/archetype.yaml @@ -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