From 4c39b6e71a04d68ffbfef59e3ca1ebc363141d39 Mon Sep 17 00:00:00 2001 From: Nicolas Weeger Date: Sun, 22 Aug 2021 10:56:00 +0200 Subject: [PATCH] Add default message, force asking for 'pirate' or 'job' to be able to get treasure information --- wolfsburg/black_beard.msg | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wolfsburg/black_beard.msg b/wolfsburg/black_beard.msg index 45a39edd9..61bd7833a 100644 --- a/wolfsburg/black_beard.msg +++ b/wolfsburg/black_beard.msg @@ -2,13 +2,13 @@ "rules": [ { "match" : ["treasure"], - "pre" : [["quest", "wolfsburg/treasure-island", "=10"]], + "pre" : [["quest", "wolfsburg/treasure-island", "=10"], ["npctoken", "state", "job"]], "post" : [["quest", "wolfsburg/treasure-island", "20"]], "msg" : ["Yarh, I do happen.\n\nYou need a magic shovel.\n\nTalk to my friend Long John Silver in this tavern, he knows more than I do."] }, { "match" : ["pirate", "job"], "pre" : [["quest", "wolfsburg/treasure-island", "=10"]], - "post" : [], + "post" : [["setnpctoken", "state", "job"]], "msg" : ["I search the seven seas looking for treasure."], "replies" : [["treasure", "Talking of treasure, you don't happen to know anything about the so-called treasure island?", "2"]] }, { @@ -26,5 +26,10 @@ "pre" : [], "post" : [], "msg" : ["I search the seven seas looking for treasure."] + }, { + "match" : ["*"], + "pre" : [], + "post" : [], + "msg" : ["ARRRRRRR MATEY!!!!!"] } ]}