Convert mappings and sequences from flow to block
[mudpy.git] / etc / mudpy.yaml
index 672cf4f..45f1d14 100644 (file)
@@ -1,68 +1,91 @@
-# 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.
+---
+_copy: Copyright (c) 2004-2017 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.
 
-__control__:
-    default_files: { "account": "account.yaml", "actor": "actor.yaml", "area": "area.yaml", "command": "command.yaml", "internal": "internal.yaml", "menu": "menu.yaml", "other": "other.yaml", "prop": "prop.yaml" }
-    include_dirs: [ "sample" ]
-    include_files: [ "archetype.yaml" ]
-    private_files: [ "account.yaml" ]
-    read_only: yes
+_desc: This is the top-level configuration file for mudpy service.
 
-.mudpy.linguistic.actions: { "?": "ask", ",": "begin", "-": "begin", ":": "begin", ";": "begin", "!": "exclaim", "...": "muse", ".": "say" }
+_load:
+    - archetype.yaml
+    - command.yaml
+    - menu.yaml
+    - sample
+
+_lock: true
+
+.mudpy.filing.groups:
+    account:
+        flags:
+            - private
+.mudpy.filing.prefix: .
+.mudpy.filing.search:
+    - ""
+    - etc
+    - share
+    - data
+.mudpy.filing.stash: data
+
+.mudpy.linguistic.actions:
+    ?: ask
+    ",": begin
+    -: begin
+    :: begin
+    ;: begin
+    "!": exclaim
+    ...: muse
+    .: say
 .mudpy.linguistic.default_punctuation: .
-.mudpy.linguistic.typos: { "i": "I", "i'd": "I'd", "i'll": "I'll", "i'm": "I'm", "teh": "the", "theyre": "they're", "youre": "you're" }
+.mudpy.linguistic.typos:
+    i: I
+    i'd: I'd
+    i'll: I'll
+    i'm: I'm
+    teh: the
+    theyre: they're
+    youre: you're
 
-#.mudpy.limit.admins: [ admin ]
+.mudpy.limit.admins:
+    - admin
 .mudpy.limit.avatars: 7
-#.mudpy.limit.backups: 10
+# .mudpy.limit.backups: 10
 .mudpy.limit.password_tries: 3
 
-#.mudpy.log.file: mudpy.log
+# .mudpy.log.file: var/mudpy.log
 .mudpy.log.lines: 1000
 .mudpy.log.stdout: true
-#.mudpy.log.syslog: mudpy
+# .mudpy.log.syslog: mudpy
 
 .mudpy.movement.down.enter_term: above
 .mudpy.movement.down.exit_term: downward
-.mudpy.movement.down.vector: [0,0,-1]
+.mudpy.movement.down.vector: [0, 0, -1]
 .mudpy.movement.east.enter_term: the west
 .mudpy.movement.east.exit_term: to the east
-.mudpy.movement.east.vector: [1,0,0]
+.mudpy.movement.east.vector: [1, 0, 0]
 .mudpy.movement.north.enter_term: the south
 .mudpy.movement.north.exit_term: to the north
-.mudpy.movement.north.vector: [0,1,0]
+.mudpy.movement.north.vector: [0, 1, 0]
 .mudpy.movement.south.enter_term: the north
 .mudpy.movement.south.exit_term: to the south
-.mudpy.movement.south.vector: [0,-1,0]
+.mudpy.movement.south.vector: [0, -1, 0]
 .mudpy.movement.up.enter_term: below
 .mudpy.movement.up.exit_term: upward
-.mudpy.movement.up.vector: [0,0,1]
+.mudpy.movement.up.vector: [0, 0, 1]
 .mudpy.movement.west.enter_term: the east
 .mudpy.movement.west.exit_term: to the west
-.mudpy.movement.west.vector: [-1,0,0]
-
-.mudpy.network.host: '::1'
-.mudpy.network.port: 6669
+.mudpy.movement.west.vector: [-1, 0, 0]
 
-#.mudpy.process.daemon: true
-#.mudpy.process.pidfile: mudpy.pid
+.mudpy.network.host: ::1
+.mudpy.network.port: 4000
 
-internal:storage:
-    default_dir: "data"
-    #root_path: "."
-    search_path: [ "", "etc", "share", "data" ]
+# .mudpy.process.daemon: true
+# .mudpy.process.pidfile: var/mudpy.pid
 
-internal:time:
-    definition_d: 24h
-    definition_h: 60mi
-    definition_mi: 10r
-    definition_mo: 28d
-    definition_r: 6
-    definition_w: 7d
-    definition_y: 12mo
-    frequency_log: 6000
-    frequency_save: 600
-    linkdead: { "default": 6000, "entering_account_name": 600, "active": 6048000 }
-    idle: { "default": 5000, "entering_account_name": 500, "active": 5040000 }
-    increment: 0.1
+.mudpy.timing.idle.disconnect.active: 6048000
+.mudpy.timing.idle.disconnect.default: 6000
+.mudpy.timing.idle.disconnect.entering_account_name: 600
+.mudpy.timing.idle.warn.active: 5040000
+.mudpy.timing.idle.warn.default: 5000
+.mudpy.timing.idle.warn.entering_account_name: 500
+.mudpy.timing.increment: 0.1
+.mudpy.timing.save: 600
+.mudpy.timing.status: 6000