summaryrefslogtreecommitdiff
path: root/npc/001-3-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-09-18 15:37:35 -0300
committerJesusaves <cpntb1@ymail.com>2020-09-18 15:37:35 -0300
commit708faac18df4851cb8dda17dc3562ca337e7dc1b (patch)
treec19bf1ff552e8dbf7293468301fe152a5d585db3 /npc/001-3-2
parent05bf6b06370ee7b9695d26962f08cc3641ad1f21 (diff)
parent01ae0e398d5b49db2aafb8af31acf81fb8a522c9 (diff)
downloadserverdata-jesusalva/refinery.tar.gz
serverdata-jesusalva/refinery.tar.bz2
serverdata-jesusalva/refinery.tar.xz
serverdata-jesusalva/refinery.zip
Merge branch 'master' into jesusalva/refineryjesusalva/refinery
Diffstat (limited to 'npc/001-3-2')
-rw-r--r--npc/001-3-2/_import.txt1
-rw-r--r--npc/001-3-2/smuggler.txt78
2 files changed, 79 insertions, 0 deletions
diff --git a/npc/001-3-2/_import.txt b/npc/001-3-2/_import.txt
index d70ece30..e627928d 100644
--- a/npc/001-3-2/_import.txt
+++ b/npc/001-3-2/_import.txt
@@ -2,3 +2,4 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/001-3-2/_warps.txt",
"npc/001-3-2/henry.txt",
+"npc/001-3-2/smuggler.txt",
diff --git a/npc/001-3-2/smuggler.txt b/npc/001-3-2/smuggler.txt
new file mode 100644
index 00000000..ccb0a31d
--- /dev/null
+++ b/npc/001-3-2/smuggler.txt
@@ -0,0 +1,78 @@
+// Evol scripts.
+// Author:
+// Micksha, Toams, Jesusalva
+// Description:
+// The rowboat, picking up the player on the fake pier and bringing them to
+// Argaes Westport.
+
+001-3-2,71,85,6 script Smuggler NPC_ROWBOAT_STAND_WE,{
+ function smugglerNotAuthorized;
+ function smugglerBoarding;
+ mesn;
+ mesq l("Hey dude, we actually have a pretty cool ship near Artis.");
+ next;
+ mesn;
+ mesq l("This lake may look natural, but it is not quite so. We're at sea level.");
+ next;
+ .@q=getq(ThiefQuests_Artis);
+ if (.@q < 3)
+ smugglerNotAuthorized();
+ mesn;
+ mesq l("Cool, right?");
+ next;
+ select
+ l("Yes."),
+ l("So? Will you bring me to Argaes?");
+ mes "";
+ if (@menu == 2)
+ smugglerBoarding();
+ close;
+
+function smugglerNotAuthorized {
+ mesn;
+ mesq l("We smuggle not only goods, but people too. If Henry gives me the word...");
+ next;
+ mesn;
+ mesq l("Hehehe... I've heard Hurnscald is wonderful at this time of the year!");
+ close;
+ return;
+}
+
+function smugglerBoarding {
+ mesn;
+ mesq l("Sure! Hold tight.");
+ next;
+ while (.lock)
+ {
+ mesn;
+ mesq l("Just let me finish this first...");
+ next;
+ }
+ setcam (76*32), (85*32);
+ closeclientdialog;
+ .lock=true;
+ setpcblock(PCBLOCK_MOVE, true);
+ npcwalkto(76, 85);
+ sleep2(1000);
+ setmount 1;
+ warp "001-1", 227, 62;
+ detachrid();
+ .dir = 2;
+ npcwalkto(71, 85);
+ sleep(1000);
+ .dir = 6;
+ .lock=false;
+ end;
+ return;
+}
+
+OnInit:
+ .bodytype = BODYTYPE_3;
+ .distance = 4;
+ .speed = 175;
+ .alwaysVisible = true;
+ .lock = false;
+ end;
+
+}
+