diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-1/tinris.txt | 27 | ||||
-rw-r--r-- | npc/004-1/anwar.txt | 7 |
2 files changed, 32 insertions, 2 deletions
diff --git a/npc/003-1/tinris.txt b/npc/003-1/tinris.txt index b3bdc0167..774a02e53 100644 --- a/npc/003-1/tinris.txt +++ b/npc/003-1/tinris.txt @@ -44,10 +44,37 @@ L_Start: L_Back: mesn; + mesq l("So, did you brought me the cherry cakes?"); + mes ""; + mesn strcharinfo(0); + if (askyesno() != ASK_YES) { + close; + } + mes ""; + if (countitem("CherryCake") < 12) + goto L_Lying; + + delitem CherryCake, 12; + getexp 300, 10; + setq TulimsharQuest_AnwarField, 3; + mesn; + mesq l("Okay, that is very useful. However, I do need a few reagents to make it."); + next; + mesq l("Unfinished script, blame Jesusalva, he decided to work on Hurnscald before my cherry cakes."); mesq l("And they say I am the greedy one. Hmpf."); close; +L_Lying: + mesn; + mesq l("Ah, so you think you can fool me?"); + next; + percentheal -5, -5; + warp "Save", 0, 0; + dispbottom l("Ah... Was I warped?"); + closedialog; + close; + OnInit: .@npcId = getnpcid(0, .name$); //setunitdata(.@npcId, UDT_HEADTOP, 2929); // TODO: This NPC is an Elf and therefore, CANNOT use NPCEyes. diff --git a/npc/004-1/anwar.txt b/npc/004-1/anwar.txt index f97e1e1e2..f2ad12c83 100644 --- a/npc/004-1/anwar.txt +++ b/npc/004-1/anwar.txt @@ -7,7 +7,7 @@ 004-1,107,67,0 script Anwar NPC_RAIJIN,{ .@q=getq(TulimsharQuest_AnwarField); - + if (BaseLevel < 15) goto L_Weak; /* if (.@q >= 15) goto L_Done; if (.@q >= 13) goto L_GiveEomie; @@ -23,7 +23,6 @@ l("Sure!"),L_Sure, l("I'm busy, sorry."),L_Close; - L_Sure: mes ""; mesn; @@ -42,6 +41,10 @@ L_FirstTry: mesq l("Good luck getting the fertilizer from Eomie! Many elves simply refuse to cooperate until it affects them directly."); close; +L_Weak: + hello; + end; + L_Close: close; |