diff options
-rw-r--r-- | npc/003-1_Beach/stranger.txt | 52 |
1 files changed, 24 insertions, 28 deletions
diff --git a/npc/003-1_Beach/stranger.txt b/npc/003-1_Beach/stranger.txt index bedd3909..9ffa8fcf 100644 --- a/npc/003-1_Beach/stranger.txt +++ b/npc/003-1_Beach/stranger.txt @@ -1,22 +1,19 @@ -//003-1.gat,35,25,0 script Stranger 192, { +003-1.gat,35,25,0 script Stranger 192, { set @month, 5; set @start_day, 18; -//TODO set @end_day, 25; - set @end_day, 22; + set @end_day, 25; set @IRONINGOT, 5; set @PINKANTENNA, 21; - set @cost, 500; + set @EXP, 20000; -//TODO: uncomment if (FLAGS & FLAG_TOWEL_COMPLETED) goto L_Event_Done; -// if (gettime(6) != @month) goto L_No_Event; -// if (gettime(5) < @start_day) goto L_No_Event; -// if (gettime(5) > @end_day) goto L_No_Event; -// if ((gettimetick(2)-TUT_var < 6*7*86400) || (baselevel < 42 )) //player must be created at least 6 weeks ago and at least level 42 -// goto L_No_Event; -// if ((gettime(5) == @end_day) && (FLAGS & FLAG_TOWEL_HELPED)) goto L_Towel; - if (FLAGS & FLAG_TOWEL_HELPED) goto L_Towel; // TODO: remove + if (gettime(6) != @month) goto L_No_Event; + if (gettime(5) < @start_day) goto L_No_Event; + if (gettime(5) > @end_day) goto L_No_Event; + if ((gettimetick(2)-TUT_var < 6*7*86400) || (baselevel < 42 )) //player must be created at least 6 weeks ago and at least level 42 + goto L_No_Event; + if ((gettime(5) == @end_day) && (FLAGS & FLAG_TOWEL_HELPED)) goto L_Towel; if (FLAGS & FLAG_TOWEL_HELPED) goto L_Come_Back; mes "[Stranger]"; @@ -37,6 +34,7 @@ L_Items: if (countitem("PinkAntenna") < @PINKANTENNA) goto L_No_Item; delitem "IngotIron", @IRONINGOT; delitem "PinkAntenna", @PINKANTENNA; + getexp @EXP, 0; set FLAGS, FLAGS | FLAG_TOWEL_HELPED; mes "[Stranger]"; @@ -220,12 +218,6 @@ L_Right_Answer_Hard: if (@answer != "Towel" && @answer != "towel") goto L_Wrong_Answer; - mes "TODO: remove. again?"; - menu - "Yes.",L_Towel, - "Go on.",-, - "Close.",L_Close; - mes "[Stranger]"; mes "\"There you are! A towel is really the most important item for a hitchhiker to have.\""; next; @@ -237,6 +229,10 @@ L_Right_Answer_Hard: mes "\"This towel is even more useful than usual towels are. If you change its color, it uses a special techno-, ahm, let's say, it can help you to get to other places.\""; next; mes "\"Bring me some powder made from gemstones and a bottle of water, and I can prepare it for you.\""; + next; + mes "\"Depending on the color it will bring you to different places. After the transport it will loose its color, but I can reprepare it.\""; + next; + mes "\"Since I'm not familar with this plane-, ahm, with this area, I can't tell to which place you will get.\""; close; L_No_Event: @@ -297,7 +293,7 @@ L_Red: delitem "GreyWarpTowel", 1; delitem "BottleOfWater", 1; getitem "RedWarpTowel", 1; - mes "He takes your enchanted towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; + mes "He takes your towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; next; mes "[Stranger]"; mes "\"Done! It'll use its color after being used, but just come back, I can dye it again for you.\""; @@ -316,7 +312,7 @@ L_Yellow: delitem "GreyWarpTowel", 1; delitem "BottleOfWater", 1; getitem "YellowWarpTowel", 1; - mes "He takes your enchanted towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; + mes "He takes your towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; next; mes "[Stranger]"; mes "\"Done! It'll use its color after being used, but just come back, I can dye it again for you.\""; @@ -336,7 +332,7 @@ L_White: delitem "GreyWarpTowel", 1; delitem "BottleOfWater", 1; getitem "WhiteWarpTowel", 1; - mes "He takes your enchanted towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; + mes "He takes your towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; next; mes "[Stranger]"; mes "\"Done! It'll use its color after being used, but just come back, I can dye it again for you.\""; @@ -355,7 +351,7 @@ L_Blue: delitem "GreyWarpTowel", 1; delitem "BottleOfWater", 1; getitem "BlueWarpTowel", 1; - mes "He takes your enchanted towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; + mes "He takes your towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; next; mes "[Stranger]"; mes "\"Done! It'll use its color after being used, but just come back, I can dye it again for you.\""; @@ -374,7 +370,7 @@ L_Green: delitem "GreyWarpTowel", 1; delitem "BottleOfWater", 1; getitem "GreenWarpTowel", 1; - mes "He takes your enchanted towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; + mes "He takes your towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; next; mes "[Stranger]"; mes "\"Done! It'll use its color after being used, but just come back, I can dye it again for you.\""; @@ -393,7 +389,7 @@ L_Purple: delitem "GreyWarpTowel", 1; delitem "BottleOfWater", 1; getitem "PurpleWarpTowel", 1; - mes "He takes your enchanted towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; + mes "He takes your towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; next; mes "[Stranger]"; mes "\"Done! It'll use its color after being used, but just come back, I can dye it again for you.\""; @@ -414,7 +410,7 @@ L_Orange: delitem "GreyWarpTowel", 1; delitem "BottleOfWater", 1; getitem "OrangeWarpTowel", 1; - mes "He takes your enchanted towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; + mes "He takes your towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; next; mes "[Stranger]"; mes "\"Done! It'll use its color after being used, but just come back, I can dye it again for you.\""; @@ -435,7 +431,7 @@ L_Pink: delitem "GreyWarpTowel", 1; delitem "BottleOfWater", 1; getitem "PinkWarpTowel", 1; - mes "He takes your enchanted towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; + mes "He takes your towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; next; mes "[Stranger]"; mes "\"Done! It'll use its color after being used, but just come back, I can dye it again for you.\""; @@ -456,7 +452,7 @@ L_Lime: delitem "GreyWarpTowel", 1; delitem "BottleOfWater", 1; getitem "LimeWarpTowel", 1; - mes "He takes your enchanted towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; + mes "He takes your towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; next; mes "[Stranger]"; mes "\"Done! It'll use its color after being used, but just come back, I can dye it again for you.\""; @@ -477,7 +473,7 @@ L_Teal: delitem "GreyWarpTowel", 1; delitem "BottleOfWater", 1; getitem "TealWarpTowel", 1; - mes "He takes your enchanted towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; + mes "He takes your towel, the water and the gem powder, then he turns away and does something you can't see. After some minutes, he turns to you again."; next; mes "[Stranger]"; mes "\"Done! It'll use its color after being used, but just come back, I can dye it again for you.\""; |