diff options
author | Jared Adams <jaxad0127@gmail.com> | 2008-11-02 22:45:17 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2008-11-02 22:45:17 +0000 |
commit | ec9be0a2967b38955d26e337b05bc3a042ac4544 (patch) | |
tree | e1ef509c78c8a3fe777b4adb0f4c650364fa55cb /npc/new_23-1-dimonds-cove/doug.txt | |
parent | 2fd04617279829d54349b325bacb4c72addebfe4 (diff) | |
download | serverdata-ec9be0a2967b38955d26e337b05bc3a042ac4544.tar.gz serverdata-ec9be0a2967b38955d26e337b05bc3a042ac4544.tar.bz2 serverdata-ec9be0a2967b38955d26e337b05bc3a042ac4544.tar.xz serverdata-ec9be0a2967b38955d26e337b05bc3a042ac4544.zip |
Branch data for eAthena
Diffstat (limited to 'npc/new_23-1-dimonds-cove/doug.txt')
-rw-r--r-- | npc/new_23-1-dimonds-cove/doug.txt | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/npc/new_23-1-dimonds-cove/doug.txt b/npc/new_23-1-dimonds-cove/doug.txt new file mode 100644 index 00000000..301ae9a7 --- /dev/null +++ b/npc/new_23-1-dimonds-cove/doug.txt @@ -0,0 +1,101 @@ +new_23-1.gat,68,87,0 script Doug 113,{ + if(CaveSnakeLamp == 1) goto L_State2; + if(CaveSnakeLamp == 2) goto L_Done; + set @TEMP,rand(4); + if(@TEMP == 0) goto L_0; + if(@TEMP == 1) goto L_1; + if(@TEMP == 2) goto L_2; + if(@TEMP == 3) goto L_3; + +L_0: + mes "[Doug]"; + mes "\"I need 40 more [Cave Snake Lamps] to make my light!\""; + next; + goto L_Question; +L_1: + mes "[Doug]"; + mes "\"This lamp should light up this whole place! I just need [40 Cave Snake Lamps]\""; + next; + goto L_Question; +L_2: + mes "[Doug]"; + mes "\"This is gonna be bright! A must have for anyone! All i need is a few parts...\""; + goto main1; + +L_3: + mes "[Doug]"; + mes "\"Can you get me 40 [Cave Snake Lamps]? I need them to get this light finished.\""; + next; + goto L_Question; + +L_Question: + mes "[Doug]"; + mes "\"Will you help me find 40 [Cave Snake Lamps]?\""; + next; + menu + "Yes", L_Sure, + "No", close; + +L_Sure: + set CaveSnakeLamp, 1; + set @TEMP,rand(4); + if(@TEMP == 0) goto J_0; + if(@TEMP == 1) goto J_1; + if(@TEMP == 2) goto J_2; + if(@TEMP == 3) goto J_3; + +J_0: + mes "[Doug]"; + mes "\"Thank you!\""; + next; + goto L_Go; + +J_1: + mes "[Doug]"; + mes "\"I don't know how to thank you enough!\""; + next; + goto L_Go; + +J_2: + mes "[Doug]"; + mes "\"I will pay you when you get them!\""; + next; + goto L_Go; + +J_3: + mes "[Doug]"; + mes "\"I'm sure I will give a small reward. :D\""; + next; + goto L_Go; + +L_Go: + mes "[Doug]"; + mes "\"Now please go get me 40 [Cave Snake Lamps]\""; + close; + +L_State2: + if(countitem(612) >= 40) goto L_Have; + mes "[Doug]"; + mes "\"Please help me collect 40 [Cave Snake Lamps]!\""; + close; + +L_Have: + delitem 612, 40; + mes "[Doug]"; + mes "\"Cool! Now I can make this light!\""; + next; + + mes "[Doug]"; + mes "\"Here's what I got to give you!\""; + next; + + set zeny, zeny + 2000; + set CaveSnakeLamp, 2; + close; + +L_Done: + mes "[Doug]"; + mes "\"Thanks for your help! Those snakes sure have bright lamps!\""; + close; +} + |