adding missing magatia cape quest start scripts

This commit is contained in:
Ulas Kundakci
2022-01-04 21:58:31 +11:00
parent 507ab06721
commit f3d8429327
2 changed files with 68 additions and 0 deletions

34
scripts/quest/3305.js Normal file
View File

@@ -0,0 +1,34 @@
/*
QUEST: Re-acquiring Zenumist Cape
NPC: Carson
*/
var status = -1;
function start(mode, type, selection) {
if (mode == -1) {
qm.dispose();
} else {
if (mode == 0 && type > 0) {
qm.dispose();
return;
}
if (mode == 1) {
status++;
} else {
status--;
}
if (status == 0) {
qm.sendNext("So you have lost the #bZenumist cape#k. I can make another one for you but I'll need some materials");
} else if (status == 1) {
qm.sendAcceptDecline("To make the new cape, I need you to bring me #b5 #t4021003##k, #b10 #t4000021##k and #b10000 mesos#k");
} else if (status == 2) {
qm.sendOk("Come back to me when you have all of the items");
qm.forceStartQuest();
} else if (status == 3) {
qm.dispose();
}
}
}

34
scripts/quest/3306.js Normal file
View File

@@ -0,0 +1,34 @@
/*
QUEST: Re-acquiring Alcadno Cape
NPC: Maed
*/
var status = -1;
function start(mode, type, selection) {
if (mode == -1) {
qm.dispose();
} else {
if (mode == 0 && type > 0) {
qm.dispose();
return;
}
if (mode == 1) {
status++;
} else {
status--;
}
if (status == 0) {
qm.sendNext("So you have lost the #bAlcadno cape#k. I can make another one for you but I'll need some materials");
} else if (status == 1) {
qm.sendAcceptDecline("To make the new cape, I need you to bring me #b5 #t4021006##k, #b10 #t4000021##k and #b10000 mesos#k");
} else if (status == 2) {
qm.sendOk("Come back to me when you have all of the items");
qm.forceStartQuest();
} else if (status == 3) {
qm.dispose();
}
}
}