diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-09-06 14:13:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-09-06 14:13:52 -0300 |
commit | 652b92c7050915d164cb4ec8576ded81ddc1257d (patch) | |
tree | 47f4795d144de6ba46710c6f0ff0c91d652d698c /npc/003-1 | |
parent | 74812206e5fafeeaf5d873c0cd4a6735d918956f (diff) | |
download | serverdata-652b92c7050915d164cb4ec8576ded81ddc1257d.tar.gz serverdata-652b92c7050915d164cb4ec8576ded81ddc1257d.tar.bz2 serverdata-652b92c7050915d164cb4ec8576ded81ddc1257d.tar.xz serverdata-652b92c7050915d164cb4ec8576ded81ddc1257d.zip |
"Working" prototype. Incomplete.
This is for @Saulc see and understand what I'm doing, and ~~have a heart attack~~
give me a loving comment.
Diffstat (limited to 'npc/003-1')
-rw-r--r-- | npc/003-1/constableperry.txt | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/npc/003-1/constableperry.txt b/npc/003-1/constableperry.txt index f0f88e622..b529727c3 100644 --- a/npc/003-1/constableperry.txt +++ b/npc/003-1/constableperry.txt @@ -4,9 +4,10 @@ // Jesusalva // Description: // Constable Perry invites players to the TMW2 Project +// Part of the THIEF/MERCHANT branches 003-1,47,75,0 script Constable Perry NPC_MOUBOO,{ - + if (JobLevel > 20 && THIEF_RANK == 0) goto L_Quest; //hello; mesn; mesq l("Hello there! I am a constable. I keep law and order here."); @@ -19,6 +20,30 @@ mesq l("You can even join the project there. Contributors are greatly appreciated! %%N"); close; +L_Quest: + if (MERC_RANK == 0) + goto L_Recruit; + mesn; + mesq l("Hello there, @@, protector of law and order.", mercrank()); + mesq l("I see you have collected some experience. Let me try to rank you up!"); + next; + if (MERC_EXP > (MERC_RANK+1)**5) { + MERC_EXP-=(MERC_RANK+1)**5; + MERC_RANK+=1; + mesn; + mesq l("Congrats! You rank up! You are now a(n) @@!", mercrank()); + } else { + mesn; + mesq l("Well, you need more experience. Keep trying!"); + } + close; + +L_Recruit: + mesn; + mesq l("You seem to be doing some money. Would you consider fighting for good, and against all thiefs?"); + mesq l("...Of course, Hasan is an exception."); + close; + OnInit: .sex = G_MALE; .distance = 5; |