summaryrefslogtreecommitdiff
path: root/npc/001-2-26/ivan.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 11:00:49 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 11:00:49 -0300
commit8a4bf716002a017de77fe7df301ef8e4aaf00a2e (patch)
tree4947d0b015baad639fa07133369e9a09c8a468bc /npc/001-2-26/ivan.txt
downloadserverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.gz
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.bz2
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.xz
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.zip
Initial commit
Diffstat (limited to 'npc/001-2-26/ivan.txt')
-rw-r--r--npc/001-2-26/ivan.txt85
1 files changed, 85 insertions, 0 deletions
diff --git a/npc/001-2-26/ivan.txt b/npc/001-2-26/ivan.txt
new file mode 100644
index 00000000..ba95fd4c
--- /dev/null
+++ b/npc/001-2-26/ivan.txt
@@ -0,0 +1,85 @@
+// Evol scripts.
+// Author:
+// Reid
+// Description:
+// Alchemist NPC
+
+001-2-26,28,30,0 script Ivan NPC_IVAN,{
+
+ function ivan_description {
+ speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
+ l("I am an alchemist, I bear the name of Ivan."),
+ l("I work under the protection and the supervision of the Legion of Aemil."),
+ l("Alchemical studies are prohibited in every city of the Archipelagos, do not dare to practice it in a public zone!");
+
+ return;
+ }
+
+ function enora_quest {
+ speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("How many? What kind? I can produce two dozen boxes per day.");
+
+ select(l("5 Piberries Infusions"));
+
+ speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
+ l("5 boxes... Alright, @@ are my speciality!", getitemlink(PiberriesInfusion)),
+ l("I can prepare them in an hour or so!");
+
+ select(l("You missunderstood, it's 5 potions."));
+
+ speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
+ l("Why would the Legion request my help for only 5 potions?"),
+ l("Is this some kind of joke?!");
+
+ switch (select(l("Enora needs them."),
+ l("Excuse me that was a mistake.")))
+ {
+ case 1:
+ break;
+ case 2:
+ narrator S_FIRST_BLANK_LINE, l("Ivan grumbles and resumes his work.");
+ emotion E_UPSET;
+ close;
+ }
+
+ speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
+ l("Oh... You should have started with this!"),
+ l("I have some spare one, take them, and tell Enora that any fees are paid!");
+
+ setq ArtisQuests_Enora, 9;
+ emotion E_HAPPY;
+ return;
+ }
+
+ .@enora = getq(ArtisQuests_Enora);
+
+ if (.@enora < 8)
+ {
+ npctalk3 l("I'm busy, leave me alone.");
+ end;
+ }
+
+ speech S_LAST_NEXT, l("Yes what do you need?");
+
+ select
+ rif(.@enora == 8, l("The Legion needs some potions.")),
+ rif(.@enora >= 8, l("Who are you?")),
+ menuaction(l("Quit"));
+
+ switch (@menu)
+ {
+ case 1:
+ enora_quest;
+ break;
+ case 2:
+ ivan_description;
+ break;
+ }
+
+ closeclientdialog;
+ goodbye;
+ close;
+
+OnInit:
+ .distance = 2;
+ end;
+}