summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-08 01:25:38 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-08 01:25:38 -0300
commitc8197a3dcd207b01a083e4c3052117c08e62f3ad (patch)
treea2a1841d4cb2daea824b162a3d9659722ff6fd35
parenta5a31cf98bb24bf10847eb1861107d8b6b277144 (diff)
downloadserverdata-c8197a3dcd207b01a083e4c3052117c08e62f3ad.tar.gz
serverdata-c8197a3dcd207b01a083e4c3052117c08e62f3ad.tar.bz2
serverdata-c8197a3dcd207b01a083e4c3052117c08e62f3ad.tar.xz
serverdata-c8197a3dcd207b01a083e4c3052117c08e62f3ad.zip
Make maps, prepare for the Yeti Summon Quest UNKNOWN stage
-rw-r--r--npc/soren/_import.txt1
-rw-r--r--npc/soren/main.txt84
2 files changed, 85 insertions, 0 deletions
diff --git a/npc/soren/_import.txt b/npc/soren/_import.txt
index 55ff4da46..7721a7c41 100644
--- a/npc/soren/_import.txt
+++ b/npc/soren/_import.txt
@@ -1,4 +1,5 @@
// Map soren: Soren's Village
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/soren/_mobs.txt",
+"npc/soren/main.txt",
"npc/soren/mapflags.txt",
diff --git a/npc/soren/main.txt b/npc/soren/main.txt
new file mode 100644
index 000000000..e7eb63f93
--- /dev/null
+++ b/npc/soren/main.txt
@@ -0,0 +1,84 @@
+// TMW2 Scripts
+// Author:
+// Jesusalva
+// Description:
+// Celestia Yeti King's quest. This controls Soren's House and the three keysigns.
+// Key #1
+// Perform the rite at the Fountain
+// Key #2
+// Perform the rite at the south lake
+// Key #3
+// Perform the rite at the Button Area
+//
+// If the same player performs the rite on different places, HE'LL BE PENALIZED.
+// Performing the rite spawn monsters, so watch out.
+
+// Notes:
+// I had two options:
+// getvariableofnpc(<variable>, "<npc name>")
+// This way, each summon point would have .caster and .lifetime
+// getvariableofpc(<variable>, <account id>{, <default value>})
+// This way, I could use @cast_places to control stuff.
+//
+// Obviously NPC variables was more sane.
+
+soren,105,57,0 script Soren's House NPC_NO_SPRITE,0,0,{
+ end;
+
+OnTouch:
+ end;
+}
+
+
+
+
+
+soren,105,92,0 script Soren's Fountain NPC_NO_SPRITE,0,0,{
+
+ end;
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 2;
+
+ .casterId=""; // getcharid(3) → Account number!!
+ .lifetime=0; // When will this gate expire (five minutes) (gettimetick(2) + (60*5))
+
+ end;
+}
+
+
+
+
+soren,104,143,0 script Soren's Lake NPC_NO_SPRITE,0,0,{
+
+ end;
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 1;
+
+ .casterId=""; // getcharid(3) → Account number!!
+ .lifetime=0; // When will this gate expire (five minutes) (gettimetick(2) + (60*5))
+
+ end;
+}
+
+
+
+
+
+soren,107,37,0 script Soren's Dizmo NPC_NO_SPRITE,0,0,{
+
+ end;
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 3;
+
+ .casterId=""; // getcharid(3) → Account number!!
+ .lifetime=0; // When will this gate expire (five minutes) (gettimetick(2) + (60*5))
+
+ end;
+}
+