summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/004-1/anwar.txt28
1 files changed, 26 insertions, 2 deletions
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;