summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/001-1/children.txt11
-rw-r--r--npc/functions/main.txt6
2 files changed, 12 insertions, 5 deletions
diff --git a/npc/001-1/children.txt b/npc/001-1/children.txt
index 0cbba1f8..dd7f7668 100644
--- a/npc/001-1/children.txt
+++ b/npc/001-1/children.txt
@@ -69,14 +69,15 @@ L_tell:
"Goodbye!", L_close;
L_keepword:
- mes "[Aisha]";
- mes "\"No.\"";
+ mesn;
+ mesq l("No.");
goto L_close;
L_Giveword:
- mes "[Aisha]";
- mes "Aisha looks around as she leans in and hushes you to silence. After a few seconds, she whispers to you:";
- mes "\"I like you, so I'll tell you the bad word. But you can't tell anyone else about it! The bad word is '" + get(.invocation$, "spell-aggravate") + ".'\"";
+ mesn;
+ mes l("Aisha looks around as she leans in and hushes you to silence. After a few seconds, she whispers to you:");
+ mesq l("I like you, so I'll tell you the bad word. But you can't tell anyone else about it! The bad word is %s.'", b("itenplz"));
+ learnskill EVOL_AREA_PROVOKE, 1;
next;
mes "[Aisha]";
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 930e5283..1bc4c37b 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -624,3 +624,9 @@ function script updateskill {
return;
}
+function script learnskill {
+ if (getskilllv(getarg(0)) < getarg(1))
+ skill getarg(0), getarg(1), 0;
+ return;
+}
+