From 75a0d78b79289f157ae89a9f27e8fc2f7658cba4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 26 Apr 2019 10:16:37 -0300 Subject: Nard allows skippers to get the referral gift again... --- npc/002-3/nard.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'npc/002-3/nard.txt') 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."); -- cgit v1.2.3-60-g2f50