diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-01-01 12:56:41 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-01-01 12:56:41 -0200 |
commit | 96db66e01ae18a3b96192497709417808ff8bc58 (patch) | |
tree | 4432147c58b4d85f75b14dfe136fad5c97436ea8 /npc | |
parent | 6c66322a416b2013dae8514060deeef3de2d8c70 (diff) | |
download | serverdata-96db66e01ae18a3b96192497709417808ff8bc58.tar.gz serverdata-96db66e01ae18a3b96192497709417808ff8bc58.tar.bz2 serverdata-96db66e01ae18a3b96192497709417808ff8bc58.tar.xz serverdata-96db66e01ae18a3b96192497709417808ff8bc58.zip |
Rosen Quest - He can now make a Training Bow for you :o
Diffstat (limited to 'npc')
-rw-r--r-- | npc/005-4/rosen.txt | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/npc/005-4/rosen.txt b/npc/005-4/rosen.txt index 4a3c58505..ab824c0f1 100644 --- a/npc/005-4/rosen.txt +++ b/npc/005-4/rosen.txt @@ -9,6 +9,13 @@ // Candor Island and Saxso. Requires level 5. Reward: 150 GP. // Could have an additional step related to Bifs. Even a daily quest asking // for (day % 8) ore, with suitable prices. +// +// 0 - Not assigned +// 1 - Quest Accepted +// 2 - Quest Complete +// 3 - Reward Taken +// 4 - Second Quest Accepted +// 5 - Second Quest Complete 005-4,29,36,0 script Rosen NPC_GUARD1,{ function explain_ironingot { @@ -99,6 +106,8 @@ L_NoGloves: close; L_Complete: + if (BaseLevel > 5 && .@q < 5 && countitem(TolchiArrow)) + goto L_Task; mesn; mesq l("Ah, uhm, I'm not sure. We at Candor don't need much."); next; @@ -109,6 +118,49 @@ L_Complete: mesq l("Alternatively, I think someone at the Land Of Fire Village is able to refine some items. Why don't you try it sometime?"); close; +L_Task: + if (.@q != 4) { + mesn; + mesq l("Actually, I see you have some @@. Ever tried a bow before?", getitemlink(TolchiArrow)); + next; + mesn; + mesq l("Bows give you a good attack range, in exchange of all your evasion."); + mesq l("Meaning that once you equip a bow, you likely won't be able to dodge attacks."); + next; + mesn; + mesq l("Well, if you are good, you can just not get hit. If you're not so good, then bows will be a pain."); + setq CandorQuest_Rosen, 4; + } + mesq l("I was thinking, maybe I could make a @@ for you. But I want a few items:", getitemlink(TrainingBow)); + mesc l("@@/@@ @@", countitem(CactusDrink), 1, getitemlink(CactusDrink)); // Less than 1% drop + mesc l("@@/@@ @@", countitem(Piberries), 1, getitemlink(Piberries)); // Can be bought, or 6% drop from Mana Bug + next; + mesq l("Do you have that with you?"); + if (askyesno() == ASK_YES) { + mes ""; + if (!countitem(CactusDrink) || + !countitem(Piberries)) { + mesn; + mesq l("Now, listen closely. Jesusalva desgined most of the quests. And he hates cheaters and liars."); + next; + mesn; + mesq l("Actually, he's just too lazy to add proper checks everywhere. If you try to cheat, you'll suffer some penalty."); + next; + mesn; + mesq l("In this case, haven't I counted, I would have deleted only part of the items, then I would go silent. No refunds."); + mesq l("That's how this world inhabitants deal with cheaters... So don't be one, my friend. You have been warned!"); + close; + } + inventoryplace TrainingBow, 1; + delitem CactusDrink, 1; + delitem Piberries, 1; + setq CandorQuest_Rosen, 5; + getitem TrainingBow, 1; + mesn; + mesq l("Here you go, my friend. Uhm, good luck with archery."); + } + close; + function rosen_add_kills { .@qp=getq(CandorQuest_Rosen); |