summaryrefslogtreecommitdiff
path: root/npc/custom/quests/quest_shop.txt
diff options
context:
space:
mode:
authorIbrahem Zidan <brahem@aotsw.com>2019-04-29 06:01:03 +0200
committerGitHub <noreply@github.com>2019-04-29 06:01:03 +0200
commite7585e18ee42517913e35aa7df750d76f2e76bad (patch)
tree20e7fc77ad042c8b82eec3cf11bf10481c6e04af /npc/custom/quests/quest_shop.txt
parenta99d988be4d469c1ab60d860aac57ff3a6f24cac (diff)
parent9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a (diff)
downloadhercules-e7585e18ee42517913e35aa7df750d76f2e76bad.tar.gz
hercules-e7585e18ee42517913e35aa7df750d76f2e76bad.tar.bz2
hercules-e7585e18ee42517913e35aa7df750d76f2e76bad.tar.xz
hercules-e7585e18ee42517913e35aa7df750d76f2e76bad.zip
Merge pull request #2440 from Emistry/scriptcommand_consolemes
Added *consolemes script command
Diffstat (limited to 'npc/custom/quests/quest_shop.txt')
-rw-r--r--npc/custom/quests/quest_shop.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/quests/quest_shop.txt b/npc/custom/quests/quest_shop.txt
index 739b53c02..c2481e991 100644
--- a/npc/custom/quests/quest_shop.txt
+++ b/npc/custom/quests/quest_shop.txt
@@ -170,13 +170,13 @@ OnEnd:
function Add {
if (getitemname(getarg(1)) == "null") {
- debugmes "Quest reward #"+getarg(1)+" invalid (skipped).";
+ consolemes(CONSOLEMES_WARNING, "Quest reward #"+getarg(1)+" invalid (skipped).");
return;
}
setarray .@j[0],getarg(2),getarg(3),getarg(4);
for(set .@i,5; .@i<getargcount(); set .@i,.@i+2) {
if (getitemname(getarg(.@i)) == "null") {
- debugmes "Quest requirement #"+getarg(.@i)+" invalid (skipped).";
+ consolemes(CONSOLEMES_WARNING, "Quest requirement #"+getarg(.@i)+" invalid (skipped).");
return;
} else
setarray .@j[.@i-2],getarg(.@i),getarg(.@i+1);