diff options
author | Wombat <hpwombat@yahoo.com> | 2010-08-18 21:02:01 -0400 |
---|---|---|
committer | Wombat <hpwombat@yahoo.com> | 2010-08-18 21:02:01 -0400 |
commit | 0b9235d0865509feb9ef97aa197204293cee0b1f (patch) | |
tree | 719ddcf0441486774d0b827fb5a36e7e0a5b7ec8 /npc/001-1_Tulimshar/sarah.txt | |
parent | 75dfdd443d6dbe9bd556debeb1c50d3000d95967 (diff) | |
download | serverdata-0b9235d0865509feb9ef97aa197204293cee0b1f.tar.gz serverdata-0b9235d0865509feb9ef97aa197204293cee0b1f.tar.bz2 serverdata-0b9235d0865509feb9ef97aa197204293cee0b1f.tar.xz serverdata-0b9235d0865509feb9ef97aa197204293cee0b1f.zip |
Low Level Tulimshar Release
News, Small Fixes, Tulimshar Related Quests, Sandstorm Mob Changes
Expensive Hurnscald Warp NPC
Diffstat (limited to 'npc/001-1_Tulimshar/sarah.txt')
-rwxr-xr-x | npc/001-1_Tulimshar/sarah.txt | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/npc/001-1_Tulimshar/sarah.txt b/npc/001-1_Tulimshar/sarah.txt new file mode 100755 index 00000000..d815b6d3 --- /dev/null +++ b/npc/001-1_Tulimshar/sarah.txt @@ -0,0 +1,81 @@ +// + +001-1.gat,137,78,0 script Sarah 106,{ + if (TMW_Quest >= 8) goto L_Done; + if (TMW_Quest == 7) goto L_Progress; + if (TMW_Quest == 6) goto L_Start; + + mes "[Sarah]"; + mes "\"Boy am I hungry\""; + close; + +L_Start: + + set @TEMP, rand(2); + if(@TEMP == 0) goto L_Opening0; + if(@TEMP == 1) goto L_Opening1; + +L_Opening0: + mes "[Sarah]"; + mes "\"[Cherry Cake] is the best!\""; + next; + goto L_Ask; + +L_Opening1: + mes "[Sarah]"; + mes "\"[Cherry Cake]...I love it \""; + next; + goto L_Ask; + +L_Ask: + mes "\"Can you bring me a piece of [Cherry Cake]?\""; + menu + "Yes", L_Req0, + "No", L_No; + +L_Req0: + mes "[Sarah]"; + mes "\"I want one piece of [Cherry Cake]! If you get one, I'll give you a hat !\""; + next; + goto L_Set; + +L_Set: + set TMW_Quest,7; + mes "[Sarah]"; + mes "\"Please bring me it!\""; + close; + +L_Progress: + if (countitem("CherryCake") < 1) goto L_NotEnough; + mes "[Sarah]"; + mes "\"Hummm!\""; + next; + mes "You brought me my [Cherry Cake]! Here is the hat, as promised.\""; + emotion 9; + getinventorylist; + if ((@inventorylist_count - (countitem("CherryCake") == 1)) > 99) goto L_TooMany; + delitem "CherryCake", 1; + getitem "serfhat", 1; + set TMW_Quest, 8; + close; + +L_NotEnough: + mes "[Sarah]"; + mes "\"I'm starving, please bring me a [Cherry Cake].\""; + close; + +L_Done: + mes "[Sarah]"; + mes "\"It was so tasty, I can't eat anything more... Thank you!\""; + emotion 9; + close; + +L_No: + close; + +L_TooMany: + next; + mes "[Sarah]"; + mes "\"You don't have room for my reward. I'll wait until you do.\""; + close; +} |