diff options
Diffstat (limited to 'npc/020-7-1/pagemakers.txt')
-rw-r--r-- | npc/020-7-1/pagemakers.txt | 138 |
1 files changed, 134 insertions, 4 deletions
diff --git a/npc/020-7-1/pagemakers.txt b/npc/020-7-1/pagemakers.txt index b521f85d9..515f4152d 100644 --- a/npc/020-7-1/pagemakers.txt +++ b/npc/020-7-1/pagemakers.txt @@ -29,6 +29,7 @@ mesq l("Mh. I wonder how I'm expected to perform my task with this meager equipment. The new books will look pathetic."); next; askQuestion(); + .@q2=getq2(NivalisQuest_BlueSage); mes ""; mesn; mesq l("I'm doing the covers and illustrations for the new books we create from the pieces of the old ones."); @@ -86,8 +87,10 @@ setq2 NivalisQuest_BlueSage, .@q2|BS_PMINK; getexp 3535, 215; // 20% from references, rounded up. It's part of main story. // is present. REMEMBER THIS IS A LEVEL 36/16 QUEST, REGARDLESS IF EVERYONE DECIDES - // TO DO IT AT LEVEL 40. Exp reward will not change. Values rounded up. + // TO DO IT AT LEVEL 40. Exp reward will not change. It's main story, too. // Besides, it gives Job Experience, which is not common. + mesn; + mesq l("Wonderful! Now I can prepare the ink for magnificent illustrations! You're very generous."); close; function askQuestion { @@ -132,11 +135,96 @@ OnInit: + + + + + + + + + + + + + + + + + + + + + 020-7-1,44,56,0 script Janika NPC_BLUESAGEWORKER_FA,{ - npctalk3 l("I make bindings with silk cocoon."); - goodbye; - end; + function askQuestion; + .@q2=getq2(NivalisQuest_BlueSage); + mesn; + if (.@q2 & BS_PMBINDING) + mesq l("Thanks for the Silk Cocoons. With these the new books are going to be exquisite."); + else + mesq l("This is going to be difficult... oh, hello. I'm working on recreating some of the books that were destroyed."); + next; + askQuestion(); + .@q2=getq2(NivalisQuest_BlueSage); + mes ""; + mesn; + mesq l("I need @@/@@ @@ for the book covers and binding of some of the more valuable books we're trying to recreate.", 60, countitem(SilkCocoon), getitemlink(SilkCocoon)); + next; + mesn; + mesq l("You wouldn't happen to have them, would you?"); + if (countitem(SilkCocoon) < 60) + close; + next; + if (askyesno() == ASK_NO) { + mesn; + mesq l("That's a pity."); + close; + } + delitem SilkCocoon, 60; + setq2 NivalisQuest_BlueSage, .@q2|BS_PMBINDING; + getexp 3535, 215; // 20% from references, rounded up. It's part of main story. + // is present. REMEMBER THIS IS A LEVEL 36/16 QUEST, REGARDLESS IF EVERYONE DECIDES + // TO DO IT AT LEVEL 40. Exp reward will not change. It's main story, too. + // Besides, it gives Job Experience, which is not common. + mesn; + mesq l("Excellent! This is exactly what I need. Thanks a lot. I'll tell Nikolai about your generosity."); + close; +function askQuestion { + .@qs=BSQuestion(getq(NivalisQuest_BlueSage)); + do { + .@q=getq(NivalisQuest_BlueSage); + .@q2=getq2(NivalisQuest_BlueSage); + next; + select + rif(!(.@q2 & BS_PMBINDING), l("Can I help you?")), + rif(.@qs & BS_QVISITOR, l("Do you know anything about the strange visitor?")), + rif(.@qs & BS_QHELPER, l("What's your opinion of Peetu and his work?")), + any(l("I need to leave."), l("See you."), l("Bye."), l("Good luck.")); + mes ""; + switch (@menu) { + case 2: + mesn; + mesq l("Oh, I know who you mean! That impertinent person came over in the workshop area and fiddled about with all kinds of things here! Such a rude person! Didn't he understand that we had delicate things going on here? We had to send him back to the library area several times."); + next; + mesn; + mesc l("She shakes her head."); + mesq l("Sometimes I think it'd be better not to allow visitors here. But Nikolai set a high value on keeping contact with the population. Politics."); + // It's safe in this context, don't worry + if (.@q % 3 == 0) + setq1 NivalisQuest_BlueSage, .@q + 1; + break; + case 3: + mesn; + mesq l("Mh, I don't know him closely."); + break; + case 4: + close; + } + } while (@menu != 1); + return; +} OnInit: .sex=G_FEMALE; .distance=5; @@ -145,6 +233,27 @@ OnInit: + + + + + + + + + + + + + + + + + + + + + 020-7-1,45,31,4 script Kullervo NPC_BLUESAGEWORKER_MA,{ npctalk3 l("I make book pages with... something."); goodbye; @@ -159,6 +268,27 @@ OnInit: + + + + + + + + + + + + + + + + + + + + + 020-7-1,36,31,4 script Santeri NPC_BLUESAGEWORKER_MA,{ npctalk3 l("I make glue with... not yeti claws, for sure."); goodbye; |