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
master
cavesomething 2010-04-27 09:10:07 +00:00
parent b7ff8f7936
commit 37493397cf
1 changed files with 3 additions and 24 deletions

View File

@ -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