From 7bcd3d41c6d0caa07f1c1eacedb4c7db7758cd90 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Sun, 17 Jul 2011 11:18:17 +0200 Subject: making it possible for players who didn't do the towel event to dye towels --- world/map/npc/003-1/stranger.txt | 19 +++++++++++++++++++ world/map/npc/018-2/miners.txt | 11 ++--------- 2 files changed, 21 insertions(+), 9 deletions(-) (limited to 'world/map/npc') diff --git a/world/map/npc/003-1/stranger.txt b/world/map/npc/003-1/stranger.txt index 251f1b1c..37ecc4ab 100644 --- a/world/map/npc/003-1/stranger.txt +++ b/world/map/npc/003-1/stranger.txt @@ -222,6 +222,7 @@ L_Right_Answer_Hard: getitem "GreyWarpTowel", 1; set FLAGS, FLAGS | FLAG_TOWEL_COMPLETED; next; +L_Explain: mes "[Stranger]"; 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; @@ -239,6 +240,24 @@ L_No_Event: mes "\"And it really comes in handy that I have my towel with me. A towel is about the most massively useful thing an inte- ahm, a person can have.\""; next; mes "\"You can read more about that in my favourite book, 'The Hitchhiker's Guide to the Galaxy'.\""; + if (countitem("GreyWarpTowel") > 0) + menu + "Thanks for the advice.",-, + "I have my towel with me too.",L_Dye; + close; + +L_Dye: + mes "[Stranger]"; + mes "\"Wonderful! Let me have a look.\""; + mes "He's taking a very interested look at your towel."; + next; + mes "[Stranger]"; + mes "\"I'm impressed. This is not an usual towel.\""; + next; + menu + "Oh? Can you explain about it?",L_Explain, + "I know. Could you dye it for me?",L_Dye_Towel, + "It's great, isn't it? I have to go now.",-; close; L_No_Item: diff --git a/world/map/npc/018-2/miners.txt b/world/map/npc/018-2/miners.txt index 1e337036..ef641f49 100644 --- a/world/map/npc/018-2/miners.txt +++ b/world/map/npc/018-2/miners.txt @@ -10,25 +10,18 @@ mes "[Malek]"; mes "\"Hi, can I help you at all?\""; - if (FLAGS & FLAG_TOWEL_HELPED) - menu + menu "I'm looking for someone able to make gem powder.", L_GemPowder, "I was just having a look, have a nice day.", L_abort; - menu - "I was just having a look, have a nice day.", L_abort; L_NohMask: mes "[Malek]"; mes "\"Hi, can I help you at all?\""; - if (FLAGS & FLAG_TOWEL_HELPED) - menu + menu "I'm looking for someone able to make gem powder.", L_GemPowder, "I was just having a look, have a nice day.", L_abort, "The inspector sent me here to investigate.", L_Investigation; - menu - "I was just having a look, have a nice day.", L_abort, - "The inspector sent me here to investigate.", L_Investigation; L_Investigation: set Inspector, 11; -- cgit v1.2.3-70-g09d2