summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-01 17:56:49 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-01 17:56:49 -0300
commitc668daba011e359df621e9fe53e654bf589e314b (patch)
tree64bc191c422cd2fea635f82054c6703e0971fa14
parent959f924969e661823a0a2fce6d98bcf082cd2d5a (diff)
downloadserverdata-c668daba011e359df621e9fe53e654bf589e314b.tar.gz
serverdata-c668daba011e359df621e9fe53e654bf589e314b.tar.bz2
serverdata-c668daba011e359df621e9fe53e654bf589e314b.tar.xz
serverdata-c668daba011e359df621e9fe53e654bf589e314b.zip
Andrei Sakar, greatest hero of all, is now on Hurnscald.
Might later add a disablenpc code to its OnInit block, and let GMs activate it when necessary.
-rw-r--r--db/constants.conf1
-rw-r--r--npc/012-1/_import.txt1
-rw-r--r--npc/012-1/andrei.txt24
3 files changed, 26 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 2d9ba7561..15a96e8f4 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -3933,6 +3933,7 @@ constants_db: {
NPC_JOURNALMAN: 309
NPC_MIRAJ: 323
+ NPC_ANDREI: 329
// Animated NPCs
NPC_CONFUSED_TREE: 400
diff --git a/npc/012-1/_import.txt b/npc/012-1/_import.txt
index fdbe43f83..b0e454016 100644
--- a/npc/012-1/_import.txt
+++ b/npc/012-1/_import.txt
@@ -1,4 +1,5 @@
// Map 012-1: Hurnscald
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/012-1/_warps.txt",
+"npc/012-1/andrei.txt",
"npc/012-1/statue.txt",
diff --git a/npc/012-1/andrei.txt b/npc/012-1/andrei.txt
new file mode 100644
index 000000000..56fbeda61
--- /dev/null
+++ b/npc/012-1/andrei.txt
@@ -0,0 +1,24 @@
+// TMW-2 Script
+// Author:
+// Jesusalva
+// Description:
+// Legendary hero
+
+// I started with 'Greetings, citzen' and then I thought on 4144.
+// He would never do such formal, hero-ish introduction. So I decided for something
+// more realistic, which sounded like a human hero (ie. a normal player).
+
+012-1,75,59,0 script Andrei Sakar NPC_ANDREI,{
+ mesn l("Andrei Sakar, Legendary Hero");
+ if (strcharinfo(0) == $MOST_HEROIC$)
+ mesq l("Hi, @@.", strcharinfo(0));
+ else
+ mesq l("Hi.");
+ close;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 5;
+ end;
+
+}