From a5b4a7ceacb426801b3ac28d8c82dfb02114d085 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 16 Jun 2018 14:23:56 -0300 Subject: Anwar updated. Now we need Eomie's Bug Bomb, and the rewards :B --- npc/004-1/anwar.txt | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'npc/004-1') diff --git a/npc/004-1/anwar.txt b/npc/004-1/anwar.txt index 10d2d5830..eb6f1ed91 100644 --- a/npc/004-1/anwar.txt +++ b/npc/004-1/anwar.txt @@ -14,7 +14,8 @@ if (.@q >= 11) goto L_GiveTinris; if (.@q == 10) goto L_GiftMaterial; */ - if (.@q >= 5) goto L_SecondTry; + if (.@q >= 6) goto L_FirstTry; + if (.@q == 5) goto L_TryIt; if (.@q >= 1) goto L_FirstTry; mesn; @@ -41,7 +42,30 @@ L_FirstTry: mesq l("Good luck getting the fertilizer from Eomie! Many elves simply refuse to cooperate until it affects them directly."); close; -L_SecondTry: +L_TryIt: + .@q2=getq2(TulimsharQuest_AnwarField); + mesn; + mesq l("You've brought me fertilizer! Let me see if it works..."); + next; + setq2 TulimsharQuest_AnwarField, .@q2+1; + + // Fail chances are 100% - 10% per attempt + if (rand(0,100) < 100-(.@q2*10)) { + setq1 TulimsharQuest_AnwarField, 6; + mes col("Nothing happens.", 9); + next; + mesn; + mesq l("Uh... Something should happen, right? Can you get another one?"); + } else { + setq1 TulimsharQuest_AnwarField, 7; + mes col("Evil worms crawl from earth and starts devoring the plants!", 9); + next; + mesn; + mesq l("Uh... That should not happen, right? RIGHT?"); + next; + mesn; + mesq l("Don't just stand here! Go fetch help, NOW!!"); + } close; -- cgit v1.2.3-60-g2f50