From c668daba011e359df621e9fe53e654bf589e314b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 1 Jun 2018 17:56:49 -0300 Subject: 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. --- db/constants.conf | 1 + npc/012-1/_import.txt | 1 + npc/012-1/andrei.txt | 24 ++++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 npc/012-1/andrei.txt 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; + +} -- cgit v1.2.3-60-g2f50