Reformat and clean up quest scripts
This commit is contained in:
@@ -6,16 +6,17 @@ function start(mode, type, selection) {
|
||||
if (mode == -1) {
|
||||
qm.dispose();
|
||||
} else {
|
||||
if (mode > 0)
|
||||
if (mode > 0) {
|
||||
status++;
|
||||
else
|
||||
} else {
|
||||
qm.dispose();
|
||||
}
|
||||
if (status == 0) {
|
||||
qm.sendAcceptDecline("Hello, #h0#. Welcome to Maple World. It's currently event season, and we're welcome new characters with a gift. Would you like your gift now?");
|
||||
} else if (status == 1) {
|
||||
qm.sendOk("Open your inventory and double-click on it! These gifts will make you look stylish. Oh, one more thing! You'll get another gift at level 30. Good luck!");
|
||||
qm.forceStartQuest();
|
||||
qm.forceCompleteQuest();
|
||||
qm.forceCompleteQuest();
|
||||
qm.gainItem(2430191, 1, true);
|
||||
} else if (status == 2) {
|
||||
qm.dispose();
|
||||
|
||||
Reference in New Issue
Block a user