From b5573b6b7c51e99b109741af744cdfcbb632098e Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 16 Jun 2014 09:49:27 +0000 Subject: [PATCH] Convert sample prop data file to YAML --- etc/mudpy.conf | 4 ++-- sample/__init__.mpy | 2 +- sample/{prop.mpy => prop.yaml} | 9 ++++----- 3 files changed, 7 insertions(+), 8 deletions(-) rename sample/{prop.mpy => prop.yaml} (65%) diff --git a/etc/mudpy.conf b/etc/mudpy.conf index 3c1c175..7283f91 100644 --- a/etc/mudpy.conf +++ b/etc/mudpy.conf @@ -1,9 +1,9 @@ -# Copyright (c) 2004-2010 Jeremy Stanley . Permission +# Copyright (c) 2004-2014 Jeremy Stanley . Permission # to use, copy, modify, and distribute this software is granted under # terms provided in the LICENSE file distributed with this software. [__control__] -default_files = { "account": "account.mpy", "actor": "actor.mpy", "area": "area.yaml", "command": "command.yaml", "internal": "internal.mpy", "menu": "menu.yaml", "other": "other.mpy", "prop": "prop.mpy" } +default_files = { "account": "account.mpy", "actor": "actor.mpy", "area": "area.yaml", "command": "command.yaml", "internal": "internal.mpy", "menu": "menu.yaml", "other": "other.mpy", "prop": "prop.yaml" } include_dirs = "sample" include_files = "archetype.yaml" private_files = "account.mpy" diff --git a/sample/__init__.mpy b/sample/__init__.mpy index 3075204..611228e 100644 --- a/sample/__init__.mpy +++ b/sample/__init__.mpy @@ -3,6 +3,6 @@ # terms provided in the LICENSE file distributed with this software. [__control__] -include_files = [ "area.yaml", "prop.mpy" ] +include_files = [ "area.yaml", "prop.yaml" ] read_only = yes diff --git a/sample/prop.mpy b/sample/prop.yaml similarity index 65% rename from sample/prop.mpy rename to sample/prop.yaml index 1075eba..4104787 100644 --- a/sample/prop.mpy +++ b/sample/prop.yaml @@ -2,8 +2,7 @@ # to use, copy, modify, and distribute this software is granted under # terms provided in the LICENSE file distributed with this software. -[prop:sample_prop] -impression = A sample prop sits here. -keywords = sample prop -location = area:0,0,0 - +prop:sample_prop: + impression: A sample prop sits here. + keywords: sample prop + location: area:0,0,0 -- 2.11.0