summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-21 14:49:36 -0300
committerJesusaves <cpntb1@ymail.com>2020-08-05 03:25:43 -0300
commit876e871c5ec5d963cfaa59201a3b6d0f330f2b40 (patch)
tree35950c318e3e43727f5e82545331b86ca6e538a5
parent99a1e146dfc1dfdab31c9b70f6fb5c2033fcd7cd (diff)
downloadserverdata-876e871c5ec5d963cfaa59201a3b6d0f330f2b40.tar.gz
serverdata-876e871c5ec5d963cfaa59201a3b6d0f330f2b40.tar.bz2
serverdata-876e871c5ec5d963cfaa59201a3b6d0f330f2b40.tar.xz
serverdata-876e871c5ec5d963cfaa59201a3b6d0f330f2b40.zip
Update the scripts to use !242
-rw-r--r--npc/000-0-1/narrator.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/000-0-1/narrator.txt b/npc/000-0-1/narrator.txt
index 7695af41..d349379e 100644
--- a/npc/000-0-1/narrator.txt
+++ b/npc/000-0-1/narrator.txt
@@ -49,7 +49,7 @@ function travelToArtis {
// Legacy accounts are excluded
// Only one referral per vault account
validacc();
- if (!LEGACY && !getv("REFERRAL_PROG")) referralSystem();
+ if (!islegacyaccount() && !getvaultvar(REFERRAL_PROG)) referralSystem();
narrator S_LAST_NEXT,
l("There are a lot of things you must be wondering about."),
@@ -204,7 +204,7 @@ function referralSystem {
sleep2(200);
// Case 2: Valid Invite
} else {
- setv("REFERRAL_PROG", .@ref);
+ setvaultvar(REFERRAL_PROG, .@ref);
//getitembound FriendGift, 1, 1;
mesc l("Ah yes, our trusty friend, %s.", .@ref$);
mesc l("They probably miss me. I mean, I probably have been away for a long time...");