diff options
author | Saulc <lucashelaine14@gmail.com> | 2018-02-09 15:31:46 +0100 |
---|---|---|
committer | Saulc <lucashelaine14@gmail.com> | 2018-02-09 15:31:46 +0100 |
commit | 2e66d22e0586aea3af18887f42bf48abfe985577 (patch) | |
tree | 93a762cffcc7d744bf74f77de594ad793baf538f /npc/005-1/ayasha.txt | |
parent | 2bbbacacf8cdf8a06a95b3346207ea72b9917da0 (diff) | |
parent | 1646ea8eca6ed14afaf4c4f254e69e007fc27b55 (diff) | |
download | serverdata-2e66d22e0586aea3af18887f42bf48abfe985577.tar.gz serverdata-2e66d22e0586aea3af18887f42bf48abfe985577.tar.bz2 serverdata-2e66d22e0586aea3af18887f42bf48abfe985577.tar.xz serverdata-2e66d22e0586aea3af18887f42bf48abfe985577.zip |
Merge branch 'master' of gitlab.com:TMW2/serverdata
Diffstat (limited to 'npc/005-1/ayasha.txt')
-rw-r--r-- | npc/005-1/ayasha.txt | 44 |
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;
}
|