From b23cfbfb47e8aa6aeab6cbddbeaebc973830134a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 27 May 2021 13:10:51 -0300 Subject: Add functional constants --- db/constants.conf | 9 +++++++++ npc/003-3/malindou.txt | 1 - npc/functions/hub.txt | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/db/constants.conf b/db/constants.conf index b103b5f5e..b3dbbc723 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -2191,6 +2191,15 @@ constants_db: { HCD_MKBASEMENT: 8 HCD_MARKET: 10 + comment__: "Mirror Lake Server Identifiers" + WORLD_ID: 1 + MLP_TMW: 3 + + comment__: "Mirror Lake Quest Constants" + MLP_TMW_CELESTIA: 1 + MLP_TMW_YETIKING: 2 + //MLP_................ 4 + comment__: "Being actions" ACTION_STAND: 0 ACTION_MOVE: 1 diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index fe1bbaa93..e954735bc 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -69,7 +69,6 @@ OnInit: $BCONFD_DROP = 0; $BETASERVER = false; $AUTORESTART = false; - $WID = 1; $FIRESOFSTEAM[1] = 2000; $FIRESOFSTEAM[2] = 2000; $FIRESOFSTEAM[3] = 2000; diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 14e15724b..12c5e8dda 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -33,7 +33,7 @@ function script HUB_Login { debugmes "VAULT LOGIN, GTO is %d MLP is %d", .@gto, .@mlp; */ // Work only on new chars, or chars which cleared Tulimshar. - if (.@gto == $WID && + if (.@gto == WORLD_ID && (!getq(General_Narrator) || (getq(General_Narrator) && BaseLevel > 20))) { -- cgit v1.2.3-60-g2f50