diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-31 11:22:04 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-31 11:22:04 -0300 |
commit | 1bf3b2753c4e958e37e1677c8a8e88762cf9a232 (patch) | |
tree | b926af7f39aee5218528c34c050d18286f0d97d1 /npc/027-0/emma.txt | |
parent | 2c2cd3dde2af8fa1ecfeaaf0300c62e861f13d26 (diff) | |
download | serverdata-1bf3b2753c4e958e37e1677c8a8e88762cf9a232.tar.gz serverdata-1bf3b2753c4e958e37e1677c8a8e88762cf9a232.tar.bz2 serverdata-1bf3b2753c4e958e37e1677c8a8e88762cf9a232.tar.xz serverdata-1bf3b2753c4e958e37e1677c8a8e88762cf9a232.zip |
Emma is the most basic way to obtain Research Points.
A skill upgrade will cost roughly.... .... .... .......
10,000,000 GP and 166 hours????
Diffstat (limited to 'npc/027-0/emma.txt')
-rw-r--r-- | npc/027-0/emma.txt | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/npc/027-0/emma.txt b/npc/027-0/emma.txt new file mode 100644 index 000000000..bb1aa9efb --- /dev/null +++ b/npc/027-0/emma.txt @@ -0,0 +1,77 @@ +// TMW2 Script +// Author: +// Jesusalva +// Description: +// Emma is Enrique's wife + +027-0,88,26,2 script Emma NPC_DARK_SORCERER_F,,{ + mesn; + mesq l("Hello. I am Emma, Enrique's wife."); + mesc l("Your current scholar rank: %s (%d Research Points)", + academicrank(), fnum(MAGIC_RP)); + if (!MAGIC_LVL) + close; + next; + mesn; + mesq l("I'm currently doing tutorship for students who are... falling behind %%p"); + next; + mesn; + mesq l("Do you need the extra credit?"); + mesc l("Tutorship will give you Research Points."), 1; + mesc l("You should not leave this room."), 1; + mesc l("Tutorship is NOT the most effective way."), 1; + next; + mesq l("Do you need the extra credit?"); + mesc l("Cost: %d GP/min", .cost); + mesc l("Gain: %d RP/min", .gain); + menuint + l("I'm fine, thanks"), 0, + l("5 minutes"), 5, + l("10 minutes"), 10, + l("15 minutes"), 15, + l("30 minutes"), 30, + l("1 hour"), 60, + l("2 hours"), 120, + l("I'm fine, thanks"), 0; + mes ""; + if (!@menuret) { + mesn; + mesq l("Then I hope you can keep your grades high, hmm hmm!"); + close; + } + if (Zeny < .cost*@menuret) { + mesn; + mesq l("Ara ara? You do not have enough money with you!"); + close; + } + Zeny-=.cost; + addtimer2(60000, .name$+"::OnTick"); + @emmatick=max(@emmatick, gettimetick(2)) + @menuret*60; + mesn; + mesq l("Hmm hmm! Then, let's begin."); + mesc l("Note: You can increase the time by talking to Emma again."); + close; + +OnTick: + // Time out + if (@emmatick < gettimetick(2)) { + npctalk3 l("Enough for now. Let's rest, shall we?"); + end; + } + // Changed maps + if (getmap() != "027-0") + end; + + MAGIC_RP+=.gain; + dispbottom l("Research Points +%d", .gain); + addtimer2(60000, .name$+"::OnTick"); + end; + +OnInit: + .distance = 4; + .sex = G_MALE; + .cost = 1000; + .gain = 1; + end; +} + |