summaryrefslogtreecommitdiff
path: root/npc/002-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-26 10:16:37 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-26 10:16:37 -0300
commit75a0d78b79289f157ae89a9f27e8fc2f7658cba4 (patch)
tree4d7208f4b28fc43989ee0195bad9bcddc45570f1 /npc/002-3
parent059f064cf1687c33eef1176b4a2f2191d6b72d15 (diff)
downloadserverdata-75a0d78b79289f157ae89a9f27e8fc2f7658cba4.tar.gz
serverdata-75a0d78b79289f157ae89a9f27e8fc2f7658cba4.tar.bz2
serverdata-75a0d78b79289f157ae89a9f27e8fc2f7658cba4.tar.xz
serverdata-75a0d78b79289f157ae89a9f27e8fc2f7658cba4.zip
Nard allows skippers to get the referral gift again...
Diffstat (limited to 'npc/002-3')
-rw-r--r--npc/002-3/nard.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt
index 931a5b587..a72e9223c 100644
--- a/npc/002-3/nard.txt
+++ b/npc/002-3/nard.txt
@@ -65,6 +65,7 @@ L_MenuQuest:
mesc b(l(".:: Main Quest 1-3 ::.")), 3;
msObjective(Zeny >= .@price, l("* Collect @@/@@ GP", Zeny, .@price));
+L_Referral:
// Referral program
if (#REFERRAL_PROG == 0 && $REFERRAL_ENABLED) {
next;
@@ -77,12 +78,13 @@ L_MenuQuest:
next;
mesn l("TMW2 Staff");
mesc l("Did you came here by someone advise? If yes, write their name down here!"), 3;
+ next;
mesc l("If this is not the case, just click on \"Send\"."), 3;
.@ref$="";
do
{
input .@ref$;
- debugmes "Hercules is bugged: "+.@ref$;
+ //debugmes "Player invite: "+.@ref$;
mes "";
if (.@ref$ != "") {
.@ref=gf_accid(strip(.@ref$));
@@ -180,9 +182,14 @@ L_NotYet:
mes "";
select
rif(Zeny >= .@price, l("I've brought the money you've asked for.")),
+ rif(#REFERRAL_PROG == 0 && $REFERRAL_ENABLED && BaseLevel <= 10,
+ l("I forgot to say earlier, but indeed, I was invited by someone!")),
l("Please excuse me, captain.");
mes "";
+ if (@menu == 2)
+ goto L_Referral;
+
mesn;
if (Zeny >= .@price) {
mesq l("Ten, fifty, thousand... Yep, this is the amount I've asked for.");