From e3c38676ef84b7f94da7f8010562a1fe6a0a7c56 Mon Sep 17 00:00:00 2001 From: ryo_saeba Date: Sat, 15 May 2010 18:36:06 +0000 Subject: [PATCH] Fix JSON. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13229 282e977c-c81d-0410-88c4-b93c2d0d6712 --- test/quest_handling/bothquests.msg | 8 ++++---- test/quest_handling/connectiontest.msg | 12 ++++++------ test/quest_handling/testquest.msg | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/test/quest_handling/bothquests.msg b/test/quest_handling/bothquests.msg index bee54444e..46e7ccc3d 100644 --- a/test/quest_handling/bothquests.msg +++ b/test/quest_handling/bothquests.msg @@ -13,22 +13,22 @@ "msg" : ["You completed both quests, well done, the crown of win is yours"] },{ "match" : ["*"], - "pre" : [["quest", "testquest" "50"], ["quest", "testquest2", "10"]], + "pre" : [["quest", "testquest", "50"], ["quest", "testquest2", "10"]], "post": [], "msg" : ["You have opened the door, but still need to recover the apples"] },{ "match" : ["*"], - "pre" : [["quest", "testquest2" "30"], ["quest", "testquest" "10"]], + "pre" : [["quest", "testquest2", "30"], ["quest", "testquest", "10"]], "post": [], "msg" : ["You have recovered the apples, but still need to complete the sword quest"] },{ "match" : ["*"], - "pre" : [["quest", "testquest" "50"]], + "pre" : [["quest", "testquest", "50"]], "post": [], "msg" : ["You have opened the door, but there is another quest for you to do still"] },{ "match" : ["*"], - "pre" : [["quest", "testquest2" "30"]], + "pre" : [["quest", "testquest2", "30"]], "post": [], "msg" : ["You have recovered the apples, but there is another quest for you to do still"] },{ diff --git a/test/quest_handling/connectiontest.msg b/test/quest_handling/connectiontest.msg index 8af678307..1921bb1e2 100644 --- a/test/quest_handling/connectiontest.msg +++ b/test/quest_handling/connectiontest.msg @@ -3,23 +3,23 @@ "rules": [ { "match" : ["*"], - "pre" : [["quest", "testquest" "50"]], + "pre" : [["quest", "testquest", "50"]], "post": [], "msg" : ["I've already opened the door."] },{ "match" : ["*"], - "pre" : [["quest", "testquest" "40"]], - "post": [["connection", "4"], ["quest", "testquest" "50"]], + "pre" : [["quest", "testquest", "40"]], + "post": [["connection", "4"], ["quest", "testquest", "50"]], "msg" : ["I'll just open the door for you."] },{ "match" : ["*"], - "pre" : [["quest", "testquest" "10"]["token", "pester", "1"]], + "pre" : [["quest", "testquest", "10"], ["token", "pester", "1"]], "post": [], "msg" : ["I gave you a biccie already, $you; now do your quest."] },{ "match" : ["*"], - "pre" : [["quest", "testquest" "10"]], - "post": [["settoken", "pester", "1"],["giveitem", "biccie"]], + "pre" : [["quest", "testquest", "10"]], + "post": [["settoken", "pester", "1"], ["giveitem", "biccie"]], "msg" : ["You haven't got far enough in the quest yet, but have a biccie."] },{ "match" : ["*"], diff --git a/test/quest_handling/testquest.msg b/test/quest_handling/testquest.msg index 583e51e90..895eb72be 100644 --- a/test/quest_handling/testquest.msg +++ b/test/quest_handling/testquest.msg @@ -8,7 +8,7 @@ "msg" : ["The old man has opened the door for you, well done."] },{ "match" : ["*"], - "pre" : [["quest", "testquest" "40"], ["token", "pester", "1"]], + "pre" : [["quest", "testquest", "40"], ["token", "pester", "1"]], "post": [], "msg" : ["I told you already, speak to the old man"] },{ @@ -18,8 +18,8 @@ "msg" : ["Speak to the old man, and he'll open the door for you"] },{ "match" : ["*"], - "pre" : [["quest", "testquest", "20"], ["item", "testquesttarget"]] - "post": [["takeitem","testquesttarget"],["quest", "testquest", "40"]] + "pre" : [["quest", "testquest", "20"], ["item", "testquesttarget"]], + "post": [["takeitem","testquesttarget"],["quest", "testquest", "40"]], "msg" : ["Thank you for returning my sword, Speak to the old man, and he'll open the door for you"] },{ "match" : ["*"],