added dynamic linking approach to exits. live hacking rooms works! :D :D
[mudsync.git] / worlds / goblin-hq.scm
index bd79b800e0734d0d3c5f2f52496c7b0b36dface6..357f4a6557decaead808d8603e5210e1c394ad3e 100644 (file)
@@ -1,3 +1,21 @@
+;;; Mudsync --- Live hackable MUD
+;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
+;;;
+;;; This file is part of Mudsync.
+;;;
+;;; Mudsync is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; Mudsync is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with Mudsync.  If not, see <http://www.gnu.org/licenses/>.
+
 (use-modules (mudsync)
              (8sync systems actors)
              (8sync agenda)
@@ -109,7 +127,7 @@ Still, you have to admit that all the machines look pretty nice."
     #:exits
     (list (make <exit>
             #:name "east"
-            #:to-symbol 'room:north-hallway
+            #:to 'room:north-hallway
             #:desc wooden-unlocked-door)))  ; eventually make this locked so you have
                                         ; to kick it down, joeyh style!
    ('room:north-hallway
@@ -124,15 +142,15 @@ and the west."
     #:exits
     (list (make <exit>
             #:name "west"
-            #:to-symbol 'room:server-room
+            #:to 'room:server-room
             #:desc wooden-unlocked-door)
           (make <exit>
             #:name "east"
-            #:to-symbol 'room:code-a-plex
+            #:to 'room:code-a-plex
             #:desc metal-stiff-door)
           ;; (make <exit>
           ;;   #:name "south"
-          ;;   #:to-symbol 'center-hallway)
+          ;;   #:to 'center-hallway)
           ))
 
    ('room:code-a-plex
@@ -147,7 +165,7 @@ But one looks invitingly empty."
     #:exits
     (list (make <exit>
             #:name "west"
-            #:to-symbol 'room:north-hallway
+            #:to 'room:north-hallway
             #:desc metal-stiff-door)))
 
    ('thing:typewriter
@@ -165,8 +183,8 @@ But one looks invitingly empty."
 ;;      #:exits
 ;;      ,(list (make <exit>
 ;;               #:name "east"
-;;               #:to-symbol 'room:))
+;;               #:to 'room:))
 ;;      )
 
 (define (goblin-demo . args)
-  (run-demo "/tmp/goblin-game.db" goblin-rooms 'room:north-hallway))
+  (run-demo goblin-rooms 'room:north-hallway))