From 37493397cfd71e33c4f59c44d027ad3269dfd851 Mon Sep 17 00:00:00 2001 From: cavesomething Date: Tue, 27 Apr 2010 09:10:07 +0000 Subject: [PATCH] Update test map to use new dialog syntax git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12994 282e977c-c81d-0410-88c4-b93c2d0d6712 --- test/dialog | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/test/dialog b/test/dialog index 10c637d05..ddc6888ca 100644 --- a/test/dialog +++ b/test/dialog @@ -4,7 +4,7 @@ width 20 height 20 msg Created: 2007-12-16 tchize -Modified: 2007-12-16 tchize +Modified: 2010-04-27 Cavesomething endmsg end arch grass_only @@ -516,30 +516,9 @@ arch sage x 6 y 12 arch event_say +name /test/granpa_dialog.msg title Python -slaying /python/misc/npc_dialog.py -msg -{ - "location" : "test_grandpa_01", - "rules": [ - { - "match" : "hello|hi", - "pre" : [["hello","0"]], - "post" : [["hello","1"]], - "msg" : ["Hello, lad!","Hi, young fellow!","Howdy!"] - }, { - "match": "hello|hi", - "pre" :[["hello","1"]], - "post" :[["hello", "*"]], - "msg" : ["I've heard, you know, I'm not deaf *grmbl*"] - } , { - "match" : "*", - "pre" : [["hello","*"]], - "post" : [["hello", "*"]], - "msg" : ["What ?", "Huh ?", "What do you want ?"] - } -]} -endmsg +slaying /python/dialog/npc_dialog.py end end arch grass_only