summaryrefslogtreecommitdiff
path: root/npc/024-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-16 01:12:41 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-16 01:12:41 -0300
commitbf736124b65dde540c9065be12f6faa89fba2ca3 (patch)
tree577d1e8071d30f511fe5bdf31bada7c01dfa9d86 /npc/024-1
parentfdfe72f2707634323226f8097dc1060f511eba1b (diff)
downloadserverdata-bf736124b65dde540c9065be12f6faa89fba2ca3.tar.gz
serverdata-bf736124b65dde540c9065be12f6faa89fba2ca3.tar.bz2
serverdata-bf736124b65dde540c9065be12f6faa89fba2ca3.tar.xz
serverdata-bf736124b65dde540c9065be12f6faa89fba2ca3.zip
Frostia Town is now working.
Diffstat (limited to 'npc/024-1')
-rw-r--r--npc/024-1/_import.txt1
-rw-r--r--npc/024-1/guard.txt12
-rw-r--r--npc/024-1/soul-menhir.txt20
-rw-r--r--npc/024-1/town.txt4
4 files changed, 34 insertions, 3 deletions
diff --git a/npc/024-1/_import.txt b/npc/024-1/_import.txt
index c31784210..604efcddb 100644
--- a/npc/024-1/_import.txt
+++ b/npc/024-1/_import.txt
@@ -3,5 +3,6 @@
"npc/024-1/_warps.txt",
"npc/024-1/guard.txt",
"npc/024-1/mapflags.txt",
+"npc/024-1/soul-menhir.txt",
"npc/024-1/teleporter.txt",
"npc/024-1/town.txt",
diff --git a/npc/024-1/guard.txt b/npc/024-1/guard.txt
index 4dc86cdd8..23bc03790 100644
--- a/npc/024-1/guard.txt
+++ b/npc/024-1/guard.txt
@@ -9,10 +9,20 @@
goto L_Unallowed;
//if (getrace() == "Elf") goto L_Warp;
- .@tax=101-reputation("Frostia");
+ .@tax=1001-(reputation("Frostia")*10);
mesn;
mesc l("The guard eyes you with suspcion.");
mesq l("You should not be here. Get moving.");
+ if (Zeny < .@tax)
+ close;
+ next;
+ mesc l("Bribe the guard for @@ GP?", .@price);
+ if (askyesno() == ASK_YES) {
+ Zeny-=.@price;
+ closeclientdialog;
+ slide 93, 69;
+ npctalk3 l("Behave yourself.");
+ }
close;
L_Unallowed:
diff --git a/npc/024-1/soul-menhir.txt b/npc/024-1/soul-menhir.txt
new file mode 100644
index 000000000..2820399df
--- /dev/null
+++ b/npc/024-1/soul-menhir.txt
@@ -0,0 +1,20 @@
+// TMW2 scripts.
+// Author:
+// Jesusalva
+// Description:
+// Soul Menhir
+
+024-1,94,41,0 script Soul Menhir#frost NPC_SOUL_SNOW,{
+ @map$ = "024-1";
+ setarray @Xs, 93, 94, 95, 93, 95, 93, 94, 95;
+ setarray @Ys, 40, 40, 40, 41, 41, 42, 42, 42;
+ @x = 0;
+ @y = 0;
+ callfunc "SoulMenhir";
+ @map$ = "";
+ cleararray @Xs[0], 0, getarraysize(@Xs);
+ cleararray @Ys[0], 0, getarraysize(@Ys);
+ @x = 0;
+ @y = 0;
+ close;
+}
diff --git a/npc/024-1/town.txt b/npc/024-1/town.txt
index f3ddc20c7..fd7e7bb67 100644
--- a/npc/024-1/town.txt
+++ b/npc/024-1/town.txt
@@ -4,7 +4,7 @@
// Description:
// Reset LOCATION$ when entering a town
-/*024-1,x,y,0 script #LocFrostia NPC_HIDDEN,2,0,{
+024-1,93,69,0 script #LocFrostia NPC_HIDDEN,2,0,{
LOCATION$="Frostia"; end;
-}*/
+}