summaryrefslogtreecommitdiff
path: root/npc/005-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-03 14:08:34 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-03 14:08:34 -0300
commit6be78ea3c8f6a37912c20b73d3d0847173697502 (patch)
treeea41d7b0a273523e78d4eaaa772e2724d026ad60 /npc/005-1
parentc6c0c109836daf33f47114cb7eb1ddc946ad5c19 (diff)
downloadserverdata-6be78ea3c8f6a37912c20b73d3d0847173697502.tar.gz
serverdata-6be78ea3c8f6a37912c20b73d3d0847173697502.tar.bz2
serverdata-6be78ea3c8f6a37912c20b73d3d0847173697502.tar.xz
serverdata-6be78ea3c8f6a37912c20b73d3d0847173697502.zip
Some music filename sanitization, siege map masks
Diffstat (limited to 'npc/005-1')
-rw-r--r--npc/005-1/ayasha.txt29
1 files changed, 10 insertions, 19 deletions
diff --git a/npc/005-1/ayasha.txt b/npc/005-1/ayasha.txt
index 778acd60e..da9ffd312 100644
--- a/npc/005-1/ayasha.txt
+++ b/npc/005-1/ayasha.txt
@@ -26,8 +26,7 @@
}
.@has = getq(CandorQuest_HAS);
- if (.@has == 0)
- {
+ if (.@has == 0) {
speech S_LAST_NEXT,
l("Ah, the kids are playing hide and seek, but I am afraid they went too far. A monster attack could start anytime, after all."),
l("I am currently very worried with them. They're just children! They don't know how to fight!"),
@@ -39,16 +38,13 @@
l("I can't, sorry.");
setq CandorQuest_HAS, 1;
- switch (@menu)
- {
+ switch (@menu) {
case 1:
quest_findAllKids;
break;
}
} while (@menu != 2);
- }
- else if (.@has == 1)
- {
+ } else if (.@has == 1) {
mesn;
mesq l("Even if the city has not been attacked on the last few years, I can't help but be concerned while the kids are playing hide and seek."),
next;
@@ -61,22 +57,17 @@
l("Yes!"),
l("I can't, sorry.");
- switch (@menu)
- {
+ switch (@menu) {
case 1:
quest_findAllKids;
break;
}
} while (@menu != 2);
- }
- else if (.@has == 2)
- {
+ } else if (.@has == 2) {
mesn;
mesq l("You still haven't found all of them yet.");
close;
- }
- else if (.@has == 3)
- {
+ } else if (.@has == 3) {
speech S_LAST_NEXT,
l("Thank you, here is your reward and... some pocket money.");
narrator("You receive 30 exp and 50 GP.");
@@ -84,9 +75,7 @@
Zeny = (Zeny + 50);
setq CandorQuest_HAS, 4;
close;
- }
- else
- {
+ } else {
mesn;
mesq l("Thank you for your help.");
if (BaseLevel >= 24 && gettimetick(2) > .RENT_TIME) goto L_Sword;
@@ -142,6 +131,7 @@ L_MKControl:
close;
L_MKSmall:
+ addmapmask "005-1", 2;
changemusic "005-1", "mythica.ogg";
disablenpc("Mana Stone");
pvpon("005-1");
@@ -233,7 +223,8 @@ OnTimer600000:
end;
OnTimer630000:
- changemusic "005-1", "bartk - the adventure begins.ogg";
+ removemapmask "005-1", 2;
+ changemusic "005-1", "bartk_adventure.ogg";
enablenpc("Mana Stone");
killmonsterall("005-1", 0);
pvpoff("005-1");