summaryrefslogtreecommitdiff
path: root/npc/023-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-30 11:14:56 -0200
committerJesusaves <cpntb1@ymail.com>2018-10-30 11:14:56 -0200
commit7955a162a41113f97cab2b8091a9b07968f3a707 (patch)
tree27fa3b3b278b99db1213a1b9f07a7d561ff8edba /npc/023-2
parent3bcd8e488c164e91742735978c4dde327f80b7d7 (diff)
downloadserverdata-7955a162a41113f97cab2b8091a9b07968f3a707.tar.gz
serverdata-7955a162a41113f97cab2b8091a9b07968f3a707.tar.bz2
serverdata-7955a162a41113f97cab2b8091a9b07968f3a707.tar.xz
serverdata-7955a162a41113f97cab2b8091a9b07968f3a707.zip
Lightbringer NPC added
Diffstat (limited to 'npc/023-2')
-rw-r--r--npc/023-2/_import.txt1
-rw-r--r--npc/023-2/lightbringer.txt31
2 files changed, 32 insertions, 0 deletions
diff --git a/npc/023-2/_import.txt b/npc/023-2/_import.txt
index e0c2f3ee9..6f6f6f77a 100644
--- a/npc/023-2/_import.txt
+++ b/npc/023-2/_import.txt
@@ -2,3 +2,4 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/023-2/_mobs.txt",
"npc/023-2/_warps.txt",
+"npc/023-2/lightbringer.txt",
diff --git a/npc/023-2/lightbringer.txt b/npc/023-2/lightbringer.txt
new file mode 100644
index 000000000..17b2512b4
--- /dev/null
+++ b/npc/023-2/lightbringer.txt
@@ -0,0 +1,31 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// The most powerful sword ever. It's alive.
+
+023-2,91,86,0 script Lightbringer#NLib NPC_LIGHTBRINGER,{
+ if ($NLIB_DAY == 7) goto L_Today;
+ npctalkonce l("This sword is frightening, and is alive. You better not touch it!");
+ end;
+
+L_Today:
+ if (strcharinfo(0) != $NLIB_HIGHNAME$) {
+ npctalk3 l("The sword glows too much. Perhaps @@ could take it.", $NLIB_HIGHNAME$);
+ end;
+ }
+ rentitem Lightbringer, (60*60*24);
+ dispbottom l("This live sword drafts itself to your hand. You can wield it during today's event.");
+ disablenpc .name$;
+ end;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 5;
+
+ if (!$NLIB_DAY)
+ disablenpc .name$;
+ end;
+
+}
+