summaryrefslogtreecommitdiff
path: root/npc/005-1/ayasha.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/005-1/ayasha.txt')
-rw-r--r--npc/005-1/ayasha.txt44
1 files changed, 31 insertions, 13 deletions
diff --git a/npc/005-1/ayasha.txt b/npc/005-1/ayasha.txt
index 8a6338455..9bc7b2d2f 100644
--- a/npc/005-1/ayasha.txt
+++ b/npc/005-1/ayasha.txt
@@ -1,17 +1,17 @@
// Author:
// Crazyfefe
+// Jesusalva (fixes)
-
-005-1,52,81,0 script Ayasha NPC_PLAYER,{
+005-1,52,81,0 script Ayasha NPC_HUMAN_FEMALE_NOOB,{
function quest_findAllKids
{
setq CandorQuest_HAS, 1;
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Good luck !");
+ l("Good luck!");
close;
}
@@ -19,7 +19,7 @@
if (.@has == 0)
{
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("Hello! can you help me for find all kids?");
+ l("Hello! Can you help me to find all kids?");
do
{
select
@@ -37,7 +37,7 @@
else if (.@has == 1)
{
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
- l("You don't find all of them yet.");
+ l("You still haven't found all of them yet.");
close;
}
else if (.@has == 2)
@@ -61,15 +61,15 @@
close;
OnInit:
- .sex = G_MALE;
+ .sex = G_FEMALE;
.distance = 3;
end;
}
function script CheckEnfant {
- .questCheck = .questCheck + 1; // NOTE: Do we really want this as a **NPC** variable? These affects other players, right?
- l("Oh Welcome then.");
+ .questCheck = .questCheck + 1; // FIXME: This is broken scope.
+ l("Oh Welcome then."); // NOTE: This will never work
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Oh! You found me. Well played!");
narrator("You receive 5 exp.");
@@ -84,6 +84,9 @@ function script CheckEnfant {
if (getq(CandorQuest_HAS) == 1)
{
CheckEnfant();
+ } else {
+ mes l("The kid is not paying attention to you.");
+ close;
}
end;
OnInit:
@@ -95,10 +98,13 @@ OnInit:
if (getq(CandorQuest_HAS) == 1)
{
CheckEnfant();
+ } else {
+ mes l("The kid is not paying attention to you.");
+ close;
}
end;
OnInit:
- .sex = G_OTHER;
+ .sex = G_MALE;
.distance = 1;
end;
}
@@ -106,10 +112,13 @@ OnInit:
if (getq(CandorQuest_HAS) == 1)
{
CheckEnfant();
+ } else {
+ mes l("The kid is not paying attention to you.");
+ close;
}
end;
OnInit:
- .sex = G_OTHER;
+ .sex = G_MALE;
.distance = 1;
end;
}
@@ -117,10 +126,13 @@ OnInit:
if (getq(CandorQuest_HAS) == 1)
{
CheckEnfant();
+ } else {
+ mes l("The kid is not paying attention to you.");
+ close;
}
end;
OnInit:
- .sex = G_OTHER;
+ .sex = G_MALE;
.distance = 1;
end;
}
@@ -128,10 +140,13 @@ OnInit:
if (getq(CandorQuest_HAS) == 1)
{
CheckEnfant();
+ } else {
+ mes l("The kid is not paying attention to you.");
+ close;
}
end;
OnInit:
- .sex = G_OTHER;
+ .sex = G_MALE;
.distance = 1;
end;
}
@@ -139,10 +154,13 @@ OnInit:
if (getq(CandorQuest_HAS) == 1)
{
CheckEnfant();
+ } else {
+ mes l("The kid is not paying attention to you.");
+ close;
}
end;
OnInit:
- .sex = G_OTHER;
+ .sex = G_MALE;
.distance = 1;
end;
}