summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-07 22:01:28 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-07 22:01:43 -0300
commit1d7b5deb0ac22a61e408e3c5502a327434841686 (patch)
treec5882dbdd4007b65b3ad2ccba73afec3d8c5398f
parenta841420b3fcf78eea470153a007faccf1a2c698d (diff)
downloadserverdata-1d7b5deb0ac22a61e408e3c5502a327434841686.tar.gz
serverdata-1d7b5deb0ac22a61e408e3c5502a327434841686.tar.bz2
serverdata-1d7b5deb0ac22a61e408e3c5502a327434841686.tar.xz
serverdata-1d7b5deb0ac22a61e408e3c5502a327434841686.zip
Add constants for Gak, Santa and Alissa. Apply them.
-rw-r--r--db/constants.conf3
-rw-r--r--npc/080-1/final.txt6
2 files changed, 6 insertions, 3 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 4c4254df..822f6ebe 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -3192,6 +3192,9 @@ more than one separator can be used in a row (so 12_3___456 is illegal).
NPC32767:32767
// NPCs decently named
+ NPC_ALISSA: 438
+ NPC_SANTA: 439
+ NPC_GAK: 440
NPC_OFFSET_NO_SPRITE: 998
// Avatars (1000+)
diff --git a/npc/080-1/final.txt b/npc/080-1/final.txt
index 72326ed1..f6837f0e 100644
--- a/npc/080-1/final.txt
+++ b/npc/080-1/final.txt
@@ -15,10 +15,10 @@
// - As I forgot who is the Pink Boots mage... I can't say any further.
// - Oh, and in 2016, Gak went to visit Asphodel again.
-080-1,98,41,0 script Alissa#ED2 NPC106,{
+080-1,98,41,0 script Alissa#ED2 NPC_ALISSA,{
end;
OnInstanceInit:
- disablenpc .name$;
+ disablenpc instance_npcname(.name$);
end;
OnInit:
.distance=4;
@@ -28,7 +28,7 @@ OnInit:
end;
}
-080-1,97,41,0 script Gak#X21 NPC183,{
+080-1,97,41,0 script Gak#X21 NPC_GAK,{
// FIXME: Cutscene
// FIXME: Enablenpc Alissa#ED2
// FIXME: Do not repeat cutscene if quest once completed